Class EntityS2CPacket.MoveRelative
java.lang.Object
net.minecraft.network.packet.s2c.play.EntityS2CPacket
net.minecraft.network.packet.s2c.play.EntityS2CPacket.MoveRelative
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Enclosing class:
- EntityS2CPacket
public static class EntityS2CPacket.MoveRelative extends EntityS2CPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.network.packet.s2c.play.EntityS2CPacket
EntityS2CPacket.MoveRelative, EntityS2CPacket.Rotate, EntityS2CPacket.RotateAndMoveRelative -
Field Summary
Fields inherited from class net.minecraft.network.packet.s2c.play.EntityS2CPacket
deltaX, deltaY, deltaZ, id, onGround, pitch, positionChanged, rotate, yaw -
Constructor Summary
Constructors Constructor Description MoveRelative()MoveRelative(int entityId, short deltaX, short deltaY, short deltaZ, boolean onGround) -
Method Summary
Modifier and Type Method Description voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)Methods inherited from class net.minecraft.network.packet.s2c.play.EntityS2CPacket
apply, decodePacketCoordinates, encodePacketCoordinate, getDeltaXShort, getDeltaYShort, getDeltaZShort, getEntity, getPitch, getYaw, hasRotation, isOnGround, isPositionChanged, toString
-
Constructor Details
-
MoveRelative
public MoveRelative() -
MoveRelative
public MoveRelative(int entityId, short deltaX, short deltaY, short deltaZ, boolean onGround)
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Overrides:
readin classEntityS2CPacket- Throws:
IOException
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Overrides:
writein classEntityS2CPacket- Throws:
IOException
-