public class RandomChance extends java.lang.Object implements LootCondition
Modifier and Type | Class and Description |
---|---|
static class |
RandomChance.Serializer |
Constructor and Description |
---|
RandomChance(float chanceIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
testCondition(java.util.Random rand,
LootContext context) |
public boolean testCondition(java.util.Random rand, LootContext context)
testCondition
in interface LootCondition