Class MinMaxBounds.Doubles

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

public static class MinMaxBounds.Doubles extends MinMaxBounds<Double>
  • Field Details

  • Constructor Details

    • Doubles

      private Doubles(@Nullable Double p_154784_, @Nullable Double p_154785_)
  • Method Details

    • create

      private static MinMaxBounds.Doubles create(com.mojang.brigadier.StringReader p_154796_, @Nullable Double p_154797_, @Nullable Double p_154798_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • squareOpt

      @Nullable private static Double squareOpt(@Nullable Double p_154803_)
    • exactly

      public static MinMaxBounds.Doubles exactly(double p_154787_)
    • between

      public static MinMaxBounds.Doubles between(double p_154789_, double p_154790_)
    • atLeast

      public static MinMaxBounds.Doubles atLeast(double p_154805_)
    • atMost

      public static MinMaxBounds.Doubles atMost(double p_154809_)
    • matches

      public boolean matches(double p_154811_)
    • matchesSqr

      public boolean matchesSqr(double p_154813_)
    • fromJson

      public static MinMaxBounds.Doubles fromJson(@Nullable com.google.gson.JsonElement p_154792_)
    • fromReader

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

      public static MinMaxBounds.Doubles fromReader(com.mojang.brigadier.StringReader p_154800_, Function<Double,​Double> p_154801_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException