Uses of Class
net.minecraft.world.level.storage.loot.ValidationContext
Packages that use ValidationContext
Package
Description
Classes for NeoForge's own data generation.
-
Uses of ValidationContext in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type ValidationContextModifier and TypeMethodDescriptionvoid
ContextAwarePredicate.validate
(ValidationContext p_312768_) -
Uses of ValidationContext in net.minecraft.data.loot
Methods in net.minecraft.data.loot with parameters of type ValidationContextModifier and TypeMethodDescriptionprotected void
LootTableProvider.validate
(WritableRegistry<LootTable> writableregistry, ValidationContext validationcontext, ProblemReporter.Collector problemreporter$collector) -
Uses of ValidationContext in net.minecraft.server
Methods in net.minecraft.server with parameters of type ValidationContextModifier and TypeMethodDescriptionprivate static <T> void
ReloadableServerRegistries.validateRegistry
(ValidationContext context, LootDataType<T> lootDataType, RegistryAccess registryAccess) -
Uses of ValidationContext in net.minecraft.world.level.storage.loot
Methods in net.minecraft.world.level.storage.loot that return ValidationContextModifier and TypeMethodDescriptionValidationContext.enterElement
(String name, ResourceKey<?> key) Create a new ValidationContext withchildName
being added to the context.ValidationContext.setParams
(LootContextParamSet params) Create a new ValidationContext with the given LootContextParamSet.Methods in net.minecraft.world.level.storage.loot with parameters of type ValidationContextModifier and TypeMethodDescriptionvoid
LootDataType.Validator.run
(ValidationContext context, ResourceKey<T> key, T value) void
LootDataType.runValidation
(ValidationContext context, ResourceKey<T> key, T value) default void
LootContextUser.validate
(ValidationContext context) Validate that this object is used correctly according to the given ValidationContext.void
LootPool.validate
(ValidationContext context) Validate this LootPool according to the given context.void
LootTable.validate
(ValidationContext validator) Validate this LootTable using the given ValidationContext. -
Uses of ValidationContext in net.minecraft.world.level.storage.loot.entries
Methods in net.minecraft.world.level.storage.loot.entries with parameters of type ValidationContextModifier and TypeMethodDescriptionvoid
AlternativesEntry.validate
(ValidationContext validationContext) void
CompositeEntryBase.validate
(ValidationContext validationContext) void
LootPoolEntryContainer.validate
(ValidationContext validationContext) void
LootPoolSingletonContainer.validate
(ValidationContext validationContext) void
NestedLootTable.validate
(ValidationContext validationContext) -
Uses of ValidationContext in net.minecraft.world.level.storage.loot.functions
Methods in net.minecraft.world.level.storage.loot.functions with parameters of type ValidationContextModifier and TypeMethodDescriptionvoid
FilteredFunction.validate
(ValidationContext context) Validate that this object is used correctly according to the given ValidationContext.void
FunctionReference.validate
(ValidationContext context) Validate that this object is used correctly according to the given ValidationContext.void
LootItemConditionalFunction.validate
(ValidationContext context) Validate that this object is used correctly according to the given ValidationContext.void
ModifyContainerContents.validate
(ValidationContext context) Validate that this object is used correctly according to the given ValidationContext.void
SequenceFunction.validate
(ValidationContext context) Validate that this object is used correctly according to the given ValidationContext.void
SetContainerContents.validate
(ValidationContext context) Validate that this object is used correctly according to the given ValidationContext.void
SetContainerLootTable.validate
(ValidationContext context) Validate that this object is used correctly according to the given ValidationContext. -
Uses of ValidationContext in net.minecraft.world.level.storage.loot.parameters
Methods in net.minecraft.world.level.storage.loot.parameters with parameters of type ValidationContextModifier and TypeMethodDescriptionvoid
LootContextParamSet.validateUser
(ValidationContext validationContext, LootContextUser lootContextUser) Validate that all parameters referenced by the given LootContextUser are present in this set. -
Uses of ValidationContext in net.minecraft.world.level.storage.loot.predicates
Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type ValidationContextModifier and TypeMethodDescriptionvoid
CompositeLootItemCondition.validate
(ValidationContext context) Validate that this object is used correctly according to the given ValidationContext.void
ConditionReference.validate
(ValidationContext context) Validate that this object is used correctly according to the given ValidationContext.void
InvertedLootItemCondition.validate
(ValidationContext context) Validate that this object is used correctly according to the given ValidationContext. -
Uses of ValidationContext in net.neoforged.neoforge.common.data.internal
Methods in net.neoforged.neoforge.common.data.internal with parameters of type ValidationContextModifier and TypeMethodDescriptionprotected void
NeoForgeLootTableProvider.validate
(WritableRegistry<LootTable> writableregistry, ValidationContext validationcontext, ProblemReporter.Collector problemreporter$collector)