Package net.minecraft.util

Examples of net.minecraft.util.ResourceLocation


      GL11.glStencilFunc(GL11.GL_NEVER, 1, 0xFF);
      GL11.glStencilOp(GL11.GL_REPLACE, GL11.GL_KEEP, GL11.GL_KEEP);
      GL11.glStencilMask(0xFF);
      RenderItem.getInstance().renderItemAndEffectIntoGUI(mc.fontRenderer, mc.renderEngine, recipe.getOutput(), x, y);
     
      mc.renderEngine.bindTexture(new ResourceLocation(LibResources.GUI_MANA_HUD));
      int r = 10;
      int centerX = x + 8;
      int centerY = y + 8;
      int degs = (int) (360 * ((double) mana / (double) manaToGet));
      float a = 0.5F + 0.2F * ((float) Math.cos((double) ClientTickHandler.ticksInGame / 10) * 0.5F + 0.5F);
View Full Code Here


    createInventoryExposureButtons(guiLeft + 180, guiTop + 4);
  }

  @Override
  public ResourceLocation getGuiBackground() {
    return new ResourceLocation(BigReactors.GUI_DIRECTORY + "CyaniteReprocessor.png");
  }
View Full Code Here

 
  private static final int MINIMUM_SETTING_SELECTOR_ID = 10;
 
  public GuiReactorRedstonePort(Container container, TileEntityReactorRedstonePort tileentity) {
    super(container);
    _guiBackground = new ResourceLocation(BigReactors.GUI_DIRECTORY + "RedstonePort.png");
    port = tileentity;
   
    ySize = 204;
   
    btnMap = new HashMap<CircuitType, GuiSelectableButton>();
View Full Code Here

    updateIcons();
  }

  @Override
  public ResourceLocation getGuiBackground() {
    return new ResourceLocation(BigReactors.GUI_DIRECTORY + "ReactorController.png");
  }
View Full Code Here

    port = redNetPort;
   
    xSize = 255;
    ySize = 214;
   
    _guiBackground = new ResourceLocation(BigReactors.GUI_DIRECTORY + "RedNetPort.png");
  }
View Full Code Here

    updateIcons();
  }

  @Override
  public ResourceLocation getGuiBackground() {
    return new ResourceLocation(BigReactors.GUI_DIRECTORY + "ReactorAccessPort.png");
  }
View Full Code Here

    turbine = part.getTurbine();
  }

  @Override
  public ResourceLocation getGuiBackground() {
    return new ResourceLocation(BigReactors.GUI_DIRECTORY + "TurbineController.png");
  }
View Full Code Here

    entity = controlRod;
  }
 
  @Override
  public ResourceLocation getGuiBackground() {
    return new ResourceLocation (BigReactors.GUI_DIRECTORY + "BasicBackground.png");
  }
View Full Code Here

    public void initialize() {
        for (int i = 0; i < glyphs.length; ++i) {
            glyphs[i] = null;
        }
        try {
            final InputStream font = Minecraft.getMinecraft().getResourceManager().getResource(new ResourceLocation(Settings.resourceDomain(), "unifont.hex")).getInputStream();
            OpenComputers.log().info("Initialized Unifont glyph provider.");
            try {
                OpenComputers.log().info("Initializing Unifont glyph provider.");
                final BufferedReader input = new BufferedReader(new InputStreamReader(font));
                String line;
View Full Code Here

public class BLexiconCategory extends LexiconCategory {

  public BLexiconCategory(String unlocalizedName, int priority) {
    super(LibLexicon.CATEGORY_PREFIX + unlocalizedName);
    setIcon(new ResourceLocation(LibResources.PREFIX_CATEGORIES + unlocalizedName + ".png"));
    setPriority(priority);
  }
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.