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 pContext, LootDataType<T> pLootDataType, RegistryAccess pRegistryAccess) -
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 pName, ResourceKey<?> pKey) Create a new ValidationContext withchildName
being added to the context.ValidationContext.setParams
(LootContextParamSet pParams) 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 pContext, ResourceKey<T> pKey, T pValue) void
LootDataType.runValidation
(ValidationContext pContext, ResourceKey<T> pKey, T pValue) default void
LootContextUser.validate
(ValidationContext pContext) Validate that this object is used correctly according to the given ValidationContext.void
LootPool.validate
(ValidationContext pContext) Validate this LootPool according to the given context.void
LootTable.validate
(ValidationContext pValidator) 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 pValidationContext) void
CompositeEntryBase.validate
(ValidationContext pValidationContext) void
LootPoolEntryContainer.validate
(ValidationContext pValidationContext) void
LootPoolSingletonContainer.validate
(ValidationContext pValidationContext) void
NestedLootTable.validate
(ValidationContext pValidationContext) -
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 pContext) Validate that this object is used correctly according to the given ValidationContext.void
FunctionReference.validate
(ValidationContext pContext) Validate that this object is used correctly according to the given ValidationContext.void
LootItemConditionalFunction.validate
(ValidationContext pContext) Validate that this object is used correctly according to the given ValidationContext.void
ModifyContainerContents.validate
(ValidationContext pContext) Validate that this object is used correctly according to the given ValidationContext.void
SequenceFunction.validate
(ValidationContext pContext) Validate that this object is used correctly according to the given ValidationContext.void
SetContainerContents.validate
(ValidationContext pContext) Validate that this object is used correctly according to the given ValidationContext.void
SetContainerLootTable.validate
(ValidationContext pContext) 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 pValidationContext, LootContextUser pLootContextUser) 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 pContext) Validate that this object is used correctly according to the given ValidationContext.void
ConditionReference.validate
(ValidationContext pContext) Validate that this object is used correctly according to the given ValidationContext.void
InvertedLootItemCondition.validate
(ValidationContext pContext) 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)