Войти или зарегистрироваться

Туториал Как сделать достойный клиент 1.4.7, 1.5.2 и 1.6.2 (Файлы 1.6.4)

Убрать лишние кнопки из раздела "сетевая игра" в версии 1.7.10 можно заменив в GuiMultiplayerJava
Код:
public void func_146794_g()
    {
        this.buttonList.add(this.field_146810_r = new GuiButton(7, this.width / 2 - 154, this.height - 28, 70, 20, I18n.format("selectServer.edit", new Object[0])));
        this.buttonList.add(this.field_146808_t = new GuiButton(2, this.width / 2 - 74, this.height - 28, 70, 20, I18n.format("selectServer.delete", new Object[0])));
        this.buttonList.add(this.field_146809_s = new GuiButton(1, this.width / 2 - 154, this.height - 52, 100, 20, I18n.format("selectServer.select", new Object[0])));
        this.buttonList.add(new GuiButton(4, this.width / 2 - 50, this.height - 52, 100, 20, I18n.format("selectServer.direct", new Object[0])));
        this.buttonList.add(new GuiButton(3, this.width / 2 + 4 + 50, this.height - 52, 100, 20, I18n.format("selectServer.add", new Object[0])));
        this.buttonList.add(new GuiButton(8, this.width / 2 + 4, this.height - 28, 70, 20, I18n.format("selectServer.refresh", new Object[0])));
        this.buttonList.add(new GuiButton(0, this.width / 2 + 4 + 76, this.height - 28, 75, 20, I18n.format("gui.cancel", new Object[0])));
        this.func_146790_a(this.field_146803_h.func_148193_k());
на
Код:
public void func_146794_g()
    {
        this.buttonList.add(this.field_146810_r = new GuiButton(7, this.width / 2 - 154, this.height - 128, 70, 20, I18n.format("selectServer.edit", new Object[0])));
        this.buttonList.add(this.field_146808_t = new GuiButton(2, this.width / 2 - 74, this.height - 128, 70, 20, I18n.format("selectServer.delete", new Object[0])));
        this.buttonList.add(this.field_146809_s = new GuiButton(1, this.width / 2 - 154, this.height - 52, 152, 20, I18n.format("selectServer.select", new Object[0])));
        this.buttonList.add(new GuiButton(4, this.width / 2 + 2, this.height - 52, 152, 20, I18n.format("selectServer.direct", new Object[0])));
        //this.buttonList.add(new GuiButton(3, this.width / 2 + 4 + 50, this.height - 128, 100, 20, I18n.format("selectServer.add", new Object[0])));
        this.buttonList.add(new GuiButton(8, this.width / 2 - 154, this.height - 28, 152, 20, I18n.format("selectServer.refresh", new Object[0])));
        this.buttonList.add(new GuiButton(0, this.width / 2 + 2, this.height - 28, 152, 20, I18n.format("gui.cancel", new Object[0])));
        this.func_146790_a(this.field_146803_h.func_148193_k());
        this.field_146810_r.visible = false;
        this.field_146808_t.visible = false;
 
Убрать лишние кнопки из раздела "сетевая игра" в версии 1.7.10 можно заменив в GuiMultiplayerJava
Код:
public void func_146794_g()
    {
        this.buttonList.add(this.field_146810_r = new GuiButton(7, this.width / 2 - 154, this.height - 28, 70, 20, I18n.format("selectServer.edit", new Object[0])));
        this.buttonList.add(this.field_146808_t = new GuiButton(2, this.width / 2 - 74, this.height - 28, 70, 20, I18n.format("selectServer.delete", new Object[0])));
        this.buttonList.add(this.field_146809_s = new GuiButton(1, this.width / 2 - 154, this.height - 52, 100, 20, I18n.format("selectServer.select", new Object[0])));
        this.buttonList.add(new GuiButton(4, this.width / 2 - 50, this.height - 52, 100, 20, I18n.format("selectServer.direct", new Object[0])));
        this.buttonList.add(new GuiButton(3, this.width / 2 + 4 + 50, this.height - 52, 100, 20, I18n.format("selectServer.add", new Object[0])));
        this.buttonList.add(new GuiButton(8, this.width / 2 + 4, this.height - 28, 70, 20, I18n.format("selectServer.refresh", new Object[0])));
        this.buttonList.add(new GuiButton(0, this.width / 2 + 4 + 76, this.height - 28, 75, 20, I18n.format("gui.cancel", new Object[0])));
        this.func_146790_a(this.field_146803_h.func_148193_k());
на
Код:
public void func_146794_g()
    {
        this.buttonList.add(this.field_146810_r = new GuiButton(7, this.width / 2 - 154, this.height - 128, 70, 20, I18n.format("selectServer.edit", new Object[0])));
        this.buttonList.add(this.field_146808_t = new GuiButton(2, this.width / 2 - 74, this.height - 128, 70, 20, I18n.format("selectServer.delete", new Object[0])));
        this.buttonList.add(this.field_146809_s = new GuiButton(1, this.width / 2 - 154, this.height - 52, 152, 20, I18n.format("selectServer.select", new Object[0])));
        this.buttonList.add(new GuiButton(4, this.width / 2 + 2, this.height - 52, 152, 20, I18n.format("selectServer.direct", new Object[0])));
        //this.buttonList.add(new GuiButton(3, this.width / 2 + 4 + 50, this.height - 128, 100, 20, I18n.format("selectServer.add", new Object[0])));
        this.buttonList.add(new GuiButton(8, this.width / 2 - 154, this.height - 28, 152, 20, I18n.format("selectServer.refresh", new Object[0])));
        this.buttonList.add(new GuiButton(0, this.width / 2 + 2, this.height - 28, 152, 20, I18n.format("gui.cancel", new Object[0])));
        this.func_146790_a(this.field_146803_h.func_148193_k());
        this.field_146810_r.visible = false;
        this.field_146808_t.visible = false;

А Поиск локальных серверов убирал?
Я нашёл как только выпилить строки сами:
Файл: ServerListEntryLanScan.java
Комментируем строчки № 15 и 34.
 
я поиск локалок убирать не стал, так же как и кнопки опен лан и директ конект, если я добавлю функцию игры офлайн, возможно мои игроки захотят поиграть по локалке с мои клиентом
3ki36sfuPrM.jpg

erOYCRGP30U.jpg
GCsAaPuhHfY.jpg
dEQ6zTVfdN0.jpg
xq0OROm8lSU.jpg
 
я поиск локалок убирать не стал, так же как и кнопки опен лан и директ конект, если я добавлю функцию игры офлайн, возможно мои игроки захотят поиграть по локалке с мои клиентом
3ki36sfuPrM.jpg

erOYCRGP30U.jpg
GCsAaPuhHfY.jpg
dEQ6zTVfdN0.jpg
xq0OROm8lSU.jpg
Скинь пожалуйста папку mcp, ибо не пойму как майнкрафт реобсуфицировать.
 
Код:
src\minecraft\net\minecraft\client\entity\EntityPlayerSP.java:21: warning: [deprecation] ISidedInventory in net.minecraftforge.common has been deprecated

import net.minecraft.client.particle.EntityPickupFX;

                        ^

src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:502: warning: [deprecation] getSizeInventorySide(ForgeDirection) in ISidedInventory has been deprecated

    public int getSizeInventorySide(ForgeDirection side)

               ^

src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:485: warning: [deprecation] getStartInventorySide(ForgeDirection) in ISidedInventory has been deprecated

    public int getStartInventorySide(ForgeDirection side)

               ^

src\minecraft\net\minecraft\item\Item.java:1118: warning: [deprecation] IArmorTextureProvider in net.minecraftforge.common has been deprecated

        return isArmorProvider ? ((IArmorTextureProvider)this).getArmorTextureFile(stack) : null;

                                   ^

src\minecraft\cpw\mods\fml\client\modloader\ModLoaderClientHelper.java:88: error: cannot find symbol

        MapDifference<Class<? extends Entity>, Render> difference = Maps.difference(RenderManager.instance.entityRenderMap, renderers, Equivalence.identity());

                                                                                                                                                  ^

  symbol:   method identity()

  location: class Equivalence

src\minecraft\net\minecraft\src\ModLoader.java:632: warning: [deprecation] registerBlock(Block) in GameRegistry has been deprecated

        GameRegistry.registerBlock(block);

                    ^

src\minecraft\net\minecraft\src\ModLoader.java:643: warning: [deprecation] registerBlock(Block,Class<? extends ItemBlock>) in GameRegistry has been deprecated

        GameRegistry.registerBlock(block, itemclass);

                    ^

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

1 error

6 warnings
Где ошибка?:oops:
 
Код:
src\minecraft\net\minecraft\client\entity\EntityPlayerSP.java:21: warning: [deprecation] ISidedInventory in net.minecraftforge.common has been deprecated

import net.minecraft.client.particle.EntityPickupFX;

                        ^

src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:502: warning: [deprecation] getSizeInventorySide(ForgeDirection) in ISidedInventory has been deprecated

    public int getSizeInventorySide(ForgeDirection side)

               ^

src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:485: warning: [deprecation] getStartInventorySide(ForgeDirection) in ISidedInventory has been deprecated

    public int getStartInventorySide(ForgeDirection side)

               ^

src\minecraft\net\minecraft\item\Item.java:1118: warning: [deprecation] IArmorTextureProvider in net.minecraftforge.common has been deprecated

        return isArmorProvider ? ((IArmorTextureProvider)this).getArmorTextureFile(stack) : null;

                                   ^

src\minecraft\cpw\mods\fml\client\modloader\ModLoaderClientHelper.java:88: error: cannot find symbol

        MapDifference<Class<? extends Entity>, Render> difference = Maps.difference(RenderManager.instance.entityRenderMap, renderers, Equivalence.identity());

                                                                                                                                                  ^

  symbol:   method identity()

  location: class Equivalence

src\minecraft\net\minecraft\src\ModLoader.java:632: warning: [deprecation] registerBlock(Block) in GameRegistry has been deprecated

        GameRegistry.registerBlock(block);

                    ^

src\minecraft\net\minecraft\src\ModLoader.java:643: warning: [deprecation] registerBlock(Block,Class<? extends ItemBlock>) in GameRegistry has been deprecated

        GameRegistry.registerBlock(block, itemclass);

                    ^

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

1 error

6 warnings
Где ошибка?:oops:
Ослеп? src\minecraft\net\minecraft\src\ModLoader.java
и так далее.
 
Ослеп? src\minecraft\net\minecraft\src\ModLoader.java
и так далее.
И что дальше? Попытался поменять кодировки на файлах. На Клиент Хелпер и на Блок Рендерер Хандлер поставил UTF-8 без BOM, на Кей Бинлинг Хандлере UTF-8. В итоге выбивает две ошибки:
Код:
src\minecraft\cpw\mods\fml\client\modloader\ModLoaderKeyBindingHandler.java:1: error: illegal character: \65279
?/*
^
src\minecraft\cpw\mods\fml\client\modloader\ModLoaderKeyBindingHandler.java:13: error: class, interface, or enum expected
package cpw.mods.fml.client.modloader;
        ^
2 errors
Пытался ставить другие кодировки на Кей Биндинге, но в итоге он выбивает мне 1 ошибку и 6 предупреждений:

Код:
src\minecraft\net\minecraft\client\entity\EntityPlayerSP.java:21: warning: [deprecation] ISidedInventory in net.minecraftforge.common has been deprecated
import net.minecraft.client.particle.EntityPickupFX;
                        ^
src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:502: warning: [deprecation] getSizeInventorySide(ForgeDirection) in ISidedInventory has been deprecated
    public int getSizeInventorySide(ForgeDirection side)
               ^
src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:485: warning: [deprecation] getStartInventorySide(ForgeDirection) in ISidedInventory has been deprecated
    public int getStartInventorySide(ForgeDirection side)
               ^
src\minecraft\net\minecraft\item\Item.java:1118: warning: [deprecation] IArmorTextureProvider in net.minecraftforge.common has been deprecated
        return isArmorProvider ? ((IArmorTextureProvider)this).getArmorTextureFile(stack) : null;
                                   ^
src\minecraft\cpw\mods\fml\client\modloader\ModLoaderClientHelper.java:88: error: cannot find symbol
        MapDifference<Class<? extends Entity>, Render> difference = Maps.difference(RenderManager.instance.entityRenderMap, renderers, Equivalence.identity());                                                                                                                                                ^
  symbol:   method identity()
  location: class Equivalence
src\minecraft\net\minecraft\src\ModLoader.java:632: warning: [deprecation] registerBlock(Block) in GameRegistry has been deprecated
        GameRegistry.registerBlock(block);
                    ^
src\minecraft\net\minecraft\src\ModLoader.java:643: warning: [deprecation] registerBlock(Block,Class<? extends ItemBlock>) in GameRegistry has been deprecated
        GameRegistry.registerBlock(block, itemclass);
                    ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
6 warnings
 
10 минута
Убираем "Поиск локальных серверов оОо" в сетевой игре


На 93 строке в файле GuiSlotServer.java мы находим метод
this.func_77249_c(par1, par2, par3, par4, par5Tessellator);
и комментируем его так:
//this.func_77249_c(par1, par2, par3, par4, par5Tessellator);
Где это можно найти в 1.7.10 ?
 
скиньте пожалуйста готовые class файлы "848 версия forge" 1,5,2
 
Может кто то за деньги сделать для 1.6.4 как я скажу.
 
Создал по инструкции, все настроил,
внешне, кнопки, пути, скрипты..
версия 1.5.2 форж forge-1.5.2-7.8.1.738..
локально через батник проверки запускаю сервер и клиент все работает, но PlayerXXX кончно, т.к.авторизации нет..
а через лаунер запускаю вылезает ошибка с закорючками:Снимок.PNG
 
SnimokPNG_5152507_16091082.png
Снова выручайте,когда первый раз качал форж такая же ошибка была ,чё делать ??не может скачать минекрафт_сервер1,6,4
 
Не работает ссылка на скачивание lib
 
Назад
Верх