net.minecraft.world.level.storage.loot

public class ValidationContext

erx
net.minecraft.world.level.storage.loot.ValidationContext
net.minecraft.class_58
net.minecraft.loot.LootTableReporter
net.minecraft.src.C_2837_
net.minecraft.world.level.storage.loot.LootCollector

Field summary

Modifier and TypeField
private final ProblemReporter
a
reporter
field_47427
errorReporter
f_302601_
private final LootContextParamSet
b
params
field_20756
contextType
f_79334_
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, LootContextParamSet contextType, HolderGetter$Provider dataLookup)
public (ProblemReporter errorReporter, LootContextParamSet contextType)
private (ProblemReporter errorReporter, LootContextParamSet 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)
m_79365_(String arg0)
public ValidationContext
a(String arg0, akq<?> arg1)
enterElement(String arg0, ResourceKey<?> arg1)
method_51219(String arg0, class_5321<?> arg1)
makeChild(String name, RegistryKey<?> key)
m_278632_(String p_331211_, C_5264_<?> arg1)
public boolean
a(akq<?> arg0)
hasVisitedElement(ResourceKey<?> arg0)
method_51218(class_5321<?> arg0)
isInStack(RegistryKey<?> key)
m_278820_(C_5264_<?> arg0)
public void
b(String arg0)
reportProblem(String arg0)
method_360(String arg0)
report(String message)
m_79357_(String arg0)
public void
a(ers arg0)
validateUser(LootContextUser arg0)
method_22567(class_46 arg0)
validateContext(LootContextAware contextAware)
m_79353_(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(eul arg0)
setParams(LootContextParamSet arg0)
method_22568(class_176 arg0)
withContextType(LootContextType contextType)
m_79355_(C_2970_ arg0)
public ProblemReporter
c()
reporter()
method_60288()
getErrorReporter()
m_338880_()