void handleCustomPacket(
     Packet250CustomPayload packet, NetworkManager network, NetHandler handler) {
   if ("REGISTER".equals(packet.channel)) {
     handleRegistrationPacket(packet, (Player) handler.getPlayer());
   } else if ("UNREGISTER".equals(packet.channel)) {
     handleUnregistrationPacket(packet, (Player) handler.getPlayer());
   } else {
     handlePacket(packet, network, (Player) handler.getPlayer());
   }
 }
 /** Passes this Packet on to the NetHandler for processing. */
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleUpdateSign(this);
 }
 /** Passes this Packet on to the NetHandler for processing. */
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleKickDisconnect(this);
 }
 /** Passes this Packet on to the NetHandler for processing. */
 @Override
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleBlockItemSwitch(this);
 }
 /** Passes this Packet on to the NetHandler for processing. */
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleTileEntityData(this);
 }
 public void processPacket(NetHandler nethandler) {
   nethandler.func_20008_a(this);
 }
 public void func_73279_a(NetHandler p_73279_1_) {
   p_73279_1_.func_72465_a(this);
 }
 /** Passes this Packet on to the NetHandler for processing. */
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleWeather(this);
 }
 public void func_73279_a(NetHandler p_73279_1_) {
   p_73279_1_.func_98182_a(this);
 }
 /** Passes this Packet on to the NetHandler for processing. */
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleMapChunk(this);
 }
 public void func_323_a(NetHandler nethandler) {
   nethandler.func_35781_a(this);
 }
 public void processPacket(NetHandler nethandler) {
   nethandler.handleMultiBlockChange(this);
 }
 public void processPacket(NetHandler nethandler) {
   nethandler.handleHandshake(this);
 }
 /** Passes this Packet on to the NetHandler for processing. */
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleClientInfo(this);
 }
 /** Passes this Packet on to the NetHandler for processing. */
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleAttachEntity(this);
 }
 public void processPacket(NetHandler nethandler) {
   nethandler.handleUpdateTime(this);
 }
Exemple #17
0
 void clientLoggedIn(NetHandler clientHandler, NetworkManager manager, Packet1Login login) {
   generateChannelRegistration(clientHandler.getPlayer(), clientHandler, manager);
   for (IConnectionHandler handler : connectionHandlers) {
     handler.clientLoggedIn(clientHandler, manager, login);
   }
 }
 public void processPacket(NetHandler nethandler) {
   nethandler.handleUseEntity(this);
 }
 @Override
 public void processPacket(NetHandler nethandler) {
   nethandler.handleGuilde(this);
 }
 public void processPacket(NetHandler nethandler) {
   nethandler.handleMobSpawn(this);
 }
 /** Passes this Packet on to the NetHandler for processing. */
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleDoorChange(this);
 }
 /** Passes this Packet on to the NetHandler for processing. */
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleUpdateProgressbar(this);
 }
 /** Passes this Packet on to the NetHandler for processing. */
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleVehicleSpawn(this);
 }
 /** Passes this Packet on to the NetHandler for processing. */
 public void processPacket(NetHandler par1NetHandler) {
   par1NetHandler.handleWindowItems(this);
 }