Class ClientboundAddEntityPacket

java.lang.Object
net.minecraft.network.protocol.game.ClientboundAddEntityPacket
All Implemented Interfaces:
Packet<ClientGamePacketListener>

public class ClientboundAddEntityPacket extends Object implements Packet<ClientGamePacketListener>
  • Field Details

    • STREAM_CODEC

    • MAGICAL_QUANTIZATION

      private static final double MAGICAL_QUANTIZATION
      See Also:
    • LIMIT

      private static final double LIMIT
      See Also:
    • id

      private final int id
    • uuid

      private final UUID uuid
    • type

      private final EntityType<?> type
    • x

      private final double x
    • y

      private final double y
    • z

      private final double z
    • xa

      private final int xa
    • ya

      private final int ya
    • za

      private final int za
    • xRot

      private final byte xRot
    • yRot

      private final byte yRot
    • yHeadRot

      private final byte yHeadRot
    • data

      private final int data
  • Constructor Details

    • ClientboundAddEntityPacket

      public ClientboundAddEntityPacket(Entity p_131481_)
    • ClientboundAddEntityPacket

      public ClientboundAddEntityPacket(Entity p_131483_, int p_131484_)
    • ClientboundAddEntityPacket

      public ClientboundAddEntityPacket(Entity p_237558_, int p_237559_, BlockPos p_237560_)
    • ClientboundAddEntityPacket

      public ClientboundAddEntityPacket(int p_237546_, UUID p_237547_, double p_237548_, double p_237549_, double p_237550_, float p_237551_, float p_237552_, EntityType<?> p_237553_, int p_237554_, Vec3 p_237555_, double p_237556_)
    • ClientboundAddEntityPacket

      private ClientboundAddEntityPacket(RegistryFriendlyByteBuf p_319919_)
  • Method Details