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