public class KilledByPlayer extends java.lang.Object implements LootCondition
Modifier and Type | Class and Description |
---|---|
static class |
KilledByPlayer.Serializer |
Constructor and Description |
---|
KilledByPlayer(boolean inverseIn) |
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