Package net.minecraft.loot
Interface LootChoice
- All Known Implementing Classes:
LeafEntry.Choice
public interface LootChoice
- Mappings:
Namespace Name official eabintermediary net/minecraft/class_82named net/minecraft/loot/LootChoice
-
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateLoot(Consumer<ItemStack> lootConsumer, LootContext context) intgetWeight(float luck)
-
Method Details
-
getWeight
int getWeight(float luck) - Mappings:
Namespace Name Mixin selector official aLeab;a(F)Iintermediary method_427Lnet/minecraft/class_82;method_427(F)Inamed getWeightLnet/minecraft/loot/LootChoice;getWeight(F)I
-
generateLoot
- Mappings:
Namespace Name Mixin selector official aLeab;a(Ljava/util/function/Consumer;Ldzh;)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
-