net.minecraft.world.level.storage.loot

public class ValidationContext

fdp
net.minecraft.world.level.storage.loot.ValidationContext
net.minecraft.class_58
net.minecraft.loot.LootTableReporter

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(bci$f arg0)
forChild(ProblemReporter$PathElement arg0)
method_364(class_8942$class_11336 arg0)
makeChild(ErrorReporter$Context arg0)
public ValidationContext
a(bci$f arg0, amd<?> arg1)
enterElement(ProblemReporter$PathElement arg0, ResourceKey<?> arg1)
method_51219(class_8942$class_11336 arg0, class_5321<?> arg1)
makeChild(ErrorReporter$Context arg0, RegistryKey<?> key)
public boolean
a(amd<?> arg0)
hasVisitedElement(ResourceKey<?> arg0)
method_51218(class_5321<?> arg0)
isInStack(RegistryKey<?> key)
public void
a(bci$g arg0)
reportProblem(ProblemReporter$Problem arg0)
method_360(class_8942$class_11337 arg0)
report(ErrorReporter$Error arg0)
public void
a(fdk 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(bdo arg0)
setContextKeySet(ContextKeySet arg0)
method_22568(class_176 arg0)
withContextType(ContextType contextType)
public ProblemReporter
c()
reporter()
method_60288()
getErrorReporter()