Class SSpawnObjectPacket
- java.lang.Object
-
- net.minecraft.network.play.server.SSpawnObjectPacket
-
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
public class SSpawnObjectPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
-
-
Constructor Summary
Constructors Constructor Description SSpawnObjectPacket()
SSpawnObjectPacket(int p_i50777_1_, java.util.UUID p_i50777_2_, double p_i50777_3_, double p_i50777_5_, double p_i50777_7_, float p_i50777_9_, float p_i50777_10_, EntityType<?> p_i50777_11_, int p_i50777_12_, Vector3d p_i50777_13_)
SSpawnObjectPacket(Entity p_i50778_1_)
SSpawnObjectPacket(Entity p_i46976_1_, int p_i46976_2_)
SSpawnObjectPacket(Entity p_i50779_1_, EntityType<?> p_i50779_2_, int p_i50779_3_, BlockPos p_i50779_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getData()
int
getId()
EntityType<?>
getType()
java.util.UUID
getUUID()
double
getX()
double
getXa()
int
getxRot()
double
getY()
double
getYa()
int
getyRot()
double
getZ()
double
getZa()
void
handle(IClientPlayNetHandler p_148833_1_)
void
read(PacketBuffer p_148837_1_)
void
write(PacketBuffer p_148840_1_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
-
-
-
Field Detail
-
id
private int id
-
uuid
private java.util.UUID uuid
-
x
private double x
-
y
private double y
-
z
private double z
-
xa
private int xa
-
ya
private int ya
-
za
private int za
-
xRot
private int xRot
-
yRot
private int yRot
-
type
private EntityType<?> type
-
data
private int data
-
-
Constructor Detail
-
SSpawnObjectPacket
public SSpawnObjectPacket()
-
SSpawnObjectPacket
public SSpawnObjectPacket(int p_i50777_1_, java.util.UUID p_i50777_2_, double p_i50777_3_, double p_i50777_5_, double p_i50777_7_, float p_i50777_9_, float p_i50777_10_, EntityType<?> p_i50777_11_, int p_i50777_12_, Vector3d p_i50777_13_)
-
SSpawnObjectPacket
public SSpawnObjectPacket(Entity p_i50778_1_)
-
SSpawnObjectPacket
public SSpawnObjectPacket(Entity p_i46976_1_, int p_i46976_2_)
-
SSpawnObjectPacket
public SSpawnObjectPacket(Entity p_i50779_1_, EntityType<?> p_i50779_2_, int p_i50779_3_, BlockPos p_i50779_4_)
-
-
Method Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
handle
public void handle(IClientPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getId
public int getId()
-
getUUID
public java.util.UUID getUUID()
-
getX
public double getX()
-
getY
public double getY()
-
getZ
public double getZ()
-
getXa
public double getXa()
-
getYa
public double getYa()
-
getZa
public double getZa()
-
getxRot
public int getxRot()
-
getyRot
public int getyRot()
-
getType
public EntityType<?> getType()
-
getData
public int getData()
-
-