Package mffs.base

Examples of mffs.base.TileMFFS


  public static final ModelFortronCapacitor MODEL = new ModelFortronCapacitor();

  @Override
  public void renderTileEntityAt(TileEntity t, double x, double y, double z, float f)
  {
    TileMFFS tileEntity = (TileMFFS) t;

    /**
     * Render Model
     */
    if (tileEntity.isActive())
    {
      FMLClientHandler.instance().getClient().renderEngine.bindTexture(TEXTURE_ON);
    }
    else
    {
View Full Code Here


  public static final ModelForceManipulator MODEL = new ModelForceManipulator();

  @Override
  public void renderTileEntityAt(TileEntity t, double x, double y, double z, float f)
  {
    TileMFFS tileEntity = (TileMFFS) t;

    /**
     * Render Model
     */
    if (tileEntity.isActive())
    {
      FMLClientHandler.instance().getClient().renderEngine.bindTexture(TEXTURE_ON);
    }
    else
    {
      FMLClientHandler.instance().getClient().renderEngine.bindTexture(TEXTURE_OFF);
    }

    GL11.glPushMatrix();
    GL11.glTranslated(x + 0.5, y + 1.5, z + 0.5);
    GL11.glRotatef(180F, 0.0F, 0.0F, 1F);

    // Rotate the model
    switch (tileEntity.getDirection())
    {
      case UP:
        GL11.glRotatef(-90, 1f, 0f, 0);
        GL11.glTranslated(0, -1, 1);
        break;
View Full Code Here

  public static final ModelCoercionDeriver MODEL = new ModelCoercionDeriver();

  @Override
  public void renderTileEntityAt(TileEntity t, double x, double y, double z, float f)
  {
    TileMFFS tileEntity = (TileMFFS) t;

    /**
     * Render Model
     */
    if (tileEntity.isActive())
    {
      FMLClientHandler.instance().getClient().renderEngine.bindTexture(TEXTURE_ON);
    }
    else
    {
View Full Code Here

TOP

Related Classes of mffs.base.TileMFFS

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.