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