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 SummaryNested classes/interfaces inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainerLootPoolSingletonContainer.Builder<T extends LootPoolSingletonContainer.Builder<T>>, LootPoolSingletonContainer.DummyBuilder, LootPoolSingletonContainer.EntryBase, LootPoolSingletonContainer.EntryConstructor
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LootTableReference>private final ResourceLocationFields inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainercompositeFunction, DEFAULT_QUALITY, DEFAULT_WEIGHT, functions, quality, weightFields inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainerconditionsFields inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainerALWAYS_FALSE, ALWAYS_TRUE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateLootTableReference(ResourceLocation p_79756_, int p_79757_, int p_79758_, List<LootItemCondition> p_297470_, List<LootItemFunction> p_299264_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreateItemStack(Consumer<ItemStack> p_79774_, LootContext p_79775_) getType()static LootPoolSingletonContainer.Builder<?>lootTableReference(ResourceLocation p_79777_) voidvalidate(ValidationContext p_79770_) Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainerexpand, simpleBuilder, singletonFieldsMethods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainercanRun, commonFieldsMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainerand, or
- 
Field Details- 
CODEC
- 
name
 
- 
- 
Constructor Details- 
LootTableReferenceprivate LootTableReference(ResourceLocation p_79756_, int p_79757_, int p_79758_, List<LootItemCondition> p_297470_, List<LootItemFunction> p_299264_) 
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein class- LootPoolEntryContainer
 
- 
createItemStack- Specified by:
- createItemStackin class- LootPoolSingletonContainer
 
- 
validate- Overrides:
- validatein class- LootPoolSingletonContainer
 
- 
lootTableReference
 
-