net.minecraft.world.level.storage.loot

public class ValidationContext

czd
net.minecraft.world.level.storage.loot.ValidationContext
net.minecraft.class_58
net.minecraft.loot.LootTableReporter
net.minecraft.loot.ValidationTracker
net.minecraft.server.v1_16_R2.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
tableGetter
field_227524_f_
private final Set<ResourceLocation>
g
visitedTables
field_20760
tables
field_227525_g_
private String
h
contextCache
field_964
name
field_227526_h_

Constructor summary

ModifierConstructor
public (LootContextParamSet contextType, Function<ResourceLocation, LootItemCondition> conditionGetter, Function<ResourceLocation, LootTable> tableFactory)
public (com.google.common.collect.Multimap<String, String> messages, Supplier<String> nameFactory, LootContextParamSet contextType, Function<ResourceLocation, LootItemCondition> conditionGetter, Set<ResourceLocation> conditions, Function<ResourceLocation, LootTable> tableGetter, Set<ResourceLocation> tables)

Method summary

Modifier and TypeMethod
private String
b()
getContext()
method_359()
getName()
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, vk arg1)
enterTable(String arg0, ResourceLocation arg1)
method_22569(String arg0, class_2960 arg1)
withTable(String name, Identifier id)
func_227531_a_(String arg0, ResourceLocation arg1)
public ValidationContext
b(String arg0, vk 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(vk arg0)
hasVisitedTable(ResourceLocation arg0)
method_22570(class_2960 arg0)
hasTable(Identifier id)
func_227532_a_(ResourceLocation arg0)
public boolean
b(vk 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(cyt arg0)
validateUser(LootContextUser arg0)
method_22567(class_46 arg0)
validateContext(LootContextAware contextAware)
func_227528_a_(IParameterized arg0)
public LootTable
c(vk arg0)
resolveLootTable(ResourceLocation arg0)
method_22574(class_2960 arg0)
getTable(Identifier id)
func_227539_c_(ResourceLocation arg0)
public LootItemCondition
d(vk arg0)
resolveCondition(ResourceLocation arg0)
method_22576(class_2960 arg0)
getCondition(Identifier id)
func_227541_d_(ResourceLocation arg0)
public ValidationContext
a(dax arg0)
setParams(LootContextParamSet arg0)
method_22568(class_176 arg0)
withContextType(LootContextType contextType)
func_227529_a_(LootParameterSet arg0)