Uses of Record Class
net.minecraft.predicate.item.EnchantmentPredicate
Packages that use EnchantmentPredicate
-
Uses of EnchantmentPredicate in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item with type parameters of type EnchantmentPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EnchantmentPredicate>
EnchantmentPredicate.CODEC
private final ImmutableList.Builder<EnchantmentPredicate>
ItemPredicate.Builder.enchantments
private final List<EnchantmentPredicate>
ItemPredicate.enchantments
The field for theenchantments
record component.private final ImmutableList.Builder<EnchantmentPredicate>
ItemPredicate.Builder.storedEnchantments
private final List<EnchantmentPredicate>
ItemPredicate.storedEnchantments
The field for thestoredEnchantments
record component.Methods in net.minecraft.predicate.item that return types with arguments of type EnchantmentPredicateModifier and TypeMethodDescriptionItemPredicate.enchantments()
Returns the value of theenchantments
record component.ItemPredicate.storedEnchantments()
Returns the value of thestoredEnchantments
record component.Methods in net.minecraft.predicate.item with parameters of type EnchantmentPredicateModifier and TypeMethodDescriptionItemPredicate.Builder.enchantment
(EnchantmentPredicate enchantment) ItemPredicate.Builder.storedEnchantment
(EnchantmentPredicate enchantment) Constructor parameters in net.minecraft.predicate.item with type arguments of type EnchantmentPredicateModifierConstructorDescriptionItemPredicate
(Optional<TagKey<Item>> optional, Optional<RegistryEntryList<Item>> optional2, NumberRange.IntRange count, NumberRange.IntRange durability, List<EnchantmentPredicate> list, List<EnchantmentPredicate> list2, Optional<RegistryEntry<Potion>> optional3, Optional<NbtPredicate> optional4)