Package vazkii.botania.common.block.tile

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


    return true;
  }

  @Override
  public int getComparatorInputOverride(World par1World, int par2, int par3, int par4, int par5) {
    TileOpenCrate crate = (TileOpenCrate) par1World.getTileEntity(par2, par3, par4);
    return crate.getSignal();
  }
View Full Code Here


    return meta == 0 ? side == 0 ? iconBottom : iconSide : side == 0 ? iconBottomCraft : iconSideCraft;
  }

  @Override
  public TileEntity createNewTileEntity(World world, int meta) {
    return meta == 0 ? new TileOpenCrate() : new TileCraftCrate();
  }
View Full Code Here

    return world.getBlockMetadata(x, y, z) == 0 ? LexiconData.openCrate : LexiconData.craftCrate;
  }

  @Override
  public boolean onUsedByWand(EntityPlayer player, ItemStack stack, World world, int x, int y, int z, int side) {
    TileOpenCrate crate = (TileOpenCrate) world.getTileEntity(x, y, z);
    return crate.onWanded(player, stack);
  }
View Full Code Here

TOP

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

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.