
net.minecraft.server.PacketPlayOutTileEntityData Maven / Gradle / Ivy
package net.minecraft.server;
import java.io.IOException;
public class PacketPlayOutTileEntityData implements Packet {
private BlockPosition a;
private int b;
private NBTTagCompound c;
public PacketPlayOutTileEntityData() {
}
public PacketPlayOutTileEntityData(BlockPosition blockposition, int i, NBTTagCompound nbttagcompound) {
this.a = blockposition;
this.b = i;
this.c = nbttagcompound;
}
public void a(PacketDataSerializer packetdataserializer) throws IOException {
this.a = packetdataserializer.c();
this.b = packetdataserializer.readUnsignedByte();
this.c = packetdataserializer.h();
}
public void b(PacketDataSerializer packetdataserializer) throws IOException {
packetdataserializer.a(this.a);
packetdataserializer.writeByte((byte) this.b);
packetdataserializer.a(this.c);
}
public void a(PacketListenerPlayOut packetlistenerplayout) {
packetlistenerplayout.a(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy