Class MobSpawnS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.MobSpawnS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class MobSpawnS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official pg
intermediary net/minecraft/class_2610
named net/minecraft/network/packet/s2c/play/MobSpawnS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MobSpawnS2CPacket()
MobSpawnS2CPacket(LivingEntity entity)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
int
getEntityTypeId()
byte
getHeadYaw()
int
getId()
byte
getPitch()
UUID
getUuid()
int
getVelocityX()
int
getVelocityY()
int
getVelocityZ()
double
getX()
double
getY()
byte
getYaw()
double
getZ()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
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.Packet
isWritingErrorSkippable
-
Field Details
-
id
private int id- Mappings:
Namespace Name Mixin selector official a
Lpg;a:I
intermediary field_11996
Lnet/minecraft/class_2610;field_11996:I
named id
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;id:I
-
uuid
- Mappings:
Namespace Name Mixin selector official b
Lpg;b:Ljava/util/UUID;
intermediary field_11997
Lnet/minecraft/class_2610;field_11997:Ljava/util/UUID;
named uuid
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;uuid:Ljava/util/UUID;
-
entityTypeId
private int entityTypeId- Mappings:
Namespace Name Mixin selector official c
Lpg;c:I
intermediary field_11995
Lnet/minecraft/class_2610;field_11995:I
named entityTypeId
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;entityTypeId:I
-
x
private double x- Mappings:
Namespace Name Mixin selector official d
Lpg;d:D
intermediary field_11990
Lnet/minecraft/class_2610;field_11990:D
named x
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;x:D
-
y
private double y- Mappings:
Namespace Name Mixin selector official e
Lpg;e:D
intermediary field_12003
Lnet/minecraft/class_2610;field_12003:D
named y
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;y:D
-
z
private double z- Mappings:
Namespace Name Mixin selector official f
Lpg;f:D
intermediary field_12002
Lnet/minecraft/class_2610;field_12002:D
named z
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;z:D
-
velocityX
private int velocityX- Mappings:
Namespace Name Mixin selector official g
Lpg;g:I
intermediary field_11993
Lnet/minecraft/class_2610;field_11993:I
named velocityX
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;velocityX:I
-
velocityY
private int velocityY- Mappings:
Namespace Name Mixin selector official h
Lpg;h:I
intermediary field_11992
Lnet/minecraft/class_2610;field_11992:I
named velocityY
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;velocityY:I
-
velocityZ
private int velocityZ- Mappings:
Namespace Name Mixin selector official i
Lpg;i:I
intermediary field_11991
Lnet/minecraft/class_2610;field_11991:I
named velocityZ
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;velocityZ:I
-
yaw
private byte yaw- Mappings:
Namespace Name Mixin selector official j
Lpg;j:B
intermediary field_12000
Lnet/minecraft/class_2610;field_12000:B
named yaw
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;yaw:B
-
pitch
private byte pitch- Mappings:
Namespace Name Mixin selector official k
Lpg;k:B
intermediary field_11999
Lnet/minecraft/class_2610;field_11999:B
named pitch
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;pitch:B
-
headYaw
private byte headYaw- Mappings:
Namespace Name Mixin selector official l
Lpg;l:B
intermediary field_11998
Lnet/minecraft/class_2610;field_11998:B
named headYaw
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;headYaw:B
-
-
Constructor Details
-
MobSpawnS2CPacket
public MobSpawnS2CPacket() -
MobSpawnS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lpg;<init>(Lari;)V
intermediary <init>
Lnet/minecraft/class_2610;<init>(Lnet/minecraft/class_1309;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;<init>(Lnet/minecraft/entity/LivingEntity;)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpg;a(Lpd;)V
intermediary method_11217
Lnet/minecraft/class_2610;method_11217(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getId
- Mappings:
Namespace Name Mixin selector official b
Lpg;b()I
intermediary method_11207
Lnet/minecraft/class_2610;method_11207()I
named getId
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getId()I
-
getUuid
- Mappings:
Namespace Name Mixin selector official c
Lpg;c()Ljava/util/UUID;
intermediary method_11213
Lnet/minecraft/class_2610;method_11213()Ljava/util/UUID;
named getUuid
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getUuid()Ljava/util/UUID;
-
getEntityTypeId
- Mappings:
Namespace Name Mixin selector official d
Lpg;d()I
intermediary method_11210
Lnet/minecraft/class_2610;method_11210()I
named getEntityTypeId
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getEntityTypeId()I
-
getX
- Mappings:
Namespace Name Mixin selector official e
Lpg;e()D
intermediary method_11214
Lnet/minecraft/class_2610;method_11214()D
named getX
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getX()D
-
getY
- Mappings:
Namespace Name Mixin selector official f
Lpg;f()D
intermediary method_11215
Lnet/minecraft/class_2610;method_11215()D
named getY
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getY()D
-
getZ
- Mappings:
Namespace Name Mixin selector official g
Lpg;g()D
intermediary method_11216
Lnet/minecraft/class_2610;method_11216()D
named getZ
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getZ()D
-
getVelocityX
- Mappings:
Namespace Name Mixin selector official h
Lpg;h()I
intermediary method_11212
Lnet/minecraft/class_2610;method_11212()I
named getVelocityX
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getVelocityX()I
-
getVelocityY
- Mappings:
Namespace Name Mixin selector official i
Lpg;i()I
intermediary method_11211
Lnet/minecraft/class_2610;method_11211()I
named getVelocityY
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getVelocityY()I
-
getVelocityZ
- Mappings:
Namespace Name Mixin selector official j
Lpg;j()I
intermediary method_11209
Lnet/minecraft/class_2610;method_11209()I
named getVelocityZ
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getVelocityZ()I
-
getYaw
- Mappings:
Namespace Name Mixin selector official k
Lpg;k()B
intermediary method_11205
Lnet/minecraft/class_2610;method_11205()B
named getYaw
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getYaw()B
-
getPitch
- Mappings:
Namespace Name Mixin selector official l
Lpg;l()B
intermediary method_11206
Lnet/minecraft/class_2610;method_11206()B
named getPitch
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getPitch()B
-
getHeadYaw
- Mappings:
Namespace Name Mixin selector official m
Lpg;m()B
intermediary method_11204
Lnet/minecraft/class_2610;method_11204()B
named getHeadYaw
Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;getHeadYaw()B
-