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_312350_, LootContextParamSet p_279485_, HolderGetter.Provider p_331032_) private
ValidationContext
(ProblemReporter p_310867_, LootContextParamSet p_279447_, HolderGetter.Provider p_330853_, Set<ResourceKey<?>> p_311231_) -
Method Summary
Modifier and TypeMethodDescriptionenterElement
(String p_279180_, ResourceKey<?> p_331211_) boolean
hasVisitedElement
(ResourceKey<?> p_335461_) 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_312350_, LootContextParamSet p_279485_, HolderGetter.Provider p_331032_) -
ValidationContext
private ValidationContext(ProblemReporter p_310867_, LootContextParamSet p_279447_, HolderGetter.Provider p_330853_, Set<ResourceKey<?>> p_311231_)
-
-
Method Details
-
forChild
-
enterElement
-
hasVisitedElement
-
reportProblem
-
validateUser
-
resolver
-
setParams
-