net.minecraft.loot.entry

public class LootTableEntry

extends ExpandableLeafEntry

All mapped superinterfaces:

EntryCombiner, LootTableReportable

net.minecraft.world.level.storage.loot.entries.NestedLootTable
net.minecraft.world.level.storage.loot.entries.NestedLootTable
net.minecraft.class_83
net.minecraft.loot.entry.LootTableEntry

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LootTableEntry>
MAP_CODEC
MAP_CODEC
field_45803
MAP_CODEC
private final RegistryEntryList<LootTable>
value
value
field_49429
value

Constructor summary

ModifierConstructor
private (RegistryEntryList<LootTable> value, boolean expand, int weight, int quality, Optional<RegistryEntry<LootCondition>> condition, Optional<RegistryEntry<LootFunction>> modifier)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<LootTableEntry>
codec()
codec()
method_1_748()
getMapCodec()
protected boolean
addExpandedEntries(Consumer<LootPoolEntry> output)
addExpandedEntries(Consumer<LootPoolEntry> output)
method_447(Consumer<class_82> arg0)
growExpand(Consumer<LootChoice> arg0)
protected boolean
addUnexpandedEntry(Consumer<LootPoolEntry> output)
addUnexpandedEntry(Consumer<LootPoolEntry> output)
method_1_8971(Consumer<class_82> arg0)
growNonExpand(Consumer<LootChoice> arg0)
public void
validate(ValidationContext context)
validate(ValidationContext context)
method_292(class_58 arg0)
report(LootTableReporter arg0)
public static LeafEntry$Builder<?>
lootTableReference(Holder<LootTable> table)
lootTableReference(Holder<LootTable> table)
method_428(class_6880<class_52> arg0)
builder(RegistryEntry<LootTable> table)
public static LeafEntry$Builder<?>
inlineLootTable(LootTable table)
inlineLootTable(LootTable table)
method_57631(class_52 arg0)
builder(LootTable table)