Package net.minecraft
Record Class class_10694
java.lang.Object
java.lang.Record
net.minecraft.class_10694
- Record Components:
range-
- All Implemented Interfaces:
Predicate<class_10701>,class_10695.class_10697<class_10701>,class_10699
- Mappings:
Namespace Name named net/minecraft/class_10694intermediary net/minecraft/class_10694official cstnamed rangeintermediary comp_3574official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_10694> private final NumberRange.DoubleRangeThe field for therangerecord component.Fields inherited from interface net.minecraft.class_10699
field_56284 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.mojang.serialization.MapCodec<class_10694> range()Returns the value of therangerecord component.booleantest(class_10701 class_10701) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
range
The field for therangerecord component. -
field_56282
- Mappings:
Namespace Name Mixin selector named field_56282Lnet/minecraft/class_10694;field_56282:Lcom/mojang/serialization/MapCodec;intermediary field_56282Lnet/minecraft/class_10694;field_56282:Lcom/mojang/serialization/MapCodec;official aLcst;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_10694
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<class_10701>- Mappings:
Namespace Name Mixin selector named testLnet/minecraft/class_10694;test(Lnet/minecraft/class_10701;)Zintermediary method_67158Lnet/minecraft/class_10694;method_67158(Lnet/minecraft/class_10701;)Zofficial aLcst;a(Lcsx;)Z
-
method_67151
- Specified by:
method_67151in interfaceclass_10699- Mappings:
Namespace Name Mixin selector named method_67151Lnet/minecraft/class_10699;method_67151()Lcom/mojang/serialization/MapCodec;intermediary method_67151Lnet/minecraft/class_10699;method_67151()Lcom/mojang/serialization/MapCodec;official aLcsv;a()Lcom/mojang/serialization/MapCodec;
-
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). -
range
Returns the value of therangerecord component.- Returns:
- the value of the
rangerecord component
-