Class EnchantmentPredicate
java.lang.Object
net.minecraft.advancements.critereon.EnchantmentPredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic EnchantmentPredicate
private Enchantment
private MinMaxBounds.Ints
static EnchantmentPredicate[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containedIn(Map<Enchantment,Integer> p_30477_)
static EnchantmentPredicate
fromJson(com.google.gson.JsonElement p_30475_)
static EnchantmentPredicate[]
fromJsonArray(com.google.gson.JsonElement p_30481_)
com.google.gson.JsonElement
-
Field Details
-
ANY
-
NONE
-
enchantment
-
level
-
-
Constructor Details
-
EnchantmentPredicate
public EnchantmentPredicate() -
EnchantmentPredicate
-
-
Method Details
-
containedIn
-
serializeToJson
public com.google.gson.JsonElement serializeToJson() -
fromJson
-
fromJsonArray
-