Class ServerboundMovePlayerStatusOnlyPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.player.ServerboundMovePlayerStatusOnlyPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundMovePlayerStatusOnlyPacket(boolean onGround, boolean horizontalCollision) ServerboundMovePlayerStatusOnlyPacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanbooleanvoidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()withHorizontalCollision(boolean horizontalCollision) withOnGround(boolean onGround) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundMovePlayerStatusOnlyPacket
public ServerboundMovePlayerStatusOnlyPacket(io.netty.buffer.ByteBuf in) -
ServerboundMovePlayerStatusOnlyPacket
public ServerboundMovePlayerStatusOnlyPacket(boolean onGround, boolean horizontalCollision)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
isOnGround
public boolean isOnGround() -
isHorizontalCollision
public boolean isHorizontalCollision() -
equals
-
canEqual
-
hashCode
-
toString
-
withOnGround
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHorizontalCollision
public @NonNull ServerboundMovePlayerStatusOnlyPacket withHorizontalCollision(boolean horizontalCollision) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-