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_299315_) getLevel()
withOptionalRandomSeed
(long p_78966_) withOptionalRandomSource
(RandomSource p_345173_) withQueriedLootTableId
(ResourceLocation queriedLootTableId)
-
Field Details
-
params
-
random
-
queriedLootTableId
-
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
withOptionalRandomSeed
-
withOptionalRandomSource
-
withQueriedLootTableId
-
getLevel
-
create
-