Package net.minecraft.loot
Class TagLootEntry
java.lang.Object
net.minecraft.loot.LootEntry
net.minecraft.loot.StandaloneLootEntry
net.minecraft.loot.TagLootEntry
- All Implemented Interfaces:
ILootEntry
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.loot.StandaloneLootEntry
StandaloneLootEntry.Builder<T extends StandaloneLootEntry.Builder<T>>, StandaloneLootEntry.BuilderImpl, StandaloneLootEntry.Generator, StandaloneLootEntry.ILootEntryBuilder -
Field Summary
FieldsFields inherited from class net.minecraft.loot.StandaloneLootEntry
functions, quality, weightFields inherited from class net.minecraft.loot.LootEntry
conditionsFields inherited from interface net.minecraft.loot.ILootEntry
ALWAYS_FALSE, ALWAYS_TRUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTagLootEntry(ITag<Item> p_i51248_1_, boolean p_i51248_2_, int p_i51248_3_, int p_i51248_4_, ILootCondition[] p_i51248_5_, ILootFunction[] p_i51248_6_) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateItemStack(Consumer<ItemStack> p_216154_1_, LootContext p_216154_2_) booleanexpand(LootContext p_expand_1_, Consumer<ILootGenerator> p_expand_2_) private booleanexpandTag(LootContext p_216179_1_, Consumer<ILootGenerator> p_216179_2_) static StandaloneLootEntry.Builder<?>getType()Methods inherited from class net.minecraft.loot.StandaloneLootEntry
simpleBuilder, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.ILootEntry
and, or
-
Field Details
-
tag
-
expand
private final boolean expand
-
-
Constructor Details
-
TagLootEntry
private TagLootEntry(ITag<Item> p_i51248_1_, boolean p_i51248_2_, int p_i51248_3_, int p_i51248_4_, ILootCondition[] p_i51248_5_, ILootFunction[] p_i51248_6_)
-
-
Method Details
-
getType
-
createItemStack
- Specified by:
createItemStackin classStandaloneLootEntry
-
expandTag
-
expand
- Specified by:
expandin interfaceILootEntry- Overrides:
expandin classStandaloneLootEntry
-
expandTag
-