Package | Description |
---|---|
net.minecraft.world.storage.loot | |
net.minecraft.world.storage.loot.conditions | |
net.minecraft.world.storage.loot.functions |
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 |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
static ILootCondition.IBuilder |
EntityHasProperty.builder(LootContext.EntityTarget targetIn) |
static ILootCondition.IBuilder |
EntityHasProperty.builder(LootContext.EntityTarget targetIn,
EntityPredicate.Builder predicateBuilderIn) |
Constructor and Description |
---|
EntityHasProperty(EntityPredicate predicateIn,
LootContext.EntityTarget targetIn) |
EntityHasScore(java.util.Map<java.lang.String,RandomValueRange> scoreIn,
LootContext.EntityTarget targetIn) |
Modifier and Type | Field and Description |
---|---|
private LootContext.EntityTarget |
FillPlayerHead.field_215902_a |
private LootContext.EntityTarget |
SetName.field_215940_d |
private LootContext.EntityTarget |
SetLore.field_215947_d |
Modifier and Type | Method and Description |
---|---|
static java.util.function.UnaryOperator<ITextComponent> |
SetName.func_215936_a(LootContext p_215936_0_,
LootContext.EntityTarget p_215936_1_) |
Constructor and Description |
---|
FillPlayerHead(ILootCondition[] p_i51234_1_,
LootContext.EntityTarget p_i51234_2_) |
SetLore(ILootCondition[] p_i51220_1_,
boolean replace,
java.util.List<ITextComponent> lore,
LootContext.EntityTarget p_i51220_4_) |
SetName(ILootCondition[] p_i51218_1_,
ITextComponent p_i51218_2_,
LootContext.EntityTarget p_i51218_3_) |