All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.minecraft.server.PacketPlayInCloseWindow Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
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