Package net.minecraft
Record Class class_8023.class_8026
java.lang.Object
java.lang.Record
net.minecraft.class_8023.class_8026
- Record Components:
forward-
- All Implemented Interfaces:
class_8023
- Enclosing interface:
class_8023
@Environment(CLIENT)
public static record class_8023.class_8026(boolean forward)
extends Record
implements class_8023
- Mappings:
Namespace Name official eoh$cintermediary net/minecraft/class_8023$class_8026named net/minecraft/class_8023$class_8026official aintermediary comp_1192named forward
-
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanforward()Returns the value of theforwardrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
forward
private final boolean forwardThe field for theforwardrecord component.
-
-
Constructor Details
-
class_8026
public class_8026(boolean bool)
-
-
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 with '=='. -
forward
public boolean forward()Returns the value of theforwardrecord component.- Returns:
- the value of the
forwardrecord component
-