GUI tweaks

This commit is contained in:
Bob 2022-01-17 23:02:06 +01:00
parent 8ef2e4f030
commit 2ea60af5a4
4 changed files with 29 additions and 3 deletions

View File

@ -53,5 +53,14 @@ public class MobConfig {
enableDucks = CommonConfig.createConfigBool(config, CATEGORY, "12.D00_enableDucks", "Whether pressing O should allow the player to duck", true);
enableMobGear = CommonConfig.createConfigBool(config, CATEGORY, "12.D01_enableMobGear", "Whether zombies and skeletons should have additional gear when spawning", true);
final String CAT_SIEGE = "SIEGE_MODE";
/// TODO ///
}
public static boolean enableDropships = true;
public static boolean enableSiegeBases = true;
public static double spawnDist = 64D;
public static boolean enableMissiles = false;
}

View File

@ -0,0 +1,10 @@
package com.hbm.handler;
import net.minecraft.world.World;
public class SiegeOrchestrator {
public static void update(World world) {
}
}

View File

@ -58,7 +58,7 @@ public class GUIReactorResearch extends GuiInfoContainer {
@Override
public void drawScreen(int mouseX, int mouseY, float f) {
super.drawScreen(mouseX, mouseY, f);
String[] text = new String[] {
"The reactor has to be submerged",
"in water on its sides to cool.",
@ -66,6 +66,12 @@ public class GUIReactorResearch extends GuiInfoContainer {
"adjacent breeding reactors."
};
this.drawCustomInfoStat(mouseX, mouseY, guiLeft - 14, guiTop + 23, 16, 16, guiLeft - 6, guiTop + 23 + 16, text);
String[] text2 = new String[] {
"This reactor is fueled with plate fuel.",
"The reaction needs a neutron source to start."
};
this.drawCustomInfoStat(mouseX, mouseY, guiLeft - 14, guiTop + 31, 16, 16, guiLeft - 6, guiTop + 31 + 16, text2);
}
@Override
@ -137,8 +143,9 @@ public class GUIReactorResearch extends GuiInfoContainer {
field.setText(0 + "");
displays[2].drawNumber(0);
}
this.drawInfoPanel(guiLeft - 14, guiTop + 23, 16, 16, 3);
this.drawInfoPanel(guiLeft - 14, guiTop + 31, 16, 16, 2);
}

View File

@ -30,7 +30,7 @@ public class ItemPlateFuel extends ItemFuelRod {
@Override
public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) {
list.add(EnumChatFormatting.YELLOW + "[Reactor Plate Fuel]");
list.add(EnumChatFormatting.YELLOW + "[Research Reactor Plate Fuel]");
list.add(EnumChatFormatting.DARK_AQUA + " " + getFunctionDesc());
list.add(EnumChatFormatting.DARK_AQUA + " Yield of " + BobMathUtil.getShortNumber(lifeTime) + " events");