Class LootItem
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.LootItem
- 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 SummaryFieldsFields 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 SummaryConstructorsModifierConstructorDescriptionprivateLootItem(Holder<Item> p_298860_, int p_79567_, int p_79568_, List<LootItemCondition> p_299681_, List<LootItemFunction> p_298494_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreateItemStack(Consumer<ItemStack> p_79590_, LootContext p_79591_) getType()static LootPoolSingletonContainer.Builder<?>lootTableItem(ItemLike p_79580_) Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainerexpand, simpleBuilder, singletonFields, validateMethods 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
- 
item
 
- 
- 
Constructor Details- 
LootItemprivate LootItem(Holder<Item> p_298860_, int p_79567_, int p_79568_, List<LootItemCondition> p_299681_, List<LootItemFunction> p_298494_) 
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein class- LootPoolEntryContainer
 
- 
createItemStack- Specified by:
- createItemStackin class- LootPoolSingletonContainer
 
- 
lootTableItem
 
-