Package appeng.core.sync.packets

Examples of appeng.core.sync.packets.PacketNewStorageDimension


  public void addStorageCellDim(int newDim)
  {
    storageCellDims.add( newDim );
    DimensionManager.registerDimension( newDim, AEConfig.instance.storageProviderID );

    NetworkHandler.instance.sendToAll( new PacketNewStorageDimension( newDim ) );

    String[] values = new String[storageCellDims.size()];

    for (int x = 0; x < values.length; x++)
      values[x] = "" + storageCellDims.get( x );
View Full Code Here


  {
    if ( manager != null )
    {
      for (int newDim : get( "DimensionManager", "StorageCells", new int[0] ).getIntList())
      {
        manager.scheduleOutboundPacket( (new PacketNewStorageDimension( newDim )).getProxy() );
      }
    }
    else
    {
      for (PlayerColor pc : TickHandler.instance.getPlayerColors().values())
View Full Code Here

TOP

Related Classes of appeng.core.sync.packets.PacketNewStorageDimension

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.