Class ClientboundRotateHeadPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundRotateHeadPacket
- All Implemented Interfaces:
- Packet<ClientGamePacketListener>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundRotateHeadPacket(FriendlyByteBuf p_179193_) ClientboundRotateHeadPacket(Entity p_132967_, byte p_132968_) 
- 
Method SummaryModifier and TypeMethodDescriptionbytevoidhandle(ClientGamePacketListener p_132976_) voidwrite(FriendlyByteBuf p_132979_) 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- 
entityIdprivate final int entityId
- 
yHeadRotprivate final byte yHeadRot
 
- 
- 
Constructor Details- 
ClientboundRotateHeadPacket
- 
ClientboundRotateHeadPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getEntity
- 
getYHeadRotpublic byte getYHeadRot()
 
-