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
net.minecraft.src.C_2837_

Field summary

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

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)
m_79365_(C_302123_$C_398642_ 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)
m_278632_(C_302123_$C_398642_ p_331211_, C_5264_<?> arg1)
public boolean
a(amd<?> arg0)
hasVisitedElement(ResourceKey<?> arg0)
method_51218(class_5321<?> arg0)
isInStack(RegistryKey<?> key)
m_278820_(C_5264_<?> arg0)
public void
a(bci$g arg0)
reportProblem(ProblemReporter$Problem arg0)
method_360(class_8942$class_11337 arg0)
report(ErrorReporter$Error arg0)
m_79357_(C_302123_$C_398624_ arg0)
public void
a(fdk arg0)
validateContextUsage(LootContextUser arg0)
method_22567(class_46 arg0)
validateContext(LootContextAware contextAware)
m_353840_(C_2817_ arg0)
public HolderGetter$Provider
a()
resolver()
method_51220()
getDataLookup()
m_278720_()
public boolean
b()
allowsReferences()
method_61030()
canUseReferences()
m_339912_()
public ValidationContext
a(bdo arg0)
setContextKeySet(ContextKeySet arg0)
method_22568(class_176 arg0)
withContextType(ContextType contextType)
m_353236_(C_345950_ arg0)
public ProblemReporter
c()
reporter()
method_60288()
getErrorReporter()
m_338880_()