Package net.minecraft.predicate
Record Class NumberRange.class_11894
java.lang.Object
java.lang.Record
net.minecraft.predicate.NumberRange.class_11894
- Record Components:
bounds-
- All Implemented Interfaces:
NumberRange<Float>
- Enclosing interface:
NumberRange<T extends Number & Comparable<T>>
public static record NumberRange.class_11894(NumberRange.class_11893<Float> bounds)
extends Record
implements NumberRange<Float>
- Mappings:
Namespace Name named net/minecraft/predicate/NumberRange$class_11894intermediary net/minecraft/class_2096$class_11894official cx$cnamed boundsintermediary comp_4771official f
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.predicate.NumberRange
NumberRange.class_11893<T extends Number & Comparable<T>>, NumberRange.class_11894, NumberRange.DoubleRange, NumberRange.IntRange -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NumberRange.class_11893<Float> The field for theboundsrecord component.static final NumberRange.class_11894static final com.mojang.serialization.Codec<NumberRange.class_11894> static final PacketCodec<ByteBuf, NumberRange.class_11894> Fields inherited from interface net.minecraft.predicate.NumberRange
EXCEPTION_EMPTY, EXCEPTION_SWAPPED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbounds()Returns the value of theboundsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static NumberRange.class_11894method_74129(com.mojang.brigadier.StringReader stringReader) final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.predicate.NumberRange
isDummy, method_74106, method_74107
-
Field Details
-
bounds
The field for theboundsrecord component. -
field_62527
- Mappings:
Namespace Name Mixin selector named field_62527Lnet/minecraft/predicate/NumberRange$class_11894;field_62527:Lnet/minecraft/predicate/NumberRange$class_11894;intermediary field_62527Lnet/minecraft/class_2096$class_11894;field_62527:Lnet/minecraft/class_2096$class_11894;official cLcx$c;c:Lcx$c;
-
field_62528
- Mappings:
Namespace Name Mixin selector named field_62528Lnet/minecraft/predicate/NumberRange$class_11894;field_62528:Lcom/mojang/serialization/Codec;intermediary field_62528Lnet/minecraft/class_2096$class_11894;field_62528:Lcom/mojang/serialization/Codec;official dLcx$c;d:Lcom/mojang/serialization/Codec;
-
field_62529
- Mappings:
Namespace Name Mixin selector named field_62529Lnet/minecraft/predicate/NumberRange$class_11894;field_62529:Lnet/minecraft/network/codec/PacketCodec;intermediary field_62529Lnet/minecraft/class_2096$class_11894;field_62529:Lnet/minecraft/class_9139;official eLcx$c;e:Laae;
-
-
Constructor Details
-
class_11894
-
-
Method Details
-
method_74129
public static NumberRange.class_11894 method_74129(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named method_74129Lnet/minecraft/predicate/NumberRange$class_11894;method_74129(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/predicate/NumberRange$class_11894;intermediary method_74129Lnet/minecraft/class_2096$class_11894;method_74129(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2096$class_11894;official aLcx$c;a(Lcom/mojang/brigadier/StringReader;)Lcx$c;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
bounds
Returns the value of theboundsrecord component.- Specified by:
boundsin interfaceNumberRange<Float>- Returns:
- the value of the
boundsrecord component
-