Package thaumic.tinkerer.common.block.tile.transvector

Examples of thaumic.tinkerer.common.block.tile.transvector.TileTransvector


      if (tile1 == null || !(tile1 instanceof TileTransvector)) {
        setY(par1ItemStack, -1);

        par2EntityPlayer.addChatMessage(new ChatComponentTranslation("ttmisc.connector.notpresent"));
      } else {
        TileTransvector trans = (TileTransvector) tile1;

        if (tile != null && tile1 instanceof TileTransvectorInterface && tile instanceof TileTransvectorInterface) {
          par2EntityPlayer.addChatMessage(new ChatComponentTranslation("ttmisc.connector.interffail"));
          return true;
        }

        if (Math.abs(x - par4) > trans.getMaxDistance() || Math.abs(y - par5) > trans.getMaxDistance() || Math.abs(z - par6) > trans.getMaxDistance()) {
          par2EntityPlayer.addChatMessage(new ChatComponentTranslation("ttmisc.connector.toofar"));
          return true;
        }

        trans.x = par4;
View Full Code Here

TOP

Related Classes of thaumic.tinkerer.common.block.tile.transvector.TileTransvector

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.