Class SetCameraEntityS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.SetCameraEntityS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class SetCameraEntityS2CPacket extends Object implements Packet<ClientPlayPacketListener>
-
Field Summary
Fields Modifier and Type Field Description intentityId -
Constructor Summary
Constructors Constructor Description SetCameraEntityS2CPacket()SetCameraEntityS2CPacket(Entity entity) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)EntitygetEntity(World world)voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
entityId
public int entityId
-
-
Constructor Details
-
SetCameraEntityS2CPacket
public SetCameraEntityS2CPacket() -
SetCameraEntityS2CPacket
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>
-
getEntity
-