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