Package net.mcft.copy.betterstorage.network.packet

Examples of net.mcft.copy.betterstorage.network.packet.PacketBackpackStack


            new PacketBackpackIsOpen(entity.getEntityId(), isOpen), entity);
        prevPlayersUsing = playersUsing;
      }
      if (!ItemStack.areItemStacksEqual(backpack, prevBackpack)) {
        BetterStorage.networkChannel.sendToAndAllTracking(
            new PacketBackpackStack(entity.getEntityId(), backpack), entity);
        prevBackpack = ItemStack.copyItemStack(backpack);
      }
     
    }
   
View Full Code Here


    if (playersUsing > 0)
      BetterStorage.networkChannel.sendTo(
          new PacketBackpackIsOpen(entity.getEntityId(), true), player);
    if (backpack != null)
      BetterStorage.networkChannel.sendTo(
          new PacketBackpackStack(entity.getEntityId(), backpack), player);
  }
View Full Code Here

TOP

Related Classes of net.mcft.copy.betterstorage.network.packet.PacketBackpackStack

Copyright © 2018 www.massapicom. 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.