Package net.minecraft.loot
Interface LootChoice
- All Known Implementing Classes:
LeafEntry.Choice
public interface LootChoice
- Mappings:
Namespace Name named net/minecraft/loot/LootChoice
intermediary net/minecraft/class_82
official exd
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generateLoot
(Consumer<ItemStack> lootConsumer, LootContext context) int
getWeight
(float luck)
-
Method Details
-
getWeight
int getWeight(float luck) - Mappings:
Namespace Name Mixin selector named getWeight
Lnet/minecraft/loot/LootChoice;getWeight(F)I
intermediary method_427
Lnet/minecraft/class_82;method_427(F)I
official a
Lexd;a(F)I
-
generateLoot
- Mappings:
Namespace Name Mixin selector named generateLoot
Lnet/minecraft/loot/LootChoice;generateLoot(Ljava/util/function/Consumer;Lnet/minecraft/loot/context/LootContext;)V
intermediary method_426
Lnet/minecraft/class_82;method_426(Ljava/util/function/Consumer;Lnet/minecraft/class_47;)V
official a
Lexd;a(Ljava/util/function/Consumer;Lewo;)V
-