net.minecraft.world.level.storage.loot

public class ValidationContext

dix
net.minecraft.world.level.storage.loot.ValidationContext
net.minecraft.class_58
net.minecraft.unmapped.C_eumtgsbp
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
f_lhoocjbt
messages
f_79332_
private final Supplier<String>
b
context
field_966
f_sxhkevxn
nameFactory
f_79333_
private final LootContextParamSet
c
params
field_20756
f_tqavjmzz
contextType
f_79334_
private final Function<ResourceLocation, LootItemCondition>
d
conditionResolver
field_20757
f_obauegio
conditionGetter
f_79335_
private final Set<ResourceLocation>
e
visitedConditions
field_20758
f_tlymiyzp
conditions
f_79336_
private final Function<ResourceLocation, LootTable>
f
tableResolver
field_20759
f_qxpuffxr
tableGetter
f_79337_
private final Set<ResourceLocation>
g
visitedTables
field_20760
f_amcgurqv
tables
f_79338_
private String
h
contextCache
field_964
f_cjnethrq
name
f_79339_

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()
m_xkljxovl()
getName()
m_79364_()
public void
a(String arg0)
reportProblem(String arg0)
method_360(String arg0)
m_tbxtkgvh(String arg0)
report(String message)
m_79357_(String arg0)
public ValidationContext
b(String arg0)
forChild(String arg0)
method_364(String arg0)
m_glhnmzie(String arg0)
makeChild(String name)
m_79365_(String arg0)
public ValidationContext
a(String arg0, ww arg1)
enterTable(String arg0, ResourceLocation arg1)
method_22569(String arg0, class_2960 arg1)
m_pctkwgti(String arg0, C_ncpywfca arg1)
withTable(String name, Identifier id)
m_79359_(String p_79361_, C_5265_ arg1)
public ValidationContext
b(String arg0, ww arg1)
enterCondition(String arg0, ResourceLocation arg1)
method_22571(String arg0, class_2960 arg1)
m_rodgopmy(String arg0, C_ncpywfca arg1)
withCondition(String name, Identifier id)
m_79367_(String p_79369_, C_5265_ arg1)
public boolean
a(ww arg0)
hasVisitedTable(ResourceLocation arg0)
method_22570(class_2960 arg0)
m_uenuthpi(C_ncpywfca arg0)
hasTable(Identifier id)
m_79362_(C_5265_ arg0)
public boolean
b(ww arg0)
hasVisitedCondition(ResourceLocation arg0)
method_22572(class_2960 arg0)
m_dzhrppxr(C_ncpywfca arg0)
hasCondition(Identifier id)
m_79370_(C_5265_ arg0)
public com.google.common.collect.Multimap<String, String>
a()
getProblems()
method_361()
m_iqiojnoz()
getMessages()
m_79352_()
public void
a(diq arg0)
validateUser(LootContextUser arg0)
method_22567(class_46 arg0)
m_gqledvzt(C_dogcxkxz arg0)
validateContext(LootContextAware contextAware)
m_79353_(C_2817_ arg0)
public LootTable
c(ww arg0)
resolveLootTable(ResourceLocation arg0)
method_22574(class_2960 arg0)
m_hibcfwei(C_ncpywfca arg0)
getTable(Identifier id)
m_79375_(C_5265_ arg0)
public LootItemCondition
d(ww arg0)
resolveCondition(ResourceLocation arg0)
method_22576(class_2960 arg0)
m_dqausjap(C_ncpywfca arg0)
getCondition(Identifier id)
m_79379_(C_5265_ arg0)
public ValidationContext
a(dkt arg0)
setParams(LootContextParamSet arg0)
method_22568(class_176 arg0)
m_qktyesto(C_vczsvjil arg0)
withContextType(LootContextType contextType)
m_79355_(C_2970_ arg0)