接口 LootChoice
-
- 所有已知实现类:
LeafEntry.Choice
public interface LootChoice- Mappings:
Namespace Name official digintermediary net/minecraft/class_82named net/minecraft/loot/LootChoice
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidgenerateLoot(Consumer<ItemStack> lootConsumer, LootContext context)intgetWeight(float luck)
-
-
-
方法详细资料
-
getWeight
int getWeight(float luck)
- Mappings:
Namespace Name Mixin selector official aLdig;a(F)Iintermediary method_427Lnet/minecraft/class_82;method_427(F)Inamed getWeightLnet/minecraft/loot/LootChoice;getWeight(F)I
-
generateLoot
void generateLoot(Consumer<ItemStack> lootConsumer, LootContext context)
- Mappings:
Namespace Name Mixin selector official aLdig;a(Ljava/util/function/Consumer;Ldhp;)Vintermediary method_426Lnet/minecraft/class_82;method_426(Ljava/util/function/Consumer;Lnet/minecraft/class_47;)Vnamed generateLootLnet/minecraft/loot/LootChoice;generateLoot(Ljava/util/function/Consumer;Lnet/minecraft/loot/context/LootContext;)V
-
-