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

Examples of thaumic.tinkerer.common.block.tile.transvector.TileTransvectorDislocator$BlockData


  @Override
  public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) {
    TileEntity tile = par1World.getTileEntity(par2, par3, par4);

    TileTransvectorDislocator dislocator = (TileTransvectorDislocator) tile;
    ItemStack currentStack = par5EntityPlayer.getCurrentEquippedItem();

    if (currentStack != null && currentStack.getItem() == ConfigItems.itemWandCasting) {
      dislocator.orientation = par6;
      par1World.playSoundEffect(par2, par3, par4, "thaumcraft:tool", 0.6F, 1F);
View Full Code Here


  @Override
  public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random) {
    TileEntity tile = par1World.getTileEntity(par2, par3, par4);
    if (tile != null && tile instanceof TileTransvectorDislocator) {
      TileTransvectorDislocator dislocator = (TileTransvectorDislocator) tile;
      dislocator.receiveRedstonePulse();
    }
  }
View Full Code Here

    par1World.markBlockForUpdate(par2, par3, par4);
  }

  @Override
  public TileCamo createNewTileEntity(World world, int var2) {
    return new TileTransvectorDislocator();
  }
View Full Code Here

TOP

Related Classes of thaumic.tinkerer.common.block.tile.transvector.TileTransvectorDislocator$BlockData

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.