Class EntityS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.EntityS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Direct Known Subclasses:
EntityS2CPacket.MoveRelative
,EntityS2CPacket.Rotate
,EntityS2CPacket.RotateAndMoveRelative
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/EntityS2CPacket
intermediary net/minecraft/class_2684
official adn
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected final short
protected final short
protected final short
protected final int
protected final boolean
protected final byte
protected final boolean
protected final boolean
protected final byte
-
Constructor Summary
ModifierConstructorDescriptionprotected
EntityS2CPacket
(int entityId, short deltaX, short deltaY, short deltaZ, byte yaw, byte pitch, boolean onGround, boolean rotate, boolean positionChanged) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) short
short
short
abstract PacketType
<? extends EntityS2CPacket> byte
getPitch()
byte
getYaw()
boolean
boolean
boolean
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
id
protected final int id- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;id:I
intermediary field_12310
Lnet/minecraft/class_2684;field_12310:I
official a
Ladn;a:I
-
deltaX
protected final short deltaX- Mappings:
Namespace Name Mixin selector named deltaX
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;deltaX:S
intermediary field_12309
Lnet/minecraft/class_2684;field_12309:S
official b
Ladn;b:S
-
deltaY
protected final short deltaY- Mappings:
Namespace Name Mixin selector named deltaY
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;deltaY:S
intermediary field_12308
Lnet/minecraft/class_2684;field_12308:S
official c
Ladn;c:S
-
deltaZ
protected final short deltaZ- Mappings:
Namespace Name Mixin selector named deltaZ
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;deltaZ:S
intermediary field_12307
Lnet/minecraft/class_2684;field_12307:S
official d
Ladn;d:S
-
yaw
protected final byte yaw- Mappings:
Namespace Name Mixin selector named yaw
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;yaw:B
intermediary field_12312
Lnet/minecraft/class_2684;field_12312:B
official e
Ladn;e:B
-
pitch
protected final byte pitch- Mappings:
Namespace Name Mixin selector named pitch
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;pitch:B
intermediary field_12311
Lnet/minecraft/class_2684;field_12311:B
official f
Ladn;f:B
-
onGround
protected final boolean onGround- Mappings:
Namespace Name Mixin selector named onGround
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;onGround:Z
intermediary field_12306
Lnet/minecraft/class_2684;field_12306:Z
official g
Ladn;g:Z
-
rotate
protected final boolean rotate- Mappings:
Namespace Name Mixin selector named rotate
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;rotate:Z
intermediary field_12305
Lnet/minecraft/class_2684;field_12305:Z
official h
Ladn;h:Z
-
positionChanged
protected final boolean positionChanged- Mappings:
Namespace Name Mixin selector named positionChanged
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;positionChanged:Z
intermediary field_20849
Lnet/minecraft/class_2684;field_20849:Z
official i
Ladn;i:Z
-
-
Constructor Details
-
EntityS2CPacket
protected EntityS2CPacket(int entityId, short deltaX, short deltaY, short deltaZ, byte yaw, byte pitch, boolean onGround, boolean rotate, boolean positionChanged) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;<init>(ISSSBBZZZ)V
intermediary <init>
Lnet/minecraft/class_2684;<init>(ISSSBBZZZ)V
official <init>
Ladn;<init>(ISSSBBZZZ)V
-
-
Method Details
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzf;a()Lzh;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11651
Lnet/minecraft/class_2684;method_11651(Lnet/minecraft/class_2602;)V
official a
Ladn;a(Labt;)V
-
toString
-
getEntity
- Mappings:
Namespace Name Mixin selector named getEntity
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getEntity(Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
intermediary method_11645
Lnet/minecraft/class_2684;method_11645(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
official a
Ladn;a(Ldcu;)Lbsq;
-
getDeltaX
public short getDeltaX()- Mappings:
Namespace Name Mixin selector named getDeltaX
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getDeltaX()S
intermediary method_36150
Lnet/minecraft/class_2684;method_36150()S
official b
Ladn;b()S
-
getDeltaY
public short getDeltaY()- Mappings:
Namespace Name Mixin selector named getDeltaY
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getDeltaY()S
intermediary method_36151
Lnet/minecraft/class_2684;method_36151()S
official e
Ladn;e()S
-
getDeltaZ
public short getDeltaZ()- Mappings:
Namespace Name Mixin selector named getDeltaZ
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getDeltaZ()S
intermediary method_36152
Lnet/minecraft/class_2684;method_36152()S
official f
Ladn;f()S
-
getYaw
public byte getYaw()- Mappings:
Namespace Name Mixin selector named getYaw
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getYaw()B
intermediary method_11649
Lnet/minecraft/class_2684;method_11649()B
official g
Ladn;g()B
-
getPitch
public byte getPitch()- Mappings:
Namespace Name Mixin selector named getPitch
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getPitch()B
intermediary method_11650
Lnet/minecraft/class_2684;method_11650()B
official h
Ladn;h()B
-
hasRotation
public boolean hasRotation()- Mappings:
Namespace Name Mixin selector named hasRotation
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;hasRotation()Z
intermediary method_11652
Lnet/minecraft/class_2684;method_11652()Z
official i
Ladn;i()Z
-
isPositionChanged
public boolean isPositionChanged()- Mappings:
Namespace Name Mixin selector named isPositionChanged
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;isPositionChanged()Z
intermediary method_22826
Lnet/minecraft/class_2684;method_22826()Z
official j
Ladn;j()Z
-
isOnGround
public boolean isOnGround()- Mappings:
Namespace Name Mixin selector named isOnGround
Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;isOnGround()Z
intermediary method_11653
Lnet/minecraft/class_2684;method_11653()Z
official k
Ladn;k()Z
-