public abstract class StandaloneLootEntry extends LootEntry
Modifier and Type | Class and Description |
---|---|
static class |
StandaloneLootEntry.Builder<T extends StandaloneLootEntry.Builder<T>> |
(package private) static class |
StandaloneLootEntry.BuilderImpl |
class |
StandaloneLootEntry.Generator |
static interface |
StandaloneLootEntry.ILootEntryBuilder |
static class |
StandaloneLootEntry.Serializer<T extends StandaloneLootEntry> |
Modifier and Type | Field and Description |
---|---|
private java.util.function.BiFunction<ItemStack,LootContext,ItemStack> |
field_216157_c |
private ILootGenerator |
field_216161_h |
protected ILootFunction[] |
functions |
protected int |
quality |
protected int |
weight |
conditions
field_216139_a, field_216140_b
Modifier | Constructor and Description |
---|---|
protected |
StandaloneLootEntry(int weightIn,
int qualityIn,
ILootCondition[] conditionsIn,
ILootFunction[] functionsIn) |
Modifier and Type | Method and Description |
---|---|
static StandaloneLootEntry.Builder<?> |
builder(StandaloneLootEntry.ILootEntryBuilder entryBuilderIn) |
boolean |
expand(LootContext p_expand_1_,
java.util.function.Consumer<ILootGenerator> p_expand_2_) |
protected abstract void |
func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_,
LootContext p_216154_2_) |
void |
func_225579_a_(ValidationTracker p_225579_1_) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
alternate, sequence
protected final int weight
protected final int quality
protected final ILootFunction[] functions
private final java.util.function.BiFunction<ItemStack,LootContext,ItemStack> field_216157_c
private final ILootGenerator field_216161_h
protected StandaloneLootEntry(int weightIn, int qualityIn, ILootCondition[] conditionsIn, ILootFunction[] functionsIn)
public void func_225579_a_(ValidationTracker p_225579_1_)
func_225579_a_
in class LootEntry
protected abstract void func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_, LootContext p_216154_2_)
public boolean expand(LootContext p_expand_1_, java.util.function.Consumer<ILootGenerator> p_expand_2_)
public static StandaloneLootEntry.Builder<?> builder(StandaloneLootEntry.ILootEntryBuilder entryBuilderIn)