При добавлении в рецепт предмета который я создал,выдаёт краш

Версия Minecraft
1.7.10
31
0
Здравствуйте. Я создал свой материал "Сталь" дабы разнообразить мод, эту же сталь добавил в рецепт меча. Но после его добавления начали выдавать крашы.
Вот код рецепта:
Java:
GameRegistry.addRecipe(new ItemStack(Main.SwordRage,1),
                new Object[] { " #Y", "X#Y", "XX ",
                        ('#'), Items.iron_ingot, ('X'), Items.stick, ('Y'), Main.SteelRS });

Код предмета:
Java:
SteelRS = new SteelRS().setUnlocalizedName("SteelRS");
        GameRegistry.registerItem(SteelRS, "SteelRS");

Материал зарегистрировал,прописал. Но в краш логе выдаёт вот это
---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 31.10.18 1:13
Description: Initializing game

java.lang.NullPointerException: Initializing game
at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:230)
at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250)
at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245)
at ru.retsik.Main.preLoad(Main.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:480)
at net.minecraft.client.Minecraft.run(Minecraft.java:878)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:230)
at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250)
at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245)
at ru.retsik.Main.preLoad(Main.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:480)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:878)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.7.0_71, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 828904808 bytes (790 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCH FML{7.10.99.99} [Forge Mod Loader] (forgeBin-1.7.10-10.13.4.1558-1.7.10.jar)
UCH Forge{10.13.4.1558} [Minecraft Forge] (forgeBin-1.7.10-10.13.4.1558-1.7.10.jar)
UCH DarkDays Client{0.1} [DarkDays Client] (bin)
UCE RSBlockTools{v1.0} [RSBlocksTools] (bin)
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 411.70' Renderer: 'GeForce GTX 1050 Ti/PCIe/SSE2'
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: GeForce GTX 1050 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 411.70, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
 
Краш-лог
crash-2018-10-31_01.13.39-client
Краш-лог:
crash-2018-10-31_01.13.39-client
Решение
Java:
package ru.retsik;

import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Item.ToolMaterial;

@Mod(
modid = "RSBlockTools",
name="RSBlocksTools",
version="v1.0"
)
public class Main {

public static final ToolMaterial PICKMAT = net.minecraftforge.common.util.EnumHelper.addToolMaterial("PICKMAT", 3, 2548, 15.0F...
31
0
Java:
package ru.retsik;

import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Item.ToolMaterial;

@Mod(
        modid = "RSBlockTools",
        name="RSBlocksTools",
        version="v1.0"
)



public class Main {
    
    public static final ToolMaterial PICKMAT = net.minecraftforge.common.util.EnumHelper.addToolMaterial("PICKMAT", 3, 2548, 15.0F, 12.0F, 44);
    
    public static Block RetSik;
    public static Item HAHelmet;
    public static Item HAPlate;
    public static Item HAPants;
    public static Item HABoots;
    public static Block RetDark;
    public static Item PickRaxe;
    public static Item SwordRage;
    public static Item SteelRS;
    
    

    @EventHandler
       public void Init(FMLInitializationEvent event) {
    
        // *** Кирпичи *** //
        RetSik = new RetSik (Material.rock);
        RetDark = new RetDark (Material.rock);

        // *** Броня *** //
        HAHelmet = new RSArmor(0, 0).setUnlocalizedName("HAHelmet").setTextureName("minecraft:HAHelmet");
        HAPlate = new RSArmor(0, 1).setUnlocalizedName("HAPlate").setTextureName("minecraft:HAPlate");
        HAPants = new RSArmor(0, 2).setUnlocalizedName("HAPants").setTextureName("minecraft:HAPants");
        HABoots = new RSArmor(0, 3).setUnlocalizedName("HABoots").setTextureName("minecraft:HABoots");
        
       }
     public void preInit(FMLInitializationEvent event) {
            GameRegistry.registerBlock(RetDark, "RetDark");
            GameRegistry.addSmelting(RetDark, new ItemStack(Blocks.brick_block, 5), 1.0F);
            // *** Steel *** //
            SteelRS = new SteelRS().setUnlocalizedName("SteelRS");
            GameRegistry.registerItem(SteelRS, "SteelRS");
            GameRegistry.addSmelting(Items.iron_ingot, new ItemStack(Main.SteelRS, 1), 1.0F);
            
            // *** Sword *** //
            SwordRage = new SwordRage().setUnlocalizedName("SwordRage");
            GameRegistry.registerItem(SwordRage, "swordrage");
            
            // *** Кирка *** //
            PickRaxe = new PickRaxe().setUnlocalizedName("pickraxe");
            GameRegistry.registerItem(PickRaxe, "pickraxe");
            
            // *** Рецепт и переплавка Кирпича *** //
            GameRegistry.addRecipe(new ItemStack(Main.RetDark,1),
                    new Object[] { "#X#", "X#X", "#Y#",
                            ('#'), Blocks.brick_block, ('X'), Blocks.gravel, ('Y'), Items.clay_ball});
            GameRegistry.registerBlock(RetSik, "RetSik");
            GameRegistry.addSmelting(RetSik, new ItemStack(Blocks.brick_block, 5), 1.0F);
            GameRegistry.addSmelting(RetDark, new ItemStack(Blocks.brick_block, 5), 1.0F);
            
            // *** Рецепт Кирки *** //
            GameRegistry.addRecipe(new ItemStack(Main.PickRaxe,1),
                    new Object[] { "#XY", " T ", "LTL",
                            ('#'), Items.redstone, ('X'), Items.emerald, ('Y'), Items.diamond, ('T'), Items.stick, ('L'), Items.gold_ingot});
            
            // *** Снова рецепт кирпича *** //
            GameRegistry.addRecipe(new ItemStack(Main.RetSik,1),
                    new Object[] { "#X#", "X#X", "#Y#",
                            ('#'), Blocks.brick_block, ('X'), Blocks.wool, ('Y'), Items.gunpowder});
            
            GameRegistry.registerItem(HAHelmet, "HAHelmet");
            GameRegistry.registerItem(HAPlate, "HAPlate");
            GameRegistry.registerItem(HAPants, "HAPants");
            GameRegistry.registerItem(HABoots, "HABoots");
            // *** Крафт Меча *** //
            GameRegistry.addRecipe(new ItemStack(Main.SwordRage,1),
                    new Object[] { " #Y", "X#Y", "XX ",
                            ('#'), Items.iron_ingot, ('X'), Items.stick, ('Y'), Main.SteelRS });
            
     }
public void preLoad(FMLPreInitializationEvent event)
{   

                }
        
}
Что я неправильно сделал?
Все блоки,инструменты пропали.
 
31
0
Java:
package ru.retsik;

import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Item.ToolMaterial;

@Mod(
        modid = "RSBlockTools",
        name="RSBlocksTools",
        version="v1.0"
)



public class Main {
    
    public static final ToolMaterial PICKMAT = net.minecraftforge.common.util.EnumHelper.addToolMaterial("PICKMAT", 3, 2548, 15.0F, 12.0F, 44);
    
    public static Block RetSik;
    public static Item HAHelmet;
    public static Item HAPlate;
    public static Item HAPants;
    public static Item HABoots;
    public static Block RetDark;
    public static Item PickRaxe;
    public static Item SwordRage;
    public static Item SteelRS;
    
    

    @EventHandler
       public void Init(FMLInitializationEvent event) {
        // *** Рецепт Кирпича *** //
        GameRegistry.addRecipe(new ItemStack(Main.RetDark,1),
                            new Object[] { "#X#", "X#X", "#Y#",
                                    ('#'), Blocks.brick_block, ('X'), Blocks.gravel, ('Y'), Items.clay_ball});

        // *** Крафт Меча *** //
        GameRegistry.addRecipe(new ItemStack(Main.SwordRage,1),
                            new Object[] { " #Y", "X#Y", "XX ",
                                    ('#'), Items.iron_ingot, ('X'), Items.stick, ('Y'), Main.SteelRS });
        
        // *** Снова рецепт кирпича *** //
        GameRegistry.addRecipe(new ItemStack(Main.RetSik,1),
                new Object[] { "#X#", "X#X", "#Y#",
                        ('#'), Blocks.brick_block, ('X'), Blocks.wool, ('Y'), Items.gunpowder});
    

        // *** Рецепт Кирки *** //
        GameRegistry.addRecipe(new ItemStack(Main.PickRaxe,1),
                new Object[] { "#XY", " T ", "LTL",
                        ('#'), Items.redstone, ('X'), Items.emerald, ('Y'), Items.diamond, ('T'), Items.stick, ('L'), Items.gold_ingot});


       }
     public void preInit(FMLInitializationEvent event) {
        GameRegistry.registerBlock(RetDark, "RetDark");
        GameRegistry.addSmelting(RetDark, new ItemStack(Blocks.brick_block, 5), 1.0F);
            // *** Steel *** //
            SteelRS = new SteelRS().setUnlocalizedName("SteelRS");
        GameRegistry.registerItem(SteelRS, "SteelRS");
        GameRegistry.registerBlock(RetSik, "RetSik");
        // *** Кирпичи *** //
        RetSik = new RetSik (Material.rock);
        RetDark = new RetDark (Material.rock);

            
            
            // *** Sword *** //
        SwordRage = new SwordRage().setUnlocalizedName("SwordRage");
        GameRegistry.registerItem(SwordRage, "swordrage");
        GameRegistry.addSmelting(RetSik, new ItemStack(Blocks.brick_block, 5), 1.0F);
        GameRegistry.addSmelting(RetDark, new ItemStack(Blocks.brick_block, 5), 1.0F);
            
        // *** Броня *** //
        HAHelmet = new RSArmor(0, 0).setUnlocalizedName("HAHelmet").setTextureName("minecraft:HAHelmet");
        HAPlate = new RSArmor(0, 1).setUnlocalizedName("HAPlate").setTextureName("minecraft:HAPlate");
        HAPants = new RSArmor(0, 2).setUnlocalizedName("HAPants").setTextureName("minecraft:HAPants");
        HABoots = new RSArmor(0, 3).setUnlocalizedName("HABoots").setTextureName("minecraft:HABoots");
        
        
            // *** Кирка *** //
        PickRaxe = new PickRaxe().setUnlocalizedName("pickraxe");
        GameRegistry.registerItem(PickRaxe, "pickraxe");
        GameRegistry.addSmelting(Items.iron_ingot, new ItemStack(Main.SteelRS, 1), 1.0F);
            
            
            
            
            
            
            GameRegistry.registerItem(HAHelmet, "HAHelmet");
            GameRegistry.registerItem(HAPlate, "HAPlate");
            GameRegistry.registerItem(HAPants, "HAPants");
            GameRegistry.registerItem(HABoots, "HABoots");
        
     }
public void preLoad(FMLPreInitializationEvent event)
{   

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

timaxa007

Модератор
5,831
409
672
Java:
package ru.retsik;

import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Item.ToolMaterial;

@Mod(
modid = "RSBlockTools",
name="RSBlocksTools",
version="v1.0"
)
public class Main {

public static final ToolMaterial PICKMAT = net.minecraftforge.common.util.EnumHelper.addToolMaterial("PICKMAT", 3, 2548, 15.0F, 12.0F, 44);

public static Block RetSik;
public static Item HAHelmet;
public static Item HAPlate;
public static Item HAPants;
public static Item HABoots;
public static Block RetDark;
public static Item PickRaxe;
public static Item SwordRage;
public static Item SteelRS;



@EventHandler
public void preInit(FMLPreInitializationEvent event) {

// *** Кирпичи *** //
RetSik = new RetSik (Material.rock);
GameRegistry.registerBlock(RetSik, "RetSik");

RetDark = new RetDark (Material.rock);
GameRegistry.registerBlock(RetDark, "RetDark");


// *** Steel *** //
SteelRS = new SteelRS().setUnlocalizedName("SteelRS");
GameRegistry.registerItem(SteelRS, "SteelRS");

// *** Sword *** //
SwordRage = new SwordRage().setUnlocalizedName("SwordRage");
GameRegistry.registerItem(SwordRage, "swordrage");


// *** Кирка *** //
PickRaxe = new PickRaxe().setUnlocalizedName("pickraxe");
GameRegistry.registerItem(PickRaxe, "pickraxe");



// *** Броня *** //
HAHelmet = new RSArmor(0, 0).setUnlocalizedName("HAHelmet").setTextureName("minecraft:HAHelmet");
GameRegistry.registerItem(HAHelmet, "HAHelmet");

HAPlate = new RSArmor(0, 1).setUnlocalizedName("HAPlate").setTextureName("minecraft:HAPlate");
GameRegistry.registerItem(HAPlate, "HAPlate");

HAPants = new RSArmor(0, 2).setUnlocalizedName("HAPants").setTextureName("minecraft:HAPants");
GameRegistry.registerItem(HAPants, "HAPants");

HABoots = new RSArmor(0, 3).setUnlocalizedName("HABoots").setTextureName("minecraft:HABoots");
GameRegistry.registerItem(HABoots, "HABoots");

}

@EventHandler
public void init(FMLInitializationEvent event) {
// *** Рецепт Кирпича *** //
GameRegistry.addRecipe(new ItemStack(Main.RetDark,1),
new Object[] { "#X#", "X#X", "#Y#",
('#'), Blocks.brick_block, ('X'), Blocks.gravel, ('Y'), Items.clay_ball});

// *** Крафт Меча *** //
GameRegistry.addRecipe(new ItemStack(Main.SwordRage,1),
new Object[] { " #Y", "X#Y", "XX ",
('#'), Items.iron_ingot, ('X'), Items.stick, ('Y'), Main.SteelRS });

// *** Снова рецепт кирпича *** //
GameRegistry.addRecipe(new ItemStack(Main.RetSik,1),
new Object[] { "#X#", "X#X", "#Y#",
('#'), Blocks.brick_block, ('X'), Blocks.wool, ('Y'), Items.gunpowder});


// *** Рецепт Кирки *** //
GameRegistry.addRecipe(new ItemStack(Main.PickRaxe,1),
new Object[] { "#XY", " T ", "LTL",
('#'), Items.redstone, ('X'), Items.emerald, ('Y'), Items.diamond, ('T'), Items.stick, ('L'), Items.gold_ingot});

GameRegistry.addSmelting(RetDark, new ItemStack(Blocks.brick_block, 5), 1.0F);
GameRegistry.addSmelting(RetSik, new ItemStack(Blocks.brick_block, 5), 1.0F);
GameRegistry.addSmelting(RetDark, new ItemStack(Blocks.brick_block, 5), 1.0F);
GameRegistry.addSmelting(Items.iron_ingot, new ItemStack(Main.SteelRS, 1), 1.0F);
}

}
 
Сверху