类 ServerboundPlayerInputPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundPlayerInputPacket
- 所有已实现的接口:
Packet<ServerGamePacketListener>
public class ServerboundPlayerInputPacket
extends Object
implements Packet<ServerGamePacketListener>
-
字段概要
字段修饰符和类型字段说明private static final int
private static final int
private final boolean
private final boolean
private final float
private final float
-
构造器概要
构造器构造器说明ServerboundPlayerInputPacket
(float pXxa, float pZza, boolean pIsJumping, boolean pIsShiftKeyDown) -
方法概要
修饰符和类型方法说明float
getXxa()
float
getZza()
void
handle
(ServerGamePacketListener pHandler) boolean
boolean
void
write
(FriendlyByteBuf pBuffer) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable
-
字段详细资料
-
构造器详细资料
-
ServerboundPlayerInputPacket
public ServerboundPlayerInputPacket(float pXxa, float pZza, boolean pIsJumping, boolean pIsShiftKeyDown) -
ServerboundPlayerInputPacket
-
-
方法详细资料
-
write
- 指定者:
write
在接口中Packet<ServerGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ServerGamePacketListener>
-
getXxa
public float getXxa() -
getZza
public float getZza() -
isJumping
public boolean isJumping() -
isShiftKeyDown
public boolean isShiftKeyDown()
-