net.minecraft.loot

public class LootTableReporter

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

Field summary

Modifier and TypeField
private final ErrorReporter
reporter
field_47427
errorReporter
private final ContextType
contextKeySet
field_20756
contextType
private final Optional<RegistryEntryLookup$RegistryLookup>
resolver
field_44504
dataLookup
private final Set<RegistryKey<?>>
visitedElements
field_44505
referenceStack

Constructor summary

ModifierConstructor
public (ErrorReporter errorReporter, ContextType contextType, RegistryEntryLookup$RegistryLookup dataLookup)
public (ErrorReporter errorReporter, ContextType contextType)
private (ErrorReporter errorReporter, ContextType contextType, Optional<RegistryEntryLookup$RegistryLookup> dataLookup, Set<RegistryKey<?>> referenceStack)

Method summary

Modifier and TypeMethod
public LootTableReporter
forChild(ProblemReporter$PathElement subContext)
method_364(class_8942$class_11336 arg0)
makeChild(ErrorReporter$Context arg0)
public LootTableReporter
forField(String name)
method_1_659(String arg0)
map(String arg0)
public LootTableReporter
forIndexedField(String name, int index)
method_1_660(String arg0, int arg1)
namedList(String arg0, int arg1)
public LootTableReporter
forMapField(String name, String key)
method_1_661(String arg0, String arg1)
namedMap(String arg0, String arg1)
public LootTableReporter
enterElement(ProblemReporter$PathElement subContext, ResourceKey<?> element)
method_51219(class_8942$class_11336 arg0, class_5321<?> arg1)
makeChild(ErrorReporter$Context arg0, RegistryKey<?> key)
public boolean
hasVisitedElement(ResourceKey<?> element)
method_51218(class_5321<?> arg0)
isInStack(RegistryKey<?> key)
public void
reportProblem(ProblemReporter$Problem description)
method_360(class_8942$class_11337 arg0)
report(ErrorReporter$Error arg0)
public void
validateContextUsage(LootContextUser lootContextUser)
method_22567(class_46 arg0)
validateContext(LootContextAware contextAware)
public RegistryEntryLookup$RegistryLookup
resolver()
method_51220()
getDataLookup()
public boolean
allowsReferences()
method_61030()
canUseReferences()
public ErrorReporter
reporter()
method_60288()
getErrorReporter()
private static UnsupportedOperationException
lambda$resolver$0()
method_61031()
method_61031()