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$a
intermediary net/minecraft/class_8023$class_8024
named net/minecraft/class_8023$class_8024
official a
intermediary comp_1191
named 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_8028
The field for thedirection
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedirection
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
direction
The field for thedirection
record component.
-
-
Constructor Details
-
class_8024
-
-
Method Details
-
method_48231
- Specified by:
method_48231
in interfaceclass_8023
- Mappings:
Namespace Name Mixin selector official a
Leoh;a()Leoj;
intermediary method_48231
Lnet/minecraft/class_8023;method_48231()Lnet/minecraft/class_8028;
named method_48231
Lnet/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 thedirection
record component.- Returns:
- the value of the
direction
record component
-