Package net.minecraft.loot
Class ItemLootEntry
java.lang.Object
net.minecraft.loot.LootEntry
net.minecraft.loot.StandaloneLootEntry
net.minecraft.loot.ItemLootEntry
- All Implemented Interfaces:
ILootEntry
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.loot.StandaloneLootEntry
StandaloneLootEntry.Builder<T extends StandaloneLootEntry.Builder<T>>, StandaloneLootEntry.BuilderImpl, StandaloneLootEntry.Generator, StandaloneLootEntry.ILootEntryBuilder
-
Field Summary
Fields inherited from class net.minecraft.loot.StandaloneLootEntry
functions, quality, weight
Fields inherited from class net.minecraft.loot.LootEntry
conditions
Fields inherited from interface net.minecraft.loot.ILootEntry
ALWAYS_FALSE, ALWAYS_TRUE
-
Constructor Summary
ModifierConstructorDescriptionprivate
ItemLootEntry
(Item p_i51255_1_, int p_i51255_2_, int p_i51255_3_, ILootCondition[] p_i51255_4_, ILootFunction[] p_i51255_5_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createItemStack
(Consumer<ItemStack> p_216154_1_, LootContext p_216154_2_) getType()
static StandaloneLootEntry.Builder<?>
lootTableItem
(IItemProvider p_216168_0_) Methods inherited from class net.minecraft.loot.StandaloneLootEntry
expand, simpleBuilder, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.ILootEntry
and, or
-
Field Details
-
item
-
-
Constructor Details
-
ItemLootEntry
private ItemLootEntry(Item p_i51255_1_, int p_i51255_2_, int p_i51255_3_, ILootCondition[] p_i51255_4_, ILootFunction[] p_i51255_5_)
-
-
Method Details
-
getType
-
createItemStack
- Specified by:
createItemStack
in classStandaloneLootEntry
-
lootTableItem
-