Uses of Class
net.minecraft.predicate.item.EnchantmentPredicate
-
Uses of EnchantmentPredicate in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionstatic final EnchantmentPredicate
EnchantmentPredicate.ANY
static final EnchantmentPredicate[]
EnchantmentPredicate.ARRAY_OF_ANY
private final EnchantmentPredicate[]
ItemPredicate.enchantments
private final EnchantmentPredicate[]
ItemPredicate.storedEnchantments
Modifier and TypeFieldDescriptionprivate final List<EnchantmentPredicate>
ItemPredicate.Builder.enchantments
private final List<EnchantmentPredicate>
ItemPredicate.Builder.storedEnchantments
Modifier and TypeMethodDescriptionstatic EnchantmentPredicate
EnchantmentPredicate.deserialize
(@Nullable JsonElement el) static EnchantmentPredicate[]
EnchantmentPredicate.deserializeAll
(@Nullable JsonElement el) Modifier and TypeMethodDescriptionItemPredicate.Builder.enchantment
(EnchantmentPredicate enchantment) ItemPredicate.Builder.storedEnchantment
(EnchantmentPredicate enchantment) ModifierConstructorDescriptionItemPredicate
(@Nullable TagKey<Item> tag, @Nullable Set<Item> items, NumberRange.IntRange count, NumberRange.IntRange durability, EnchantmentPredicate[] enchantments, EnchantmentPredicate[] storedEnchantments, @Nullable Potion potion, NbtPredicate nbt)