Package | Description |
---|---|
net.minecraft.world.storage.loot | |
net.minecraft.world.storage.loot.conditions |
Modifier and Type | Method and Description |
---|---|
static LootContext.EntityTarget |
LootContext.EntityTarget.fromString(java.lang.String type) |
LootContext.EntityTarget |
LootContext.EntityTarget.Serializer.read(com.google.gson.stream.JsonReader p_read_1_) |
static LootContext.EntityTarget |
LootContext.EntityTarget.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LootContext.EntityTarget[] |
LootContext.EntityTarget.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Entity |
LootContext.getEntity(LootContext.EntityTarget target) |
void |
LootContext.EntityTarget.Serializer.write(com.google.gson.stream.JsonWriter p_write_1_,
LootContext.EntityTarget p_write_2_) |
Modifier and Type | Field and Description |
---|---|
private LootContext.EntityTarget |
EntityHasScore.target |
private LootContext.EntityTarget |
EntityHasProperty.target |
Constructor and Description |
---|
EntityHasProperty(EntityProperty[] propertiesIn,
LootContext.EntityTarget targetIn) |
EntityHasScore(java.util.Map<java.lang.String,RandomValueRange> scoreIn,
LootContext.EntityTarget targetIn) |