Package net.minecraft.loot
Class TableLootEntry
java.lang.Object
net.minecraft.loot.LootEntry
net.minecraft.loot.StandaloneLootEntry
net.minecraft.loot.TableLootEntry
- 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
TableLootEntry
(ResourceLocation p_i51251_1_, int p_i51251_2_, int p_i51251_3_, ILootCondition[] p_i51251_4_, ILootFunction[] p_i51251_5_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createItemStack
(Consumer<ItemStack> p_216154_1_, LootContext p_216154_2_) getType()
static StandaloneLootEntry.Builder<?>
lootTableReference
(ResourceLocation p_216171_0_) void
validate
(ValidationTracker p_225579_1_) Methods inherited from class net.minecraft.loot.StandaloneLootEntry
expand, simpleBuilder
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
-
name
-
-
Constructor Details
-
TableLootEntry
private TableLootEntry(ResourceLocation p_i51251_1_, int p_i51251_2_, int p_i51251_3_, ILootCondition[] p_i51251_4_, ILootFunction[] p_i51251_5_)
-
-
Method Details
-
getType
-
createItemStack
- Specified by:
createItemStack
in classStandaloneLootEntry
-
validate
- Overrides:
validate
in classStandaloneLootEntry
-
lootTableReference
-