- 337
- 0
Доброго времени суток. Задался вопросом, раз менять Minecraft, так полностью. Товарищ показал его меню, хотя рассказать как он это сделал не хочет, подскажите пожалуйста, в каких файлах рыться на это?
Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
Спасибо, клиент то он мне скинул, а вот разобраться не могуMyxach написал(а):GuiMainMenu и GuiScreen
HanteR12372 написал(а):Спасибо, клиент то он мне скинул, а вот разобраться не могуMyxach написал(а):GuiMainMenu и GuiScreen
/**
* 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")};
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;
}