Class MinMaxBounds.Ints

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

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

  • Constructor Details

    • Ints

      private Ints(@Nullable Integer p_55369_, @Nullable Integer p_55370_)
  • Method Details

    • create

      private static MinMaxBounds.Ints create(com.mojang.brigadier.StringReader p_55378_, @Nullable Integer p_55379_, @Nullable Integer p_55380_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • squareOpt

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

      public static MinMaxBounds.Ints exactly(int p_55372_)
    • between

      public static MinMaxBounds.Ints between(int p_154815_, int p_154816_)
    • atLeast

      public static MinMaxBounds.Ints atLeast(int p_55387_)
    • atMost

      public static MinMaxBounds.Ints atMost(int p_154820_)
    • matches

      public boolean matches(int p_55391_)
    • matchesSqr

      public boolean matchesSqr(long p_154818_)
    • fromJson

      public static MinMaxBounds.Ints fromJson(@Nullable com.google.gson.JsonElement p_55374_)
    • fromReader

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

      public static MinMaxBounds.Ints fromReader(com.mojang.brigadier.StringReader p_55382_, Function<Integer,​Integer> p_55383_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException