Class PlayerInputC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerInputC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official aaf
intermediary net/minecraft/class_2851
named net/minecraft/network/packet/c2s/play/PlayerInputC2SPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private final boolean
private static final int
private final float
private final boolean
private static final int
-
Constructor Summary
ConstructorDescriptionPlayerInputC2SPacket
(float sideways, float forward, boolean jumping, boolean sneaking) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) float
float
boolean
boolean
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
-
Field Details
-
JUMPING_MASK
private static final int JUMPING_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official a
Laaf;a:I
intermediary field_33363
Lnet/minecraft/class_2851;field_33363:I
named JUMPING_MASK
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;JUMPING_MASK:I
-
SNEAKING_MASK
private static final int SNEAKING_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official b
Laaf;b:I
intermediary field_33364
Lnet/minecraft/class_2851;field_33364:I
named SNEAKING_MASK
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;SNEAKING_MASK:I
-
sideways
private final float sideways- Mappings:
Namespace Name Mixin selector official c
Laaf;c:F
intermediary field_12995
Lnet/minecraft/class_2851;field_12995:F
named sideways
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;sideways:F
-
forward
private final float forward- Mappings:
Namespace Name Mixin selector official d
Laaf;d:F
intermediary field_12994
Lnet/minecraft/class_2851;field_12994:F
named forward
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;forward:F
-
jumping
private final boolean jumping- Mappings:
Namespace Name Mixin selector official e
Laaf;e:Z
intermediary field_12997
Lnet/minecraft/class_2851;field_12997:Z
named jumping
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;jumping:Z
-
sneaking
private final boolean sneaking- Mappings:
Namespace Name Mixin selector official f
Laaf;f:Z
intermediary field_12996
Lnet/minecraft/class_2851;field_12996:Z
named sneaking
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;sneaking:Z
-
-
Constructor Details
-
PlayerInputC2SPacket
public PlayerInputC2SPacket(float sideways, float forward, boolean jumping, boolean sneaking) - Mappings:
Namespace Name Mixin selector official <init>
Laaf;<init>(FFZZ)V
intermediary <init>
Lnet/minecraft/class_2851;<init>(FFZZ)V
named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;<init>(FFZZ)V
-
PlayerInputC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Laaf;<init>(Lsf;)V
intermediary <init>
Lnet/minecraft/class_2851;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Luo;a(Lsf;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Laaf;a(Lzb;)V
intermediary method_12369
Lnet/minecraft/class_2851;method_12369(Lnet/minecraft/class_2792;)V
named apply
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getSideways
public float getSideways()- Mappings:
Namespace Name Mixin selector official a
Laaf;a()F
intermediary method_12372
Lnet/minecraft/class_2851;method_12372()F
named getSideways
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getSideways()F
-
getForward
public float getForward()- Mappings:
Namespace Name Mixin selector official c
Laaf;c()F
intermediary method_12373
Lnet/minecraft/class_2851;method_12373()F
named getForward
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getForward()F
-
isJumping
public boolean isJumping()- Mappings:
Namespace Name Mixin selector official d
Laaf;d()Z
intermediary method_12371
Lnet/minecraft/class_2851;method_12371()Z
named isJumping
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isJumping()Z
-
isSneaking
public boolean isSneaking()- Mappings:
Namespace Name Mixin selector official e
Laaf;e()Z
intermediary method_12370
Lnet/minecraft/class_2851;method_12370()Z
named isSneaking
Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isSneaking()Z
-