Class PlayerInputC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerInputC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official aafintermediary net/minecraft/class_2851named net/minecraft/network/packet/c2s/play/PlayerInputC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatprivate final booleanprivate static final intprivate final floatprivate final booleanprivate static final int -
Constructor Summary
ConstructorsConstructorDescriptionPlayerInputC2SPacket(float sideways, float forward, boolean jumping, boolean sneaking) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) floatfloatbooleanbooleanvoidwrite(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
-
Field Details
-
JUMPING_MASK
private static final int JUMPING_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official aLaaf;a:Iintermediary field_33363Lnet/minecraft/class_2851;field_33363:Inamed JUMPING_MASKLnet/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 bLaaf;b:Iintermediary field_33364Lnet/minecraft/class_2851;field_33364:Inamed SNEAKING_MASKLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;SNEAKING_MASK:I
-
sideways
private final float sideways- Mappings:
Namespace Name Mixin selector official cLaaf;c:Fintermediary field_12995Lnet/minecraft/class_2851;field_12995:Fnamed sidewaysLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;sideways:F
-
forward
private final float forward- Mappings:
Namespace Name Mixin selector official dLaaf;d:Fintermediary field_12994Lnet/minecraft/class_2851;field_12994:Fnamed forwardLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;forward:F
-
jumping
private final boolean jumping- Mappings:
Namespace Name Mixin selector official eLaaf;e:Zintermediary field_12997Lnet/minecraft/class_2851;field_12997:Znamed jumpingLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;jumping:Z
-
sneaking
private final boolean sneaking- Mappings:
Namespace Name Mixin selector official fLaaf;f:Zintermediary field_12996Lnet/minecraft/class_2851;field_12996:Znamed sneakingLnet/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)Vintermediary <init>Lnet/minecraft/class_2851;<init>(FFZZ)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;<init>(FFZZ)V
-
PlayerInputC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Laaf;<init>(Lsf;)Vintermediary <init>Lnet/minecraft/class_2851;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLuo;a(Lsf;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLaaf;a(Lzb;)Vintermediary method_12369Lnet/minecraft/class_2851;method_12369(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getSideways
public float getSideways()- Mappings:
Namespace Name Mixin selector official aLaaf;a()Fintermediary method_12372Lnet/minecraft/class_2851;method_12372()Fnamed getSidewaysLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getSideways()F
-
getForward
public float getForward()- Mappings:
Namespace Name Mixin selector official cLaaf;c()Fintermediary method_12373Lnet/minecraft/class_2851;method_12373()Fnamed getForwardLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getForward()F
-
isJumping
public boolean isJumping()- Mappings:
Namespace Name Mixin selector official dLaaf;d()Zintermediary method_12371Lnet/minecraft/class_2851;method_12371()Znamed isJumpingLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isJumping()Z
-
isSneaking
public boolean isSneaking()- Mappings:
Namespace Name Mixin selector official eLaaf;e()Zintermediary method_12370Lnet/minecraft/class_2851;method_12370()Znamed isSneakingLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isSneaking()Z
-