Class PlayerInputC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerInputC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official jaintermediary net/minecraft/class_2067named net/minecraft/network/packet/c2s/play/PlayerInputC2SPacket
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlayerInputC2SPacket(float sideWays, float forward, boolean jumping, boolean sneaking) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) floatfloatbooleanbooleanvoidread(PacketByteBuf buf) voidwrite(PacketByteBuf buf)
-
Field Details
-
sideways
private float sideways- Mappings:
Namespace Name Mixin selector official aLja;a:Fintermediary field_8819Lnet/minecraft/class_2067;field_8819:Fnamed sidewaysLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;sideways:F
-
forward
private float forward- Mappings:
Namespace Name Mixin selector official bLja;b:Fintermediary field_8820Lnet/minecraft/class_2067;field_8820:Fnamed forwardLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;forward:F
-
jumping
private boolean jumping- Mappings:
Namespace Name Mixin selector official cLja;c:Zintermediary field_8821Lnet/minecraft/class_2067;field_8821:Znamed jumpingLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;jumping:Z
-
sneaking
private boolean sneaking- Mappings:
Namespace Name Mixin selector official dLja;d:Zintermediary field_8822Lnet/minecraft/class_2067;field_8822:Znamed sneakingLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;sneaking:Z
-
-
Constructor Details
-
PlayerInputC2SPacket
public PlayerInputC2SPacket() -
PlayerInputC2SPacket
@Environment(CLIENT) public PlayerInputC2SPacket(float sideWays, float forward, boolean jumping, boolean sneaking) - Mappings:
Namespace Name Mixin selector official <init>Lja;<init>(FFZZ)Vintermediary <init>Lnet/minecraft/class_2067;<init>(FFZZ)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;<init>(FFZZ)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLfh;a(Leo;)Vintermediary method_7535Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLfh;b(Leo;)Vintermediary method_7539Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLja;a(Lih;)Vintermediary method_8022Lnet/minecraft/class_2067;method_8022(Lnet/minecraft/class_2050;)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 aLja;a()Fintermediary method_8023Lnet/minecraft/class_2067;method_8023()Fnamed getSidewaysLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getSideways()F
-
getForward
public float getForward()- Mappings:
Namespace Name Mixin selector official bLja;b()Fintermediary method_8024Lnet/minecraft/class_2067;method_8024()Fnamed getForwardLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;getForward()F
-
isJumping
public boolean isJumping()- Mappings:
Namespace Name Mixin selector official cLja;c()Zintermediary method_8025Lnet/minecraft/class_2067;method_8025()Znamed isJumpingLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isJumping()Z
-
isSneaking
public boolean isSneaking()- Mappings:
Namespace Name Mixin selector official dLja;d()Zintermediary method_8026Lnet/minecraft/class_2067;method_8026()Znamed isSneakingLnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;isSneaking()Z
-