Class ClientboundAddMobPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundAddMobPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final UUID
private final double
private final int
private final byte
private final double
private final int
private final byte
private final byte
private final double
private final int
-
Constructor Summary
ConstructorDescriptionClientboundAddMobPacket
(FriendlyByteBuf p_178566_) ClientboundAddMobPacket
(LivingEntity p_131545_) -
Method Summary
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.protocol.Packet
isSkippable
-
Field Details
-
id
private final int id -
uuid
-
type
private final int type -
x
private final double x -
y
private final double y -
z
private final double z -
xd
private final int xd -
yd
private final int yd -
zd
private final int zd -
yRot
private final byte yRot -
xRot
private final byte xRot -
yHeadRot
private final byte yHeadRot
-
-
Constructor Details
-
ClientboundAddMobPacket
-
ClientboundAddMobPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getId
public int getId() -
getUUID
-
getType
public int getType() -
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
getXd
public int getXd() -
getYd
public int getYd() -
getZd
public int getZd() -
getyRot
public byte getyRot() -
getxRot
public byte getxRot() -
getyHeadRot
public byte getyHeadRot()
-