Package vazkii.botania.common.block.tile

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


public class RenderTileAlfPortal extends TileEntitySpecialRenderer {

  @Override
  public void renderTileEntityAt(TileEntity tileentity, double d0, double d1, double d2, float f) {
    TileAlfPortal portal = (TileAlfPortal) tileentity;
    int meta = portal.getBlockMetadata();
    if(meta == 0)
      return;

    GL11.glPushMatrix();
    GL11.glTranslated(d0, d1, d2);
View Full Code Here


    return meta == 0 ? iconOff : iconOn;
  }

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

TOP

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

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.