Package net.minecraft
Record Class class_8023.class_8024
java.lang.Object
java.lang.Record
net.minecraft.class_8023.class_8024
- Record Components:
direction-
- All Implemented Interfaces:
class_8023
- Enclosing interface:
class_8023
@Environment(CLIENT)
public static record class_8023.class_8024(class_8028 direction)
extends Record
implements class_8023
- Mappings:
Namespace Name official eoh$aintermediary net/minecraft/class_8023$class_8024named net/minecraft/class_8023$class_8024official aintermediary comp_1191named direction
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_8023
class_8023.class_8024, class_8023.class_8025, class_8023.class_8026 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_8028The field for thedirectionrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedirectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
direction
The field for thedirectionrecord component.
-
-
Constructor Details
-
class_8024
-
-
Method Details
-
method_48231
- Specified by:
method_48231in interfaceclass_8023- Mappings:
Namespace Name Mixin selector official aLeoh;a()Leoj;intermediary method_48231Lnet/minecraft/class_8023;method_48231()Lnet/minecraft/class_8028;named method_48231Lnet/minecraft/class_8023;method_48231()Lnet/minecraft/class_8028;
-
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). -
direction
Returns the value of thedirectionrecord component.- Returns:
- the value of the
directionrecord component
-