1.6.4 Некорректная работа модификации на сервере

Всем доброго времени суток проблема вот в чём:
Сделал модификацию, решил протестить, запустил на клиенте, всё работает, без каких либо проблем. Поставил на сервер, и тут появилась проблема.

Непосредственно в игре я не смог пользоваться своим модом, то есть блоки ставить нельзя, все предметы выбрасывать тоже нельзя(они просто исчезают), пользоваться то бишь нельзя никаким образом.

В чём может быть проблема?
 
Если под "поставил" подразумевается запихнуть мод в папку "mods", которая в папке с сервером, то да - поставил))
 
2,955
12
1. Мод в зипе?
2. Мод на сервере и клиенте одинаковый?
3. На сервере точно есть фордж?
 
Вообще не могу понять в чём может быть причина, делал всё в основном по учебнику, некоторые моменты здесь на форуме помогали, но самодеятельностью особо не занимался...
 
905
5
Лыл. Проверь лог сервера на наличие рабочего мода.
 
2014-09-14 17:19:40 [INFO] Replaced 111 ore recipies
2014-09-14 17:19:46 [INFO] Loading properties
2014-09-14 17:19:46 [INFO] Default game type: SURVIVAL
2014-09-14 17:19:47 [INFO] This server is running MCPC+ version git-MCPC-Plus-jenkins-MCPC-Plus-164-263 (MC: 1.6.4) (Implementing API version 1.6.4-R2.1-SNAPSHOT)
2014-09-14 17:19:48 [INFO] Generating keypair
2014-09-14 17:19:49 [INFO] Starting Minecraft server on *:25565
2014-09-14 17:19:49 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2014-09-14 17:19:49 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2014-09-14 17:19:49 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2014-09-14 17:19:49 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2014-09-14 17:19:50 [INFO] Preparing level "world"
2014-09-14 17:19:50 [INFO] Registered command debug with permission node vanilla.command.debug
2014-09-14 17:19:50 [INFO] Registered command spreadplayers with permission node vanilla.command.spreadplayers
2014-09-14 17:19:50 [INFO] Registered command playsound with permission node vanilla.command.playsound
2014-09-14 17:19:50 [INFO] Registered command scoreboard with permission node vanilla.command.scoreboard
2014-09-14 17:19:51 [INFO] Preparing start region for level 0 (Dimension: 0, Seed: 590775226502250142)
2014-09-14 17:19:52 [INFO] Preparing spawn area: 5%
2014-09-14 17:19:53 [INFO] Preparing spawn area: 18%
2014-09-14 17:19:54 [INFO] Preparing spawn area: 40%
2014-09-14 17:19:55 [INFO] Preparing spawn area: 59%
2014-09-14 17:19:56 [INFO] Preparing spawn area: 80%
2014-09-14 17:19:58 [INFO] Preparing spawn area: 91%
2014-09-14 17:19:59 [INFO] Preparing spawn area: 99%
2014-09-14 17:19:59 [INFO] Server permissions file permissions.yml is empty, ignoring it
2014-09-14 17:19:59 [INFO] Done (9,197s)! For help, type "help" or "?"

Лог последнего запуска, про мод вообще тишина, что не так-то?)
 
905
5
Поздравляю. У тебя дохлый архив с модом. И это не весь лог, лол.
 
176
0
Мод должен быть строго в zip или jar и не иметь внутри ничего кроме class и png файлов. У меня как-то мод не загружался из-за PSD в нём.
[merge_posts_bbcode]Добавлено: 20.09.2014 01:14:05[/merge_posts_bbcode]

Мод должен быть строго в zip или jar и не иметь внутри ничего кроме class и png файлов. У меня как-то мод не загружался из-за PSD в нём.
 
laz2727 написал(а):
Поздравляю. У тебя дохлый архив с модом. И это не весь лог, лол.
Да, я скинул не весь лог.

Каким образом он стал дохлым то? И почему этот же "дохлый" архив стабильно работает на клиенте тогда?
[merge_posts_bbcode]Добавлено: 20.09.2014 09:34:23[/merge_posts_bbcode]

Volkula написал(а):
Мод должен быть строго в zip или jar и не иметь внутри ничего кроме class и png файлов. У меня как-то мод не загружался из-за PSD в нём.
Да, это я знаю и учёл, в архиве нет ничего кроме .class и .png
 
Код:
package assets.testmod.src;

import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.EnumHelper;
import net.minecraftforge.common.MinecraftForge;
import assets.testmod.src.armor.Energylv1Boots;
import assets.testmod.src.armor.Energylv1Chest;
import assets.testmod.src.armor.Energylv1Helmet;
import assets.testmod.src.armor.Energylv1Leggins;
import assets.testmod.src.block.Basalt;
import assets.testmod.src.block.BasaltBrick;
import assets.testmod.src.block.BlockTest;
import assets.testmod.src.block.RubinOre;
import assets.testmod.src.block.adamantOre;
import assets.testmod.src.block.ametistOre;
import assets.testmod.src.block.copperOre;
import assets.testmod.src.block.giazintOre;
import assets.testmod.src.block.platinaOre;
import assets.testmod.src.block.saphereOre;
import assets.testmod.src.block.titanOre;
import assets.testmod.src.block.topazOre;
import assets.testmod.src.instruments.CopperAxe;
import assets.testmod.src.instruments.CopperHoe;
import assets.testmod.src.instruments.CopperPickaxe;
import assets.testmod.src.instruments.CopperSpade;
import assets.testmod.src.instruments.EnergyPickaxeLv1;
import assets.testmod.src.instruments.EnergyPickaxeLv2;
import assets.testmod.src.instruments.EnergyPickaxeLv3;
import assets.testmod.src.instruments.IronMolot;
import assets.testmod.src.instruments.PlatinaAxe;
import assets.testmod.src.instruments.PlatinaHoe;
import assets.testmod.src.instruments.PlatinaPickaxe;
import assets.testmod.src.instruments.PlatinaSpade;
import assets.testmod.src.instruments.TinSword;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

@Mod(modid=ModInfo.MODID, name=ModInfo.MODNAME, version=ModInfo.MODVERSION)
@NetworkMod(clientSideRequired = true, serverSideRequired = false)


public class TestMod {
    
    @Instance("testmod")

    public static TestMod instance;

     public static CreativeTabs mineVisionTab = new MineVisionTab(CreativeTabs.getNextID(),"MineVisionTab");

    
    public static final EnumToolMaterial TIN = EnumHelper.addToolMaterial("TIN", 2, 230, 4.0F, 2.0F, 10);
    
    public static final Item TinPickaxe = new TinPickaxe(3500).setUnlocalizedName("Tin pickaxe");
    public static final Item TinAxe = new TinAxe(3501).setUnlocalizedName("Tin axe");
    public static final Item TinSpade = new TinSpand(3502).setUnlocalizedName("Tin shovel");
    public static final Item TinHoe = new TinHoe(3503).setUnlocalizedName("Tin hoe");
    public static final Item TinSword = new TinSword(3512).setUnlocalizedName("Tin Sword");
    
    public static final EnumToolMaterial COPPER = EnumHelper.addToolMaterial("COPPER", 2, 15, 4.0F, 2.0F, 10);
    
    public static final Item CopperPickaxe = new CopperPickaxe(3504).setUnlocalizedName("Copper pickaxe");
    public static final Item CopperAxe = new CopperAxe(3505).setUnlocalizedName("Copper axe");
    public static final Item CopperSpade = new CopperSpade(3506).setUnlocalizedName("Copper shovel");
    public static final Item CopperHoe = new CopperHoe(3507).setUnlocalizedName("Copper hoe");
    
    public static final EnumToolMaterial PLATINA = EnumHelper.addToolMaterial("PLATINA", 3, 800, 6.0F, 2.0F, 10);
    
    public static final Item PlatinaPickaxe = new PlatinaPickaxe(3508).setUnlocalizedName("Platina Pickaxe");
    public static final Item PlatinaAxe = new PlatinaAxe(3509).setUnlocalizedName("Platina axe");
    public static final Item PlatinaSpade = new PlatinaSpade(3510).setUnlocalizedName("Platina shovel");
    public static final Item PlatinaHoe = new PlatinaHoe(3511).setUnlocalizedName("Copper hoe");
    
    public static final EnumToolMaterial ENERGY1 = EnumHelper.addToolMaterial("ENERGY1", 4, 800, 6.0F, 2.0F, 10);
    
    public static final Item EnergyPickaxeLv1 = new EnergyPickaxeLv1(3520).setUnlocalizedName("Energy Pickaxe Lv1");
    
    public static final EnumToolMaterial ENERGY2 = EnumHelper.addToolMaterial("ENERGY2", 4, 1200, 8.0F, 2.0F, 10);
        
    public static final Item EnergyPickaxeLv2 = new EnergyPickaxeLv2(3530).setUnlocalizedName("Energy Pickaxe Lv2");
    
    public static final EnumToolMaterial ENERGY3 = EnumHelper.addToolMaterial("ENERGY3", 4, 1800, 10.0F, 3.0F, 10);
    
    public static final Item EnergyPickaxeLv3 = new EnergyPickaxeLv3(3540).setUnlocalizedName("Energy Pickaxe Lv3");
    
    public static Item TinIngot = new TinIngot(2021).setUnlocalizedName("Tin ingot");
    public static Item CopperIngot = new CopperIngot(2022).setUnlocalizedName("Copper ingot");
    public static Item RubinDust = new RubinDust(2023).setUnlocalizedName("Rubin dust");
    public static Item GiazintDust = new GiazintDust(2024).setUnlocalizedName("Giazint dust");
    public static Item TopazDust = new TopazDust(2025).setUnlocalizedName("Topaz dust");
    public static Item SaphereDust = new SaphereDust(2026).setUnlocalizedName("Saphere dust");
    public static Item AmetistDust = new AmetistDust(2027).setUnlocalizedName("Ametist dust");
    public static Item Saphere = new Saphere(2028).setUnlocalizedName("Saphere");
    public static Item Giazint = new Giazint(2029).setUnlocalizedName("Giazint");
    public static Item Rubin = new Rubin(2030).setUnlocalizedName("Rubin");
    public static Item Amethyst = new Amethyst(2031).setUnlocalizedName("Amethyst");
    public static Item ModuleS1 = new ModuleS1(2033).setUnlocalizedName("ModuleS1");
    public static Item ModuleFirePr1 = new ModuleFirePr1(2034).setUnlocalizedName("ModuleFirePr1");
    public static Item Topaz = new Topaz(2035).setUnlocalizedName("Topaz");
    public static Item BreakPickaxeLv1 = new BreakPickaxeLv1(2036).setUnlocalizedName("BreakPickaxeLv1");
    public static Item ModuleEnergy1 = new ModuleEnergy1(2037).setUnlocalizedName("ModuleEnergy1");
    public static Item BreakPickaxeLv2 = new BreakPickaxeLv2(2038).setUnlocalizedName("BreakPickaxeLv2");
    public static Item BreakPickaxeLv3 = new BreakPickaxeLv3(2039).setUnlocalizedName("BreakPickaxeLv3");
    public static Item IronStick = new IronStick(2040).setUnlocalizedName("IronStick");
    public static Item EPLv1Tip = new EPLv1Tip(2041).setUnlocalizedName("EPLv1Tip");
    public static Item SteelIngot = new SteelIngot(2042).setUnlocalizedName("SteelIngot");
    public static Item IronMolot = new IronMolot(2043).setUnlocalizedName("IronMolot");
    public static Item IngotPlatina = new IngotPlatina(2044).setUnlocalizedName("IngotPlatina");
    public static Item BarPlatina = new BarPlatina(2045).setUnlocalizedName("IngotPlatina");
    public static Item DustAdamantit = new DustAdamantit(2046).setUnlocalizedName("DustAdamantit");
    public static Item IngotTitan = new IngotTitan(2047).setUnlocalizedName("IngotTitan");

    
    public static EnumArmorMaterial TINMETAL = EnumHelper.addArmorMaterial("TINMETAL", 300, new int[] {2, 6, 4, 2}, 10);
        
        public static ItemArmor tinHelmet = (ItemArmor) new TinHelmet (3200, TestMod.TINMETAL, 0, 0).setUnlocalizedName("Tin helmet");
        public static ItemArmor tinChest = (ItemArmor) new TinChest(3201, TestMod.TINMETAL, 1, 1).setUnlocalizedName("Tin chest");
        public static ItemArmor tinLeggins = (ItemArmor) new TinLeggins(3202, TestMod.TINMETAL, 2, 2).setUnlocalizedName("Tin leggins");
        public static ItemArmor tinBoots = (ItemArmor) new TinBoots(3203, TestMod.TINMETAL, 3, 3).setUnlocalizedName("Tin boots");
    
    public static EnumArmorMaterial ENERGYA1 = EnumHelper.addArmorMaterial("ENERGYA1", 600, new int[] {3, 6, 4, 3}, 10);
        
        public static ItemArmor Energylv1Helmet = (ItemArmor) new Energylv1Helmet (3204, TestMod.ENERGYA1, 0, 0).setUnlocalizedName("Energy helmet");
        public static ItemArmor Energylv1Chest = (ItemArmor) new Energylv1Chest(3205, TestMod.ENERGYA1, 1, 1).setUnlocalizedName("Energy Chest");
        public static ItemArmor Energylv1Leggins = (ItemArmor) new Energylv1Leggins(3206, TestMod.ENERGYA1, 2, 2).setUnlocalizedName("Energy leggins");
        public static ItemArmor Energylv1Boots = (ItemArmor) new Energylv1Boots(3207, TestMod.ENERGYA1, 3, 3).setUnlocalizedName("Energy boots");
       
        @EventHandler
        public void modLoad(FMLInitializationEvent event)
        {

        }
        
       
     public static final Block blockTest = new BlockTest(3000).setUnlocalizedName("Tin ore");
     public static final Block copperOre = new copperOre(3001).setUnlocalizedName("Copper ore");
     public static final Block rubinOre = new RubinOre(3002).setUnlocalizedName("Rubin ore");
     public static final Block platinaOre = new platinaOre(3003).setUnlocalizedName("Platina ore");
     public static final Block titanOre = new titanOre(3004).setUnlocalizedName("Titan ore");
     public static final Block giazintOre = new giazintOre(3005).setUnlocalizedName("Giazint ore");
     public static final Block topazOre = new topazOre(3006).setUnlocalizedName("Topaz ore");
     public static final Block adamantOre = new adamantOre(3007).setUnlocalizedName("Adamant ore");
     public static final Block ametistOre = new ametistOre(3008).setUnlocalizedName("Ametist ore");
     public static final Block saphereOre = new saphereOre(3009).setUnlocalizedName("Saphere ore");
     public static final Block Basalt = new Basalt(200).setUnlocalizedName("Basalt");
     public static final Block BasaltBrick = new BasaltBrick(201).setUnlocalizedName("Basalt Brick");
     


     
        @Mod.Instance(ModInfo.MODID)
        public static TestMod testmod;
    
        @EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {
            
    }
    
    @EventHandler
    public void init(FMLInitializationEvent event)
    {


        
        MinecraftForge.setBlockHarvestLevel(titanOre, "pickaxe", 3);
        MinecraftForge.setBlockHarvestLevel(platinaOre, "pickaxe", 3);
        MinecraftForge.setBlockHarvestLevel(giazintOre, "pickaxe", 2);
        MinecraftForge.setBlockHarvestLevel(rubinOre, "pickaxe", 2);
        MinecraftForge.setBlockHarvestLevel(blockTest, "pickaxe", 1);
        MinecraftForge.setBlockHarvestLevel(topazOre, "pickaxe", 2);
        
        GameRegistry.registerBlock(blockTest);
        LanguageRegistry.addName(blockTest, "Tin ore");
        GameRegistry.registerBlock(copperOre);
        LanguageRegistry.addName(copperOre, "Copper ore");
        GameRegistry.registerBlock(rubinOre);
        LanguageRegistry.addName(rubinOre, "Rubin ore");
        GameRegistry.registerBlock(platinaOre);
        LanguageRegistry.addName(platinaOre, "Platina ore");
        GameRegistry.registerBlock(titanOre);
        LanguageRegistry.addName(titanOre, "Titan ore");
        GameRegistry.registerBlock(giazintOre);
        LanguageRegistry.addName(giazintOre, "Giazint ore");
        GameRegistry.registerBlock(topazOre);
        LanguageRegistry.addName(topazOre, "Topaz ore");
        GameRegistry.registerBlock(adamantOre);
        LanguageRegistry.addName(adamantOre, "Adamant ore");
        GameRegistry.registerBlock(ametistOre);
        LanguageRegistry.addName(ametistOre, "Ametist ore");
        GameRegistry.registerBlock(saphereOre);
        LanguageRegistry.addName(saphereOre, "Saphere ore");
        GameRegistry.registerBlock(Basalt);
        LanguageRegistry.addName(Basalt, "basalt");
        GameRegistry.registerBlock(BasaltBrick);
        LanguageRegistry.addName(BasaltBrick, "basalt brick");
        
        
        GameRegistry.registerWorldGenerator(new TitanOreGenerator());
        GameRegistry.registerWorldGenerator(new TestBlockGenerator());
        GameRegistry.registerWorldGenerator(new CopperOreGenerator());
        GameRegistry.registerWorldGenerator(new RubinOreGenerator());
        GameRegistry.registerWorldGenerator(new PlatinaBlockGenerator());
        GameRegistry.registerWorldGenerator(new GiazintOreGenerator());
        GameRegistry.registerWorldGenerator(new TopazOreGenerator());
        GameRegistry.registerWorldGenerator(new AdamantOreGenerator());
        GameRegistry.registerWorldGenerator(new AmetistOreGenerator());
        GameRegistry.registerWorldGenerator(new SaphereOreGenerator());
        GameRegistry.registerWorldGenerator(new BasaltOreGenerator());

        
        GameRegistry.addSmelting(TestMod.RubinDust.itemID, new ItemStack(TestMod.Rubin, 1), 0.2F);
        GameRegistry.addSmelting(TestMod.blockTest.blockID, new ItemStack(TestMod.TinIngot, 1), 0.2F);
        GameRegistry.addSmelting(TestMod.copperOre.blockID, new ItemStack(TestMod.CopperIngot, 1), 0.2F);
        GameRegistry.addSmelting(TestMod.GiazintDust.itemID, new ItemStack(TestMod.Giazint, 1), 0.2F);
        GameRegistry.addSmelting(TestMod.AmetistDust.itemID, new ItemStack(TestMod.Amethyst, 1), 0.2F);
        GameRegistry.addSmelting(TestMod.SaphereDust.itemID, new ItemStack(TestMod.Saphere, 1), 0.2F);
        GameRegistry.addSmelting(TestMod.TopazDust.itemID, new ItemStack(TestMod.Topaz, 1), 0.2F);
        GameRegistry.addSmelting(TestMod.platinaOre.blockID, new ItemStack(TestMod.IngotPlatina, 1), 0.2F);
        GameRegistry.addSmelting(TestMod.titanOre.blockID, new ItemStack(TestMod.IngotTitan, 1), 0.2F);

        
        GameRegistry.addRecipe(new ItemStack(TestMod.ModuleFirePr1, 1), new Object[]{ "XXX", "XYX", "XXX", Character.valueOf('X'), Item.ingotGold, ('Y'), Item.diamond});
        GameRegistry.addRecipe(new ItemStack(TestMod.ModuleS1, 1), new Object[]{ "XXX", "XYX", "XXX", Character.valueOf('X'), Item.ingotIron, ('Y'), TestMod.Rubin});
        GameRegistry.addRecipe(new ItemStack(TestMod.TinPickaxe, 1), new Object[]{ "XXX", " Y ", " Y ", Character.valueOf('X'), TestMod.TinIngot, ('Y'), Item.stick});
        GameRegistry.addRecipe(new ItemStack(TestMod.TinAxe, 1), new Object[]{ "XX ", "XY ", " Y ", Character.valueOf('X'), TestMod.TinIngot, ('Y'), Item.stick});
        GameRegistry.addRecipe(new ItemStack(TestMod.TinSpade, 1), new Object[]{ " X ", " Y ", " Y ", Character.valueOf('X'), TestMod.TinIngot, ('Y'), Item.stick});
        GameRegistry.addRecipe(new ItemStack(TestMod.TinHoe, 1), new Object[]{ "XX ", " Y ", " Y ", Character.valueOf('X'), TestMod.TinIngot, ('Y'), Item.stick});
        GameRegistry.addRecipe(new ItemStack(TestMod.tinHelmet, 1), new Object[]{ "XXX", "X X", "   ", Character.valueOf('X'), TestMod.TinIngot});
        GameRegistry.addRecipe(new ItemStack(TestMod.tinChest, 1), new Object[]{ "X X", "XXX", "XXX", Character.valueOf('X'), TestMod.TinIngot});
        GameRegistry.addRecipe(new ItemStack(TestMod.tinLeggins, 1), new Object[]{ "XXX", "X X", "X X", Character.valueOf('X'), TestMod.TinIngot});
        GameRegistry.addRecipe(new ItemStack(TestMod.tinBoots, 1), new Object[]{ "   ", "X X", "X X", Character.valueOf('X'), TestMod.TinIngot});
        GameRegistry.addRecipe(new ItemStack(TestMod.CopperPickaxe, 1), new Object[]{ "XXX", " Y ", " Y ", Character.valueOf('X'), TestMod.CopperIngot, ('Y'), Item.stick});
        GameRegistry.addRecipe(new ItemStack(TestMod.CopperAxe, 1), new Object[]{ "XX ", "XY ", " Y ", Character.valueOf('X'), TestMod.CopperIngot, ('Y'), Item.stick});
        GameRegistry.addRecipe(new ItemStack(TestMod.CopperSpade, 1), new Object[]{ " X ", " Y ", " Y ", Character.valueOf('X'), TestMod.CopperIngot, ('Y'), Item.stick});
        GameRegistry.addRecipe(new ItemStack(TestMod.CopperHoe, 1), new Object[]{ "XX ", " Y ", " Y ", Character.valueOf('X'), TestMod.CopperIngot, ('Y'), Item.stick});
        GameRegistry.addRecipe(new ItemStack(TestMod.BasaltBrick, 1), new Object[]{ "   ", " XX", " XX", Character.valueOf('X'), TestMod.Basalt});
        GameRegistry.addRecipe(new ItemStack(TestMod.TinSword, 1), new Object[]{ " X ", " X ", " Y ", Character.valueOf('X'), TestMod.TinIngot, ('Y'), Item.stick});
        GameRegistry.addShapelessRecipe(new ItemStack(TestMod.EnergyPickaxeLv1, 1), new Object[] {TestMod.BreakPickaxeLv1, TestMod.ModuleEnergy1});
        GameRegistry.addRecipe(new ItemStack(TestMod.ModuleEnergy1, 1), new Object[]{ "YZY", "ZXZ", "YZY", Character.valueOf('X'), Block.blockRedstone, ('Y'), Item.ingotGold, ('Z'), TestMod.TinIngot});
        GameRegistry.addRecipe(new ItemStack(TestMod.IronStick, 1), new Object[]{ "  X", " X ", "X  ", Character.valueOf('X'), Item.ingotIron});
        GameRegistry.addRecipe(new ItemStack(TestMod.EnergyPickaxeLv1, 1), new Object[]{ "  X", " YZ", "Y  ", Character.valueOf('X'), TestMod.EPLv1Tip, ('Y'), TestMod.IronStick, ('Z'), TestMod.ModuleEnergy1});
        GameRegistry.addRecipe(new ItemStack(TestMod.BreakPickaxeLv1, 1), new Object[]{ "  X", " Y ", "Y  ", Character.valueOf('X'), TestMod.EPLv1Tip, ('Y'), TestMod.IronStick});
        GameRegistry.addRecipe(new ItemStack(TestMod.SteelIngot, 2), new Object[]{ " YX", "YXY", "XY ", Character.valueOf('X'), Item.coal, ('Y'), Item.ingotIron});
        GameRegistry.addRecipe(new ItemStack(TestMod.EPLv1Tip, 1), new Object[]{ "ZYZ", "YXY", "   ", Character.valueOf('X'), Item.redstone, ('Z'), Item.ingotIron, ('Y'), TestMod.SteelIngot});
        GameRegistry.addRecipe(new ItemStack(TestMod.BasaltBrick, 1),  new Object[]{ "   ", " XX", " XY", Character.valueOf('X'), TestMod.Basalt, ('Y'), TestMod.EnergyPickaxeLv1});
        GameRegistry.addRecipe(new ItemStack(TestMod.BarPlatina, 1),  new Object[]{ "   ", " YY", " X ", Character.valueOf('X'), TestMod.IronMolot, ('Y'), TestMod.IngotPlatina});
        GameRegistry.addRecipe(new ItemStack(TestMod.PlatinaPickaxe, 1), new Object[]{ "XXX", " Y ", " Y ", Character.valueOf('X'), TestMod.IngotPlatina, ('Y'), Item.stick});
        GameRegistry.addRecipe(new ItemStack(TestMod.PlatinaAxe, 1), new Object[]{ "XX ", "XY ", " Y ", Character.valueOf('X'), TestMod.IngotPlatina, ('Y'), Item.stick});
        GameRegistry.addRecipe(new ItemStack(TestMod.PlatinaSpade, 1), new Object[]{ " X ", " Y ", " Y ", Character.valueOf('X'), TestMod.IngotPlatina, ('Y'), Item.stick});
        GameRegistry.addRecipe(new ItemStack(TestMod.PlatinaHoe, 1), new Object[]{ "XX ", " Y ", " Y ", Character.valueOf('X'), TestMod.IngotPlatina, ('Y'), Item.stick});
        

        
        ItemStack Energylv1BootsDef1 = new ItemStack(Energylv1Boots); 
        Energylv1BootsDef1.setItemName("Energy boots(Module def.1)"); 
        Energylv1BootsDef1.addEnchantment(Enchantment.protection, 1); 
        Energylv1BootsDef1.hasEffect(); 
        GameRegistry.addRecipe(Energylv1BootsDef1, new Object[]{ "   ", " XY", "   ", Character.valueOf('X'), TestMod.Energylv1Boots, ('Y'), TestMod.ModuleS1});
        
        ItemStack Energylv1LegginsDef1 = new ItemStack(Energylv1Leggins); 
        Energylv1LegginsDef1.setItemName("Energy leggins(Module def.1)"); 
        Energylv1LegginsDef1.addEnchantment(Enchantment.protection, 1); 
        Energylv1LegginsDef1.hasEffect(); 
        GameRegistry.addRecipe(Energylv1LegginsDef1, new Object[]{ "   ", " XY", "   ", Character.valueOf('X'), TestMod.Energylv1Leggins, ('Y'), TestMod.ModuleS1});
        
        ItemStack Energylv1ChestDef1 = new ItemStack(Energylv1Chest); 
        Energylv1ChestDef1.setItemName("Energy chest(Module def.1)");
        Energylv1ChestDef1.addEnchantment(Enchantment.protection, 1); 
        Energylv1ChestDef1.hasEffect(); 
        GameRegistry.addRecipe(Energylv1ChestDef1, new Object[]{ "   ", " XY", "   ", Character.valueOf('X'), TestMod.Energylv1Chest, ('Y'), TestMod.ModuleS1});
        
        ItemStack Energylv1HelmetDef1 = new ItemStack(Energylv1Helmet); 
        Energylv1HelmetDef1.setItemName("Energy helmet(Module def.1)"); 
        Energylv1HelmetDef1.addEnchantment(Enchantment.protection, 1); 
        Energylv1HelmetDef1.hasEffect(); 
        GameRegistry.addRecipe(Energylv1HelmetDef1, new Object[]{ "   ", " XY", "   ", Character.valueOf('X'), TestMod.Energylv1Helmet, ('Y'), TestMod.ModuleS1});
        
        ItemStack Energylv1BootsDefFire1 = new ItemStack(Energylv1Boots); 
        Energylv1BootsDefFire1.setItemName("Energy boots(Module fire pr.1)"); 
        Energylv1BootsDefFire1.addEnchantment(Enchantment.fireProtection, 1); 
        Energylv1BootsDefFire1.hasEffect(); 
        GameRegistry.addRecipe(Energylv1BootsDefFire1, new Object[]{ "   ", " XY", "   ", Character.valueOf('X'), TestMod.Energylv1Boots, ('Y'), TestMod.ModuleFirePr1});
        
        ItemStack Energylv1LegginsDefFire1 = new ItemStack(Energylv1Leggins); 
        Energylv1LegginsDefFire1.setItemName("Energy leggins(Module fire pr.1)"); 
        Energylv1LegginsDefFire1.addEnchantment(Enchantment.fireProtection, 1); 
        Energylv1LegginsDefFire1.hasEffect(); 
        GameRegistry.addRecipe(Energylv1LegginsDefFire1, new Object[]{ "   ", " XY", "   ", Character.valueOf('X'), TestMod.Energylv1Leggins, ('Y'), TestMod.ModuleFirePr1});
   
        ItemStack Energylv1ChestDefFire1 = new ItemStack(Energylv1Chest); 
        Energylv1ChestDefFire1.setItemName("Energy chest(Module fire pr.1)"); 
        Energylv1ChestDefFire1.addEnchantment(Enchantment.fireProtection, 1); 
        Energylv1ChestDefFire1.hasEffect(); 
        GameRegistry.addRecipe(Energylv1ChestDefFire1, new Object[]{ "   ", " XY", "   ", Character.valueOf('X'), TestMod.Energylv1Chest, ('Y'), TestMod.ModuleFirePr1});
        
        ItemStack Energylv1HelmetDefFire1 = new ItemStack(Energylv1Helmet); 
        Energylv1HelmetDefFire1.setItemName("Energy helmet(Module fire pr.1)"); 
        Energylv1HelmetDefFire1.addEnchantment(Enchantment.fireProtection, 1); 
        Energylv1HelmetDefFire1.hasEffect(); 
        GameRegistry.addRecipe(Energylv1HelmetDefFire1, new Object[]{ "   ", " XY", "   ", Character.valueOf('X'), TestMod.Energylv1Helmet, ('Y'), TestMod.ModuleFirePr1});
    
        
        

    
    }
    
    @EventHandler
    public void postInit(FMLPostInitializationEvent event)
    {
        
    }

}
 

tox1cozZ

aka Agravaine
8,456
598
2,893
Код:
GameRegistry.registerWorldGenerator(new TitanOreGenerator());
        GameRegistry.registerWorldGenerator(new TestBlockGenerator());
        GameRegistry.registerWorldGenerator(new CopperOreGenerator());
        GameRegistry.registerWorldGenerator(new RubinOreGenerator());
        GameRegistry.registerWorldGenerator(new PlatinaBlockGenerator());
        GameRegistry.registerWorldGenerator(new GiazintOreGenerator());
        GameRegistry.registerWorldGenerator(new TopazOreGenerator());
        GameRegistry.registerWorldGenerator(new AdamantOreGenerator());
        GameRegistry.registerWorldGenerator(new AmetistOreGenerator());
        GameRegistry.registerWorldGenerator(new SaphereOreGenerator());
        GameRegistry.registerWorldGenerator(new BasaltOreGenerator());

Ясно...
 
Agravaine написал(а):
Код:
GameRegistry.registerWorldGenerator(new TitanOreGenerator());
        GameRegistry.registerWorldGenerator(new TestBlockGenerator());
        GameRegistry.registerWorldGenerator(new CopperOreGenerator());
        GameRegistry.registerWorldGenerator(new RubinOreGenerator());
        GameRegistry.registerWorldGenerator(new PlatinaBlockGenerator());
        GameRegistry.registerWorldGenerator(new GiazintOreGenerator());
        GameRegistry.registerWorldGenerator(new TopazOreGenerator());
        GameRegistry.registerWorldGenerator(new AdamantOreGenerator());
        GameRegistry.registerWorldGenerator(new AmetistOreGenerator());
        GameRegistry.registerWorldGenerator(new SaphereOreGenerator());
        GameRegistry.registerWorldGenerator(new BasaltOreGenerator());

Ясно...

Я знаю что код мусор мусорный) Но делал исключительно по учебнику на сайте в основном, тут никакой отсебятины)
 
Сверху