Uses of Record Class
net.minecraft.predicate.NumberRange.Bounds
Packages that use NumberRange.Bounds
-
Uses of NumberRange.Bounds in net.minecraft.predicate
Fields in net.minecraft.predicate declared as NumberRange.BoundsModifier and TypeFieldDescriptionprivate final NumberRange.Bounds<Float> NumberRange.AngleRange.boundsThe field for theboundsrecord component.private final NumberRange.Bounds<Double> NumberRange.DoubleRange.boundsThe field for theboundsrecord component.private final NumberRange.Bounds<Integer> NumberRange.IntRange.boundsThe field for theboundsrecord component.private final NumberRange.Bounds<Double> NumberRange.DoubleRange.boundsSqrThe field for theboundsSqrrecord component.private final NumberRange.Bounds<Long> NumberRange.IntRange.boundsSqrThe field for theboundsSqrrecord component.Methods in net.minecraft.predicate that return NumberRange.BoundsModifier and TypeMethodDescriptionstatic <T extends Number & Comparable<T>>
NumberRange.Bounds<T> NumberRange.Bounds.any()static <T extends Number & Comparable<T>>
NumberRange.Bounds<T> NumberRange.Bounds.atLeast(T value) static <T extends Number & Comparable<T>>
NumberRange.Bounds<T> NumberRange.Bounds.atMost(T value) static <T extends Number & Comparable<T>>
NumberRange.Bounds<T> NumberRange.Bounds.between(T min, T max) NumberRange.AngleRange.bounds()Returns the value of theboundsrecord component.NumberRange.bounds()NumberRange.DoubleRange.bounds()Returns the value of theboundsrecord component.NumberRange.IntRange.bounds()Returns the value of theboundsrecord component.NumberRange.DoubleRange.boundsSqr()Returns the value of theboundsSqrrecord component.NumberRange.IntRange.boundsSqr()Returns the value of theboundsSqrrecord component.static <T extends Number & Comparable<T>>
NumberRange.Bounds<T> NumberRange.Bounds.exactly(T value) <U extends Number & Comparable<U>>
NumberRange.Bounds<U> static <T extends Number & Comparable<T>>
NumberRange.Bounds<T> NumberRange.Bounds.parse(com.mojang.brigadier.StringReader reader, Function<String, T> parsingFunction, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> exceptionSupplier) Methods in net.minecraft.predicate that return types with arguments of type NumberRange.BoundsModifier and TypeMethodDescription(package private) static <T extends Number & Comparable<T>>
com.mojang.serialization.Codec<NumberRange.Bounds<T>> NumberRange.Bounds.createCodec(com.mojang.serialization.Codec<T> valueCodec) (package private) static <B extends ByteBuf,T extends Number & Comparable<T>>
PacketCodec<B, NumberRange.Bounds<T>> NumberRange.Bounds.createPacketCodec(PacketCodec<B, T> valuePacketCodec) com.mojang.serialization.DataResult<NumberRange.Bounds<T>> NumberRange.Bounds.validate()Constructors in net.minecraft.predicate with parameters of type NumberRange.BoundsModifierConstructorDescriptionAngleRange(NumberRange.Bounds<Float> bounds) Creates an instance of aAngleRangerecord class.privateDoubleRange(NumberRange.Bounds<Double> bounds) DoubleRange(NumberRange.Bounds<Double> bounds, NumberRange.Bounds<Double> bounds2) privateIntRange(NumberRange.Bounds<Integer> bounds) IntRange(NumberRange.Bounds<Integer> bounds, NumberRange.Bounds<Long> bounds2)