Package net.minecraft.loot
Class ValidationTracker
java.lang.Object
net.minecraft.loot.ValidationTracker
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Function<ResourceLocation,
ILootCondition> private String
private final LootParameterSet
private final Function<ResourceLocation,
LootTable> private final Set<ResourceLocation>
private final Set<ResourceLocation>
-
Constructor Summary
ConstructorDescriptionValidationTracker
(com.google.common.collect.Multimap<String, String> p_i225888_1_, Supplier<String> p_i225888_2_, LootParameterSet p_i225888_3_, Function<ResourceLocation, ILootCondition> p_i225888_4_, Set<ResourceLocation> p_i225888_5_, Function<ResourceLocation, LootTable> p_i225888_6_, Set<ResourceLocation> p_i225888_7_) ValidationTracker
(LootParameterSet p_i225889_1_, Function<ResourceLocation, ILootCondition> p_i225889_2_, Function<ResourceLocation, LootTable> p_i225889_3_) -
Method Summary
Modifier and TypeMethodDescriptionenterCondition
(String p_227535_1_, ResourceLocation p_227535_2_) enterTable
(String p_227531_1_, ResourceLocation p_227531_2_) private String
boolean
hasVisitedCondition
(ResourceLocation p_227536_1_) boolean
hasVisitedTable
(ResourceLocation p_227532_1_) void
reportProblem
(String p_227530_1_) resolveCondition
(ResourceLocation p_227541_1_) resolveLootTable
(ResourceLocation p_227539_1_) setParams
(LootParameterSet p_227529_1_) void
validateUser
(IParameterized p_227528_1_)
-
Field Details
-
problems
-
context
-
params
-
conditionResolver
-
visitedConditions
-
tableResolver
-
visitedTables
-
contextCache
-
-
Constructor Details
-
ValidationTracker
public ValidationTracker(LootParameterSet p_i225889_1_, Function<ResourceLocation, ILootCondition> p_i225889_2_, Function<ResourceLocation, LootTable> p_i225889_3_) -
ValidationTracker
public ValidationTracker(com.google.common.collect.Multimap<String, String> p_i225888_1_, Supplier<String> p_i225888_2_, LootParameterSet p_i225888_3_, Function<ResourceLocation, ILootCondition> p_i225888_4_, Set<ResourceLocation> p_i225888_5_, Function<ResourceLocation, LootTable> p_i225888_6_, Set<ResourceLocation> p_i225888_7_)
-
-
Method Details
-
getContext
-
reportProblem
-
forChild
-
enterTable
-
enterCondition
-
hasVisitedTable
-
hasVisitedCondition
-
getProblems
-
validateUser
-
resolveLootTable
-
resolveCondition
-
setParams
-