Package mekanism.common.tile

Examples of mekanism.common.tile.TileEntityTeleporter


      if(item.getStatus(itemstack) == 1)
      {
        Coord4D coords = MekanismUtils.getClosestCoords(new Teleporter.Code(item.getDigit(itemstack, 0), item.getDigit(itemstack, 1), item.getDigit(itemstack, 2), item.getDigit(itemstack, 3)), player);
       
        World teleWorld = FMLCommonHandler.instance().getMinecraftServerInstance().worldServerForDimension(coords.dimensionId);
        TileEntityTeleporter teleporter = (TileEntityTeleporter)coords.getTileEntity(teleWorld);
       
        if(teleporter != null)
        {
          try {
            teleporter.didTeleport.add(player);
View Full Code Here

TOP

Related Classes of mekanism.common.tile.TileEntityTeleporter

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.