Class LootPoolSingletonContainer
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
- All Implemented Interfaces:
 ComposableEntryContainer
- Direct Known Subclasses:
 DynamicLoot,EmptyLootItem,LootItem,LootTableReference,TagEntry
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class(package private) static classprotected classprotected static interfacestatic class - 
Field Summary
FieldsModifier and TypeFieldDescription(package private) final BiFunction<ItemStack,LootContext, ItemStack> static final intstatic final intprivate final LootPoolEntryprotected final LootItemFunction[]protected final intprotected final intFields inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
conditionsFields inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
ALWAYS_FALSE, ALWAYS_TRUE - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLootPoolSingletonContainer(int p_79681_, int p_79682_, LootItemCondition[] p_79683_, LootItemFunction[] p_79684_)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidcreateItemStack(Consumer<ItemStack> p_79691_, LootContext p_79692_) booleanexpand(LootContext p_79694_, Consumer<LootPoolEntry> p_79695_) static LootPoolSingletonContainer.Builder<?>voidvalidate(ValidationContext p_79686_) Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
canRun, getTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
and, or 
- 
Field Details
- 
DEFAULT_WEIGHT
public static final int DEFAULT_WEIGHT- See Also:
 
 - 
DEFAULT_QUALITY
public static final int DEFAULT_QUALITY- See Also:
 
 - 
weight
protected final int weight - 
quality
protected final int quality - 
functions
 - 
compositeFunction
 - 
entry
 
 - 
 - 
Constructor Details
- 
LootPoolSingletonContainer
protected LootPoolSingletonContainer(int p_79681_, int p_79682_, LootItemCondition[] p_79683_, LootItemFunction[] p_79684_)  
 - 
 - 
Method Details
- 
validate
- Overrides:
 validatein classLootPoolEntryContainer
 - 
createItemStack
 - 
expand
 - 
simpleBuilder
public static LootPoolSingletonContainer.Builder<?> simpleBuilder(LootPoolSingletonContainer.EntryConstructor p_79688_)  
 -