Package forestry.core.interfaces

Examples of forestry.core.interfaces.ISocketable


    TileEntity tile = Proxies.common.getRenderWorld().getTileEntity(packet.posX, packet.posY, packet.posZ);
    if (!(tile instanceof ISocketable))
      return;

    ISocketable socketable = (ISocketable) tile;
    for (int i = 0; i < packet.itemstacks.length; i++)
      socketable.setSocket(i, packet.itemstacks[i]);
  }
View Full Code Here

TOP

Related Classes of forestry.core.interfaces.ISocketable

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.