
net.minecraft.server.PacketPlayOutAnimation Maven / Gradle / Ivy
package net.minecraft.server;
import java.io.IOException;
public class PacketPlayOutAnimation implements Packet {
private int a;
private int b;
public PacketPlayOutAnimation() {
}
public PacketPlayOutAnimation(Entity entity, int i) {
this.a = entity.getId();
this.b = i;
}
public void a(PacketDataSerializer packetdataserializer) throws IOException {
this.a = packetdataserializer.e();
this.b = packetdataserializer.readUnsignedByte();
}
public void b(PacketDataSerializer packetdataserializer) throws IOException {
packetdataserializer.b(this.a);
packetdataserializer.writeByte(this.b);
}
public void a(PacketListenerPlayOut packetlistenerplayout) {
packetlistenerplayout.a(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy