Uses of Interface
net.minecraft.resources.RegistryValidator
Packages that use RegistryValidator
-
Uses of RegistryValidator in net.minecraft.resources
Fields in net.minecraft.resources declared as RegistryValidatorModifier and TypeFieldDescriptionstatic final RegistryValidator<?> RegistryValidator.NON_EMPTYstatic final RegistryValidator<?> RegistryValidator.NONEprivate final RegistryValidator<T> RegistryDataLoader.RegistryData.validatorThe field for thevalidatorrecord component.Methods in net.minecraft.resources that return RegistryValidatorModifier and TypeMethodDescriptionstatic <T> RegistryValidator<T> RegistryValidator.none()static <T> RegistryValidator<T> RegistryValidator.nonEmpty()RegistryDataLoader.RegistryData.validator()Returns the value of thevalidatorrecord component.Constructors in net.minecraft.resources with parameters of type RegistryValidatorModifierConstructorDescriptionRegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, RegistryValidator<T> validator) RegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, RegistryValidator<T> validator, Consumer<RegistryBuilder<T>> registryBuilderConsumer) Creates an instance of aRegistryDatarecord class.