use of net.minecraft.server.v1_16_R2.PacketPlayOutAnimation in project PublicCrafters by BananaPuncher714.
the class ContainerManager_v1_16_R3 method animate.
@Override
public void animate(Player player) {
EntityPlayer NMSPlayer = ((CraftPlayer) player).getHandle();
broadcastPacket(player, new PacketPlayOutAnimation(NMSPlayer, ThreadLocalRandom.current().nextInt(2) == 1 ? 0 : 3));
}
use of net.minecraft.server.v1_16_R2.PacketPlayOutAnimation in project PublicCrafters by BananaPuncher714.
the class ContainerManager_v1_9_R2 method animate.
@Override
public void animate(Player player) {
EntityPlayer NMSPlayer = ((CraftPlayer) player).getHandle();
broadcastPacket(player, new PacketPlayOutAnimation(NMSPlayer, ThreadLocalRandom.current().nextInt(2) == 1 ? 0 : 3));
}
use of net.minecraft.server.v1_16_R2.PacketPlayOutAnimation in project Citizens2 by CitizensDev.
the class PlayerAnimationImpl method playDefaultAnimation.
protected static void playDefaultAnimation(EntityPlayer player, int radius, int code) {
PacketPlayOutAnimation packet = new PacketPlayOutAnimation(player, code);
sendPacketNearby(packet, player, radius);
}
use of net.minecraft.server.v1_16_R2.PacketPlayOutAnimation in project Citizens2 by CitizensDev.
the class PlayerAnimationImpl method playDefaultAnimation.
protected static void playDefaultAnimation(EntityPlayer player, int radius, int code) {
PacketPlayOutAnimation packet = new PacketPlayOutAnimation(player, code);
sendPacketNearby(packet, player, radius);
}
use of net.minecraft.server.v1_16_R2.PacketPlayOutAnimation in project Citizens2 by CitizensDev.
the class PlayerAnimationImpl method playDefaultAnimation.
protected static void playDefaultAnimation(EntityPlayer player, int radius, int code) {
PacketPlayOutAnimation packet = new PacketPlayOutAnimation(player, code);
sendPacketNearby(packet, player, radius);
}
Aggregations