Package net.minecraft.util

Examples of net.minecraft.util.ResourceLocation


  }

  @Override
  public void renderItem(ItemRenderType type, ItemStack item, Object... data)
  {
    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_solderingstation.png"));
    GL11.glPushMatrix();
    GL11.glTranslatef(0.5F, 1.5F, 0.5F);
    GL11.glScalef(1.0F, -1F, -1F);
    model.renderAll(0.0625f);
    GL11.glPopMatrix();
View Full Code Here


    return true;
  }

  public void renderItem(ItemRenderType type, ItemStack item, Object... data)
  {
    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_import_bus.png"));
    GL11.glPushMatrix();
    GL11.glTranslatef(-1.0F, 0.5F, 0.5F);
    GL11.glScalef(1.0F, -1F, -1F);
    GL11.glRotatef(180F, 1, 0, 0);
    GL11.glRotatef(-90F, 0, 0, 1);
View Full Code Here

  public void render(TileEntity tileEntity, double x, double y, double z)
  {
    if (((TileEntityLevelEmitterFluid) tileEntity).getRedstonePowerBySide(ForgeDirection.getOrientation(tileEntity.getBlockMetadata()).getOpposite()) > 0)
    {
      Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_level_emitter_on.png"));
    } else
    {
      Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_level_emitter_off.png"));
    }

    GL11.glPushMatrix();

    switch (ForgeDirection.getOrientation(tileEntity.getBlockMetadata()))
View Full Code Here

    return true;
  }

  public void renderItem(ItemRenderType type, ItemStack item, Object... data)
  {
    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_tank.png"));
    GL11.glPushMatrix();
    GL11.glTranslatef(0.5F, 0.5F, 0.5F);
    GL11.glScalef(1.0F, -1F, -1F);
    model.render(0.0625f);
    GL11.glScalef(1.0F, -1F, 1.0F);
View Full Code Here

    return true;
  }

  public void renderItem(ItemRenderType type, ItemStack item, Object... data)
  {
    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_storage_bus.png"));
    GL11.glPushMatrix();
    GL11.glTranslatef(-1.0F, 0.5F, 0.5F);
    GL11.glScalef(1.0F, -1F, -1F);
    GL11.glRotatef(180F, 1, 0, 0);
    GL11.glRotatef(-90F, 0, 0, 1);
View Full Code Here

  }

  public void renderAModelAt(TileEntity tile, double d, double d1, double d2, float f)
  {

    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_solderingstation.png"));
    GL11.glPushMatrix();
    GL11.glTranslatef((float) d + 0.5F, (float) d1 + 1.5F, (float) d2 + 0.5F);
    GL11.glScalef(1.0F, -1F, -1F);
    int orientation = tile.worldObj.getBlockMetadata(tile.xCoord, tile.yCoord, tile.zCoord);
    if (orientation == 4)
View Full Code Here

    Shape7.render(f5);
  }

  public void render(TileEntity tileEntity, double x, double y, double z)
  {
    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_storage_bus.png"));
    GL11.glPushMatrix();

    switch (ForgeDirection.getOrientation(tileEntity.getBlockMetadata()))
    {
    case UP:
View Full Code Here

    Shape4.render(f5);
  }

  public void render(TileEntity tileEntity, double x, double y, double z)
  {
    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_import_bus.png"));
    GL11.glPushMatrix();

    switch (ForgeDirection.getOrientation(tileEntity.getBlockMetadata()))
    {
    case UP:
View Full Code Here

    model = AdvancedModelLoader.loadModel("/assets/extracells/models/walrus.obj");
  }

  public void render()
  {
    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/walrus.png"));
    model.renderAll();
  }
View Full Code Here

    Shape4.render(f5);
  }

  public void render(TileEntity tileEntity, double x, double y, double z)
  {
    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_export_bus.png"));
    GL11.glPushMatrix();

    switch (ForgeDirection.getOrientation(tileEntity.getBlockMetadata()))
    {
    case UP:
View Full Code Here

TOP

Related Classes of net.minecraft.util.ResourceLocation

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.