类 MinMaxBounds.Doubles

java.lang.Object
net.minecraft.advancements.critereon.MinMaxBounds<Double>
net.minecraft.advancements.critereon.MinMaxBounds.Doubles
封闭类:
MinMaxBounds<T extends Number>

public static class MinMaxBounds.Doubles extends MinMaxBounds<Double>
  • 字段详细资料

  • 构造器详细资料

    • Doubles

      private Doubles(@Nullable Double p_154784_, @Nullable Double p_154785_)
  • 方法详细资料

    • 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
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • squareOpt

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

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

      public static MinMaxBounds.Doubles between(double pMin, double pMax)
    • atLeast

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

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

      public boolean matches(double pValue)
    • matchesSqr

      public boolean matchesSqr(double pValue)
    • fromJson

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

      public static MinMaxBounds.Doubles fromReader(com.mojang.brigadier.StringReader pReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • fromReader

      public static MinMaxBounds.Doubles fromReader(com.mojang.brigadier.StringReader pReader, Function<Double,Double> pFormatter) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException