Package net.minecraft.util

Examples of net.minecraft.util.ResourceLocation


  @Override
  protected void drawGuiContainerBackgroundLayer(float var1, int mouseX, int mouseY)
  {
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    mc.renderEngine.func_110577_a(new ResourceLocation(Info.TITLE_PACKED.toLowerCase(), Info.GUI_TEX_ADJ_TRANSFORMER));

    // Draw GUI background graphic
    drawTexturedModalRect(xLoc, yLoc, 0, 0, xSize, ySize);

    // Draw title text
View Full Code Here


      FontRenderer fr = mc.fontRenderer;

      if (texture != null)
      {
        GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
        mc.renderEngine.func_110577_a(new ResourceLocation(Info.TITLE_PACKED.toLowerCase(), texture));
      }

      isHovering = xLoc >= xPosition && yLoc >= yPosition && xLoc < xPosition + width && yLoc < yPosition + height;

      int hoverState = this.getHoverState(isHovering);
View Full Code Here

  @Override
  protected void drawGuiContainerBackgroundLayer(float var1, int mouseX, int mouseY)
  {
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    mc.renderEngine.func_110577_a(new ResourceLocation(Info.TITLE_PACKED.toLowerCase(), Info.GUI_TEX_EMITTER));

    // Draw GUI background graphic
    drawTexturedModalRect(xLoc, yLoc, 0, 0, xSize, ySize);

    // Draw title text
View Full Code Here

  @Override
  protected void drawGuiContainerBackgroundLayer(float var1, int var2, int var3)
  {
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    mc.renderEngine.func_110577_a(new ResourceLocation(Info.TITLE_PACKED.toLowerCase(), Info.GUI_TEX_CHARGING_BENCH));

    // Draw GUI background
    drawTexturedModalRect(xLoc, yLoc, 0, 0, xSize, ySize);

    // Energy bar
View Full Code Here

  @Override
  protected void drawGuiContainerBackgroundLayer(float var1, int mouseX, int mouseY)
  {
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
    mc.renderEngine.func_110577_a(new ResourceLocation(Info.TITLE_PACKED.toLowerCase(), Info.GUI_TEX_STORAGE_MONITOR));

    // Draw GUI background
    drawTexturedModalRect(xLoc, yLoc, 0, 0, xSize, ySize);

    // Draw energy meter
View Full Code Here

    super(p_i1021_1_, p_i1021_2_, p_i1021_3_, p_i1021_4_, p_i1021_5_, p_i1021_6_);
  }

  @Override
  public void func_146113_a(SoundHandler p_146113_1_)  {
    p_146113_1_.playSound(PositionedSoundRecord.func_147674_a(new ResourceLocation("botania:lexiconPage"), 1.0F));
  }
View Full Code Here

    float time = 5F;
    if(inside)
      ticksHovered = Math.min(time, ticksHovered + gui.timeDelta);
    else ticksHovered = Math.max(0F, ticksHovered - gui.timeDelta);

    ResourceLocation resource;
    if(category == null)
      resource = fallbackResource;
    else resource = category.getIcon();
    if(resource == null)
      resource = fallbackResource;
View Full Code Here

    shadowSize = 0.0F;
  }

  @Override
  protected ResourceLocation getEntityTexture(Entity entity) {
    return new ResourceLocation(LibResources.MODEL_PIXIE);
  }
View Full Code Here

    render(p_147500_1_, (float) p_147500_2_, (float) p_147500_4_, (float) p_147500_6_, p_147500_1_.getBlockMetadata() & 7, p_147500_1_.func_145906_b() * 360 / 16.0F, p_147500_1_.func_145904_a(), p_147500_1_.func_152108_a());
  }

  public void render(TileEntitySkull skull, float par1, float par2, float par3, int par4, float par5, int par6, GameProfile gameProfile) {
    if (par6 == 3) {
      ResourceLocation resourcelocation = AbstractClientPlayer.locationStevePng;
      if (gameProfile != null) {
        Minecraft minecraft = Minecraft.getMinecraft();
        Map map = minecraft.func_152342_ad().func_152788_a(gameProfile);

        if (map.containsKey(MinecraftProfileTexture.Type.SKIN)) {
View Full Code Here

public class ModelPylon implements IPylonModel {

  private IModelCustom model;

  public ModelPylon() {
    model = AdvancedModelLoader.loadModel(new ResourceLocation(LibResources.OBJ_MODEL_PYLON));
  }
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.