Package net.minecraft.loot
Interface LootChoice
- All Known Implementing Classes:
LeafEntry.Choice
public interface LootChoice
- Mappings:
Namespace Name named net/minecraft/loot/LootChoiceintermediary net/minecraft/class_82official esg
-
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 named getWeightLnet/minecraft/loot/LootChoice;getWeight(F)Iintermediary method_427Lnet/minecraft/class_82;method_427(F)Iofficial aLesg;a(F)I
-
generateLoot
- Mappings:
Namespace Name Mixin selector named generateLootLnet/minecraft/loot/LootChoice;generateLoot(Ljava/util/function/Consumer;Lnet/minecraft/loot/context/LootContext;)Vintermediary method_426Lnet/minecraft/class_82;method_426(Ljava/util/function/Consumer;Lnet/minecraft/class_47;)Vofficial aLesg;a(Ljava/util/function/Consumer;Lerr;)V
-