net.minecraft.advancements.critereon

public class EnchantmentPredicate

bj
net.minecraft.advancements.critereon.EnchantmentPredicate
net.minecraft.class_2035
net.minecraft.predicate.item.EnchantmentPredicate
net.minecraft.src.C_924_
net.minecraft.advancements.critereon.CriterionConditionEnchantments

Field summary

Modifier and TypeField
public static final EnchantmentPredicate
a
ANY
field_9571
ANY
f_30464_
public static final EnchantmentPredicate[]
b
NONE
field_20687
ARRAY_OF_ANY
f_30465_
private final Enchantment
c
enchantment
field_9569
enchantment
f_30466_
private final MinMaxBounds$Ints
d
level
field_9570
levels
f_30467_

Constructor summary

ModifierConstructor
public ()
public (Enchantment enchantment, MinMaxBounds$Ints levels)

Method summary

Modifier and TypeMethod
public boolean
a(Map<cer, Integer> arg0)
containedIn(Map<Enchantment, Integer> arg0)
method_8880(Map<class_1887, Integer> arg0)
test(Map<Enchantment, Integer> enchantments)
m_30476_(Map<C_1505_, Integer> arg0)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8881()
serialize()
m_30473_()
public static EnchantmentPredicate
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_8882(com.google.gson.JsonElement arg0)
deserialize(com.google.gson.JsonElement el)
m_30474_(com.google.gson.JsonElement p_30475_)
public static EnchantmentPredicate[]
b(com.google.gson.JsonElement arg0)
fromJsonArray(com.google.gson.JsonElement arg0)
method_8879(com.google.gson.JsonElement arg0)
deserializeAll(com.google.gson.JsonElement el)
m_30480_(com.google.gson.JsonElement p_30481_)