Package net.minecraft.loot
Class StandaloneLootEntry
java.lang.Object
net.minecraft.loot.LootEntry
net.minecraft.loot.StandaloneLootEntry
- All Implemented Interfaces:
- ILootEntry
- Direct Known Subclasses:
- DynamicLootEntry,- EmptyLootEntry,- ItemLootEntry,- TableLootEntry,- TagLootEntry
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic class(package private) static classclassstatic interfacestatic class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final BiFunction<ItemStack,LootContext, ItemStack> private final ILootGeneratorprotected final ILootFunction[]protected final intprotected final intFields inherited from class net.minecraft.loot.LootEntryconditionsFields inherited from interface net.minecraft.loot.ILootEntryALWAYS_FALSE, ALWAYS_TRUE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedStandaloneLootEntry(int p_i51253_1_, int p_i51253_2_, ILootCondition[] p_i51253_3_, ILootFunction[] p_i51253_4_) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract voidcreateItemStack(Consumer<ItemStack> p_216154_1_, LootContext p_216154_2_) booleanexpand(LootContext p_expand_1_, Consumer<ILootGenerator> p_expand_2_) static StandaloneLootEntry.Builder<?>simpleBuilder(StandaloneLootEntry.ILootEntryBuilder p_216156_0_) voidvalidate(ValidationTracker p_225579_1_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.ILootEntryand, or
- 
Field Details- 
weightprotected final int weight
- 
qualityprotected final int quality
- 
functions
- 
compositeFunction
- 
entry
 
- 
- 
Constructor Details- 
StandaloneLootEntryprotected StandaloneLootEntry(int p_i51253_1_, int p_i51253_2_, ILootCondition[] p_i51253_3_, ILootFunction[] p_i51253_4_) 
 
- 
- 
Method Details- 
validate
- 
createItemStack
- 
expand
- 
simpleBuilderpublic static StandaloneLootEntry.Builder<?> simpleBuilder(StandaloneLootEntry.ILootEntryBuilder p_216156_0_) 
 
-