Class LeafEntry.Choice

java.lang.Object
net.minecraft.loot.entry.LeafEntry.Choice
All Implemented Interfaces:
LootChoice
Enclosing class:
LeafEntry

protected abstract class LeafEntry.Choice extends Object implements LootChoice
Mappings:
Namespace Name
named net/minecraft/loot/entry/LeafEntry$Choice
intermediary net/minecraft/class_85$class_88
official esd$c
  • Constructor Details

    • Choice

      protected Choice()
  • Method Details

    • getWeight

      public int getWeight(float luck)
      Specified by:
      getWeight in interface LootChoice
      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 Lesa;a(F)I