Jump to content

Custom furnace problem


Nieue

Recommended Posts

hello, I've recently created a custom furnace (combiner) in my mod. and I have 0 errors on every class, but when I load up minecraft from within eclipse it gives a black screen.

 

Here are all of the classes that I created/edited for it

 

Mainclass:

 

package mods.DennisMod.COMMON;

 

import net.minecraft.block.Block;

import net.minecraft.block.BlockFurnace;

import net.minecraft.block.BlockOre;

import net.minecraft.block.BlockOreStorage;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.item.EnumArmorMaterial;

import net.minecraft.item.EnumToolMaterial;

import net.minecraft.item.Item;

import net.minecraft.item.ItemArmor;

import net.minecraft.item.ItemAxe;

import net.minecraft.item.ItemHoe;

import net.minecraft.item.ItemPickaxe;

import net.minecraft.item.ItemSpade;

import net.minecraft.item.ItemStack;

import net.minecraft.item.ItemSword;

import net.minecraft.item.crafting.FurnaceRecipes;

import net.minecraft.world.World;

import net.minecraftforge.common.Configuration;

import net.minecraftforge.common.EnumHelper;

import net.minecraftforge.common.MinecraftForge;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.Init;

import cpw.mods.fml.common.Mod.Instance;

import cpw.mods.fml.common.Mod.PreInit;

import cpw.mods.fml.common.SidedProxy;

import cpw.mods.fml.common.event.FMLInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

import cpw.mods.fml.common.network.NetworkRegistry;

import cpw.mods.fml.common.registry.GameRegistry;

import cpw.mods.fml.common.registry.LanguageRegistry;

import net.minecraft.block.material.Material;

 

 

@Mod(modid = "MoGems",name = "Mo' Gems and Ingots", version = "0.3.1")

@NetworkMod(clientSideRequired = true, serverSideRequired = false, channels = {"DennisMod"}, packetHandler = ModPacketHandler.class)

public class MoGems

{

 

public final static EnumToolMaterial DENNIS = EnumHelper.addToolMaterial("DENNIS", 3, 2500, 10.0F, 6, 10);

public final static EnumToolMaterial AMETHYST = EnumHelper.addToolMaterial("AMETHYST", 3, 5000, 25.0F, 15, 10);

public final static EnumToolMaterial MANGANESE = EnumHelper.addToolMaterial("MANGANESE", 3, 1000, 12.0F, 3, 12);

public final static EnumArmorMaterial EMERALD = EnumHelper.addArmorMaterial("EMERALD", 55, new int[]{4, 9, 5, 2}, 20);

 

@PreInit

public void preInit(FMLInitializationEvent event) {

 

}

 

public final static Item EmeraldSword = new ItemSword(6320, DENNIS).setMaxStackSize(1).setUnlocalizedName("emeraldsword");

public final static Item EmeraldPickaxe = new ItemPickaxe(6321, DENNIS).setMaxStackSize(1).setUnlocalizedName("emeraldpickaxe");

public final static Item EmeraldAxe = new ItemAxe(6322, DENNIS).setMaxStackSize(1).setUnlocalizedName("emeraldaxe");

public final static Item EmeraldShovel = new ItemSpade(6323, DENNIS).setMaxStackSize(1).setUnlocalizedName("emeraldshovel");

public final static Item EmeraldHoe = new ItemHoe(6324, DENNIS).setMaxStackSize(1).setUnlocalizedName("emeraldhoe");

public static Item EmeraldHelm  = new ItemArmor(6337, EMERALD, 5, 0).setMaxStackSize(1).setUnlocalizedName("emeraldhelmet");

public static Item EmeraldChest = new ItemArmor(6338, EMERALD, 5, 1).setMaxStackSize(1).setUnlocalizedName("emeraldchestplate");

public static Item EmeraldLegs = new ItemArmor(6339, EMERALD, 5, 2).setMaxStackSize(1).setUnlocalizedName("emeraldpants");

public static Item EmeraldBoots = new ItemArmor(6340, EMERALD, 5, 3).setMaxStackSize(1).setUnlocalizedName("emeraldboots");

 

 

public final static Item AmethystSword = new ItemSword(6326, AMETHYST).setMaxStackSize(1).setUnlocalizedName("amethystsword");

public final static Item AmethystPickaxe = new ItemPickaxe(6327, AMETHYST).setMaxStackSize(1).setUnlocalizedName("amethystpickaxe");

public final static Item AmethystAxe = new ItemAxe(6328, AMETHYST).setMaxStackSize(1).setUnlocalizedName("amethystaxe");

public final static Item AmethystShovel = new ItemSpade(6329, AMETHYST).setMaxStackSize(1).setUnlocalizedName("amethystshovel");

public final static Item AmethystHoe = new ItemHoe(6330, AMETHYST).setMaxStackSize(1).setUnlocalizedName("amethysthoe");

public final static Item Amethyst = new Amethyst(6325).setUnlocalizedName("amethyst");

public final static Block AmethystBlock = new AmethystBlock(4061).setHardness(5.0F).setResistance(10.0F).setUnlocalizedName("amethystblock");

 

 

public final static Block ManganeseOre = new BlockOre(4060).setHardness(5.0F).setResistance(10.0F).setUnlocalizedName("manganeseore");

public final static Item ManganeseIngot = new ManganeseIngot(6331).setUnlocalizedName("manganeseingot");

    public final static Item ManganeseSword = new ItemSword(6332, MANGANESE).setMaxStackSize(1).setUnlocalizedName("manganesesword"); 

    public final static Item ManganesePickaxe = new ItemPickaxe(6333, MANGANESE).setMaxStackSize(1).setUnlocalizedName("manganesepickaxe");

public final static Item ManganeseAxe = new ItemAxe(6334, MANGANESE).setMaxStackSize(1).setUnlocalizedName("manganeseaxe");

public final static Item ManganeseShovel = new ItemSpade(6335, MANGANESE).setMaxStackSize(1).setUnlocalizedName("manganeseshovel");

public final static Item ManganeseHoe = new ItemHoe(6336, MANGANESE).setMaxStackSize(1).setUnlocalizedName("manganesehoe");

public final static Block ManganeseBlock = new ManganeseBlock(4071).setHardness(5.0F).setResistance(10.0F).setUnlocalizedName("manganeseblock");

 

 

 

public final static CreativeTabs MoGems = new MoGemsTab(CreativeTabs.getNextID(), EmeraldSword.itemID, "MoGems", "Mo' Gems and Ingots");

 

private static final String armorFilenamePrefix[] = {

 

        "cloth", "chain", "iron", "diamond", "gold", "emerald"

 

    };

 

 

@SidedProxy(clientSide = "mods.DennisMod.client.ClientProxy", serverSide = "mods.DennisMod.common.CommonProxy")

public static CommonProxy Proxy;

 

@Instance

public static MoGems instance = new MoGems();

 

private GuiHandler guihandler = new GuiHandler();

 

public static Block CombinerIdle;

public static Block CombinerLit;

 

@Init

public void load(FMLInitializationEvent event)

{

GameRegistry.registerWorldGenerator(new ModGenerator());

 

CombinerIdle = new Combiner(7040, false).setHardness(3.5F).setUnlocalizedName("combineridle");

CombinerLit = new Combiner(7041, false).setHardness(3.5F).setUnlocalizedName("combinerlit");

 

EmeraldSword.setCreativeTab(MoGems);

EmeraldPickaxe.setCreativeTab(MoGems);

EmeraldAxe.setCreativeTab(MoGems);

EmeraldShovel.setCreativeTab(MoGems);

EmeraldHoe.setCreativeTab(MoGems);

EmeraldHelm.setCreativeTab(MoGems);

EmeraldChest.setCreativeTab(MoGems);

EmeraldLegs.setCreativeTab(MoGems);

EmeraldBoots.setCreativeTab(MoGems);

Amethyst.setCreativeTab(MoGems);

AmethystSword.setCreativeTab(MoGems);

AmethystPickaxe.setCreativeTab(MoGems);

AmethystAxe.setCreativeTab(MoGems);

AmethystShovel.setCreativeTab(MoGems);

AmethystHoe.setCreativeTab(MoGems);

AmethystBlock.setCreativeTab(MoGems);

ManganeseSword.setCreativeTab(MoGems);

ManganesePickaxe.setCreativeTab(MoGems);

ManganeseAxe.setCreativeTab(MoGems);

ManganeseShovel.setCreativeTab(MoGems);

ManganeseHoe.setCreativeTab(MoGems);

ManganeseOre.setCreativeTab(MoGems);

ManganeseIngot.setCreativeTab(MoGems);

ManganeseBlock.setCreativeTab(MoGems);

 

 

LanguageRegistry.addName(EmeraldSword, "Emerald Sword");

Proxy.registerRendering();

LanguageRegistry.addName(EmeraldPickaxe, "Emerald Pickaxe");

Proxy.registerRendering();

LanguageRegistry.addName(EmeraldAxe, "Emerald Axe");

Proxy.registerRendering();

LanguageRegistry.addName(EmeraldShovel, "Emerald Shovel");

Proxy.registerRendering();

LanguageRegistry.addName(EmeraldHoe, "Emerald Hoe");

Proxy.registerRendering();

LanguageRegistry.addName(EmeraldHelm, "Emerald Helmet");

Proxy.registerRendering();

LanguageRegistry.addName(EmeraldChest, "Emerald Chestplate");

Proxy.registerRendering();

LanguageRegistry.addName(EmeraldLegs, "Emerald Leggings");

Proxy.registerRendering();

LanguageRegistry.addName(EmeraldBoots, "Emerald Boots");

Proxy.registerRendering();

 

LanguageRegistry.addName(Amethyst, "Amethyst");

Proxy.registerRendering();

LanguageRegistry.addName(AmethystSword, "Amethyst Sword");

Proxy.registerRendering();

LanguageRegistry.addName(AmethystPickaxe, "Amethyst Pickaxe");

Proxy.registerRendering();

LanguageRegistry.addName(AmethystAxe, "Amethyst Axe");

Proxy.registerRendering();

LanguageRegistry.addName(AmethystShovel, "Amethyst Shovel");

Proxy.registerRendering();

LanguageRegistry.addName(AmethystHoe, "Amethyst Hoe");

Proxy.registerRendering();

LanguageRegistry.addName(AmethystBlock, "Amethyst Block");

Proxy.registerRendering();

 

LanguageRegistry.addName(ManganeseOre, "Manganese Ore");

Proxy.registerRendering();

LanguageRegistry.addName(ManganeseIngot, "Manganese Ingot");

Proxy.registerRendering();

LanguageRegistry.addName(ManganeseSword, "Manganese Sword");

Proxy.registerRendering();

LanguageRegistry.addName(ManganesePickaxe, "Manganese Pickaxe");

Proxy.registerRendering();

LanguageRegistry.addName(ManganeseAxe, "Manganese Axe");

Proxy.registerRendering();

LanguageRegistry.addName(ManganeseShovel, "Manganese Shovel");

Proxy.registerRendering();

LanguageRegistry.addName(ManganeseHoe, "Manganese Hoe");

Proxy.registerRendering();

LanguageRegistry.addName(ManganeseBlock, "Manganese Block");

Proxy.registerRendering();

LanguageRegistry.addName(CombinerIdle,"Material Combiner Idle");

Proxy.registerRendering();

LanguageRegistry.addName(CombinerLit, "Material Combiner Lit");

Proxy.registerRendering();

 

 

GameRegistry.registerBlock(AmethystBlock, "Amethyst.AmethystBlock");

GameRegistry.registerBlock(ManganeseOre, "Manganese.ManganeseOre");

GameRegistry.registerBlock(ManganeseBlock, "Manganese.ManganeseBlock");

GameRegistry.registerBlock(CombinerIdle, "Combiner.CombinerIdle");

GameRegistry.registerBlock(CombinerLit, "Combiner.CombinerLit");

 

GameRegistry.registerTileEntity(TileEntityCombiner.class, "TileEntityCombiner");

 

NetworkRegistry.instance().registerGuiHandler(this, guihandler);

 

MinecraftForge.setBlockHarvestLevel(ManganeseOre, "pickaxe", 3);

MinecraftForge.setBlockHarvestLevel(AmethystBlock, "pickaxe", 2);

 

ItemStack ema = new ItemStack(Item.emerald);

ItemStack stick = new ItemStack(Item.stick);

ItemStack quartz = new ItemStack(Item.netherQuartz);

ItemStack ame = new ItemStack(Amethyst);

ItemStack cha = new ItemStack(Item.coal, 1, 1);

ItemStack man = new ItemStack(ManganeseIngot);

ItemStack map = new ItemStack(ManganesePickaxe);

ItemStack maa = new ItemStack(ManganeseAxe);

ItemStack mas = new ItemStack(ManganeseShovel);

ItemStack mah = new ItemStack(ManganeseHoe);

ItemStack msw = new ItemStack(ManganeseSword);

ItemStack bmn = new ItemStack(ManganeseBlock);

 

GameRegistry.addRecipe(new ItemStack (EmeraldSword), "e", "e", "s",

's', stick, 'e', ema);

GameRegistry.addRecipe(new ItemStack (EmeraldPickaxe), "eee", " s ", " s ",

's', stick, 'e', ema);

GameRegistry.addRecipe(new ItemStack (EmeraldAxe), "ee ", "es ", " s ",

's', stick, 'e', ema);

GameRegistry.addRecipe(new ItemStack (EmeraldShovel), " e ", " s ", " s ",

's', stick, 'e', ema);

GameRegistry.addRecipe(new ItemStack (EmeraldHoe), "ee ", " s ", " s ",

's', stick, 'e', ema);

GameRegistry.addRecipe(new ItemStack (Amethyst), "eqe", "qeq", "eqe",

'q', quartz, 'e', ema);

GameRegistry.addRecipe(new ItemStack (AmethystSword), "a", "a", "s",

'a', ame, 's', stick);

GameRegistry.addRecipe(new ItemStack (AmethystPickaxe), "aaa", " s ", " s ",

'a', ame, 's', stick);

GameRegistry.addRecipe(new ItemStack (AmethystAxe), "aa ", "as ", " s ",

'a', ame, 's', stick);

GameRegistry.addRecipe(new ItemStack (AmethystShovel)," a ", " s ", " s ",

'a', ame, 's', stick);

GameRegistry.addRecipe(new ItemStack (AmethystHoe), "aa ", " s ", " s ",

'a', ame, 's', stick);

GameRegistry.addRecipe(new ItemStack (AmethystBlock), "aaa", "aaa", "aaa",

'a', ame);

GameRegistry.addRecipe(new ItemStack(ManganeseSword), "m", "m", "s",

'm', man, 's', stick);

GameRegistry.addRecipe(new ItemStack(ManganesePickaxe), "mmm", " s ", " s ",

'm', man, 's', stick);

GameRegistry.addRecipe(new ItemStack(ManganeseAxe), "mm ", "ms ", " s ",

'm', man, 's', stick);

GameRegistry.addRecipe(new ItemStack(ManganeseShovel), " m ", " s ", " s ",

'm', man, 's', stick);

GameRegistry.addRecipe(new ItemStack(ManganeseHoe), "mm ", " s ", " s ",

'm', man, 's', stick);

GameRegistry.addRecipe(new ItemStack (EmeraldHelm), "eee", "e e", "  ",

'e', ema);

GameRegistry.addRecipe(new ItemStack (EmeraldHelm), "  ", "eee", "e e",

'e', ema);

GameRegistry.addRecipe(new ItemStack (EmeraldChest), "e e", "eee", "eee",

'e', ema);

GameRegistry.addRecipe(new ItemStack (EmeraldLegs), "eee", "e e", "e e",

'e', ema);

GameRegistry.addRecipe(new ItemStack (EmeraldBoots), "e e", "e e", "  ",

'e', ema);

GameRegistry.addRecipe(new ItemStack (EmeraldBoots), "  ", "e e", "e e",

'e', ema);

GameRegistry.addRecipe(new ItemStack (ManganeseBlock), "iii", "iii", "iii",

'i', man);

 

GameRegistry.addShapelessRecipe(new ItemStack(Amethyst, 9), new Object[]{

new ItemStack(AmethystBlock)

});

}{;

GameRegistry.addShapelessRecipe(new ItemStack (ManganeseIngot, 9), new Object[]{

new ItemStack(ManganeseBlock)

}

 

);

FurnaceRecipes.smelting().addSmelting(ManganeseOre.blockID, 0, new ItemStack(ManganeseIngot), 0.1F);

 

 

 

}

}

 

 

 

Combiner class

 

package mods.DennisMod.COMMON;

 

import java.util.Random;

 

import net.minecraft.block.Block;

import net.minecraft.block.BlockContainer;

import net.minecraft.block.material.Material;

import net.minecraft.client.renderer.texture.IconRegister;

import net.minecraft.entity.EntityLiving;

import net.minecraft.entity.item.EntityItem;

import net.minecraft.entity.player.EntityPlayer;

import net.minecraft.inventory.Container;

import net.minecraft.inventory.IInventory;

import net.minecraft.item.ItemStack;

import net.minecraft.nbt.NBTTagCompound;

import net.minecraft.tileentity.TileEntity;

import net.minecraft.util.Icon;

import net.minecraft.util.MathHelper;

import net.minecraft.world.World;

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

public class Combiner extends BlockContainer

{

    /**

    * Is the random generator used by furnace to drop the inventory contents in random directions.

    */

    private final Random furnaceRand = new Random();

 

    /** True if this is an active furnace, false if idle */

    private final boolean isActive;

 

    /**

    * This flag is used to prevent the furnace inventory to be dropped upon block removal, is used internally when the

    * furnace block changes from idle to active and vice-versa.

    */

    private static boolean keepFurnaceInventory = false;

    @SideOnly(Side.CLIENT)

    private Icon field_94458_cO;

    @SideOnly(Side.CLIENT)

    private Icon field_94459_cP;

 

    protected Combiner(int par1, boolean par2)

    {

        super(par1, Material.rock);

        this.isActive = par2;

    }

 

    /**

    * Returns the ID of the items to drop on destruction.

    */

    public int idDropped(int par1, Random par2Random, int par3)

    {

        return MoGems.CombinerIdle.blockID;

    }

 

    /**

    * Called whenever the block is added into the world. Args: world, x, y, z

    */

    public void onBlockAdded(World par1World, int par2, int par3, int par4)

    {

        super.onBlockAdded(par1World, par2, par3, par4);

        this.setDefaultDirection(par1World, par2, par3, par4);

    }

 

    /**

    * set a blocks direction

    */

    private void setDefaultDirection(World par1World, int par2, int par3, int par4)

    {

        if (!par1World.isRemote)

        {

            int l = par1World.getBlockId(par2, par3, par4 - 1);

            int i1 = par1World.getBlockId(par2, par3, par4 + 1);

            int j1 = par1World.getBlockId(par2 - 1, par3, par4);

            int k1 = par1World.getBlockId(par2 + 1, par3, par4);

            byte b0 = 3;

 

            if (Block.opaqueCubeLookup[l] && !Block.opaqueCubeLookup[i1])

            {

                b0 = 3;

            }

 

            if (Block.opaqueCubeLookup[i1] && !Block.opaqueCubeLookup[l])

            {

                b0 = 2;

            }

 

            if (Block.opaqueCubeLookup[j1] && !Block.opaqueCubeLookup[k1])

            {

                b0 = 5;

            }

 

            if (Block.opaqueCubeLookup[k1] && !Block.opaqueCubeLookup[j1])

            {

                b0 = 4;

            }

 

            par1World.setBlockMetadataWithNotify(par2, par3, par4, b0, 2);

        }

    }

 

    @SideOnly(Side.CLIENT)

 

    /**

    * From the specified side and block metadata retrieves the blocks texture. Args: side, metadata

    */

    public Icon getBlockTextureFromSideAndMetadata(int par1, int par2)

    {

        return par1 == 1 ? this.field_94458_cO : (par1 == 0 ? this.field_94458_cO : (par1 != par2 ? this.blockIcon : this.field_94459_cP));

    }

 

    @SideOnly(Side.CLIENT)

 

    /**

    * When this method is called, your block should register all the icons it needs with the given IconRegister. This

    * is the only chance you get to register icons.

    */

    public void registerIcons(IconRegister par1IconRegister)

    {

        this.blockIcon = par1IconRegister.registerIcon("furnace_side");

        this.field_94459_cP = par1IconRegister.registerIcon(this.isActive ? "furnace_front_lit" : "furnace_front");

        this.field_94458_cO = par1IconRegister.registerIcon("furnace_top");

    }

 

    /**

    * Called upon block activation (right click on the block.)

    */

@Override

public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int i, float f, float g, float t) {

TileEntity tile_entity = world.getBlockTileEntity(x, y, z);

 

if (tile_entity == null || player.isSneaking()) {

 

return false;

}

 

player.openGui(MoGems.instance, 0, world, x, y, z);

 

return true;

}

 

    /**

    * Update which block ID the furnace is using depending on whether or not it is burning

    */

    public static void updateFurnaceBlockState(boolean par0, World par1World, int par2, int par3, int par4)

    {

        int l = par1World.getBlockMetadata(par2, par3, par4);

        TileEntity tileentity = par1World.getBlockTileEntity(par2, par3, par4);

        keepFurnaceInventory = true;

 

        if (par0)

        {

            par1World.setBlock(par2, par3, par4, MoGems.CombinerLit.blockID);

        }

        else

        {

            par1World.setBlock(par2, par3, par4, MoGems.CombinerIdle.blockID);

        }

 

        keepFurnaceInventory = false;

        par1World.setBlockMetadataWithNotify(par2, par3, par4, l, 2);

 

        if (tileentity != null)

        {

            tileentity.validate();

            par1World.setBlockTileEntity(par2, par3, par4, tileentity);

        }

    }

 

    @SideOnly(Side.CLIENT)

 

    /**

    * A randomly called display update to be able to add particles or other items for display

    */

    public void randomDisplayTick(World par1World, int par2, int par3, int par4, Random par5Random)

    {

        if (this.isActive)

        {

            int l = par1World.getBlockMetadata(par2, par3, par4);

            float f = (float)par2 + 0.5F;

            float f1 = (float)par3 + 0.0F + par5Random.nextFloat() * 6.0F / 16.0F;

            float f2 = (float)par4 + 0.5F;

            float f3 = 0.52F;

            float f4 = par5Random.nextFloat() * 0.6F - 0.3F;

 

            if (l == 4)

            {

                par1World.spawnParticle("smoke", (double)(f - f3), (double)f1, (double)(f2 + f4), 0.0D, 0.0D, 0.0D);

                par1World.spawnParticle("flame", (double)(f - f3), (double)f1, (double)(f2 + f4), 0.0D, 0.0D, 0.0D);

            }

            else if (l == 5)

            {

                par1World.spawnParticle("smoke", (double)(f + f3), (double)f1, (double)(f2 + f4), 0.0D, 0.0D, 0.0D);

                par1World.spawnParticle("flame", (double)(f + f3), (double)f1, (double)(f2 + f4), 0.0D, 0.0D, 0.0D);

            }

            else if (l == 2)

            {

                par1World.spawnParticle("smoke", (double)(f + f4), (double)f1, (double)(f2 - f3), 0.0D, 0.0D, 0.0D);

                par1World.spawnParticle("flame", (double)(f + f4), (double)f1, (double)(f2 - f3), 0.0D, 0.0D, 0.0D);

            }

            else if (l == 3)

            {

                par1World.spawnParticle("smoke", (double)(f + f4), (double)f1, (double)(f2 + f3), 0.0D, 0.0D, 0.0D);

                par1World.spawnParticle("flame", (double)(f + f4), (double)f1, (double)(f2 + f3), 0.0D, 0.0D, 0.0D);

            }

        }

    }

 

    /**

    * Returns a new instance of a block's tile entity class. Called on placing the block.

    */

    public TileEntity createNewTileEntity(World par1World)

    {

        return new TileEntityCombiner();

    }

 

    /**

    * Called when the block is placed in the world.

    */

    public void onBlockPlacedBy(World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving, ItemStack par6ItemStack)

    {

        int l = MathHelper.floor_double((double)(par5EntityLiving.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3;

 

        if (l == 0)

        {

            par1World.setBlockMetadataWithNotify(par2, par3, par4, 2, 2);

        }

 

        if (l == 1)

        {

            par1World.setBlockMetadataWithNotify(par2, par3, par4, 5, 2);

        }

 

        if (l == 2)

        {

            par1World.setBlockMetadataWithNotify(par2, par3, par4, 3, 2);

        }

 

        if (l == 3)

        {

            par1World.setBlockMetadataWithNotify(par2, par3, par4, 4, 2);

        }

 

        if (par6ItemStack.hasDisplayName())

        {

            ((TileEntityCombiner)par1World.getBlockTileEntity(par2, par3, par4)).func_94129_a(par6ItemStack.getDisplayName());

        }

    }

 

    /**

    * ejects contained items into the world, and notifies neighbours of an update, as appropriate

    */

    public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6)

    {

        if (!keepFurnaceInventory)

        {

        TileEntityCombiner tileentityfurnace = (TileEntityCombiner)par1World.getBlockTileEntity(par2, par3, par4);

 

            if (tileentityfurnace != null)

            {

                for (int j1 = 0; j1 < tileentityfurnace.getSizeInventory(); ++j1)

                {

                    ItemStack itemstack = tileentityfurnace.getStackInSlot(j1);

 

                    if (itemstack != null)

                    {

                        float f = this.furnaceRand.nextFloat() * 0.8F + 0.1F;

                        float f1 = this.furnaceRand.nextFloat() * 0.8F + 0.1F;

                        float f2 = this.furnaceRand.nextFloat() * 0.8F + 0.1F;

 

                        while (itemstack.stackSize > 0)

                        {

                            int k1 = this.furnaceRand.nextInt(21) + 10;

 

                            if (k1 > itemstack.stackSize)

                            {

                                k1 = itemstack.stackSize;

                            }

 

                            itemstack.stackSize -= k1;

                            EntityItem entityitem = new EntityItem(par1World, (double)((float)par2 + f), (double)((float)par3 + f1), (double)((float)par4 + f2), new ItemStack(itemstack.itemID, k1, itemstack.getItemDamage()));

 

                            if (itemstack.hasTagCompound())

                            {

                                entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy());

                            }

 

                            float f3 = 0.05F;

                            entityitem.motionX = (double)((float)this.furnaceRand.nextGaussian() * f3);

                            entityitem.motionY = (double)((float)this.furnaceRand.nextGaussian() * f3 + 0.2F);

                            entityitem.motionZ = (double)((float)this.furnaceRand.nextGaussian() * f3);

                            par1World.spawnEntityInWorld(entityitem);

                        }

                    }

                }

 

                par1World.func_96440_m(par2, par3, par4, par5);

            }

        }

 

        super.breakBlock(par1World, par2, par3, par4, par5, par6);

    }

 

    /**

    * If this returns true, then comparators facing away from this block will use the value from

    * getComparatorInputOverride instead of the actual redstone signal strength.

    */

    public boolean hasComparatorInputOverride()

    {

        return true;

    }

 

    /**

    * If hasComparatorInputOverride returns true, the return value from this is used instead of the redstone signal

    * strength when this block inputs to a comparator.

    */

    public int getComparatorInputOverride(World par1World, int par2, int par3, int par4, int par5)

    {

        return Container.func_94526_b((IInventory)par1World.getBlockTileEntity(par2, par3, par4));

    }

}

 

 

 

CombinerRecipes class

 

package mods.DennisMod.COMMON;

 

import java.util.Arrays;

import java.util.HashMap;

import java.util.List;

import java.util.Map;

import net.minecraft.block.Block;

import net.minecraft.item.Item;

import net.minecraft.item.ItemStack;

 

public class CombinerRecipes

{

    private static final CombinerRecipes smeltingBase = new CombinerRecipes();

 

    /** The list of smelting results. */

    private Map smeltingList = new HashMap();

    private Map experienceList = new HashMap();

    private HashMap<List<Integer>, ItemStack> metaSmeltingList = new HashMap<List<Integer>, ItemStack>();

    private HashMap<List<Integer>, Float> metaExperience = new HashMap<List<Integer>, Float>();

 

    /**

    * Used to call methods addSmelting and getSmeltingResult.

    */

    public static final CombinerRecipes smelting()

    {

        return smeltingBase;

    }

 

    private CombinerRecipes()

    {

        this.addSmelting(Block.oreIron.blockID, new ItemStack(Item.ingotIron), 0.7F);

     

    }

 

    /**

    * Adds a smelting recipe.

    */

    public void addSmelting(int par1, ItemStack par2ItemStack, float par3)

    {

        this.smeltingList.put(Integer.valueOf(par1), par2ItemStack);

        this.experienceList.put(Integer.valueOf(par2ItemStack.itemID), Float.valueOf(par3));

    }

 

    /**

    * Returns the smelting result of an item.

    * Deprecated in favor of a metadata sensitive version

    */

    @Deprecated

    public ItemStack getSmeltingResult(int par1)

    {

        return (ItemStack)this.smeltingList.get(Integer.valueOf(par1));

    }

 

    public Map getSmeltingList()

    {

        return this.smeltingList;

    }

 

    @Deprecated //In favor of ItemStack sensitive version

    public float getExperience(int par1)

    {

        return this.experienceList.containsKey(Integer.valueOf(par1)) ? ((Float)this.experienceList.get(Integer.valueOf(par1))).floatValue() : 0.0F;

    }

 

    /**

    * A metadata sensitive version of adding a furnace recipe.

    */

    public void addSmelting(int itemID, int metadata, ItemStack itemstack, float experience)

    {

        metaSmeltingList.put(Arrays.asList(itemID, metadata), itemstack);

        metaExperience.put(Arrays.asList(itemID, metadata), experience);

    }

 

    /**

    * Used to get the resulting ItemStack form a source ItemStack

    * @param item The Source ItemStack

    * @return The result ItemStack

    */

    public ItemStack getSmeltingResult(ItemStack item)

    {

        if (item == null)

        {

            return null;

        }

 

        ItemStack ret = (ItemStack)metaSmeltingList.get(Arrays.asList(item.itemID, item.getItemDamage()));

 

        if (ret != null)

        {

            return ret;

        }

 

        return (ItemStack)smeltingList.get(Integer.valueOf(item.itemID));

    }

 

    /**

    * Grabs the amount of base experience for this item to give when pulled from the furnace slot.

    */

    public float getExperience(ItemStack item)

    {

        if (item == null || item.getItem() == null)

        {

            return 0;

        }

 

        float ret = item.getItem().getSmeltingExperience(item);

 

        if (ret < 0 && metaExperience.containsKey(Arrays.asList(item.itemID, item.getItemDamage())))

        {

            ret = metaExperience.get(Arrays.asList(item.itemID, item.getItemDamage()));

        }

 

        if (ret < 0 && experienceList.containsKey(item.itemID))

        {

            ret = ((Float)experienceList.get(item.itemID)).floatValue();

        }

 

        return (ret < 0 ? 0 : ret);

    }

 

    public Map<List<Integer>, ItemStack> getMetaSmeltingList()

    {

        return metaSmeltingList;

    }

}

 

 

 

ContainerCombiner class

 

package mods.DennisMod.COMMON;

 

import net.minecraft.entity.player.EntityPlayer;

import net.minecraft.entity.player.InventoryPlayer;

import net.minecraft.inventory.Container;

import net.minecraft.inventory.ICrafting;

import net.minecraft.inventory.Slot;

 

import net.minecraft.item.ItemStack;

 

 

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

public class ContainerCombiner extends Container

{

    private TileEntityCombiner furnace;

    private int lastCookTime = 0;

    private int lastBurnTime = 0;

    private int lastItemBurnTime = 0;

 

    public ContainerCombiner(InventoryPlayer par1InventoryPlayer, TileEntityCombiner par2TileEntityCombiner)

    {

        this.furnace = par2TileEntityCombiner;

        this.addSlotToContainer(new Slot(par2TileEntityCombiner, 0, 56, 17));

        this.addSlotToContainer(new Slot(par2TileEntityCombiner, 1, 56, 53));

        this.addSlotToContainer(new SlotCombiner(par1InventoryPlayer.player, par2TileEntityCombiner, 2, 116, 35));

        int i;

 

        for (i = 0; i < 3; ++i)

        {

            for (int j = 0; j < 9; ++j)

            {

                this.addSlotToContainer(new Slot(par1InventoryPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18));

            }

        }

 

        for (i = 0; i < 9; ++i)

        {

            this.addSlotToContainer(new Slot(par1InventoryPlayer, i, 8 + i * 18, 142));

        }

    }

 

    public void addCraftingToCrafters(ICrafting par1ICrafting)

    {

        super.addCraftingToCrafters(par1ICrafting);

        par1ICrafting.sendProgressBarUpdate(this, 0, this.furnace.furnaceCookTime);

        par1ICrafting.sendProgressBarUpdate(this, 1, this.furnace.furnaceBurnTime);

        par1ICrafting.sendProgressBarUpdate(this, 2, this.furnace.currentItemBurnTime);

    }

 

    /**

    * Looks for changes made in the container, sends them to every listener.

    */

    public void detectAndSendChanges()

    {

        super.detectAndSendChanges();

 

        for (int i = 0; i < this.crafters.size(); ++i)

        {

            ICrafting icrafting = (ICrafting)this.crafters.get(i);

 

            if (this.lastCookTime != this.furnace.furnaceCookTime)

            {

                icrafting.sendProgressBarUpdate(this, 0, this.furnace.furnaceCookTime);

            }

 

            if (this.lastBurnTime != this.furnace.furnaceBurnTime)

            {

                icrafting.sendProgressBarUpdate(this, 1, this.furnace.furnaceBurnTime);

            }

 

            if (this.lastItemBurnTime != this.furnace.currentItemBurnTime)

            {

                icrafting.sendProgressBarUpdate(this, 2, this.furnace.currentItemBurnTime);

            }

        }

 

        this.lastCookTime = this.furnace.furnaceCookTime;

        this.lastBurnTime = this.furnace.furnaceBurnTime;

        this.lastItemBurnTime = this.furnace.currentItemBurnTime;

    }

 

    @SideOnly(Side.CLIENT)

    public void updateProgressBar(int par1, int par2)

    {

        if (par1 == 0)

        {

            this.furnace.furnaceCookTime = par2;

        }

 

        if (par1 == 1)

        {

            this.furnace.furnaceBurnTime = par2;

        }

 

        if (par1 == 2)

        {

            this.furnace.currentItemBurnTime = par2;

        }

    }

 

    public boolean canInteractWith(EntityPlayer par1EntityPlayer)

    {

        return this.furnace.isUseableByPlayer(par1EntityPlayer);

    }

 

    /**

    * Called when a player shift-clicks on a slot. You must override this or you will crash when someone does that.

    */

    public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)

    {

        ItemStack itemstack = null;

        Slot slot = (Slot)this.inventorySlots.get(par2);

 

        if (slot != null && slot.getHasStack())

        {

            ItemStack itemstack1 = slot.getStack();

            itemstack = itemstack1.copy();

 

            if (par2 == 2)

            {

                if (!this.mergeItemStack(itemstack1, 3, 39, true))

                {

                    return null;

                }

 

                slot.onSlotChange(itemstack1, itemstack);

            }

            else if (par2 != 1 && par2 != 0)

            {

                if (CombinerRecipes.smelting().getSmeltingResult(itemstack1) != null)

                {

                    if (!this.mergeItemStack(itemstack1, 0, 1, false))

                    {

                        return null;

                    }

                }

                else if (TileEntityCombiner.isItemFuel(itemstack1))

                {

                    if (!this.mergeItemStack(itemstack1, 1, 2, false))

                    {

                        return null;

                    }

                }

                else if (par2 >= 3 && par2 < 30)

                {

                    if (!this.mergeItemStack(itemstack1, 30, 39, false))

                    {

                        return null;

                    }

                }

                else if (par2 >= 30 && par2 < 39 && !this.mergeItemStack(itemstack1, 3, 30, false))

                {

                    return null;

                }

            }

            else if (!this.mergeItemStack(itemstack1, 3, 39, false))

            {

                return null;

            }

 

            if (itemstack1.stackSize == 0)

            {

                slot.putStack((ItemStack)null);

            }

            else

            {

                slot.onSlotChanged();

            }

 

            if (itemstack1.stackSize == itemstack.stackSize)

            {

                return null;

            }

 

            slot.onPickupFromSlot(par1EntityPlayer, itemstack1);

        }

 

        return itemstack;

    }

}

 

 

 

GUICombiner class

 

package mods.DennisMod.COMMON;

 

import net.minecraft.client.gui.inventory.GuiContainer;

import net.minecraft.entity.player.InventoryPlayer;

 

import net.minecraft.util.StatCollector;

 

import org.lwjgl.opengl.GL11;

 

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

@SideOnly(Side.CLIENT)

public class GUICombiner extends GuiContainer

{

    private TileEntityCombiner furnaceInventory;

 

    public GUICombiner(InventoryPlayer par1InventoryPlayer, TileEntityCombiner par2TileEntityCombiner)

    {

        super(new ContainerCombiner(par1InventoryPlayer, par2TileEntityCombiner));

        this.furnaceInventory = par2TileEntityCombiner;

    }

 

    /**

    * Draw the foreground layer for the GuiContainer (everything in front of the items)

    */

    protected void drawGuiContainerForegroundLayer(int par1, int par2)

    {

        String s = this.furnaceInventory.isInvNameLocalized() ? this.furnaceInventory.getInvName() : StatCollector.translateToLocal(this.furnaceInventory.getInvName());

        this.fontRenderer.drawString(s, this.xSize / 2 - this.fontRenderer.getStringWidth(s) / 2, 6, 4210752);

        this.fontRenderer.drawString(StatCollector.translateToLocal("container.inventory"), 8, this.ySize - 96 + 2, 4210752);

    }

 

    /**

    * Draw the background layer for the GuiContainer (everything behind the items)

    */

    protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)

    {

        GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);

        this.mc.renderEngine.bindTexture("/gui/furnace.png");

        int k = (this.width - this.xSize) / 2;

        int l = (this.height - this.ySize) / 2;

        this.drawTexturedModalRect(k, l, 0, 0, this.xSize, this.ySize);

        int i1;

 

        if (this.furnaceInventory.isBurning())

        {

            i1 = this.furnaceInventory.getBurnTimeRemainingScaled(12);

            this.drawTexturedModalRect(k + 56, l + 36 + 12 - i1, 176, 12 - i1, 14, i1 + 2);

        }

 

        i1 = this.furnaceInventory.getCookProgressScaled(24);

        this.drawTexturedModalRect(k + 79, l + 34, 176, 14, i1 + 1, 16);

    }

}

 

 

 

GuiHandler class

 

package mods.DennisMod.COMMON;

 

import net.minecraft.entity.player.EntityPlayer;

import net.minecraft.tileentity.TileEntity;

import net.minecraft.world.World;

import cpw.mods.fml.common.network.IGuiHandler;

 

public class GuiHandler implements IGuiHandler{

 

@Override

public Object getServerGuiElement(int ID, EntityPlayer player, World world,

int x, int y, int z) {

TileEntity tile_entity = world.getBlockTileEntity(x, y, z);

 

if (tile_entity instanceof TileEntityCombiner) {

return new ContainerCombiner(player.inventory,(TileEntityCombiner) tile_entity);

}

 

return null;

}

 

 

@Override

public Object  getClientGuiElement(int ID, EntityPlayer player, World world,

int x, int y, int z) {

TileEntity tile_entity = world.getBlockTileEntity(x, y, z);

if (tile_entity instanceof TileEntityCombiner) {

return new GUICombiner(player.inventory,(TileEntityCombiner) tile_entity);

}

 

return null;

}

 

}

 

 

 

SlotCombiner class

 

package mods.DennisMod.COMMON;

 

import net.minecraft.entity.item.EntityXPOrb;

import net.minecraft.entity.player.EntityPlayer;

import net.minecraft.inventory.IInventory;

import net.minecraft.inventory.Slot;

import net.minecraft.item.Item;

import net.minecraft.item.ItemStack;

 

import net.minecraft.stats.AchievementList;

import net.minecraft.util.MathHelper;

import cpw.mods.fml.common.registry.GameRegistry;

 

public class SlotCombiner extends Slot

{

    /** The player that is using the GUI where this slot resides. */

    private EntityPlayer thePlayer;

    private int field_75228_b;

 

    public SlotCombiner(EntityPlayer par1EntityPlayer, IInventory par2IInventory, int par3, int par4, int par5)

    {

        super(par2IInventory, par3, par4, par5);

        this.thePlayer = par1EntityPlayer;

    }

 

    /**

    * Check if the stack is a valid item for this slot. Always true beside for the armor slots.

    */

    public boolean isItemValid(ItemStack par1ItemStack)

    {

        return false;

    }

 

    /**

    * Decrease the size of the stack in slot (first int arg) by the amount of the second int arg. Returns the new

    * stack.

    */

    public ItemStack decrStackSize(int par1)

    {

        if (this.getHasStack())

        {

            this.field_75228_b += Math.min(par1, this.getStack().stackSize);

        }

 

        return super.decrStackSize(par1);

    }

 

    public void onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)

    {

        this.onCrafting(par2ItemStack);

        super.onPickupFromSlot(par1EntityPlayer, par2ItemStack);

    }

 

    /**

    * the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood. Typically increases an

    * internal count then calls onCrafting(item).

    */

    protected void onCrafting(ItemStack par1ItemStack, int par2)

    {

        this.field_75228_b += par2;

        this.onCrafting(par1ItemStack);

    }

 

    /**

    * the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood.

    */

    protected void onCrafting(ItemStack par1ItemStack)

    {

        par1ItemStack.onCrafting(this.thePlayer.worldObj, this.thePlayer, this.field_75228_b);

 

        if (!this.thePlayer.worldObj.isRemote)

        {

            int i = this.field_75228_b;

            float f = CombinerRecipes.smelting().getExperience(par1ItemStack);

            int j;

 

            if (f == 0.0F)

            {

                i = 0;

            }

            else if (f < 1.0F)

            {

                j = MathHelper.floor_float((float)i * f);

 

                if (j < MathHelper.ceiling_float_int((float)i * f) && (float)Math.random() < (float)i * f - (float)j)

                {

                    ++j;

                }

 

                i = j;

            }

 

            while (i > 0)

            {

                j = EntityXPOrb.getXPSplit(i);

                i -= j;

                this.thePlayer.worldObj.spawnEntityInWorld(new EntityXPOrb(this.thePlayer.worldObj, this.thePlayer.posX, this.thePlayer.posY + 0.5D, this.thePlayer.posZ + 0.5D, j));

            }

        }

 

        this.field_75228_b = 0;

        GameRegistry.onItemSmelted(thePlayer, par1ItemStack);

 

        if (par1ItemStack.itemID == Item.ingotIron.itemID)

        {

            this.thePlayer.addStat(AchievementList.acquireIron, 1);

        }

 

        if (par1ItemStack.itemID == Item.fishCooked.itemID)

        {

            this.thePlayer.addStat(AchievementList.cookFish, 1);

        }

    }

}

 

 

 

TileEntityCombiner class

 

package mods.DennisMod.COMMON;

 

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.entity.player.EntityPlayer;

import net.minecraft.inventory.ISidedInventory;

import net.minecraft.item.Item;

import net.minecraft.item.ItemBlock;

import net.minecraft.item.ItemHoe;

import net.minecraft.item.ItemStack;

import net.minecraft.item.ItemSword;

import net.minecraft.item.ItemTool;

import net.minecraft.nbt.NBTTagCompound;

import net.minecraft.nbt.NBTTagList;

import net.minecraft.tileentity.TileEntity;

import net.minecraftforge.common.ForgeDirection;

import net.minecraftforge.common.ForgeDummyContainer;

import cpw.mods.fml.common.registry.GameRegistry;

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

public class TileEntityCombiner extends TileEntity implements ISidedInventory, net.minecraftforge.common.ISidedInventory

{

    private static final int[] field_102010_d = new int[] {0};

    private static final int[] field_102011_e = new int[] {2, 1};

    private static final int[] field_102009_f = new int[] {1};

 

    /**

    * The ItemStacks that hold the items currently being used in the furnace

    */

    private ItemStack[] furnaceItemStacks = new ItemStack[3];

 

    /** The number of ticks that the furnace will keep burning */

    public int furnaceBurnTime = 0;

 

    /**

    * The number of ticks that a fresh copy of the currently-burning item would keep the furnace burning for

    */

    public int currentItemBurnTime = 0;

 

    /** The number of ticks that the current item has been cooking for */

    public int furnaceCookTime = 0;

    private String field_94130_e;

 

    /**

    * Returns the number of slots in the inventory.

    */

    public int getSizeInventory()

    {

        return this.furnaceItemStacks.length;

    }

 

    /**

    * Returns the stack in slot i

    */

    public ItemStack getStackInSlot(int par1)

    {

        return this.furnaceItemStacks[par1];

    }

 

    /**

    * Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a

    * new stack.

    */

    public ItemStack decrStackSize(int par1, int par2)

    {

        if (this.furnaceItemStacks[par1] != null)

        {

            ItemStack itemstack;

 

            if (this.furnaceItemStacks[par1].stackSize <= par2)

            {

                itemstack = this.furnaceItemStacks[par1];

                this.furnaceItemStacks[par1] = null;

                return itemstack;

            }

            else

            {

                itemstack = this.furnaceItemStacks[par1].splitStack(par2);

 

                if (this.furnaceItemStacks[par1].stackSize == 0)

                {

                    this.furnaceItemStacks[par1] = null;

                }

 

                return itemstack;

            }

        }

        else

        {

            return null;

        }

    }

 

    /**

    * When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem -

    * like when you close a workbench GUI.

    */

    public ItemStack getStackInSlotOnClosing(int par1)

    {

        if (this.furnaceItemStacks[par1] != null)

        {

            ItemStack itemstack = this.furnaceItemStacks[par1];

            this.furnaceItemStacks[par1] = null;

            return itemstack;

        }

        else

        {

            return null;

        }

    }

 

    /**

    * Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).

    */

    public void setInventorySlotContents(int par1, ItemStack par2ItemStack)

    {

        this.furnaceItemStacks[par1] = par2ItemStack;

 

        if (par2ItemStack != null && par2ItemStack.stackSize > this.getInventoryStackLimit())

        {

            par2ItemStack.stackSize = this.getInventoryStackLimit();

        }

    }

 

    /**

    * Returns the name of the inventory.

    */

    public String getInvName()

    {

        return this.isInvNameLocalized() ? this.field_94130_e : "Combiner";

    }

 

    /**

    * If this returns false, the inventory name will be used as an unlocalized name, and translated into the player's

    * language. Otherwise it will be used directly.

    */

    public boolean isInvNameLocalized()

    {

        return this.field_94130_e != null && this.field_94130_e.length() > 0;

    }

 

    public void func_94129_a(String par1Str)

    {

        this.field_94130_e = par1Str;

    }

 

    /**

    * Reads a tile entity from NBT.

    */

    public void readFromNBT(NBTTagCompound par1NBTTagCompound)

    {

        super.readFromNBT(par1NBTTagCompound);

        NBTTagList nbttaglist = par1NBTTagCompound.getTagList("Items");

        this.furnaceItemStacks = new ItemStack[this.getSizeInventory()];

 

        for (int i = 0; i < nbttaglist.tagCount(); ++i)

        {

            NBTTagCompound nbttagcompound1 = (NBTTagCompound)nbttaglist.tagAt(i);

            byte b0 = nbttagcompound1.getByte("Slot");

 

            if (b0 >= 0 && b0 < this.furnaceItemStacks.length)

            {

                this.furnaceItemStacks[b0] = ItemStack.loadItemStackFromNBT(nbttagcompound1);

            }

        }

 

        this.furnaceBurnTime = par1NBTTagCompound.getShort("BurnTime");

        this.furnaceCookTime = par1NBTTagCompound.getShort("CookTime");

        this.currentItemBurnTime = getItemBurnTime(this.furnaceItemStacks[1]);

 

        if (par1NBTTagCompound.hasKey("Combiner"))

        {

            this.field_94130_e = par1NBTTagCompound.getString("Combiner");

        }

    }

 

    /**

    * Writes a tile entity to NBT.

    */

    public void writeToNBT(NBTTagCompound par1NBTTagCompound)

    {

        super.writeToNBT(par1NBTTagCompound);

        par1NBTTagCompound.setShort("BurnTime", (short)this.furnaceBurnTime);

        par1NBTTagCompound.setShort("CookTime", (short)this.furnaceCookTime);

        NBTTagList nbttaglist = new NBTTagList();

 

        for (int i = 0; i < this.furnaceItemStacks.length; ++i)

        {

            if (this.furnaceItemStacks != null)

            {

                NBTTagCompound nbttagcompound1 = new NBTTagCompound();

                nbttagcompound1.setByte("Slot", (byte)i);

                this.furnaceItemStacks.writeToNBT(nbttagcompound1);

                nbttaglist.appendTag(nbttagcompound1);

            }

        }

 

        par1NBTTagCompound.setTag("Items", nbttaglist);

 

        if (this.isInvNameLocalized())

        {

            par1NBTTagCompound.setString("Combiner", this.field_94130_e);

        }

    }

 

    /**

    * Returns the maximum stack size for a inventory slot. Seems to always be 64, possibly will be extended. *Isn't

    * this more of a set than a get?*

    */

    public int getInventoryStackLimit()

    {

        return 64;

    }

 

    @SideOnly(Side.CLIENT)

 

    /**

    * Returns an integer between 0 and the passed value representing how close the current item is to being completely

    * cooked

    */

    public int getCookProgressScaled(int par1)

    {

        return this.furnaceCookTime * par1 / 200;

    }

 

    @SideOnly(Side.CLIENT)

 

    /**

    * Returns an integer between 0 and the passed value representing how much burn time is left on the current fuel

    * item, where 0 means that the item is exhausted and the passed value means that the item is fresh

    */

    public int getBurnTimeRemainingScaled(int par1)

    {

        if (this.currentItemBurnTime == 0)

        {

            this.currentItemBurnTime = 200;

        }

 

        return this.furnaceBurnTime * par1 / this.currentItemBurnTime;

    }

 

    /**

    * Returns true if the furnace is currently burning

    */

    public boolean isBurning()

    {

        return this.furnaceBurnTime > 0;

    }

 

    /**

    * Allows the entity to update its state. Overridden in most subclasses, e.g. the mob spawner uses this to count

    * ticks and creates a new spawn inside its implementation.

    */

    public void updateEntity()

    {

        boolean flag = this.furnaceBurnTime > 0;

        boolean flag1 = false;

 

        if (this.furnaceBurnTime > 0)

        {

            --this.furnaceBurnTime;

        }

 

        if (!this.worldObj.isRemote)

        {

            if (this.furnaceBurnTime == 0 && this.canSmelt())

            {

                this.currentItemBurnTime = this.furnaceBurnTime = getItemBurnTime(this.furnaceItemStacks[1]);

 

                if (this.furnaceBurnTime > 0)

                {

                    flag1 = true;

 

                    if (this.furnaceItemStacks[1] != null)

                    {

                        --this.furnaceItemStacks[1].stackSize;

 

                        if (this.furnaceItemStacks[1].stackSize == 0)

                        {

                            this.furnaceItemStacks[1] = this.furnaceItemStacks[1].getItem().getContainerItemStack(furnaceItemStacks[1]);

                        }

                    }

                }

            }

 

            if (this.isBurning() && this.canSmelt())

            {

                ++this.furnaceCookTime;

 

                if (this.furnaceCookTime == 200)

                {

                    this.furnaceCookTime = 0;

                    this.smeltItem();

                    flag1 = true;

                }

            }

            else

            {

                this.furnaceCookTime = 0;

            }

 

            if (flag != this.furnaceBurnTime > 0)

            {

                flag1 = true;

                Combiner.updateFurnaceBlockState(this.furnaceBurnTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord);

            }

        }

 

        if (flag1)

        {

            this.onInventoryChanged();

        }

    }

 

    /**

    * Returns true if the furnace can smelt an item, i.e. has a source item, destination stack isn't full, etc.

    */

    private boolean canSmelt()

    {

        if (this.furnaceItemStacks[0] == null)

        {

            return false;

        }

        else

        {

            ItemStack itemstack = CombinerRecipes.smelting().getSmeltingResult(this.furnaceItemStacks[0]);

 

            if (itemstack == null)

            {

                return false;

            }

 

            if (this.furnaceItemStacks[2] == null)

            {

                return true;

            }

 

            if (!this.furnaceItemStacks[2].isItemEqual(itemstack))

            {

                return false;

            }

 

            int result = furnaceItemStacks[2].stackSize + itemstack.stackSize;

            return (result <= getInventoryStackLimit() && result <= itemstack.getMaxStackSize());

        }

    }

 

    /**

    * Turn one item from the furnace source stack into the appropriate smelted item in the furnace result stack

    */

    public void smeltItem()

    {

        if (this.canSmelt())

        {

            ItemStack itemstack = CombinerRecipes.smelting().getSmeltingResult(this.furnaceItemStacks[0]);

 

            if (this.furnaceItemStacks[2] == null)

            {

                this.furnaceItemStacks[2] = itemstack.copy();

            }

            else if (this.furnaceItemStacks[2].isItemEqual(itemstack))

            {

                furnaceItemStacks[2].stackSize += itemstack.stackSize;

            }

 

            --this.furnaceItemStacks[0].stackSize;

 

            if (this.furnaceItemStacks[0].stackSize <= 0)

            {

                this.furnaceItemStacks[0] = null;

            }

        }

    }

 

    /**

    * Returns the number of ticks that the supplied fuel item will keep the furnace burning, or 0 if the item isn't

    * fuel

    */

    public static int getItemBurnTime(ItemStack par0ItemStack)

    {

        if (par0ItemStack == null)

        {

            return 0;

        }

        else

        {

            int i = par0ItemStack.getItem().itemID;

            Item item = par0ItemStack.getItem();

 

            if (par0ItemStack.getItem() instanceof ItemBlock && Block.blocksList != null)

            {

                Block block = Block.blocksList;

 

                if (block == Block.woodSingleSlab)

                {

                    return 150;

                }

 

                if (block.blockMaterial == Material.wood)

                {

                    return 300;

                }

            }

 

            if (item instanceof ItemTool && ((ItemTool) item).getToolMaterialName().equals("WOOD"))

            {

                return 200;

            }

 

            if (item instanceof ItemSword && ((ItemSword) item).getToolMaterialName().equals("WOOD"))

            {

                return 200;

            }

 

            if (item instanceof ItemHoe && ((ItemHoe) item).func_77842_f().equals("WOOD"))

            {

                return 200;

            }

 

            if (i == Item.stick.itemID)

            {

                return 100;

            }

 

            if (i == Item.coal.itemID)

            {

                return 1600;

            }

 

            if (i == Item.bucketLava.itemID)

            {

                return 20000;

            }

 

            if (i == Block.sapling.blockID)

            {

                return 100;

            }

 

            if (i == Item.blazeRod.itemID)

            {

                return 2400;

            }

 

            return GameRegistry.getFuelValue(par0ItemStack);

        }

    }

 

    /**

    * Return true if item is a fuel source (getItemBurnTime() > 0).

    */

    public static boolean isItemFuel(ItemStack par0ItemStack)

    {

        return getItemBurnTime(par0ItemStack) > 0;

    }

 

    /**

    * Do not make give this method the name canInteractWith because it clashes with Container

    */

    public boolean isUseableByPlayer(EntityPlayer par1EntityPlayer)

    {

        return this.worldObj.getBlockTileEntity(this.xCoord, this.yCoord, this.zCoord) != this ? false : par1EntityPlayer.getDistanceSq((double)this.xCoord + 0.5D, (double)this.yCoord + 0.5D, (double)this.zCoord + 0.5D) <= 64.0D;

    }

 

    public void openChest() {}

 

    public void closeChest() {}

 

    /**

    * Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.

    */

    public boolean isStackValidForSlot(int par1, ItemStack par2ItemStack)

    {

        return par1 == 2 ? false : (par1 == 1 ? isItemFuel(par2ItemStack) : true);

    }

 

    /**

    * Get the size of the side inventory.

    */

    public int[] getSizeInventorySide(int par1)

    {

        return par1 == 0 ? field_102011_e : (par1 == 1 ? field_102010_d : field_102009_f);

    }

 

    public boolean func_102007_a(int par1, ItemStack par2ItemStack, int par3)

    {

        return this.isStackValidForSlot(par1, par2ItemStack);

    }

 

    public boolean func_102008_b(int par1, ItemStack par2ItemStack, int par3)

    {

        return par3 != 0 || par1 != 1 || par2ItemStack.itemID == Item.bucketEmpty.itemID;

    }

 

    /***********************************************************************************

    * This function is here for compatibilities sake, Modders should Check for

    * Sided before ContainerWorldly, Vanilla Minecraft does not follow the sided standard

    * that Modding has for a while.

    *

    * In vanilla:

    *

    *  Top: Ores

    *  Sides: Fuel

    *  Bottom: Output

    *

    * Standard Modding:

    *  Top: Ores

    *  Sides: Output

    *  Bottom: Fuel

    *

    * The Modding one is designed after the GUI, the vanilla one is designed because its

    * intended use is for the hopper, which logically would take things in from the top.

    *

    * This will possibly be removed in future updates, and make vanilla the definitive

    * standard.

    */

 

    @Override

    public int getStartInventorySide(ForgeDirection side)

    {

        if (ForgeDummyContainer.legacyFurnaceSides)

        {

            if (side == ForgeDirection.DOWN)

            {

                return 1;

            }

 

            if (side == ForgeDirection.UP)

            {

                return 0;

            }

 

            return 2;

        }

        else

        {

            if (side == ForgeDirection.DOWN)

            {

                return 2;

            }

 

            if (side == ForgeDirection.UP)

            {

                return 0;

            }

 

            return 1;

        }

    }

 

    @Override

    public int getSizeInventorySide(ForgeDirection side)

    {

        return 1;

    }

}

 

 

 

ModPacketHandler class

 

package mods.DennisMod.COMMON;

 

import java.io.ByteArrayInputStream;

import java.io.DataInputStream;

import java.io.IOException;

 

import net.minecraft.network.INetworkManager;

import net.minecraft.network.packet.Packet250CustomPayload;

import cpw.mods.fml.common.network.IPacketHandler;

import cpw.mods.fml.common.network.Player;

 

public class ModPacketHandler implements IPacketHandler{

 

@Override

public void onPacketData(INetworkManager manager, Packet250CustomPayload packet, Player player) {

if(packet.channel.equals("MoGems")){

handlePacket(packet);

}

 

}

 

public void handlePacket(Packet250CustomPayload packet){

DataInputStream inputStream = new DataInputStream(new ByteArrayInputStream(packet.data));

 

int randomInt1;

int randomInt2;

 

try{

randomInt1 = inputStream.readInt();

randomInt2 = inputStream.readInt();

}catch(IOException e){

e.printStackTrace();

return;

}

 

System.out.println(randomInt1 + "" + randomInt2);

}

 

}

 

 

Link to comment
Share on other sites

Forget ModPacketHandler class, and I edited something in there to what it should be called, but then I get an error:

 

 

ForgeModLoader-client-0:

 

2013-05-14 17:29:29 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.1.43.675 for Minecraft 1.5.1 loading

2013-05-14 17:29:29 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.7.0_21, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7

2013-05-14 17:29:29 [FINE] [ForgeModLoader] Java classpath at launch is C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\eclipse\Minecraft\bin;C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\bin\jinput.jar;C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\bin\lwjgl_util.jar;C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\bin\lwjgl.jar;C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\bin\minecraft.jar;C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\lib\argo-3.2-src.jar;C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\lib\bcprov-debug-jdk15on-148.jar;C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\lib\asm-debug-all-4.1.jar;C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\lib\guava-14.0-rc3.jar;C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\lib\scala-library.jar

2013-05-14 17:29:29 [FINE] [ForgeModLoader] Java library path at launch is C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\bin\natives;C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\bin\natives;C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\bin\natives

2013-05-14 17:29:29 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

2013-05-14 17:29:29 [FINEST] [ForgeModLoader] All core mods are successfully located

2013-05-14 17:29:29 [FINEST] [ForgeModLoader] Discovering coremods

2013-05-14 17:29:29 [FINEST] [ForgeModLoader] Found library file argo-small-3.2.jar present and correct in lib dir

2013-05-14 17:29:29 [FINEST] [ForgeModLoader] Found library file guava-14.0-rc3.jar present and correct in lib dir

2013-05-14 17:29:29 [FINEST] [ForgeModLoader] Found library file asm-all-4.1.jar present and correct in lib dir

2013-05-14 17:29:29 [FINEST] [ForgeModLoader] Found library file bcprov-jdk15on-148.jar present and correct in lib dir

2013-05-14 17:29:29 [FINEST] [ForgeModLoader] Found library file deobfuscation_data_1.5.1.zip present and correct in lib dir

2013-05-14 17:29:29 [FINEST] [ForgeModLoader] Found library file scala-library.jar present and correct in lib dir

2013-05-14 17:29:29 [FINEST] [ForgeModLoader] Running coremod plugins

2013-05-14 17:29:29 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin

2013-05-14 17:29:30 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully

2013-05-14 17:29:30 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin

2013-05-14 17:29:30 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully

2013-05-14 17:29:30 [FINEST] [ForgeModLoader] Validating minecraft

2013-05-14 17:29:30 [FINEST] [ForgeModLoader] Minecraft validated, launching...

2013-05-14 17:29:32 [iNFO] [sTDOUT] 229 recipes

2013-05-14 17:29:32 [iNFO] [sTDOUT] 27 achievements

2013-05-14 17:29:32 [iNFO] [Minecraft-Client] Setting user: Player31

2013-05-14 17:29:32 [iNFO] [sTDOUT] (Session ID is -)

2013-05-14 17:29:32 [iNFO] [sTDERR] Client asked for parameter: server

2013-05-14 17:29:33 [iNFO] [Minecraft-Client] LWJGL Version: 2.4.2

2013-05-14 17:29:33 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization

2013-05-14 17:29:33 [iNFO] [sTDOUT] MinecraftForge v7.7.1.675 Initialized

2013-05-14 17:29:33 [iNFO] [ForgeModLoader] MinecraftForge v7.7.1.675 Initialized

2013-05-14 17:29:33 [iNFO] [sTDOUT] Replaced 85 ore recipies

2013-05-14 17:29:33 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization

2013-05-14 17:29:33 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\config\logging.properties

2013-05-14 17:29:33 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL

2013-05-14 17:29:33 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer]

2013-05-14 17:29:33 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes

2013-05-14 17:29:33 [FINE] [ForgeModLoader] Found a minecraft related directory at C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\eclipse\Minecraft\bin, examining for mod candidates

2013-05-14 17:29:33 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\bin\jinput.jar

2013-05-14 17:29:33 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\bin\lwjgl_util.jar

2013-05-14 17:29:33 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\bin\lwjgl.jar

2013-05-14 17:29:33 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\bin\minecraft.jar, examining for mod candidates

2013-05-14 17:29:33 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\lib\argo-3.2-src.jar, examining for mod candidates

2013-05-14 17:29:33 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\lib\bcprov-debug-jdk15on-148.jar, examining for mod candidates

2013-05-14 17:29:33 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\lib\asm-debug-all-4.1.jar, examining for mod candidates

2013-05-14 17:29:33 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\lib\guava-14.0-rc3.jar

2013-05-14 17:29:33 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\lib\scala-library.jar

2013-05-14 17:29:33 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\lib\argo-small-3.2.jar

2013-05-14 17:29:33 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\lib\guava-14.0-rc3.jar

2013-05-14 17:29:33 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\lib\asm-all-4.1.jar

2013-05-14 17:29:33 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\lib\bcprov-jdk15on-148.jar

2013-05-14 17:29:33 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\lib\deobfuscation_data_1.5.1.zip

2013-05-14 17:29:33 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\lib\scala-library.jar

2013-05-14 17:29:33 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully

2013-05-14 17:29:33 [iNFO] [ForgeModLoader] Searching C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\mods for mods

2013-05-14 17:29:33 [FINE] [ForgeModLoader] Examining directory bin for potential mods

2013-05-14 17:29:33 [FINE] [ForgeModLoader] No mcmod.info file found in directory bin

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.modloader

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.registry

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm.transformers

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm.transformers.deobf

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery.asm

2013-05-14 17:29:33 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.event

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.functions

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.modloader

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.network

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.registry

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.toposort

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.versioning

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.relauncher

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.server

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package ibxm

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package mods

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package mods.DennisMod

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package mods.DennisMod.client

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package mods.DennisMod.COMMON

2013-05-14 17:29:34 [FINE] [ForgeModLoader] Identified an FMLMod type mod mods.DennisMod.COMMON.MoGems

2013-05-14 17:29:34 [FINEST] [MoGems] Parsed dependency info : [] [] []

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package mods.DennisMod.textures

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package mods.DennisMod.textures.armor

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package mods.DennisMod.textures.blocks

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package mods.DennisMod.textures.items

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.block

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.block.material

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.audio

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.entity

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.entity.render

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.gui

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.gui.achievement

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.gui.inventory

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.mco

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.model

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.multiplayer

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.particle

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.renderer

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.renderer.culling

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.renderer.entity

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.renderer.texture

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.renderer.tileentity

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.settings

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.stats

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.texturepacks

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.command

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.crash

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.creativetab

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.dispenser

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.enchantment

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.ai

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.boss

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.effect

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.item

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.monster

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.passive

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.player

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.projectile

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.inventory

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.item

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.item.crafting

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.logging

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.nbt

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.network

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.network.packet

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.network.rcon

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.pathfinding

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.potion

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.profiler

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.scoreboard

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server.dedicated

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server.gui

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server.integrated

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server.management

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.src

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.stats

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.tileentity

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.util

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.village

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.biome

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.chunk

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.chunk.storage

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.demo

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.gen

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.gen.feature

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.gen.layer

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.gen.structure

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.storage

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.classloading

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event.sound

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.model

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.model.obj

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.common

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.brewing

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.item

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.living

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.minecart

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.player

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.terraingen

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.world

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.liquids

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.oredict

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.transformers

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package paulscode

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound.codecs

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package textures

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package textures.armor

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package textures.blocks

2013-05-14 17:29:34 [FINEST] [ForgeModLoader] Recursing into package textures.items

2013-05-14 17:29:34 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods

2013-05-14 17:29:34 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file

2013-05-14 17:29:34 [FINE] [ForgeModLoader] Examining file argo-3.2-src.jar for potential mods

2013-05-14 17:29:34 [FINE] [ForgeModLoader] The mod container argo-3.2-src.jar appears to be missing an mcmod.info file

2013-05-14 17:29:34 [FINE] [ForgeModLoader] Examining file bcprov-debug-jdk15on-148.jar for potential mods

2013-05-14 17:29:34 [FINE] [ForgeModLoader] The mod container bcprov-debug-jdk15on-148.jar appears to be missing an mcmod.info file

2013-05-14 17:29:35 [FINE] [ForgeModLoader] Examining file asm-debug-all-4.1.jar for potential mods

2013-05-14 17:29:35 [FINE] [ForgeModLoader] The mod container asm-debug-all-4.1.jar appears to be missing an mcmod.info file

2013-05-14 17:29:35 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load

2013-05-14 17:29:35 [FINER] [ForgeModLoader] Received a system property request ''

2013-05-14 17:29:35 [FINER] [ForgeModLoader] System property request managing the state of 0 mods

2013-05-14 17:29:35 [FINE] [ForgeModLoader] After merging, found state information for 0 mods

2013-05-14 17:29:35 [FINE] [ForgeModLoader] Reloading logging properties from C:\Users\Dennis\Downloads\Minecraft\Mod\forge\mcp\jars\config\logging.properties

2013-05-14 17:29:35 [FINE] [ForgeModLoader] Reloaded logging properties

2013-05-14 17:29:35 [FINE] [mcp] Mod Logging channel mcp configured at default level.

2013-05-14 17:29:35 [iNFO] [mcp] Activating mod mcp

2013-05-14 17:29:35 [FINE] [FML] Mod Logging channel FML configured at default level.

2013-05-14 17:29:35 [iNFO] [FML] Activating mod FML

2013-05-14 17:29:35 [FINE] [Forge] Mod Logging channel Forge configured at default level.

2013-05-14 17:29:35 [iNFO] [Forge] Activating mod Forge

2013-05-14 17:29:35 [FINE] [MoGems] Enabling mod MoGems

2013-05-14 17:29:35 [FINE] [MoGems] Mod Logging channel MoGems configured at default level.

2013-05-14 17:29:35 [iNFO] [MoGems] Activating mod MoGems

2013-05-14 17:29:35 [FINER] [ForgeModLoader] Verifying mod requirements are satisfied

2013-05-14 17:29:35 [FINER] [ForgeModLoader] All mod requirements are satisfied

2013-05-14 17:29:35 [FINER] [ForgeModLoader] Sorting mods into an ordered list

2013-05-14 17:29:35 [FINER] [ForgeModLoader] Mod sorting completed successfully

2013-05-14 17:29:35 [FINE] [ForgeModLoader] Mod sorting data

2013-05-14 17:29:35 [FINE] [ForgeModLoader] MoGems(Mo' Gems and Ingots:0.3.1): bin ()

2013-05-14 17:29:35 [FINEST] [mcp] Sending event FMLConstructionEvent to mod mcp

2013-05-14 17:29:35 [FINEST] [mcp] Sent event FMLConstructionEvent to mod mcp

2013-05-14 17:29:35 [FINEST] [FML] Sending event FMLConstructionEvent to mod FML

2013-05-14 17:29:35 [FINEST] [FML] Sent event FMLConstructionEvent to mod FML

2013-05-14 17:29:35 [FINEST] [Forge] Sending event FMLConstructionEvent to mod Forge

2013-05-14 17:29:35 [FINEST] [Forge] Sent event FMLConstructionEvent to mod Forge

2013-05-14 17:29:35 [FINEST] [MoGems] Sending event FMLConstructionEvent to mod MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemSword(6576) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemPickaxe(6577) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemAxe(6578) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemSpade(6579) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemHoe(6580) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemArmor(6593) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemArmor(6594) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemArmor(6595) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemArmor(6596) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemSword(6582) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemPickaxe(6583) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemAxe(6584) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemSpade(6585) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemHoe(6586) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item mods.DennisMod.COMMON.Amethyst(6581) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item mods.DennisMod.COMMON.ManganeseIngot(6587) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemSword(6588) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemPickaxe(6589) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemAxe(6590) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemSpade(6591) owned by MoGems

2013-05-14 17:29:35 [FINE] [fml.ItemTracker] Adding item net.minecraft.item.ItemHoe(6592) owned by MoGems

2013-05-14 17:29:35 [sEVERE] [MoGems] The mod MoGems appears to have an invalid method annotation PreInit. This annotation can only apply to methods with argument types [class cpw.mods.fml.common.event.FMLPreInitializationEvent] -it will not be called

2013-05-14 17:29:35 [FINEST] [ForgeModLoader] Testing mod MoGems to verify it accepts its own version in a remote connection

2013-05-14 17:29:35 [FINEST] [ForgeModLoader] The mod MoGems accepts its own version (0.3.1)

2013-05-14 17:29:35 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into MoGems

2013-05-14 17:29:35 [FINEST] [MoGems] Sent event FMLConstructionEvent to mod MoGems

2013-05-14 17:29:35 [FINE] [ForgeModLoader] Mod signature data

2013-05-14 17:29:35 [FINE] [ForgeModLoader] mcp(Minecraft Coder Pack:7.44): minecraft.jar (NO VALID CERTIFICATE FOUND)

2013-05-14 17:29:35 [FINE] [ForgeModLoader] FML(Forge Mod Loader:5.1.43.675): coremods (NO VALID CERTIFICATE FOUND)

2013-05-14 17:29:35 [FINE] [ForgeModLoader] Forge(Minecraft Forge:7.7.1.675): coremods (NO VALID CERTIFICATE FOUND)

2013-05-14 17:29:35 [FINE] [ForgeModLoader] MoGems(Mo' Gems and Ingots:0.3.1): bin (NO VALID CERTIFICATE FOUND)

2013-05-14 17:29:35 [FINEST] [mcp] Sending event FMLPreInitializationEvent to mod mcp

2013-05-14 17:29:35 [FINEST] [mcp] Sent event FMLPreInitializationEvent to mod mcp

2013-05-14 17:29:35 [FINEST] [FML] Sending event FMLPreInitializationEvent to mod FML

2013-05-14 17:29:35 [FINEST] [FML] Sent event FMLPreInitializationEvent to mod FML

2013-05-14 17:29:35 [FINEST] [Forge] Sending event FMLPreInitializationEvent to mod Forge

2013-05-14 17:29:35 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0

2013-05-14 17:29:35 [FINEST] [Forge] Sent event FMLPreInitializationEvent to mod Forge

2013-05-14 17:29:35 [FINEST] [MoGems] Sending event FMLPreInitializationEvent to mod MoGems

2013-05-14 17:29:35 [FINEST] [MoGems] Sent event FMLPreInitializationEvent to mod MoGems

2013-05-14 17:29:36 [iNFO] [sTDOUT]

2013-05-14 17:29:36 [iNFO] [sTDOUT] Starting up SoundSystem...

2013-05-14 17:29:36 [iNFO] [sTDOUT] Initializing LWJGL OpenAL

2013-05-14 17:29:36 [iNFO] [sTDOUT]    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

2013-05-14 17:29:36 [iNFO] [sTDOUT] OpenAL initialized.

2013-05-14 17:29:36 [iNFO] [sTDOUT]

2013-05-14 17:29:37 [iNFO] [sTDERR] java.lang.NoSuchFieldException: GL_ARB_copy_image

2013-05-14 17:29:37 [iNFO] [sTDERR] at java.lang.Class.getField(Unknown Source)

2013-05-14 17:29:37 [iNFO] [sTDERR] at cpw.mods.fml.client.TextureFXManager.getHelper(TextureFXManager.java:134)

2013-05-14 17:29:37 [iNFO] [sTDERR] at net.minecraft.client.renderer.texture.TextureStitched.init(TextureStitched.java:74)

2013-05-14 17:29:37 [iNFO] [sTDERR] at net.minecraft.client.renderer.texture.TextureMap.refreshTextures(TextureMap.java:157)

2013-05-14 17:29:37 [iNFO] [sTDERR] at net.minecraft.client.renderer.RenderEngine.refreshTextureMaps(RenderEngine.java:520)

2013-05-14 17:29:37 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:442)

2013-05-14 17:29:37 [iNFO] [sTDERR] at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

2013-05-14 17:29:37 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:733)

2013-05-14 17:29:37 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

2013-05-14 17:29:37 [iNFO] [ForgeModLoader] Forge Mod Loader has detected an older LWJGL version, new advanced texture animation features are disabled

2013-05-14 17:29:37 [iNFO] [ForgeModLoader] Not using advanced OpenGL 4.3 advanced capability for animations : OpenGL 4.3 is not available

2013-05-14 17:29:37 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/lava_flow.txt

2013-05-14 17:29:37 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/water_flow.txt

2013-05-14 17:29:37 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/fire_0.txt

2013-05-14 17:29:37 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/fire_1.txt

2013-05-14 17:29:37 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/lava.txt

2013-05-14 17:29:37 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/portal.txt

2013-05-14 17:29:37 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/water.txt

2013-05-14 17:29:38 [iNFO] [Minecraft-Client] Found animation info for: textures/items/clock.txt

2013-05-14 17:29:38 [iNFO] [Minecraft-Client] Found animation info for: textures/items/compass.txt

2013-05-14 17:29:38 [FINEST] [mcp] Sending event FMLInitializationEvent to mod mcp

2013-05-14 17:29:38 [FINEST] [mcp] Sent event FMLInitializationEvent to mod mcp

2013-05-14 17:29:38 [FINEST] [FML] Sending event FMLInitializationEvent to mod FML

2013-05-14 17:29:38 [FINEST] [FML] Sent event FMLInitializationEvent to mod FML

2013-05-14 17:29:38 [FINEST] [Forge] Sending event FMLInitializationEvent to mod Forge

2013-05-14 17:29:38 [FINEST] [Forge] Sent event FMLInitializationEvent to mod Forge

2013-05-14 17:29:38 [FINEST] [MoGems] Sending event FMLInitializationEvent to mod MoGems

2013-05-14 17:29:38 [FINEST] [MoGems] Sent event FMLInitializationEvent to mod MoGems

2013-05-14 17:29:38 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue

2013-05-14 17:29:38 [sEVERE] [ForgeModLoader]

mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized

FML{5.1.43.675} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

Forge{7.7.1.675} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

MoGems{0.3.1} [Mo' Gems and Ingots] (bin) Unloaded->Constructed->Pre-initialized->Errored

2013-05-14 17:29:38 [sEVERE] [ForgeModLoader] The following problems were captured during this phase

2013-05-14 17:29:38 [sEVERE] [ForgeModLoader] Caught exception from MoGems

java.lang.ArrayIndexOutOfBoundsException: 7040

at net.minecraft.block.Block.<init>(Block.java:338)

at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)

at mods.DennisMod.COMMON.Combiner.<init>(Combiner.java:45)

at mods.DennisMod.COMMON.MoGems.load(MoGems.java:107)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:518)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:169)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:96)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:722)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:209)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:445)

at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

at net.minecraft.client.Minecraft.run(Minecraft.java:733)

at java.lang.Thread.run(Unknown Source)

2013-05-14 17:29:38 [iNFO] [sTDERR] java.lang.ArrayIndexOutOfBoundsException: 7040

2013-05-14 17:29:38 [iNFO] [sTDERR] at net.minecraft.block.Block.<init>(Block.java:338)

2013-05-14 17:29:38 [iNFO] [sTDERR] at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)

2013-05-14 17:29:38 [iNFO] [sTDERR] at mods.DennisMod.COMMON.Combiner.<init>(Combiner.java:45)

2013-05-14 17:29:38 [iNFO] [sTDERR] at mods.DennisMod.COMMON.MoGems.load(MoGems.java:107)

2013-05-14 17:29:38 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2013-05-14 17:29:38 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2013-05-14 17:29:38 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2013-05-14 17:29:38 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2013-05-14 17:29:38 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:518)

2013-05-14 17:29:38 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2013-05-14 17:29:38 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2013-05-14 17:29:38 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2013-05-14 17:29:38 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2013-05-14 17:29:38 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2013-05-14 17:29:38 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2013-05-14 17:29:38 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

2013-05-14 17:29:38 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2013-05-14 17:29:38 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2013-05-14 17:29:38 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:169)

2013-05-14 17:29:38 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2013-05-14 17:29:38 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2013-05-14 17:29:38 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2013-05-14 17:29:38 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2013-05-14 17:29:38 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2013-05-14 17:29:38 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2013-05-14 17:29:38 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

2013-05-14 17:29:38 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2013-05-14 17:29:38 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2013-05-14 17:29:38 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:96)

2013-05-14 17:29:38 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:722)

2013-05-14 17:29:38 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:209)

2013-05-14 17:29:38 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:445)

2013-05-14 17:29:38 [iNFO] [sTDERR] at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

2013-05-14 17:29:38 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:733)

2013-05-14 17:29:38 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

 

 

 

other crash log

 

---- Minecraft Crash Report ----

// Why is it breaking :(

 

Time: 14-5-13 17:29

Description: Failed to start game

 

java.lang.ArrayIndexOutOfBoundsException: 7040

at net.minecraft.block.Block.<init>(Block.java:338)

at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)

at mods.DennisMod.COMMON.Combiner.<init>(Combiner.java:45)

at mods.DennisMod.COMMON.MoGems.load(MoGems.java:107)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:518)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:169)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:96)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:722)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:209)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:445)

at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

at net.minecraft.client.Minecraft.run(Minecraft.java:733)

at java.lang.Thread.run(Unknown Source)

 

 

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

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.5.1

Operating System: Windows 8 (amd64) version 6.2

Java Version: 1.7.0_21, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 834764488 bytes (796 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

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v7.44 FML v5.1.43.675 Minecraft Forge 7.7.1.675 4 mods loaded, 4 mods active

mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized

FML{5.1.43.675} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

Forge{7.7.1.675} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

MoGems{0.3.1} [Mo' Gems and Ingots] (bin) Unloaded->Constructed->Pre-initialized->Errored

LWJGL: 2.4.2

OpenGL: Intel® HD Graphics 4000 GL version 4.0.0 - Build 9.17.10.2849, Intel

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Texture Pack: Default

Profiler Position: N/A (disabled)

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

 

Link to comment
Share on other sites

Okay, so I've got it in game but the block has only the textures of furnace_side all over it and if I try to add a GUI it doesn't work -> just says texture missing :/

Oh, and I am creating a multiple input furnace, but I don't know how to get the recipes for that

Link to comment
Share on other sites

Theres a thread on this forum that really goes through it quite deep, almost as far to get multiple inputs to work. I have been trying to get such thing workign aswell. Just search for "Input furnace" on this forum and you will find more information about it. Also you might find my thread in there aswell.

Link to comment
Share on other sites

Theres a thread on this forum that really goes through it quite deep, almost as far to get multiple inputs to work. I have been trying to get such thing workign aswell. Just search for "Input furnace" on this forum and you will find more information about it. Also you might find my thread in there aswell.

And what about the texture and gui problem?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hello, I'm trying to modify the effects of native enchantments for bows and arrows in Minecraft. After using a decompilation tool, I found that the specific implementations of native bow and arrow enchantments (including `ArrowDamageEnchantment`, `ArrowKnockbackEnchantment`, `ArrowFireEnchantment`, `ArrowInfiniteEnchantment`, `ArrowPiercingEnchantment`) do not contain any information about the enchantment effects (such as the `getDamageProtection` function for `ProtectionEnchantment`, `getDamageBonus` function for `DamageEnchantment`, etc.). Upon searching for the base class of arrows, `AbstractArrow`, I found a function named setEnchantmentEffectsFromEntity`, which seems to be used to retrieve the enchantment levels of the tool held by a `LivingEntity` and calculate the specific values of the enchantment effects. However, after testing with the following code, I found that this function is not being called:   @Mixin(AbstractArrow.class) public class ModifyArrowEnchantmentEffects {     private static final Logger LOGGER = LogUtils.getLogger();     @Inject(         method = "setEnchantmentEffectsFromEntity",         at = @At("HEAD")     )     private void logArrowEnchantmentEffectsFromEntity(CallbackInfo ci) {         LOGGER.info("Arrow enchantment effects from entity");     } }   Upon further investigation, I found that within the onHitEntity method, there are several lines of code:               if (!this.level().isClientSide &amp;&amp; entity1 instanceof LivingEntity) {                EnchantmentHelper.doPostHurtEffects(livingentity, entity1);                EnchantmentHelper.doPostDamageEffects((LivingEntity)entity1, livingentity);             }   These lines of code actually call the doPostHurt and doPostAttack methods of each enchantment in the enchantment list. However, this leads back to the issue because native bow and arrow enchantments do not implement these functions. Although their base class defines the functions, they are empty. At this point, I'm completely stumped and seeking assistance. Thank you.
    • I have been trying to make a server with forge but I keep running into an issue. I have jdk 22 installed as well as Java 8. here is the debug file  
    • it crashed again     What the console says : [00:02:03] [Server thread/INFO] [Easy NPC/]: [EntityManager] Server started! [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {iceandfire:fire_dragon_roost=true, iceandfire:fire_lily=true, iceandfire:spawn_dragon_skeleton_fire=true, iceandfire:lightning_dragon_roost=true, iceandfire:spawn_dragon_skeleton_lightning=true, iceandfire:ice_dragon_roost=true, iceandfire:ice_dragon_cave=true, iceandfire:lightning_dragon_cave=true, iceandfire:cyclops_cave=true, iceandfire:spawn_wandering_cyclops=true, iceandfire:spawn_sea_serpent=true, iceandfire:frost_lily=true, iceandfire:hydra_cave=true, iceandfire:lightning_lily=true, iceandfireixie_village=true, iceandfire:myrmex_hive_jungle=true, iceandfire:myrmex_hive_desert=true, iceandfire:silver_ore=true, iceandfire:siren_island=true, iceandfire:spawn_dragon_skeleton_ice=true, iceandfire:spawn_stymphalian_bird=true, iceandfire:fire_dragon_cave=true, iceandfire:sapphire_ore=true, iceandfire:spawn_hippocampus=true, iceandfire:spawn_death_worm=true} [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {TROLL_S=true, HIPPOGRYPH=true, AMPHITHERE=true, COCKATRICE=true, TROLL_M=true, DREAD_LICH=true, TROLL_F=true} [00:02:03] [Server thread/INFO] [ne.be.lo.WeaponRegistry/]: Encoded Weapon Attribute registry size (with package overhead): 41976 bytes (in 5 string chunks with the size of 10000) [00:02:03] [Server thread/INFO] [patchouli/]: Sending reload packet to clients [00:02:03] [Server thread/WARN] [voicechat/]: [voicechat] Running in offline mode - Voice chat encryption is not secure! [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Using server-ip as bind address: 0.0.0.0 [00:02:03] [Server thread/WARN] [ModernFix/]: Dedicated server took 22.521 seconds to load [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Voice chat server started at 0.0.0.0:25565 [00:02:03] [Server thread/WARN] [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.player.Player from class tschipp.carryon.common.carry.CarryOnDataManager [00:02:03] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@2941ffd5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 0 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 1 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 2 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 3 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 4 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 6 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 7 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 8 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 9 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 10 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 11 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 12 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 13 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 14 [00:02:19] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@ebc7ef2 [00:02:19] [Server thread/INFO] [minecraft/PlayerList]: ZacAdos[/90.2.17.162:49242] logged in with entity id 1062 at (-1848.6727005281205, 221.0, -3054.2468255848935) [00:02:19] [Server thread/ERROR] [ModernFix/]: Skipping entity ID sync for com.talhanation.smallships.world.entity.ship.Ship: java.lang.NoClassDefFoundError: net/minecraft/client/CameraType [00:02:19] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos joined the game [00:02:19] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:19] [Server thread/INFO] [se.mi.te.da.DataManager/]: Sending data to client: ZacAdos [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Received secret request of - Gloop - ZacAdos (17) [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Sent secret to - Gloop - ZacAdos [00:02:21] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully authenticated player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully validated connection of player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Player - Gloop - ZacAdos (cc56befd-d376-3526-a760-340713c478bd) successfully connected to voice chat stop [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping the server [00:02:34] [Server thread/INFO] [mo.pl.ar.ArmourersWorkshop/]: stop local service [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players [00:02:34] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: ZacAdos lost connection: Server closed [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos left the game [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (world): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage: All dimensions are saved [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopping IO worker... [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopped IO worker! [00:02:34] [Server thread/INFO] [Calio/]: Removing Dynamic Registries for: net.minecraft.server.dedicated.DedicatedServer@7dc879e1 [MineStrator Daemon]: Checking server disk space usage, this could take a few seconds... [MineStrator Daemon]: Updating process configuration files... [MineStrator Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... [MineStrator Daemon]: Pulling Docker container image, this could take a few minutes to complete... [MineStrator Daemon]: Finished pulling Docker container image container@pterodactyl~ java -version openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7) OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing) container@pterodactyl~ java -Xms128M -Xmx6302M -Dterminal.jline=false -Dterminal.ansi=true -Djline.terminal=jline.UnsupportedTerminal -p libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar:libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/net/minecraftforge/JarJarFileSystems/0.3.16/JarJarFileSystems-0.3.16.jar --add-modules ALL-MODULE-PATH --add-opens java.base/java.util.jar=cpw.mods.securejarhandler --add-opens java.base/java.lang.invoke=cpw.mods.securejarhandler --add-exports java.base/sun.security.util=cpw.mods.securejarhandler --add-exports jdk.naming.dns/com.sun.jndi.dns=java.naming -Djava.net.preferIPv6Addresses=system -DignoreList=bootstraplauncher-1.1.2.jar,securejarhandler-2.1.4.jar,asm-commons-9.5.jar,asm-util-9.5.jar,asm-analysis-9.5.jar,asm-tree-9.5.jar,asm-9.5.jar,JarJarFileSystems-0.3.16.jar -DlibraryDirectory=libraries -DlegacyClassPath=libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/net/minecraftforge/accesstransformers/8.0.4/accesstransformers-8.0.4.jar:libraries/org/antlr/antlr4-runtime/4.9.1/antlr4-runtime-4.9.1.jar:libraries/net/minecraftforge/eventbus/6.0.3/eventbus-6.0.3.jar:libraries/net/minecraftforge/forgespi/6.0.0/forgespi-6.0.0.jar:libraries/net/minecraftforge/coremods/5.0.1/coremods-5.0.1.jar:libraries/cpw/mods/modlauncher/10.0.8/modlauncher-10.0.8.jar:libraries/net/minecraftforge/unsafe/0.2.0/unsafe-0.2.0.jar:libraries/com/electronwill/night-config/core/3.6.4/core-3.6.4.jar:libraries/com/electronwill/night-config/toml/3.6.4/toml-3.6.4.jar:libraries/org/apache/maven/maven-artifact/3.8.5/maven-artifact-3.8.5.jar:libraries/net/jodah/typetools/0.8.3/typetools-0.8.3.jar:libraries/net/minecrell/terminalconsoleappender/1.2.0/terminalconsoleappender-1.2.0.jar:libraries/org/jline/jline-reader/3.12.1/jline-reader-3.12.1.jar:libraries/org/jline/jline-terminal/3.12.1/jline-terminal-3.12.1.jar:libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar:libraries/org/openjdk/nashorn/nashorn-core/15.3/nashorn-core-15.3.jar:libraries/net/minecraftforge/JarJarSelector/0.3.16/JarJarSelector-0.3.16.jar:libraries/net/minecraftforge/JarJarMetadata/0.3.16/JarJarMetadata-0.3.16.jar:libraries/net/minecraftforge/fmlloader/1.19.2-43.3.0/fmlloader-1.19.2-43.3.0.jar:libraries/net/minecraft/server/1.19.2-20220805.130853/server-1.19.2-20220805.130853-extra.jar:libraries/com/github/oshi/oshi-core/5.8.5/oshi-core-5.8.5.jar:libraries/com/google/code/gson/gson/2.8.9/gson-2.8.9.jar:libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:libraries/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar:libraries/com/mojang/authlib/3.11.49/authlib-3.11.49.jar:libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar:libraries/com/mojang/datafixerupper/5.0.28/datafixerupper-5.0.28.jar:libraries/com/mojang/javabridge/1.2.24/javabridge-1.2.24.jar:libraries/com/mojang/logging/1.0.0/logging-1.0.0.jar:libraries/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:libraries/io/netty/netty-buffer/4.1.77.Final/netty-buffer-4.1.77.Final.jar:libraries/io/netty/netty-codec/4.1.77.Final/netty-codec-4.1.77.Final.jar:libraries/io/netty/netty-common/4.1.77.Final/netty-common-4.1.77.Final.jar:libraries/io/netty/netty-handler/4.1.77.Final/netty-handler-4.1.77.Final.jar:libraries/io/netty/netty-resolver/4.1.77.Final/netty-resolver-4.1.77.Final.jar:libraries/io/netty/netty-transport/4.1.77.Final/netty-transport-4.1.77.Final.jar:libraries/io/netty/netty-transport-classes-epoll/4.1.77.Final/netty-transport-classes-epoll-4.1.77.Final.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-x86_64.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-aarch_64.jar:libraries/io/netty/netty-transport-native-unix-common/4.1.77.Final/netty-transport-native-unix-common-4.1.77.Final.jar:libraries/it/unimi/dsi/fastutil/8.5.6/fastutil-8.5.6.jar:libraries/net/java/dev/jna/jna/5.10.0/jna-5.10.0.jar:libraries/net/java/dev/jna/jna-platform/5.10.0/jna-platform-5.10.0.jar:libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar:libraries/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:libraries/org/apache/logging/log4j/log4j-api/2.17.0/log4j-api-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-core/2.17.0/log4j-core-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.17.0/log4j-slf4j18-impl-2.17.0.jar:libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar cpw.mods.bootstraplauncher.BootstrapLauncher --launchTarget forgeserver --fml.forgeVersion 43.3.0 --fml.mcVersion 1.19.2 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220805.130853 [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [00:02:43] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [00:02:44] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection Latest log [29Mar2024 00:02:42.803] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [29Mar2024 00:02:42.805] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [29Mar2024 00:02:43.548] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [29Mar2024 00:02:43.876] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.878] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:44.033] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [29Mar2024 00:02:44.034] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [29Mar2024 00:02:44.034] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection
    • I am unable to do that. Brigadier is a mojang library that parses commands.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.