net.minecraft.world.level.storage.loot

public class ValidationContext

evy
net.minecraft.world.level.storage.loot.ValidationContext
net.minecraft.class_58
net.minecraft.loot.LootTableReporter
net.minecraft.world.level.storage.loot.LootCollector

Field summary

Modifier and TypeField
private final ProblemReporter
a
reporter
field_47427
errorReporter
private final ContextKeySet
b
contextKeySet
field_20756
contextType
private final Optional<HolderGetter$Provider>
c
resolver
field_44504
dataLookup
private final Set<ResourceKey<?>>
d
visitedElements
field_44505
referenceStack

Constructor summary

ModifierConstructor
public (ProblemReporter errorReporter, ContextKeySet contextType, HolderGetter$Provider dataLookup)
public (ProblemReporter errorReporter, ContextKeySet contextType)
private (ProblemReporter errorReporter, ContextKeySet contextType, Optional<HolderGetter$Provider> dataLookup, Set<ResourceKey<?>> referenceStack)

Method summary

Modifier and TypeMethod
public ValidationContext
a(String arg0)
forChild(String arg0)
method_364(String arg0)
makeChild(String name)
public ValidationContext
a(String arg0, aku<?> arg1)
enterElement(String arg0, ResourceKey<?> arg1)
method_51219(String arg0, class_5321<?> arg1)
makeChild(String name, RegistryKey<?> key)
public boolean
a(aku<?> arg0)
hasVisitedElement(ResourceKey<?> arg0)
method_51218(class_5321<?> arg0)
isInStack(RegistryKey<?> key)
public void
b(String arg0)
reportProblem(String arg0)
method_360(String arg0)
report(String message)
public void
a(evt arg0)
validateContextUsage(LootContextUser arg0)
method_22567(class_46 arg0)
validateContext(LootContextAware contextAware)
public HolderGetter$Provider
a()
resolver()
method_51220()
getDataLookup()
public boolean
b()
allowsReferences()
method_61030()
canUseReferences()
public ValidationContext
a(baj arg0)
setContextKeySet(ContextKeySet arg0)
method_22568(class_176 arg0)
withContextType(ContextType contextType)
public ProblemReporter
c()
reporter()
method_60288()
getErrorReporter()