Class ValidationContext
java.lang.Object
net.minecraft.world.level.storage.loot.ValidationContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final LootContextParamSet
private final ProblemReporter
private final LootDataResolver
private final Set<LootDataId<?>>
-
Constructor Summary
ModifierConstructorDescriptionValidationContext
(ProblemReporter p_311875_, LootContextParamSet p_279485_, LootDataResolver p_279476_) private
ValidationContext
(ProblemReporter p_312319_, LootContextParamSet p_279447_, LootDataResolver p_279446_, Set<LootDataId<?>> p_311760_) -
Method Summary
Modifier and TypeMethodDescriptionenterElement
(String p_279180_, LootDataId<?> p_279438_) boolean
hasVisitedElement
(LootDataId<?> p_279178_) 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_, LootDataResolver p_279476_) -
ValidationContext
private ValidationContext(ProblemReporter p_312319_, LootContextParamSet p_279447_, LootDataResolver p_279446_, Set<LootDataId<?>> p_311760_)
-
-
Method Details
-
forChild
-
enterElement
-
hasVisitedElement
-
reportProblem
-
validateUser
-
resolver
-
setParams
-