Class ClientboundRotateHeadPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.entity.ClientboundRotateHeadPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundRotateHeadPacket(int entityId, float headYaw) ClientboundRotateHeadPacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintfloatinthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundRotateHeadPacketwithEntityId(int entityId) @NonNull ClientboundRotateHeadPacketwithHeadYaw(float headYaw) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundRotateHeadPacket
public ClientboundRotateHeadPacket(io.netty.buffer.ByteBuf in) -
ClientboundRotateHeadPacket
public ClientboundRotateHeadPacket(int entityId, float headYaw)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getEntityId
public int getEntityId() -
getHeadYaw
public float getHeadYaw() -
equals
-
canEqual
-
hashCode
-
toString
-
withEntityId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHeadYaw
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-