Class LootContext.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.LootContext.Builder
- Enclosing class:
 - LootContext
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LootParamsprivate ResourceLocationprivate RandomSource - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncreate(Optional<ResourceLocation> p_298622_) getLevel()withOptionalRandomSeed(long p_78966_) withQueriedLootTableId(ResourceLocation queriedLootTableId)  
- 
Field Details
- 
params
 - 
random
 - 
queriedLootTableId
 
 - 
 - 
Constructor Details
- 
Builder
 - 
Builder
 
 - 
 - 
Method Details
- 
withOptionalRandomSeed
 - 
withQueriedLootTableId
 - 
getLevel
 - 
create
 
 -