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 TypeFieldDescriptionprivate final ImmutableList.Builder<EnchantmentPredicate>ItemPredicate.Builder.enchantmentsprivate final List<EnchantmentPredicate>ItemPredicate.enchantmentsThe field for theenchantmentsrecord component.static final com.mojang.serialization.Codec<EnchantmentPredicate>EnchantmentPredicate.field_45741private final ImmutableList.Builder<EnchantmentPredicate>ItemPredicate.Builder.storedEnchantmentsprivate final List<EnchantmentPredicate>ItemPredicate.storedEnchantmentsThe field for thestoredEnchantmentsrecord component.Methods in net.minecraft.predicate.item that return types with arguments of type EnchantmentPredicateModifier and TypeMethodDescriptionItemPredicate.enchantments()Returns the value of theenchantmentsrecord component.ItemPredicate.storedEnchantments()Returns the value of thestoredEnchantmentsrecord component.Methods in net.minecraft.predicate.item with parameters of type EnchantmentPredicateModifier and TypeMethodDescriptionItemPredicate.Builder.enchantment(EnchantmentPredicate enchantment) ItemPredicate.Builder.storedEnchantment(EnchantmentPredicate enchantment) Method parameters in net.minecraft.predicate.item with type arguments of type EnchantmentPredicateModifier and TypeMethodDescription(package private) static Optional<ItemPredicate>ItemPredicate.method_53165(Optional<TagKey<Item>> optional, Optional<RegistryEntryList<Item>> optional2, NumberRange.IntRange intRange, NumberRange.IntRange intRange2, List<EnchantmentPredicate> list, List<EnchantmentPredicate> list2, Optional<RegistryEntry<Potion>> optional3, Optional<NbtPredicate> optional4) 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)