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/PlayerInputC2SPacketintermediary net/minecraft/class_2851official ahh
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf, PlayerInputC2SPacket> private final floatprivate final booleanprivate static final intprivate final floatprivate final booleanprivate static final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionPlayerInputC2SPacket(float sideways, float forward, boolean jumping, boolean sneaking) private -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) floatfloatbooleanbooleanprivate voidwrite(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48209Lnet/minecraft/class_2851;field_48209:Lnet/minecraft/class_9139;official aLahh;a:Lys;
-
JUMPING_MASK
private static final int JUMPING_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named JUMPING_MASKLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;JUMPING_MASK:Iintermediary field_33363Lnet/minecraft/class_2851;field_33363:Iofficial bLahh;b:I
-
SNEAKING_MASK
private static final int SNEAKING_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named SNEAKING_MASKLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;SNEAKING_MASK:Iintermediary field_33364Lnet/minecraft/class_2851;field_33364:Iofficial cLahh;c:I
-
sideways
private final float sideways- Mappings:
Namespace Name Mixin selector named sidewaysLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;sideways:Fintermediary field_12995Lnet/minecraft/class_2851;field_12995:Fofficial dLahh;d:F
-
forward
private final float forward- Mappings:
Namespace Name Mixin selector named forwardLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;forward:Fintermediary field_12994Lnet/minecraft/class_2851;field_12994:Fofficial eLahh;e:F
-
jumping
private final boolean jumping- Mappings:
Namespace Name Mixin selector named jumpingLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;jumping:Zintermediary field_12997Lnet/minecraft/class_2851;field_12997:Zofficial fLahh;f:Z
-
sneaking
private final boolean sneaking- Mappings:
Namespace Name Mixin selector named sneakingLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;sneaking:Zintermediary field_12996Lnet/minecraft/class_2851;field_12996:Zofficial gLahh;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)Vintermediary <init>Lnet/minecraft/class_2851;<init>(FFZZ)Vofficial <init>Lahh;<init>(FFZZ)V
-
PlayerInputC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_2851;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Lahh;<init>(Lvr;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_55990Lnet/minecraft/class_2851;method_55990(Lnet/minecraft/class_2540;)Vofficial aLahh;a(Lvr;)V
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;official aLzb;a()Lzd;
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)Vintermediary method_12369Lnet/minecraft/class_2851;method_12369(Lnet/minecraft/class_2792;)Vofficial aLahh;a(Lagb;)V
-
getSideways
public float getSideways()- Mappings:
Namespace Name Mixin selector named getSidewaysLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getSideways()Fintermediary method_12372Lnet/minecraft/class_2851;method_12372()Fofficial bLahh;b()F
-
getForward
public float getForward()- Mappings:
Namespace Name Mixin selector named getForwardLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getForward()Fintermediary method_12373Lnet/minecraft/class_2851;method_12373()Fofficial eLahh;e()F
-
isJumping
public boolean isJumping()- Mappings:
Namespace Name Mixin selector named isJumpingLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isJumping()Zintermediary method_12371Lnet/minecraft/class_2851;method_12371()Zofficial fLahh;f()Z
-
isSneaking
public boolean isSneaking()- Mappings:
Namespace Name Mixin selector named isSneakingLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isSneaking()Zintermediary method_12370Lnet/minecraft/class_2851;method_12370()Zofficial gLahh;g()Z
-