Class ValidationContext
java.lang.Object
net.minecraft.world.level.storage.loot.ValidationContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private final LootContextParamSet
private final LootDataResolver
private final Set<LootDataId<?>>
-
Constructor Summary
ConstructorDescriptionValidationContext
(com.google.common.collect.Multimap<String, String> p_279202_, Supplier<String> p_279184_, LootContextParamSet p_279485_, LootDataResolver p_279476_, Set<LootDataId<?>> p_279392_) ValidationContext
(LootContextParamSet p_279447_, LootDataResolver p_279446_) -
Method Summary
Modifier and TypeMethodDescriptionenterElement
(String p_279180_, LootDataId<?> p_279438_) private String
boolean
hasVisitedElement
(LootDataId<?> p_279178_) void
reportProblem
(String p_79358_) resolver()
setParams
(LootContextParamSet p_79356_) void
validateUser
(LootContextUser p_79354_)
-
Field Details
-
problems
-
context
-
params
-
resolver
-
visitedElements
-
contextCache
-
-
Constructor Details
-
ValidationContext
-
ValidationContext
public ValidationContext(com.google.common.collect.Multimap<String, String> p_279202_, Supplier<String> p_279184_, LootContextParamSet p_279485_, LootDataResolver p_279476_, Set<LootDataId<?>> p_279392_)
-
-
Method Details
-
getContext
-
reportProblem
-
forChild
-
enterElement
-
hasVisitedElement
-
getProblems
-
validateUser
-
resolver
-
setParams
-