public abstract class ParentedLootEntry extends LootEntry
Modifier and Type | Class and Description |
---|---|
static class |
ParentedLootEntry.AbstractSerializer<T extends ParentedLootEntry> |
static interface |
ParentedLootEntry.IFactory<T extends ParentedLootEntry> |
LootEntry.Builder<T extends LootEntry.Builder<T>>, LootEntry.Serializer<T extends LootEntry>
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 LootEntry[] |
field_216147_c |
conditions
Modifier | Constructor and Description |
---|---|
protected |
ParentedLootEntry(LootEntry[] p_i51262_1_,
ILootCondition[] p_i51262_2_) |
Modifier and Type | Method and Description |
---|---|
default net.minecraft.world.storage.loot.ILootEntry |
alternate(net.minecraft.world.storage.loot.ILootEntry entry) |
protected abstract net.minecraft.world.storage.loot.ILootEntry |
combineChildren(net.minecraft.world.storage.loot.ILootEntry[] p_216146_1_) |
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_) |
static <T extends ParentedLootEntry> |
func_216145_a(ResourceLocation p_216145_0_,
java.lang.Class<T> p_216145_1_,
ParentedLootEntry.IFactory<T> p_216145_2_) |
default net.minecraft.world.storage.loot.ILootEntry |
sequence(net.minecraft.world.storage.loot.ILootEntry entry) |
func_216141_a
protected final LootEntry[] field_216147_c
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 ParentedLootEntry(LootEntry[] p_i51262_1_, ILootCondition[] p_i51262_2_)
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 LootEntry
protected abstract net.minecraft.world.storage.loot.ILootEntry combineChildren(net.minecraft.world.storage.loot.ILootEntry[] p_216146_1_)
public final boolean expand(LootContext p_expand_1_, java.util.function.Consumer<ILootGenerator> p_expand_2_)
public static <T extends ParentedLootEntry> ParentedLootEntry.AbstractSerializer<T> func_216145_a(ResourceLocation p_216145_0_, java.lang.Class<T> p_216145_1_, ParentedLootEntry.IFactory<T> p_216145_2_)
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)