public abstract class LootEntry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LootEntry.Builder<T extends LootEntry.Builder<T>> |
static class |
LootEntry.Serializer<T extends LootEntry> |
Modifier and Type | Field and Description |
---|---|
protected ILootCondition[] |
conditions |
static net.minecraft.world.storage.loot.ILootEntry |
field_216139_a |
static net.minecraft.world.storage.loot.ILootEntry |
field_216140_b |
Modifier | Constructor and Description |
---|---|
protected |
LootEntry(ILootCondition[] p_i51254_1_) |
Modifier and Type | Method and Description |
---|---|
default net.minecraft.world.storage.loot.ILootEntry |
alternate(net.minecraft.world.storage.loot.ILootEntry entry) |
boolean |
expand(LootContext p_expand_1_,
java.util.function.Consumer<ILootGenerator> p_expand_2_) |
protected boolean |
func_216141_a(LootContext p_216141_1_) |
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_) |
default net.minecraft.world.storage.loot.ILootEntry |
sequence(net.minecraft.world.storage.loot.ILootEntry entry) |
protected final ILootCondition[] conditions
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 LootEntry(ILootCondition[] p_i51254_1_)
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_)
protected final boolean func_216141_a(LootContext p_216141_1_)
public boolean expand(LootContext p_expand_1_, java.util.function.Consumer<ILootGenerator> p_expand_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)