Uses of Interface
net.minecraft.loot.LootDataType.Validator
-
Uses of LootDataType.Validator in net.minecraft.loot
Modifier and TypeFieldDescriptionprivate final LootDataType.Validator
<T> LootDataType.validator
The field for thevalidator
record component.Modifier and TypeMethodDescriptionprivate static <T extends LootContextAware>
LootDataType.Validator<T> LootDataType.simpleValidator()
private static LootDataType.Validator
<LootTable> LootDataType.tableValidator()
LootDataType.validator()
Returns the value of thevalidator
record component.ModifierConstructorDescriptionLootDataType
(RegistryKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator) Creates an instance of aLootDataType
record class.