use of net.minecraft.server.v1_11_R1.PacketPlayOutEntity.PacketPlayOutRelEntityMoveLook in project MechanicsMain by WeaponMechanics.
the class FakeEntity_1_13_R2 method setPositionRotation.
@Override
public void setPositionRotation(short dx, short dy, short dz, byte yaw, byte pitch) {
PacketPlayOutRelEntityMoveLook packet = new PacketPlayOutRelEntityMoveLook(cache, dx, dy, dz, yaw, pitch, false);
PacketPlayOutEntityHeadRotation head = new PacketPlayOutEntityHeadRotation(entity, convertYaw(yaw));
sendPackets(packet, head);
}
use of net.minecraft.server.v1_11_R1.PacketPlayOutEntity.PacketPlayOutRelEntityMoveLook in project MechanicsMain by WeaponMechanics.
the class FakeEntity_1_10_R1 method setPositionRotation.
@Override
public void setPositionRotation(short dx, short dy, short dz, byte yaw, byte pitch) {
PacketPlayOutRelEntityMoveLook packet = new PacketPlayOutRelEntityMoveLook(cache, dx, dy, dz, yaw, pitch, false);
PacketPlayOutEntityHeadRotation head = new PacketPlayOutEntityHeadRotation(entity, convertYaw(yaw));
sendPackets(packet, head);
}
use of net.minecraft.server.v1_11_R1.PacketPlayOutEntity.PacketPlayOutRelEntityMoveLook in project MechanicsMain by WeaponMechanics.
the class FakeEntity_1_15_R1 method setPositionRotation.
@Override
public void setPositionRotation(short dx, short dy, short dz, byte yaw, byte pitch) {
PacketPlayOutRelEntityMoveLook packet = new PacketPlayOutRelEntityMoveLook(cache, dx, dy, dz, yaw, pitch, false);
PacketPlayOutEntityHeadRotation head = new PacketPlayOutEntityHeadRotation(entity, convertYaw(yaw));
sendPackets(packet, head);
}
use of net.minecraft.server.v1_11_R1.PacketPlayOutEntity.PacketPlayOutRelEntityMoveLook in project MechanicsMain by WeaponMechanics.
the class FakeEntity_1_16_R3 method setPositionRotation.
@Override
public void setPositionRotation(short dx, short dy, short dz, byte yaw, byte pitch) {
PacketPlayOutRelEntityMoveLook packet = new PacketPlayOutRelEntityMoveLook(cache, dx, dy, dz, yaw, pitch, false);
PacketPlayOutEntityHeadRotation head = new PacketPlayOutEntityHeadRotation(entity, convertYaw(yaw));
sendPackets(packet, head);
}
use of net.minecraft.server.v1_11_R1.PacketPlayOutEntity.PacketPlayOutRelEntityMoveLook in project MechanicsMain by WeaponMechanics.
the class FakeEntity_1_11_R1 method setPositionRotation.
@Override
public void setPositionRotation(short dx, short dy, short dz, byte yaw, byte pitch) {
PacketPlayOutRelEntityMoveLook packet = new PacketPlayOutRelEntityMoveLook(cache, dx, dy, dz, yaw, pitch, false);
PacketPlayOutEntityHeadRotation head = new PacketPlayOutEntityHeadRotation(entity, convertYaw(yaw));
sendPackets(packet, head);
}
Aggregations