Examples of BoxBlacklistMessage


Examples of mekanism.common.network.PacketBoxBlacklist.BoxBlacklistMessage

  public void onPlayerLoginEvent(PlayerLoggedInEvent event)
  {
    if(!event.player.worldObj.isRemote)
    {
      Mekanism.packetHandler.sendTo(new ConfigSyncMessage(), (EntityPlayerMP)event.player);
      Mekanism.packetHandler.sendTo(new BoxBlacklistMessage(), (EntityPlayerMP)event.player);
      Mekanism.packetHandler.sendTo(new JetpackDataMessage(JetpackPacket.FULL, null, false), (EntityPlayerMP)event.player);
      Mekanism.packetHandler.sendTo(new ScubaTankDataMessage(ScubaTankPacket.FULL, null, false), (EntityPlayerMP)event.player);

      Mekanism.logger.info("Sent config to '" + event.player.getDisplayName() + ".'");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.