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 aho
-
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 aLaho;a:Lyx;
-
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 bLaho;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 cLaho;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 dLaho;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 eLaho;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 fLaho;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 gLaho;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>Laho;<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>Laho;<init>(Lvw;)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 aLaho;a(Lvw;)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 aLzg;a()Lzi;
-
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 aLaho;a(Lagi;)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 bLaho;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 eLaho;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 fLaho;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 gLaho;g()Z
-