Меню игры 1.6.2

Статус
В этой теме нельзя размещать новые ответы.
Доброго времени суток. Задался вопросом, раз менять Minecraft, так полностью. Товарищ показал его меню, хотя рассказать как он это сделал не хочет, подскажите пожалуйста, в каких файлах рыться на это?
 
HanteR12372 написал(а):
Myxach написал(а):
Спасибо, клиент то он мне скинул, а вот разобраться не могу
 
Код:
/**


     * Texture allocated for the current viewport of the main menu's panorama background.


     */


    private DynamicTexture viewportTexture;


    private boolean field_96141_q = true;


    private static boolean field_96140_r;


    private static boolean field_96139_s;


    private final Object field_104025_t = new Object();


    private String field_92025_p;


    private String field_104024_v;


    private static final ResourceLocation splashTexts = new ResourceLocation("texts/splashes.txt");


    private static final ResourceLocation minecraftTitleTextures = new ResourceLocation("textures/gui/title/minecraft.png");





    /** An array of all the paths to the panorama pictures. */


    private static final ResourceLocation[] titlePanoramaPaths = new ResourceLocation[] {new ResourceLocation("textures/gui/title/background/panorama_0.png"), new ResourceLocation("textures/gui/title/background/panorama_1.png"), new ResourceLocation("textures/gui/title/background/panorama_2.png"), new ResourceLocation("textures/gui/title/background/panorama_3.png"), new ResourceLocation("textures/gui/title/background/panorama_4.png"), new ResourceLocation("textures/gui/title/background/panorama_5.png")};

   вот что отвечает за задний фон
[merge_posts_bbcode]Добавлено: 06.08.2014 11:24:40[/merge_posts_bbcode]

Код:
    private void addSingleplayerMultiplayerButtons(int par1, int par2)
    {
        this.buttonList.add(new GuiButton(1, this.width / 2 - 100, par1, I18n.getString("menu.singleplayer")));
        this.buttonList.add(new GuiButton(2, this.width / 2 - 100, par1 + par2 * 1, I18n.getString("menu.multiplayer")));
        //If Minecraft Realms is enabled, halve the size of both buttons and set them next to eachother.
        fmlModButton = new GuiButton(6, this.width / 2 - 100, par1 + par2 * 2, "Mods");
        this.buttonList.add(fmlModButton);

        minecraftRealmsButton = new GuiButton(14, this.width / 2 - 100, par1 + par2 * 2, I18n.getString("menu.online"));
        minecraftRealmsButton.width = 98;
        minecraftRealmsButton.xPosition = this.width / 2 - 100;
        this.buttonList.add(minecraftRealmsButton);
        this.minecraftRealmsButton.drawButton = false;
    }
А вот функция которая отвечает за создания Кнопки Сетевой и обычной игры
 
Спасибо большое, всё работает! Тему можно закрыть
 
Статус
В этой теме нельзя размещать новые ответы.
Назад
Сверху