Package net.minecraft
Record Class class_10185
java.lang.Object
java.lang.Record
net.minecraft.class_10185
- Record Components:
forward-backward-left-right-jump-shift-sprint-
public record class_10185(boolean forward, boolean backward, boolean left, boolean right, boolean jump, boolean shift, boolean sprint)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10185intermediary net/minecraft/class_10185official cofnamed forwardintermediary comp_3159official cnamed backwardintermediary comp_3160official dnamed leftintermediary comp_3161official enamed rightintermediary comp_3162official fnamed jumpintermediary comp_3163official gnamed shiftintermediary comp_3164official hnamed sprintintermediary comp_3165official i
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for thebackwardrecord component.static final PacketCodec<PacketByteBuf, class_10185> static class_10185private static final byteprivate static final byteprivate static final byteprivate static final byteprivate static final byteprivate static final byteprivate static final byteprivate final booleanThe field for theforwardrecord component.private final booleanThe field for thejumprecord component.private final booleanThe field for theleftrecord component.private final booleanThe field for therightrecord component.private final booleanThe field for theshiftrecord component.private final booleanThe field for thesprintrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10185(boolean bool, boolean bool2, boolean bool3, boolean bool4, boolean bool5, boolean bool6, boolean bool7) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbackward()Returns the value of thebackwardrecord component.final 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.booleanjump()Returns the value of thejumprecord component.booleanleft()Returns the value of theleftrecord component.booleanright()Returns the value of therightrecord component.booleanshift()Returns the value of theshiftrecord component.booleansprint()Returns the value of thesprintrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
forward
private final boolean forwardThe field for theforwardrecord component. -
backward
private final boolean backwardThe field for thebackwardrecord component. -
left
private final boolean leftThe field for theleftrecord component. -
right
private final boolean rightThe field for therightrecord component. -
jump
private final boolean jumpThe field for thejumprecord component. -
shift
private final boolean shiftThe field for theshiftrecord component. -
sprint
private final boolean sprintThe field for thesprintrecord component. -
field_54099
private static final byte field_54099- See Also:
- Mappings:
Namespace Name Mixin selector named field_54099Lnet/minecraft/class_10185;field_54099:Bintermediary field_54099Lnet/minecraft/class_10185;field_54099:Bofficial jLcof;j:B
-
field_54100
private static final byte field_54100- See Also:
- Mappings:
Namespace Name Mixin selector named field_54100Lnet/minecraft/class_10185;field_54100:Bintermediary field_54100Lnet/minecraft/class_10185;field_54100:Bofficial kLcof;k:B
-
field_54101
private static final byte field_54101- See Also:
- Mappings:
Namespace Name Mixin selector named field_54101Lnet/minecraft/class_10185;field_54101:Bintermediary field_54101Lnet/minecraft/class_10185;field_54101:Bofficial lLcof;l:B
-
field_54102
private static final byte field_54102- See Also:
- Mappings:
Namespace Name Mixin selector named field_54102Lnet/minecraft/class_10185;field_54102:Bintermediary field_54102Lnet/minecraft/class_10185;field_54102:Bofficial mLcof;m:B
-
field_54103
private static final byte field_54103- See Also:
- Mappings:
Namespace Name Mixin selector named field_54103Lnet/minecraft/class_10185;field_54103:Bintermediary field_54103Lnet/minecraft/class_10185;field_54103:Bofficial nLcof;n:B
-
field_54104
private static final byte field_54104- See Also:
- Mappings:
Namespace Name Mixin selector named field_54104Lnet/minecraft/class_10185;field_54104:Bintermediary field_54104Lnet/minecraft/class_10185;field_54104:Bofficial oLcof;o:B
-
field_54105
private static final byte field_54105- See Also:
- Mappings:
Namespace Name Mixin selector named field_54105Lnet/minecraft/class_10185;field_54105:Bintermediary field_54105Lnet/minecraft/class_10185;field_54105:Bofficial pLcof;p:B
-
field_54097
- Mappings:
Namespace Name Mixin selector named field_54097Lnet/minecraft/class_10185;field_54097:Lnet/minecraft/network/codec/PacketCodec;intermediary field_54097Lnet/minecraft/class_10185;field_54097:Lnet/minecraft/class_9139;official aLcof;a:Lzf;
-
field_54098
- Mappings:
Namespace Name Mixin selector named field_54098Lnet/minecraft/class_10185;field_54098:Lnet/minecraft/class_10185;intermediary field_54098Lnet/minecraft/class_10185;field_54098:Lnet/minecraft/class_10185;official bLcof;b:Lcof;
-
-
Constructor Details
-
class_10185
public class_10185(boolean bool, boolean bool2, boolean bool3, boolean bool4, boolean bool5, boolean bool6, boolean bool7)
-
-
Method Details
-
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
-
backward
public boolean backward()Returns the value of thebackwardrecord component.- Returns:
- the value of the
backwardrecord component
-
left
public boolean left()Returns the value of theleftrecord component.- Returns:
- the value of the
leftrecord component
-
right
public boolean right()Returns the value of therightrecord component.- Returns:
- the value of the
rightrecord component
-
jump
public boolean jump()Returns the value of thejumprecord component.- Returns:
- the value of the
jumprecord component
-
shift
public boolean shift()Returns the value of theshiftrecord component.- Returns:
- the value of the
shiftrecord component
-
sprint
public boolean sprint()Returns the value of thesprintrecord component.- Returns:
- the value of the
sprintrecord component
-