Package thaumic.tinkerer.common.block.tile.kami

Examples of thaumic.tinkerer.common.block.tile.kami.TileWarpGate


          currenttip.add(StatCollector.translateToLocalFormatted("ttwaila.finishedRepairing", item.getDisplayName()));
      }

    }
    if (accessor.getBlock() == ThaumicTinkerer.registry.getFirstBlockFromClass(BlockWarpGate.class)) {
      TileWarpGate tileWarp = (TileWarpGate) accessor.getTileEntity();
      if (tileWarp.locked)
        currenttip.add(StatCollector.translateToLocal("ttwaila.allowIncoming"));
      else
        currenttip.add(StatCollector.translateToLocal("ttwaila.disallowIncoming"));
    }
View Full Code Here


    return true;
  }

  @Override
  public void breakBlock(World par1World, int par2, int par3, int par4, Block par5, int par6) {
    TileWarpGate warpGate = (TileWarpGate) par1World.getTileEntity(par2, par3, par4);

    if (warpGate != null) {
      for (int j1 = 0; j1 < warpGate.getSizeInventory(); ++j1) {
        ItemStack itemstack = warpGate.getStackInSlot(j1);

        if (itemstack != null) {
          float f = random.nextFloat() * 0.8F + 0.1F;
          float f1 = random.nextFloat() * 0.8F + 0.1F;
          EntityItem entityitem;
View Full Code Here

    super.breakBlock(par1World, par2, par3, par4, par5, par6);
  }

  @Override
  public TileEntity createNewTileEntity(World world, int in) {
    return new TileWarpGate();
  }
View Full Code Here

TOP

Related Classes of thaumic.tinkerer.common.block.tile.kami.TileWarpGate

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.