use of net.minecraft.network.protocol.game.PacketPlayOutAnimation in project PublicCrafters by BananaPuncher714.
the class ContainerManager_v1_17_1 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.network.protocol.game.PacketPlayOutAnimation in project PublicCrafters by BananaPuncher714.
the class ContainerManager_v1_17_R1 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.network.protocol.game.PacketPlayOutAnimation in project PublicCrafters by BananaPuncher714.
the class ContainerManager_v1_18_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.network.protocol.game.PacketPlayOutAnimation in project PublicCrafters by BananaPuncher714.
the class ContainerManager_v1_18_R1 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));
}
Aggregations