public class ClientboundAddEntityPacket extends Object implements MinecraftPacket
| Constructor and Description |
|---|
ClientboundAddEntityPacket(io.netty.buffer.ByteBuf in,
MinecraftCodecHelper helper) |
ClientboundAddEntityPacket(int entityId,
@NonNull UUID uuid,
@NonNull EntityType type,
double x,
double y,
double z,
float yaw,
float pitch,
float headYaw) |
ClientboundAddEntityPacket(int entityId,
@NonNull UUID uuid,
@NonNull EntityType type,
double x,
double y,
double z,
float yaw,
float pitch,
float headYaw,
double motionX,
double motionY,
double motionZ) |
ClientboundAddEntityPacket(int entityId,
@NonNull UUID uuid,
@NonNull EntityType type,
@NonNull ObjectData data,
double x,
double y,
double z,
float yaw,
float pitch,
float headYaw) |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(io.netty.buffer.ByteBuf out,
MinecraftCodecHelper helper) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisPrioritypublic ClientboundAddEntityPacket(int entityId,
@NonNull
@NonNull UUID uuid,
@NonNull
@NonNull EntityType type,
double x,
double y,
double z,
float yaw,
float pitch,
float headYaw)
public ClientboundAddEntityPacket(int entityId,
@NonNull
@NonNull UUID uuid,
@NonNull
@NonNull EntityType type,
@NonNull
@NonNull ObjectData data,
double x,
double y,
double z,
float yaw,
float pitch,
float headYaw)
public ClientboundAddEntityPacket(int entityId,
@NonNull
@NonNull UUID uuid,
@NonNull
@NonNull EntityType type,
double x,
double y,
double z,
float yaw,
float pitch,
float headYaw,
double motionX,
double motionY,
double motionZ)
public ClientboundAddEntityPacket(io.netty.buffer.ByteBuf in,
MinecraftCodecHelper helper)
throws IOException
IOExceptionpublic void serialize(io.netty.buffer.ByteBuf out,
MinecraftCodecHelper helper)
throws IOException
serialize in interface MinecraftPacketIOExceptionCopyright © 2023. All rights reserved.