Class LootContext.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.LootContext.Builder
- Enclosing class:
LootContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final LootParams
private ResourceLocation
private RandomSource
-
Constructor Summary
-
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
-