Uses of Class
net.minecraft.advancements.critereon.EnchantmentPredicate
-
Uses of EnchantmentPredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final EnchantmentPredicate
EnchantmentPredicate.ANY
private final EnchantmentPredicate[]
ItemPredicate.enchantments
static final EnchantmentPredicate[]
EnchantmentPredicate.NONE
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.fromJson
(com.google.gson.JsonElement p_30475_) static EnchantmentPredicate[]
EnchantmentPredicate.fromJsonArray
(com.google.gson.JsonElement p_30481_) Modifier and TypeMethodDescriptionItemPredicate.Builder.hasEnchantment
(EnchantmentPredicate p_45072_) ItemPredicate.Builder.hasStoredEnchantment
(EnchantmentPredicate p_151448_) ModifierConstructorDescriptionItemPredicate
(TagKey<Item> p_204137_, Set<Item> p_204138_, MinMaxBounds.Ints p_204139_, MinMaxBounds.Ints p_204140_, EnchantmentPredicate[] p_204141_, EnchantmentPredicate[] p_204142_, Potion p_204143_, NbtPredicate p_204144_)