Package net.minecraft.loot.entry
Class LeafEntry.Choice
java.lang.Object
net.minecraft.loot.entry.LeafEntry.Choice
- All Implemented Interfaces:
LootChoice
- Enclosing class:
- LeafEntry
public abstract class LeafEntry.Choice extends Object implements LootChoice
-
Constructor Summary
Constructors Modifier Constructor Description protected
Choice()
-
Method Summary
Modifier and Type Method Description int
getWeight(float luck)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.LootChoice
generateLoot
-
Constructor Details
-
Choice
protected Choice()
-
-
Method Details
-
getWeight
public int getWeight(float luck)- Specified by:
getWeight
in interfaceLootChoice
-