// Path: src/main/java/brightspark/sparkshammers/init/SHBlocks.java
// public class SHBlocks
// {
//     public static List<Block> BLOCKS;
//     public static List<ItemBlock> ITEM_BLOCKS;
// 
//     public static BlockHammer blockHammer = new BlockHammer();
//     public static BlockHammerCraft blockHammerCraft = new BlockHammerCraft();
// 
//     public static void addBlock(Block block)
//     {
//         BLOCKS.add(block);
//         ITEM_BLOCKS.add((ItemBlock) new ItemBlock(block).setRegistryName(block.getRegistryName()));
//     }
// 
//     private static void init()
//     {
//         BLOCKS = new ArrayList<>();
//         ITEM_BLOCKS = new ArrayList<>();
// 
//         addBlock(blockHammer);
//         addBlock(blockHammerCraft);
//     }
// 
//     public static Block[] getBlocks()
//     {
//         if(BLOCKS == null) init();
//         return BLOCKS.toArray(new Block[0]);
//     }
// 
//     public static ItemBlock[] getItemBlocks()
//     {
//         if(ITEM_BLOCKS == null) init();
//         return ITEM_BLOCKS.toArray(new ItemBlock[0]);
//     }
// }


import brightspark.sparkshammers.init.SHBlocks;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.world.World;
package brightspark.sparkshammers.gui;


public class GuiHammerCraft extends GuiContainerBase<ContainerHammerCraft>
{
    public GuiHammerCraft(InventoryPlayer invPlayer, World world, int x, int y, int z)
    {
        super(new ContainerHammerCraft(invPlayer, world, x, y, z), "gui_hammer_craft");
        xSize = 184;
        ySize = 219;
    }

    @Override
    protected void drawGuiContainerForegroundLayer(int p_146979_1_, int p_146979_2_)
    {
        //Draw text
// Path: src/main/java/brightspark/sparkshammers/init/SHBlocks.java
// public class SHBlocks
// {
//     public static List<Block> BLOCKS;
//     public static List<ItemBlock> ITEM_BLOCKS;
// 
//     public static BlockHammer blockHammer = new BlockHammer();
//     public static BlockHammerCraft blockHammerCraft = new BlockHammerCraft();
// 
//     public static void addBlock(Block block)
//     {
//         BLOCKS.add(block);
//         ITEM_BLOCKS.add((ItemBlock) new ItemBlock(block).setRegistryName(block.getRegistryName()));
//     }
// 
//     private static void init()
//     {
//         BLOCKS = new ArrayList<>();
//         ITEM_BLOCKS = new ArrayList<>();
// 
//         addBlock(blockHammer);
//         addBlock(blockHammerCraft);
//     }
// 
//     public static Block[] getBlocks()
//     {
//         if(BLOCKS == null) init();
//         return BLOCKS.toArray(new Block[0]);
//     }
// 
//     public static ItemBlock[] getItemBlocks()
//     {
//         if(ITEM_BLOCKS == null) init();
//         return ITEM_BLOCKS.toArray(new ItemBlock[0]);
//     }
// }


// Path: src/main/java/brightspark/sparkshammers/gui/GuiHammerCraft.java
import brightspark.sparkshammers.init.SHBlocks;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.world.World;

package brightspark.sparkshammers.gui;


public class GuiHammerCraft extends GuiContainerBase<ContainerHammerCraft>
{
    public GuiHammerCraft(InventoryPlayer invPlayer, World world, int x, int y, int z)
    {
        super(new ContainerHammerCraft(invPlayer, world, x, y, z), "gui_hammer_craft");
        xSize = 184;
        ySize = 219;
    }

    @Override
    protected void drawGuiContainerForegroundLayer(int p_146979_1_, int p_146979_2_)
    {
        //Draw text
        fontRenderer.drawString(I18n.format(SHBlocks.blockHammerCraft.getUnlocalizedName() + ".name"), 12, 6, 4210752);