public class EntityHasProperty extends java.lang.Object implements LootCondition
Modifier and Type | Class and Description |
---|---|
static class |
EntityHasProperty.Serializer |
Constructor and Description |
---|
EntityHasProperty(EntityProperty[] propertiesIn,
LootContext.EntityTarget targetIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
testCondition(java.util.Random rand,
LootContext context) |
public EntityHasProperty(EntityProperty[] propertiesIn, LootContext.EntityTarget targetIn)
public boolean testCondition(java.util.Random rand, LootContext context)
testCondition
in interface LootCondition