public class TagLootEntry extends StandaloneLootEntry
Modifier and Type | Class and Description |
---|---|
static class |
TagLootEntry.Serializer |
StandaloneLootEntry.Builder<T extends StandaloneLootEntry.Builder<T>>, StandaloneLootEntry.BuilderImpl, StandaloneLootEntry.Generator, StandaloneLootEntry.ILootEntryBuilder
Modifier and Type | Field and Description |
---|---|
private Tag<Item> |
field_216180_c |
private boolean |
field_216181_h |
functions, quality, weight
conditions
field_216139_a, field_216140_b
Modifier | Constructor and Description |
---|---|
private |
TagLootEntry(Tag<Item> p_i51248_1_,
boolean p_i51248_2_,
int p_i51248_3_,
int p_i51248_4_,
ILootCondition[] p_i51248_5_,
ILootFunction[] p_i51248_6_) |
Modifier and Type | Method and Description |
---|---|
boolean |
expand(LootContext p_expand_1_,
java.util.function.Consumer<ILootGenerator> p_expand_2_) |
void |
func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_,
LootContext p_216154_2_) |
static StandaloneLootEntry.Builder<?> |
func_216176_b(Tag<Item> p_216176_0_) |
private boolean |
func_216179_a(LootContext p_216179_1_,
java.util.function.Consumer<ILootGenerator> p_216179_2_) |
builder, func_225579_a_
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
alternate, sequence
private TagLootEntry(Tag<Item> p_i51248_1_, boolean p_i51248_2_, int p_i51248_3_, int p_i51248_4_, ILootCondition[] p_i51248_5_, ILootFunction[] p_i51248_6_)
public void func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_, LootContext p_216154_2_)
func_216154_a
in class StandaloneLootEntry
private boolean func_216179_a(LootContext p_216179_1_, java.util.function.Consumer<ILootGenerator> p_216179_2_)
public boolean expand(LootContext p_expand_1_, java.util.function.Consumer<ILootGenerator> p_expand_2_)
expand
in interface ILootEntry
expand
in class StandaloneLootEntry
public static StandaloneLootEntry.Builder<?> func_216176_b(Tag<Item> p_216176_0_)