Class ServerboundPlayerInputPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundPlayerInputPacket
- All Implemented Interfaces:
- Packet<ServerGamePacketListener>
public class ServerboundPlayerInputPacket
extends Object
implements Packet<ServerGamePacketListener>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate final booleanprivate final booleanprivate final floatprivate final float
- 
Constructor SummaryConstructorsConstructorDescriptionServerboundPlayerInputPacket(float p_134345_, float p_134346_, boolean p_134347_, boolean p_134348_) ServerboundPlayerInputPacket(FriendlyByteBuf p_179720_) 
- 
Method SummaryModifier and TypeMethodDescriptionfloatgetXxa()floatgetZza()voidhandle(ServerGamePacketListener p_134354_) booleanbooleanvoidwrite(FriendlyByteBuf p_134357_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
FLAG_JUMPINGprivate static final int FLAG_JUMPING- See Also:
 
- 
FLAG_SHIFT_KEY_DOWNprivate static final int FLAG_SHIFT_KEY_DOWN- See Also:
 
- 
xxaprivate final float xxa
- 
zzaprivate final float zza
- 
isJumpingprivate final boolean isJumping
- 
isShiftKeyDownprivate final boolean isShiftKeyDown
 
- 
- 
Constructor Details- 
ServerboundPlayerInputPacketpublic ServerboundPlayerInputPacket(float p_134345_, float p_134346_, boolean p_134347_, boolean p_134348_) 
- 
ServerboundPlayerInputPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ServerGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ServerGamePacketListener>
 
- 
getXxapublic float getXxa()
- 
getZzapublic float getZza()
- 
isJumpingpublic boolean isJumping()
- 
isShiftKeyDownpublic boolean isShiftKeyDown()
 
-