Class PlayerInputC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerInputC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/c2s/play/PlayerInputC2SPacket
intermediary net/minecraft/class_2851
official aic
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, PlayerInputC2SPacket> private final float
private final boolean
private static final int
private final float
private final boolean
private static final int
-
Constructor Summary
ModifierConstructorDescriptionPlayerInputC2SPacket
(float sideways, float forward, boolean jumping, boolean sneaking) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) float
float
boolean
boolean
private void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48209
Lnet/minecraft/class_2851;field_48209:Lnet/minecraft/class_9139;
official a
Laic;a:Lzn;
-
JUMPING_MASK
private static final int JUMPING_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named JUMPING_MASK
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;JUMPING_MASK:I
intermediary field_33363
Lnet/minecraft/class_2851;field_33363:I
official b
Laic;b:I
-
SNEAKING_MASK
private static final int SNEAKING_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named SNEAKING_MASK
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;SNEAKING_MASK:I
intermediary field_33364
Lnet/minecraft/class_2851;field_33364:I
official c
Laic;c:I
-
sideways
private final float sideways- Mappings:
Namespace Name Mixin selector named sideways
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;sideways:F
intermediary field_12995
Lnet/minecraft/class_2851;field_12995:F
official d
Laic;d:F
-
forward
private final float forward- Mappings:
Namespace Name Mixin selector named forward
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;forward:F
intermediary field_12994
Lnet/minecraft/class_2851;field_12994:F
official e
Laic;e:F
-
jumping
private final boolean jumping- Mappings:
Namespace Name Mixin selector named jumping
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;jumping:Z
intermediary field_12997
Lnet/minecraft/class_2851;field_12997:Z
official f
Laic;f:Z
-
sneaking
private final boolean sneaking- Mappings:
Namespace Name Mixin selector named sneaking
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;sneaking:Z
intermediary field_12996
Lnet/minecraft/class_2851;field_12996:Z
official g
Laic;g:Z
-
-
Constructor Details
-
PlayerInputC2SPacket
public PlayerInputC2SPacket(float sideways, float forward, boolean jumping, boolean sneaking) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;<init>(FFZZ)V
intermediary <init>
Lnet/minecraft/class_2851;<init>(FFZZ)V
official <init>
Laic;<init>(FFZZ)V
-
PlayerInputC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2851;<init>(Lnet/minecraft/class_2540;)V
official <init>
Laic;<init>(Lwm;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55990
Lnet/minecraft/class_2851;method_55990(Lnet/minecraft/class_2540;)V
official a
Laic;a(Lwm;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzw;a()Lzy;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_12369
Lnet/minecraft/class_2851;method_12369(Lnet/minecraft/class_2792;)V
official a
Laic;a(Lagw;)V
-
getSideways
public float getSideways()- Mappings:
Namespace Name Mixin selector named getSideways
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getSideways()F
intermediary method_12372
Lnet/minecraft/class_2851;method_12372()F
official b
Laic;b()F
-
getForward
public float getForward()- Mappings:
Namespace Name Mixin selector named getForward
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getForward()F
intermediary method_12373
Lnet/minecraft/class_2851;method_12373()F
official e
Laic;e()F
-
isJumping
public boolean isJumping()- Mappings:
Namespace Name Mixin selector named isJumping
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isJumping()Z
intermediary method_12371
Lnet/minecraft/class_2851;method_12371()Z
official f
Laic;f()Z
-
isSneaking
public boolean isSneaking()- Mappings:
Namespace Name Mixin selector named isSneaking
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isSneaking()Z
intermediary method_12370
Lnet/minecraft/class_2851;method_12370()Z
official g
Laic;g()Z
-