Class EnchantmentPredicate

java.lang.Object
net.minecraft.advancements.critereon.EnchantmentPredicate

public class EnchantmentPredicate extends Object
  • Field Details

  • Constructor Details

    • EnchantmentPredicate

      public EnchantmentPredicate()
    • EnchantmentPredicate

      public EnchantmentPredicate(@Nullable Enchantment p_30471_, MinMaxBounds.Ints p_30472_)
  • Method Details

    • containedIn

      public boolean containedIn(Map<Enchantment,Integer> p_30477_)
    • serializeToJson

      public com.google.gson.JsonElement serializeToJson()
    • fromJson

      public static EnchantmentPredicate fromJson(@Nullable com.google.gson.JsonElement p_30475_)
    • fromJsonArray

      public static EnchantmentPredicate[] fromJsonArray(@Nullable com.google.gson.JsonElement p_30481_)