mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
GUI tweaks
This commit is contained in:
parent
8ef2e4f030
commit
2ea60af5a4
@ -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);
|
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);
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
10
src/main/java/com/hbm/handler/SiegeOrchestrator.java
Normal file
10
src/main/java/com/hbm/handler/SiegeOrchestrator.java
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
package com.hbm.handler;
|
||||||
|
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
public class SiegeOrchestrator {
|
||||||
|
|
||||||
|
public static void update(World world) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -58,7 +58,7 @@ public class GUIReactorResearch extends GuiInfoContainer {
|
|||||||
@Override
|
@Override
|
||||||
public void drawScreen(int mouseX, int mouseY, float f) {
|
public void drawScreen(int mouseX, int mouseY, float f) {
|
||||||
super.drawScreen(mouseX, mouseY, f);
|
super.drawScreen(mouseX, mouseY, f);
|
||||||
|
|
||||||
String[] text = new String[] {
|
String[] text = new String[] {
|
||||||
"The reactor has to be submerged",
|
"The reactor has to be submerged",
|
||||||
"in water on its sides to cool.",
|
"in water on its sides to cool.",
|
||||||
@ -66,6 +66,12 @@ public class GUIReactorResearch extends GuiInfoContainer {
|
|||||||
"adjacent breeding reactors."
|
"adjacent breeding reactors."
|
||||||
};
|
};
|
||||||
this.drawCustomInfoStat(mouseX, mouseY, guiLeft - 14, guiTop + 23, 16, 16, guiLeft - 6, guiTop + 23 + 16, text);
|
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
|
@Override
|
||||||
@ -137,8 +143,9 @@ public class GUIReactorResearch extends GuiInfoContainer {
|
|||||||
field.setText(0 + "");
|
field.setText(0 + "");
|
||||||
displays[2].drawNumber(0);
|
displays[2].drawNumber(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.drawInfoPanel(guiLeft - 14, guiTop + 23, 16, 16, 3);
|
this.drawInfoPanel(guiLeft - 14, guiTop + 23, 16, 16, 3);
|
||||||
|
this.drawInfoPanel(guiLeft - 14, guiTop + 31, 16, 16, 2);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,7 @@ public class ItemPlateFuel extends ItemFuelRod {
|
|||||||
@Override
|
@Override
|
||||||
public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) {
|
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 + " " + getFunctionDesc());
|
||||||
list.add(EnumChatFormatting.DARK_AQUA + " Yield of " + BobMathUtil.getShortNumber(lifeTime) + " events");
|
list.add(EnumChatFormatting.DARK_AQUA + " Yield of " + BobMathUtil.getShortNumber(lifeTime) + " events");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user