Class ValidationContext
java.lang.Object
net.minecraft.world.level.storage.loot.ValidationContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final LootContextParamSet
private final ProblemReporter
private final HolderGetter.Provider
private final Set
<ResourceKey<?>> -
Constructor Summary
ModifierConstructorDescriptionValidationContext
(ProblemReporter p_311875_, LootContextParamSet p_279485_, HolderGetter.Provider p_335890_) private
ValidationContext
(ProblemReporter p_312319_, LootContextParamSet p_279447_, HolderGetter.Provider p_335510_, Set<ResourceKey<?>> p_311760_) -
Method Summary
Modifier and TypeMethodDescriptionenterElement
(String p_279180_, ResourceKey<?> p_335771_) boolean
hasVisitedElement
(ResourceKey<?> p_335626_) void
reportProblem
(String p_79358_) resolver()
setParams
(LootContextParamSet p_79356_) void
validateUser
(LootContextUser p_79354_)
-
Field Details
-
reporter
-
params
-
resolver
-
visitedElements
-
-
Constructor Details
-
ValidationContext
public ValidationContext(ProblemReporter p_311875_, LootContextParamSet p_279485_, HolderGetter.Provider p_335890_) -
ValidationContext
private ValidationContext(ProblemReporter p_312319_, LootContextParamSet p_279447_, HolderGetter.Provider p_335510_, Set<ResourceKey<?>> p_311760_)
-
-
Method Details
-
forChild
-
enterElement
-
hasVisitedElement
-
reportProblem
-
validateUser
-
resolver
-
setParams
-