示例#1
0
 /** Draw the foreground layer for the GuiContainer (everything in front of the items) */
 @Override
 protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
   this.fontRenderer.drawString(
       "\u00a77" + LanguageUtility.getLocal("gui.tracker.freq"), 62, 6, 4210752);
   this.fontRenderer.drawString(
       LanguageUtility.getLocal("gui.tracker.freq") + ":", 15, 52, 4210752);
   this.textFieldFrequency.drawTextBox();
 }
 @EventHandler
 public void init(FMLInitializationEvent evt) {
   // Load Languages
   ResonantInduction.LOGGER.fine(
       "Languages Loaded:"
           + LanguageUtility.loadLanguages(Reference.LANGUAGE_DIRECTORY, Reference.LANGUAGES));
   // Set Mod Metadata
   Settings.setModMetadata(metadata, ID, NAME);
   proxy.init();
 }
 @Override
 public String getInvName() {
   return LanguageUtility.getLocal("gui.coordinator.name");
 }