public class KilledByPlayer extends java.lang.Object implements LootCondition
Modifier and Type | Class and Description |
---|---|
static class |
KilledByPlayer.Serializer |
Modifier and Type | Field and Description |
---|---|
private boolean |
inverse |
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