net.minecraft.world.level.storage.loot

public class ValidationContext

ewv
net.minecraft.world.level.storage.loot.ValidationContext
net.minecraft.class_58
net.minecraft.unmapped.C_eumtgsbp
net.minecraft.loot.LootTableReporter
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
f_ovshwzxs
errorReporter
errorReporter
f_302601_
private final ContextKeySet
b
contextKeySet
field_20756
f_jvnjgkvv
contextType
type
f_348886_
private final Optional<HolderGetter$Provider>
c
resolver
field_44504
f_spdbzdri
dataLookup
dataLookup
f_278480_
private final Set<ResourceKey<?>>
d
visitedElements
field_44505
f_psnzcplo
referenceStack
visitedElements
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(String arg0)
forChild(String arg0)
method_364(String arg0)
m_glhnmzie(String arg0)
makeChild(String name)
makeChild(String name)
m_79365_(String arg0)
public ValidationContext
a(String arg0, aly<?> arg1)
enterElement(String arg0, ResourceKey<?> arg1)
method_51219(String arg0, class_5321<?> arg1)
m_jwjmhnkf(String arg0, C_xhhleach<?> arg1)
makeChild(String name, RegistryKey<?> key)
makeChild(String name, RegistryKey<?> element)
m_278632_(String p_331211_, C_5264_<?> arg1)
public boolean
a(aly<?> arg0)
hasVisitedElement(ResourceKey<?> arg0)
method_51218(class_5321<?> arg0)
m_qfxfbvfj(C_xhhleach<?> arg0)
isInStack(RegistryKey<?> key)
hasVisited(RegistryKey<?> element)
m_278820_(C_5264_<?> arg0)
public void
b(String arg0)
reportProblem(String arg0)
method_360(String arg0)
m_tbxtkgvh(String arg0)
report(String message)
report(String message)
m_79357_(String arg0)
public void
a(ewq arg0)
validateContextUsage(LootContextUser arg0)
method_22567(class_46 arg0)
m_ncvkgbcl(C_dogcxkxz arg0)
validateContext(LootContextAware contextAware)
validate(LootContextAware context)
m_353840_(C_2817_ arg0)
public HolderGetter$Provider
a()
resolver()
method_51220()
m_rxfxlyoi()
getDataLookup()
getDataLookup()
m_278720_()
public boolean
b()
allowsReferences()
method_61030()
m_tsoypkps()
canUseReferences()
hasDataLookup()
m_339912_()
public ValidationContext
a(bbo arg0)
setContextKeySet(ContextKeySet arg0)
method_22568(class_176 arg0)
m_zscrhcin(C_ykthnceq arg0)
withContextType(ContextType contextType)
withType(ContextKeySet type)
m_353236_(C_345950_ arg0)
public ProblemReporter
c()
reporter()
method_60288()
m_cftbvarw()
getErrorReporter()
getErrorReporter()
m_338880_()