net.minecraft.world.level.storage.loot

public class ValidationContext

csg
net.minecraft.world.level.storage.loot.ValidationContext
net.minecraft.class_58
net.minecraft.loot.LootTableReporter
net.minecraft.world.storage.loot.ValidationTracker
net.minecraft.server.v1_15_R1.LootCollector

Field summary

Modifier and TypeField
private final com.google.common.collect.Multimap<String, String>
a
problems
field_965
messages
field_227519_a_
private final Supplier<String>
b
context
field_966
nameFactory
field_227520_b_
private final LootContextParamSet
c
params
field_20756
contextType
field_227521_c_
private final Function<ResourceLocation, LootItemCondition>
d
conditionResolver
field_20757
conditionGetter
field_227522_d_
private final Set<ResourceLocation>
e
visitedConditions
field_20758
conditions
field_227523_e_
private final Function<ResourceLocation, LootTable>
f
tableResolver
field_20759
supplierGetter
field_227524_f_
private final Set<ResourceLocation>
g
visitedTables
field_20760
suppliers
field_227525_g_
private String
h
contextCache
field_964
name
field_227526_h_

Constructor summary

ModifierConstructor
public (LootContextParamSet arg0, Function<ResourceLocation, LootItemCondition> arg1, Function<ResourceLocation, LootTable> arg2)
public (com.google.common.collect.Multimap<String, String> arg0, Supplier<String> arg1, LootContextParamSet arg2, Function<ResourceLocation, LootItemCondition> arg3, Set<ResourceLocation> arg4, Function<ResourceLocation, LootTable> arg5, Set<ResourceLocation> arg6)

Method summary

Modifier and TypeMethod
private String
b()
getContext()
method_359()
getContext()
func_227533_b_()
public void
a(String arg0)
reportProblem(String arg0)
method_360(String arg0)
report(String message)
func_227530_a_(String arg0)
public ValidationContext
b(String arg0)
forChild(String arg0)
method_364(String arg0)
makeChild(String name)
func_227534_b_(String arg0)
public ValidationContext
a(String arg0, sm arg1)
enterTable(String arg0, ResourceLocation arg1)
method_22569(String arg0, class_2960 arg1)
withSupplier(String name, Identifier id)
func_227531_a_(String arg0, ResourceLocation arg1)
public ValidationContext
b(String arg0, sm arg1)
enterCondition(String arg0, ResourceLocation arg1)
method_22571(String arg0, class_2960 arg1)
withCondition(String name, Identifier id)
func_227535_b_(String arg0, ResourceLocation arg1)
public boolean
a(sm arg0)
hasVisitedTable(ResourceLocation arg0)
method_22570(class_2960 arg0)
hasSupplier(Identifier id)
func_227532_a_(ResourceLocation arg0)
public boolean
b(sm arg0)
hasVisitedCondition(ResourceLocation arg0)
method_22572(class_2960 arg0)
hasCondition(Identifier id)
func_227536_b_(ResourceLocation arg0)
public com.google.common.collect.Multimap<String, String>
a()
getProblems()
method_361()
getMessages()
func_227527_a_()
public void
a(cry arg0)
validateUser(LootContextUser arg0)
method_22567(class_46 arg0)
checkContext(LootContextAware contextAware)
func_227528_a_(IParameterized arg0)
public LootTable
c(sm arg0)
resolveLootTable(ResourceLocation arg0)
method_22574(class_2960 arg0)
getSupplier(Identifier id)
func_227539_c_(ResourceLocation arg0)
public LootItemCondition
d(sm arg0)
resolveCondition(ResourceLocation arg0)
method_22576(class_2960 arg0)
getCondition(Identifier id)
func_227541_d_(ResourceLocation arg0)
public ValidationContext
a(cty arg0)
setParams(LootContextParamSet arg0)
method_22568(class_176 arg0)
withContextType(LootContextType contextType)
func_227529_a_(LootParameterSet arg0)