
net.minecraft.server.PacketPlayInCloseWindow Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package net.minecraft.server;
import java.io.IOException;
public class PacketPlayInCloseWindow implements Packet {
private int id;
public PacketPlayInCloseWindow() {
}
// CraftBukkit start
public PacketPlayInCloseWindow(int id) {
this.id = id;
}
// CraftBukkit end
public void a(PacketListenerPlayIn packetlistenerplayin) {
packetlistenerplayin.a(this);
}
public void a(PacketDataSerializer packetdataserializer) throws IOException {
this.id = packetdataserializer.readByte();
}
public void b(PacketDataSerializer packetdataserializer) throws IOException {
packetdataserializer.writeByte(this.id);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy