Class MinMaxBounds.IntBound

java.lang.Object
net.minecraft.advancements.criterion.MinMaxBounds<Integer>
net.minecraft.advancements.criterion.MinMaxBounds.IntBound
Enclosing class:
MinMaxBounds<T extends Number>

public static class MinMaxBounds.IntBound extends MinMaxBounds<Integer>
  • Field Details

  • Constructor Details

    • IntBound

      private IntBound(@Nullable Integer p_i49716_1_, @Nullable Integer p_i49716_2_)
  • Method Details

    • create

      private static MinMaxBounds.IntBound create(com.mojang.brigadier.StringReader p_211338_0_, @Nullable Integer p_211338_1_, @Nullable Integer p_211338_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • squareOpt

      @Nullable private static Long squareOpt(@Nullable Integer p_211343_0_)
    • exactly

      public static MinMaxBounds.IntBound exactly(int p_211345_0_)
    • atLeast

      public static MinMaxBounds.IntBound atLeast(int p_211340_0_)
    • matches

      public boolean matches(int p_211339_1_)
    • fromJson

      public static MinMaxBounds.IntBound fromJson(@Nullable com.google.gson.JsonElement p_211344_0_)
    • fromReader

      public static MinMaxBounds.IntBound fromReader(com.mojang.brigadier.StringReader p_211342_0_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • fromReader

      public static MinMaxBounds.IntBound fromReader(com.mojang.brigadier.StringReader p_211341_0_, Function<Integer,Integer> p_211341_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException