Examples of TilePylon


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

  public void renderInventoryBlock(Block block, int metadata, int modelID, RenderBlocks renderer) {
    GL11.glPushMatrix();
    GL11.glTranslatef(-0.5F, -0.7F, -0.5F);
    RenderTilePylon.green = metadata == 1;
    RenderTilePylon.pink = metadata == 2;
    TileEntityRendererDispatcher.instance.renderTileEntityAt(new TilePylon(), 0.0D, 0.0D, 0.0D, 0.0F);
    GL11.glPopMatrix();
  }
View Full Code Here

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

    return world.getBlockMetadata(x, y, z) == 0 ? 8 : 15;
  }

  @Override
  public TileEntity createNewTileEntity(World world, int meta) {
    return new TilePylon();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.