Package vazkii.botania.common.block.tile

Examples of vazkii.botania.common.block.tile.TileSpecialFlower


    boolean placed = super.placeBlockAt(stack, player, world, x, y, z, side, hitX, hitY, hitZ, metadata);
    if(placed) {
      String type = getType(stack);
      TileEntity te = world.getTileEntity(x, y, z);
      if(te instanceof TileSpecialFlower) {
        TileSpecialFlower tile = (TileSpecialFlower) te;
        tile.setSubTile(type);
        if(!world.isRemote)
          world.markBlockForUpdate(x, y, z);
      }
    }
View Full Code Here


    return tileentity != null ? tileentity.receiveClientEvent(par5, par6) : false;
  }

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

TOP

Related Classes of vazkii.botania.common.block.tile.TileSpecialFlower

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.