Re-added the title panorama - My eyes couldn't take Vanilla's any longer

This commit is contained in:
Adubbz 2015-04-07 22:40:46 +10:00
parent 2ef892aa30
commit 01e8c27573
10 changed files with 13 additions and 1 deletions

View File

@ -18,6 +18,7 @@ public class MiscConfigurationHandler
public static Configuration config;
public static boolean useBoPWorldTypeDefault;
public static boolean overrideTitlePanorama;
public static void init(File configFile)
{
@ -29,6 +30,7 @@ public class MiscConfigurationHandler
//TODO: Make this default to true once all biomes have been implemented
useBoPWorldTypeDefault = config.getBoolean("Default to BoP World Type", "GUI Settings", false, "Use the Biomes O' Plenty World Type by default when selecting a world.");
overrideTitlePanorama = config.getBoolean("Enable Biomes O\' Plenty Main Menu Panorama", "GUI Settings", true, "Override the main menu panorama and use ours instead (It\'s nicer!)");
}
catch (Exception e)
{

View File

@ -8,12 +8,21 @@
package biomesoplenty.core;
import net.minecraft.client.gui.GuiMainMenu;
import net.minecraft.util.ResourceLocation;
import biomesoplenty.common.config.MiscConfigurationHandler;
public class ClientProxy extends CommonProxy
{
public static ResourceLocation[] bopTitlePanoramaPaths = new ResourceLocation[] {new ResourceLocation("biomesoplenty:textures/gui/title/background/panorama_0.png"), new ResourceLocation("biomesoplenty:textures/gui/title/background/panorama_1.png"), new ResourceLocation("biomesoplenty:textures/gui/title/background/panorama_2.png"), new ResourceLocation("biomesoplenty:textures/gui/title/background/panorama_3.png"), new ResourceLocation("biomesoplenty:textures/gui/title/background/panorama_4.png"), new ResourceLocation("biomesoplenty:textures/gui/title/background/panorama_5.png")};
@Override
public void registerRenderers()
{
if (MiscConfigurationHandler.overrideTitlePanorama)
GuiMainMenu.titlePanoramaPaths = bopTitlePanoramaPaths;
//Entity rendering and other stuff will go here in future
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

View File

@ -1,6 +1,7 @@
public net.minecraft.client.gui.GuiScreen func_146283_a(Ljava/util/List;II)V #drawHoveringText
public net.minecraft.client.gui.GuiCreateWorld field_146320_D #field_146320_D
public net.minecraft.client.gui.GuiCreateWorld field_146331_K #field_146331_K
public-f net.minecraft.client.gui.GuiMainMenu field_73978_o #field_73978_o
public-f net.minecraft.world.biome.BiomeGenBase field_76756_M #biomeID
public net.minecraft.world.WorldType func_151358_j()Lnet/minecraft/world/WorldType; #setNotificationData

View File

@ -5,7 +5,7 @@
"version": "${mod_version}",
"mcversion": "${minecraft_version}",
"url": "www.minecraftforum.net/topic/1495041-",
"authorList": ["Adubbz", "Amnet", "cheeserolls", "Forstride", "ted80"],
"authorList": ["Adubbz", "Amnet", "Cheeserolls", "Forstride", "ted80"],
"credits": "enchilado, gamax92, Soaryn, Tim Rurkowski",
"logoFile": "assets/biomesoplenty/textures/gui/logo.png"
}]