public abstract class StandaloneLootEntry extends LootEntry
| Modifier and Type | Class and Description |
|---|---|
static class |
StandaloneLootEntry.Builder<T extends StandaloneLootEntry.Builder<T>> |
class |
StandaloneLootEntry.Generator |
static interface |
StandaloneLootEntry.ILootEntryBuilder |
static class |
StandaloneLootEntry.Serializer<T extends StandaloneLootEntry> |
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.world.storage.loot.ILootEntry |
field_216139_a |
static net.minecraft.world.storage.loot.ILootEntry |
field_216140_b |
protected ILootFunction[] |
functions |
protected int |
quality |
protected int |
weight |
conditions| Modifier | Constructor and Description |
|---|---|
protected |
StandaloneLootEntry(int weightIn,
int qualityIn,
ILootCondition[] conditionsIn,
ILootFunction[] functionsIn) |
| Modifier and Type | Method and Description |
|---|---|
default net.minecraft.world.storage.loot.ILootEntry |
alternate(net.minecraft.world.storage.loot.ILootEntry entry) |
static StandaloneLootEntry.Builder<?> |
builder(StandaloneLootEntry.ILootEntryBuilder entryBuilderIn) |
boolean |
expand(LootContext p_expand_1_,
java.util.function.Consumer<ILootGenerator> p_expand_2_) |
void |
func_216142_a(ValidationResults p_216142_1_,
java.util.function.Function<ResourceLocation,LootTable> p_216142_2_,
java.util.Set<ResourceLocation> p_216142_3_,
LootParameterSet p_216142_4_) |
protected abstract void |
func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_,
LootContext p_216154_2_) |
default net.minecraft.world.storage.loot.ILootEntry |
sequence(net.minecraft.world.storage.loot.ILootEntry entry) |
func_216141_aprotected final int weight
protected final int quality
protected final ILootFunction[] functions
public static final net.minecraft.world.storage.loot.ILootEntry field_216139_a
public static final net.minecraft.world.storage.loot.ILootEntry field_216140_b
protected StandaloneLootEntry(int weightIn,
int qualityIn,
ILootCondition[] conditionsIn,
ILootFunction[] functionsIn)
public void func_216142_a(ValidationResults p_216142_1_, java.util.function.Function<ResourceLocation,LootTable> p_216142_2_, java.util.Set<ResourceLocation> p_216142_3_, LootParameterSet p_216142_4_)
func_216142_a in class LootEntryprotected 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)
public net.minecraft.world.storage.loot.ILootEntry sequence(net.minecraft.world.storage.loot.ILootEntry entry)
public net.minecraft.world.storage.loot.ILootEntry alternate(net.minecraft.world.storage.loot.ILootEntry entry)