Class LootTableReference
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
net.minecraft.world.level.storage.loot.entries.LootTableReference
- All Implemented Interfaces:
ComposableEntryContainer
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
LootPoolSingletonContainer.Builder<T extends LootPoolSingletonContainer.Builder<T>>, LootPoolSingletonContainer.DummyBuilder, LootPoolSingletonContainer.EntryBase, LootPoolSingletonContainer.EntryConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LootTableReference>
private final ResourceLocation
Fields inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
compositeFunction, DEFAULT_QUALITY, DEFAULT_WEIGHT, functions, quality, weight
Fields inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
conditions
Fields inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
ALWAYS_FALSE, ALWAYS_TRUE
-
Constructor Summary
ModifierConstructorDescriptionprivate
LootTableReference
(ResourceLocation p_79756_, int p_79757_, int p_79758_, List<LootItemCondition> p_297470_, List<LootItemFunction> p_299264_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createItemStack
(Consumer<ItemStack> p_79774_, LootContext p_79775_) getType()
static LootPoolSingletonContainer.Builder<?>
lootTableReference
(ResourceLocation p_79777_) void
validate
(ValidationContext p_79770_) Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
expand, simpleBuilder, singletonFields
Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
canRun, commonFields
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
and, or
-
Field Details
-
CODEC
-
name
-
-
Constructor Details
-
LootTableReference
private LootTableReference(ResourceLocation p_79756_, int p_79757_, int p_79758_, List<LootItemCondition> p_297470_, List<LootItemFunction> p_299264_)
-
-
Method Details
-
getType
- Specified by:
getType
in classLootPoolEntryContainer
-
createItemStack
- Specified by:
createItemStack
in classLootPoolSingletonContainer
-
validate
- Overrides:
validate
in classLootPoolSingletonContainer
-
lootTableReference
-