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

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

There is a newer version: 2.4.0
Show newest version
package net.minecraft.server;

import java.io.IOException;

public class PacketPlayOutPlayerListHeaderFooter implements Packet {
   public IChatBaseComponent a;
   public IChatBaseComponent b;

   public PacketPlayOutPlayerListHeaderFooter() {
   }

   public PacketPlayOutPlayerListHeaderFooter(IChatBaseComponent ichatbasecomponent) {
      this.a = ichatbasecomponent;
   }

   public PacketPlayOutPlayerListHeaderFooter(IChatBaseComponent header, IChatBaseComponent footer) {
      this.a = header;
      this.b = footer;
   }

   public void a(PacketDataSerializer packetdataserializer) throws IOException {
      this.a = packetdataserializer.d();
      this.b = packetdataserializer.d();
   }

   public void b(PacketDataSerializer packetdataserializer) throws IOException {
      packetdataserializer.a(this.a);
      packetdataserializer.a(this.b);
   }

   public void a(PacketListenerPlayOut packetlistenerplayout) {
      packetlistenerplayout.a(this);
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy