net.minecraft.world.level.storage.loot

public class ValidationContext

ecz
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 com.google.common.collect.Multimap<String, String>
a
problems
field_965
messages
f_79332_
private final Supplier<String>
b
context
field_966
nameFactory
f_79333_
private final LootContextParamSet
c
params
field_20756
contextType
f_79334_
private final LootDataResolver
d
resolver
field_44504
dataLookup
f_278480_
private final Set<LootDataId<?>>
e
visitedElements
field_44505
referenceStack
f_278483_
private String
f
contextCache
field_964
name
f_79339_

Constructor summary

ModifierConstructor
public (LootContextParamSet contextType, LootDataResolver dataLookup)
public (com.google.common.collect.Multimap<String, String> messages, Supplier<String> nameFactory, LootContextParamSet contextType, LootDataResolver dataLookup, Set<LootDataId<?>> referenceStack)

Method summary

Modifier and TypeMethod
private String
c()
getContext()
method_359()
getName()
m_79364_()
public void
a(String arg0)
reportProblem(String arg0)
method_360(String arg0)
report(String message)
m_79357_(String arg0)
public ValidationContext
b(String arg0)
forChild(String arg0)
method_364(String arg0)
makeChild(String name)
m_79365_(String arg0)
public ValidationContext
a(String arg0, ecs<?> arg1)
enterElement(String arg0, LootDataId<?> arg1)
method_51219(String arg0, class_8488<?> arg1)
makeChild(String name, LootDataKey<?> currentKey)
m_278632_(String p_279438_, C_278364_<?> arg1)
public boolean
a(ecs<?> arg0)
hasVisitedElement(LootDataId<?> arg0)
method_51218(class_8488<?> arg0)
isInStack(LootDataKey<?> key)
m_278820_(C_278364_<?> arg0)
public com.google.common.collect.Multimap<String, String>
a()
getProblems()
method_361()
getMessages()
m_79352_()
public void
a(ecr arg0)
validateUser(LootContextUser arg0)
method_22567(class_46 arg0)
validateContext(LootContextAware contextAware)
m_79353_(C_2817_ arg0)
public LootDataResolver
b()
resolver()
method_51220()
getDataLookup()
m_278720_()
public ValidationContext
a(eez arg0)
setParams(LootContextParamSet arg0)
method_22568(class_176 arg0)
withContextType(LootContextType contextType)
m_79355_(C_2970_ arg0)