Jump to content

The mod (modname) appears to reject its own version number (version)... Error


dude22072
 Share

Recommended Posts

What causes this and how can i fix it?

 

2013-06-23 15:51:58 [sEVERE] [ForgeModLoader] The mod ACMod appears to reject its own version number (1.1.2) in its version handling. This is likely a severe bug in the mod!
2013-06-23 15:51:58 [sEVERE] [ForgeModLoader] The mod complicationcraft appears to reject its own version number (0.0.14.1) in its version handling. This is likely a severe bug in the mod!
2013-06-23 15:51:58 [sEVERE] [ForgeModLoader] The mod cookiecraft appears to reject its own version number (3.0.0) in its version handling. This is likely a severe bug in the mod!
2013-06-23 15:51:58 [sEVERE] [ForgeModLoader] The mod elemental appears to reject its own version number (1.0.0) in its version handling. This is likely a severe bug in the mod!

Legend of Zelda Mod[updated September 20th to 3.1.1]

Extra Achievements(Minecraft 1.8!)[updated April 3rd to 2.3.0]

Fancy Cheeses[updated May 8th to 0.5.0]

Link to comment
Share on other sites

ComplicationCraft:

/*made by dude22072*/
package dudesmods.complicationcraft;

import java.util.ArrayList;

import net.minecraft.block.Block;
import net.minecraft.block.BlockWorkbench;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.item.crafting.RecipesTools;
import net.minecraft.item.crafting.RecipesWeapons;
import net.minecraft.item.crafting.ShapedRecipes;
import net.minecraft.item.crafting.ShapelessRecipes;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.PreInit;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
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.client.renderer.texture.IconRegister;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.oredict.ShapedOreRecipe;
import net.minecraftforge.oredict.ShapelessOreRecipe;

@Mod(modid = "complicationcraft", name= "Complication Craft", version= "0.0.14.1")
@NetworkMod(
	clientSideRequired = true,
	serverSideRequired = false,
	versionBounds = "[1.5.2]")

public class ComplicationCraft {
//Static Registration-Items

public static Item StickyGoo;
public static Item pistonRod;
public static Block pistonBaseComp;
public static Item pistonHead;
public static Item pistonHeadSticky;
public static Item ToolShaftRedstone;
public static Item poweredLight;
public static Item doorFrame;
public static Item doorKnob;
public static Item doorLock;
public static Item doorLockKnob;
public static Item stoneBase;
public static Item doorFrameReenforced;
public static Item emptyDoor;
public static Item doorHinge;
public static Item doorFrameTop;
public static Item doorFrameBottom;
public static Item itemToolMeta;

//creative tabs
public static CreativeTabs tabComplicationCraft = new tabComplicationCraft("tabComplicationCraft");
public static CreativeTabs tabComplicationCraftRedstone = new tabComplicationCraftRedstone("tabComplicationCraftRedstone");
public static CreativeTabs tabComplicationCraftTools = new tabComplicationCraftTools("tabComplicationCraftTools");
public static CreativeTabs tabComplicationCraftDoors = new tabComplicationCraftDoors("tabComplicationCraftDoors");

private static void removeRecipe(ItemStack resultItem)
{
         ItemStack recipeResult = null;
         ArrayList recipes = (ArrayList) CraftingManager.getInstance().getRecipeList();
         for (int scan = 0; scan < recipes.size(); scan++)
         {
                 IRecipe tmpRecipe = (IRecipe) recipes.get(scan);
                 if (tmpRecipe instanceof ShapelessRecipes)
                 {
                         ShapelessRecipes recipe = (ShapelessRecipes)tmpRecipe;
                         recipeResult = recipe.getRecipeOutput();
                 }
                 else if (tmpRecipe instanceof ShapedRecipes)
                 {
                         ShapedRecipes recipe = (ShapedRecipes)tmpRecipe;
                         recipeResult = recipe.getRecipeOutput();
                 }
                 else if (tmpRecipe instanceof ShapedOreRecipe)
                 {
                 ShapedOreRecipe recipe = (ShapedOreRecipe)tmpRecipe;
                         recipeResult = recipe.getRecipeOutput();
                 }
                 else if (tmpRecipe instanceof ShapelessOreRecipe)
                 {
                 ShapelessOreRecipe recipe = (ShapelessOreRecipe)tmpRecipe;
                         recipeResult = recipe.getRecipeOutput();
                 }
                 if (ItemStack.areItemStacksEqual(resultItem, recipeResult))
                 {
                         System.out.println("ComplicationCraft Removed Recipe: " + recipes.get(scan) + " -> " + recipeResult);
                         recipes.remove(scan);
                 }
         }
}
private static int ToolPeiceIds = 10000;
private static int StickyGooID = 10033;
private static int pistonRodID = 10034;
private static int pistonBaseCompID = 600;
private static int pistonHeadID = 10036;
private static int pistonHeadStickyID = 10037;
private static int ToolShaftRedstoneID = 10038;
private static int poweredLightID = 10039;
private static int doorFrameID = 10040;
private static int doorKnobID = 10041;
private static int doorLockID = 10042;
private static int doorLockKnobID = 10043;
private static int stoneBaseID = 10044;
private static int doorFrameReenforcedID = 10045;
private static int emptyDoorID = 10046;
private static int doorHingeID = 10047;
private static int doorFrameTopID = 10048;
private static int doorFrameBottomID = 10049;

@PreInit
public void myNewPreLoad(FMLPreInitializationEvent event) {
	/*Configuration config = new Configuration(event.getSuggestedConfigurationFile());

	config.load();

	ToolPeiceIds = config.getItem("ToolsPeiceIds", 10000).getInt();
	new ItemStack(itemToolMeta, 1, 0)ID = config.getItem("new ItemStack(itemToolMeta, 1, 0)ID", 10001).getInt();
	new ItemStack(itemToolMeta, 1, 1)ID = config.getItem("new ItemStack(itemToolMeta, 1, 1)ID", 10002).getInt();
	new ItemStack(itemToolMeta, 1, 2)ID = config.getItem("new ItemStack(itemToolMeta, 1, 2)ID", 10003).getInt();
	new ItemStack(itemToolMeta, 1, 3)ID = config.getItem("new ItemStack(itemToolMeta, 1, 3)ID", 10004).getInt();
	new ItemStack(itemToolMeta, 1, 4)ID = config.getItem("new ItemStack(itemToolMeta, 1, 4)ID", 10005).getInt();
	new ItemStack(itemToolMeta, 1, 5)ID = config.getItem("new ItemStack(itemToolMeta, 1, 5)ID", 10006).getInt();
	new ItemStack(itemToolMeta, 1, 6)ID = config.getItem("new ItemStack(itemToolMeta, 1, 6)ID", 10007).getInt();
	new ItemStack(itemToolMeta, 1, 7)ID = config.getItem("new ItemStack(itemToolMeta, 1, 7)ID", 10008).getInt();
	new ItemStack(itemToolMeta, 1, 8)ID = config.getItem("new ItemStack(itemToolMeta, 1, 8)ID", 10009).getInt();
	new ItemStack(itemToolMeta, 1, 9)ID = config.getItem("new ItemStack(itemToolMeta, 1, 9)ID", 10010).getInt();
	new ItemStack(itemToolMeta, 1, 10)ID = config.getItem("new ItemStack(itemToolMeta, 1, 10)ID", 10011).getInt();
	new ItemStack(itemToolMeta, 1, 11)ID = config.getItem("new ItemStack(itemToolMeta, 1, 11)ID", 10012).getInt();
	new ItemStack(itemToolMeta, 1, 12)ID = config.getItem("new ItemStack(itemToolMeta, 1, 12)ID", 10013).getInt();
	new ItemStack(itemToolMeta, 1, 13)ID = config.getItem("new ItemStack(itemToolMeta, 1, 13)ID", 10014).getInt();
	new ItemStack(itemToolMeta, 1, 14)ID = config.getItem("new ItemStack(itemToolMeta, 1, 14)ID", 10015).getInt();
	new ItemStack(itemToolMeta, 1, 15)ID = config.getItem("new ItemStack(itemToolMeta, 1, 15)ID", 10016).getInt();
	new ItemStack(itemToolMeta, 1, 16)ID = config.getItem("new ItemStack(itemToolMeta, 1, 16)ID", 10017).getInt();
	new ItemStack(itemToolMeta, 1, 17)ID = config.getItem("new ItemStack(itemToolMeta, 1, 17)ID", 10018).getInt();
	new ItemStack(itemToolMeta, 1, 18)ID = config.getItem("new ItemStack(itemToolMeta, 1, 18)ID", 10019).getInt();
	new ItemStack(itemToolMeta, 1, 19)ID = config.getItem("new ItemStack(itemToolMeta, 1, 19)ID", 10020).getInt();
	new ItemStack(itemToolMeta, 1, 20)ID = config.getItem("new ItemStack(itemToolMeta, 1, 20)ID", 10021).getInt();
	new ItemStack(itemToolMeta, 1, 21)ID = config.getItem("new ItemStack(itemToolMeta, 1, 21)ID", 10022).getInt();
	new ItemStack(itemToolMeta, 1, 22)ID = config.getItem("new ItemStack(itemToolMeta, 1, 22)ID", 10023).getInt();
	new ItemStack(itemToolMeta, 1, 23)ID = config.getItem("new ItemStack(itemToolMeta, 1, 23)ID", 10024).getInt();
	new ItemStack(itemToolMeta, 1, 24)ID = config.getItem("new ItemStack(itemToolMeta, 1, 24)ID", 10025).getInt();
	new ItemStack(itemToolMeta, 1, 25)ID = config.getItem("new ItemStack(itemToolMeta, 1, 25)ID", 10026).getInt();
	new ItemStack(itemToolMeta, 1, 26)ID = config.getItem("new ItemStack(itemToolMeta, 1, 26)ID", 10027).getInt();
	new ItemStack(itemToolMeta, 1, 27)ID = config.getItem("new ItemStack(itemToolMeta, 1, 27)ID", 10028).getInt();
	new ItemStack(itemToolMeta, 1, 28)ID = config.getItem("new ItemStack(itemToolMeta, 1, 28)ID", 10029).getInt();
	new ItemStack(itemToolMeta, 1, 29)ID = config.getItem("new ItemStack(itemToolMeta, 1, 29)ID", 10030).getInt();
	new ItemStack(itemToolMeta, 1, 30)ID = config.getItem("new ItemStack(itemToolMeta, 1, 30)ID", 10031).getInt();
	new ItemStack(itemToolMeta, 1, 31)ID = config.getItem("new ItemStack(itemToolMeta, 1, 31)ID", 10032).getInt();
	StickyGooID = config.getItem("StickyGooID", 10033).getInt();
	pistonRodID = config.getItem("pistonRodID", 10034).getInt();
	pistonBaseCompID = config.getBlock("pistonBaseCompID", 600).getInt();
	pistonHeadID = config.getItem("pistonHeadID", 10036).getInt();
	pistonHeadStickyID = config.getItem("pistonHeadStickyID", 10037).getInt();
	new ItemStack(itemToolMeta, 1, 0)RedstoneID = config.getItem("new ItemStack(itemToolMeta, 1, 0)RedstoneID", 10038).getInt();
	poweredLightID = config.getItem("poweredLightID", 10039).getInt();
	doorFrameID = config.getItem("doorFrameID", 10040).getInt();
	doorKnobID = config.getItem("doorKnobID", 10041).getInt();
	doorLockID = config.getItem("doorLockID", 10042).getInt();
	doorLockKnobID = config.getItem("doorLockKnobID", 10043).getInt();
	stoneBaseID = config.getItem("stoneBaseID", 10044).getInt();
	doorFrameReenforcedID = config.getItem("doorFrameReenforcedID", 10045).getInt();
	emptyDoorID = config.getItem("emptyDoorID", 10046).getInt();
	doorHingeID = config.getItem("doorHingeID", 10047).getInt();
	doorFrameTopID = config.getItem("doorFrameTopID", 10048).getInt();
	doorFrameBottomID = config.getItem("doorFrameBottomID", 10049).getInt();

	config.save();*/

	this.removeRecipe(new ItemStack(Item.shears));
	this.removeRecipe(new ItemStack(Item.pickaxeWood));
	this.removeRecipe(new ItemStack(Item.pickaxeStone));
	this.removeRecipe(new ItemStack(Item.pickaxeIron));
	this.removeRecipe(new ItemStack(Item.pickaxeDiamond));
	this.removeRecipe(new ItemStack(Item.pickaxeGold)); 
	this.removeRecipe(new ItemStack(Item.shovelWood));
	this.removeRecipe(new ItemStack(Item.shovelStone));
	this.removeRecipe(new ItemStack(Item.shovelIron));
	this.removeRecipe(new ItemStack(Item.shovelDiamond));
	this.removeRecipe(new ItemStack(Item.shovelGold));
	this.removeRecipe(new ItemStack(Item.axeWood));
	this.removeRecipe(new ItemStack(Item.axeStone));
	this.removeRecipe(new ItemStack(Item.axeIron));
	this.removeRecipe(new ItemStack(Item.axeDiamond));
	this.removeRecipe(new ItemStack(Item.axeGold));
	this.removeRecipe(new ItemStack(Item.hoeWood));
	this.removeRecipe(new ItemStack(Item.hoeStone));
	this.removeRecipe(new ItemStack(Item.hoeIron));
	this.removeRecipe(new ItemStack(Item.hoeDiamond));
	this.removeRecipe(new ItemStack(Item.hoeGold));
	this.removeRecipe(new ItemStack(Item.swordWood));
	this.removeRecipe(new ItemStack(Item.swordStone));
	this.removeRecipe(new ItemStack(Item.swordIron));
	this.removeRecipe(new ItemStack(Item.swordDiamond));
	this.removeRecipe(new ItemStack(Item.swordGold));
	this.removeRecipe(new ItemStack(Block.pistonBase, 1));
	this.removeRecipe(new ItemStack(Block.pistonStickyBase, 1));

	LocalizationHandler.loadLanguages();

}

@Init
public void myNewLoad(FMLInitializationEvent event) {

	GameRegistry.registerBlock(pistonBaseComp);
	//Names
	///UK
	LanguageRegistry.instance().addStringLocalization("item.null.ToolShaft.name", "en_GB", "Tool Rod");
	LanguageRegistry.instance().addStringLocalization("item.null.spadeHandle.name", "en_GB", "Spade Handle");
	LanguageRegistry.instance().addStringLocalization("item.null.spadeHeadWood.name", "en_GB", "Wooden Spade Head");
	LanguageRegistry.instance().addStringLocalization("item.null.spadeHeadStone.name", "en_GB", "Stone Spade Head");
	LanguageRegistry.instance().addStringLocalization("item.null.spadeHeadIron.name", "en_GB", "Iron Spade Head");
	LanguageRegistry.instance().addStringLocalization("item.null.spadeHeadGold.name", "en_GB", "Golden Spade Head");
	LanguageRegistry.instance().addStringLocalization("item.null.spadeHeadDiamond.name", "en_GB", "Diamond Spade Head");


	//Crafting
	/*GameRegistry.addRecipe(new ItemStack(Output Item, # of), "AAA", "AAA", "AAA", 'A', ItemA);*/
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 0), " A ", " A ", " A ", 'A', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 1), " A ", "A A", "AAA", 'A', Block.planks);
	GameRegistry.addRecipe(new ItemStack(StickyGoo, 3), "CSC", "STS", "CSC", 'C', Block.web, 'S', Item.slimeBall, 'T', Item.silk);
	GameRegistry.addRecipe(new ItemStack(pistonRod, 1), "IRI", "RTR", "IRI", 'I', Item.ingotIron, 'T', ToolShaftRedstone, 'R', Item.redstone);
	GameRegistry.addRecipe(new ItemStack(pistonBaseComp, 1), "CRC", "RIR",  "CRC", 'C', Block.cobblestone, 'R', Item.redstone, 'I', Item.ingotIron);
	GameRegistry.addRecipe(new ItemStack(pistonHead, 1 ), "IWI", "WWW", "IWI", 'I', Item.ingotIron, 'W', Block.planks);
	GameRegistry.addShapelessRecipe(new ItemStack(pistonHeadSticky, 1), pistonHead, StickyGoo);
	GameRegistry.addRecipe(new ItemStack(ToolShaftRedstone, 1), "RRR", "RSR", "RRR", 'R', Item.redstone, 'S', new ItemStack(itemToolMeta, 1, 0));
	GameRegistry.addRecipe(new ItemStack(poweredLight, 1), " R ", "RGR", " R ", 'R', Item.redstone, 'G', Item.lightStoneDust);
	GameRegistry.addRecipe(new ItemStack(doorFrameReenforced, 1), "III", "IFI", "III", 'I', Item.ingotIron, 'F', doorFrame);
	GameRegistry.addRecipe(new ItemStack(doorFrame, 1), new Object[] {"#", "$", '#', doorFrameTop, '$', doorFrameBottom});

	///Heads
	////Spade
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 2), " A ", "AAA", "AAA", 'A', Block.planks);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 3), " A ", "AAA", "AAA", 'A', Block.cobblestone);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 4), " A ", "AAA", "AAA", 'A', Item.ingotIron);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 5), " A ", "AAA", "AAA", 'A', Item.ingotGold);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 6), " A ", "AAA", "AAA", 'A', Item.diamond);
	////Pickaxe
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 7), " A ", "A A", "   ", 'A', Block.planks, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, , " A ", "A A", "   ", 'A', Block.cobblestone, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 9), " A ", "A A", "   ", 'A', Item.ingotIron, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 10), " A ", "A A", "   ", 'A', Item.ingotGold, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 11), " A ", "A A", "   ", 'A', Item.diamond, 'B', Item.stick);
	////Axe
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 12), "AAB", "A B", " AB", 'A', Block.planks, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 13), "AAB", "A B", " AB", 'A', Block.cobblestone, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 14), "AAB", "A B", " AB", 'A', Item.ingotIron, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 15), "AAB", "A B", " AB", 'A', Item.ingotGold, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 16), "AAB", "A B", " AB", 'A', Item.diamond, 'B', Item.stick);
	////Hoe
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 17), "AAB", "  B", "   ", 'A', Block.planks, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 18), "AAB", "  B", "   ", 'A', Block.cobblestone, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 19), "AAB", "  B", "   ", 'A', Item.ingotIron, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 20), "AAB", "  B", "   ", 'A', Item.ingotGold, 'B', Item.stick);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 21), "AAB", "  B", "   ", 'A', Item.diamond, 'B', Item.stick);
	///Sword
	////Hilt
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 27), "A A", "BBB", "A A", 'A', Item.stick, 'B', Block.planks);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 28), "A A", "BBB", "A A", 'A', Block.cobblestone, 'B', Block.planks);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 29), "A A", "BBB", "A A", 'A', Item.ingotIron, 'B', Block.planks);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 30), "A A", "BBB", "A A", 'A', Item.ingotGold, 'B', Block.planks);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 31), "A A", "BBB", "A A", 'A', Item.diamond, 'B', Block.planks);
	////Blade
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 22), " A ", "ABA", "BAB", 'A', Item.stick, 'B', Block.planks);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 23), " A ", "ABA", "BAB", 'A', Block.cobblestone, 'B', Block.planks);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 24), " A ", "ABA", "BAB", 'A', Item.ingotIron, 'B', Item.ingotIron);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 25), " A ", "ABA", "BAB", 'A', Item.ingotGold, 'B', Item.ingotIron);
	GameRegistry.addRecipe(new ItemStack(itemToolMeta, 1, 26), " A ", "ABA", "BAB", 'A', Item.diamond, 'B', Item.ingotIron);

	//Crafting-Vanilla
	GameRegistry.addRecipe(new ItemStack(Item.shovelWood, 1),new Object[] {"A", "B", "C", 'A', new ItemStack(itemToolMeta, 1, 2),'B', new ItemStack(itemToolMeta, 1, 0), 'C', new ItemStack(itemToolMeta, 1, 1) });
	GameRegistry.addRecipe(new ItemStack(Item.shovelStone, 1),new Object[] {"A", "B", "C", 'A', new ItemStack(itemToolMeta, 1, 3),'B', new ItemStack(itemToolMeta, 1, 0), 'C', new ItemStack(itemToolMeta, 1, 1) });
	GameRegistry.addRecipe(new ItemStack(Item.shovelIron, 1),new Object[] {"A", "B", "C", 'A', new ItemStack(itemToolMeta, 1, 4),'B', new ItemStack(itemToolMeta, 1, 0), 'C', new ItemStack(itemToolMeta, 1, 1) });
	GameRegistry.addRecipe(new ItemStack(Item.shovelGold, 1),new Object[] {"A", "B", "C", 'A', new ItemStack(itemToolMeta, 1, 5),'B', new ItemStack(itemToolMeta, 1, 0), 'C', new ItemStack(itemToolMeta, 1, 1) });
	GameRegistry.addRecipe(new ItemStack(Item.shovelDiamond, 1),new Object[] {"A", "B", "C", 'A', new ItemStack(itemToolMeta, 1, 6),'B', new ItemStack(itemToolMeta, 1, 0), 'C', new ItemStack(itemToolMeta, 1, 1) });
	GameRegistry.addRecipe(new ItemStack(Item.pickaxeWood, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 7),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.pickaxeStone, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, ,'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.pickaxeIron, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 9),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.pickaxeGold, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 10),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.pickaxeDiamond, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 11),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.axeWood, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 12),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.axeStone, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 13),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.axeIron, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 14),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.axeGold, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 15),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.axeDiamond, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 16),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.hoeWood, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 17),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.hoeStone, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 17),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.hoeIron, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 17),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.hoeGold, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 17),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.hoeDiamond, 1),new Object[] {"A", "B", "B",  'A', new ItemStack(itemToolMeta, 1, 17),'B', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.swordWood, 1),new Object[] {"A", "B", "C", 'A', new ItemStack(itemToolMeta, 1, 22),'B', new ItemStack(itemToolMeta, 1, 27), 'C', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.swordStone, 1),new Object[] {"A", "B", "C", 'A', new ItemStack(itemToolMeta, 1, 23),'B', new ItemStack(itemToolMeta, 1, 28), 'C', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.swordIron, 1),new Object[] {"A", "B", "C", 'A', new ItemStack(itemToolMeta, 1, 24),'B', new ItemStack(itemToolMeta, 1, 29), 'C', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.swordGold, 1),new Object[] {"A", "B", "C", 'A', new ItemStack(itemToolMeta, 1, 25),'B', new ItemStack(itemToolMeta, 1, 30), 'C', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Item.swordDiamond, 1),new Object[] {"A", "B", "C", 'A', new ItemStack(itemToolMeta, 1, 26),'B', new ItemStack(itemToolMeta, 1, 31), 'C', new ItemStack(itemToolMeta, 1, 0)});
	GameRegistry.addRecipe(new ItemStack(Block.pistonBase, 1), " H ", " R ", " B ", 'H', pistonHead, 'R', pistonRod, 'B', pistonBaseComp);
	GameRegistry.addRecipe(new ItemStack(Block.pistonStickyBase, 1), " H ", " R ", " B ", 'H', pistonHeadSticky, 'R', pistonRod, 'B', pistonBaseComp);
	GameRegistry.addShapelessRecipe(new ItemStack(Block.pistonStickyBase, 1),StickyGoo, Block.pistonBase);


	//Smelting


	//Gui

}
static {
	StickyGoo = (new blankItem(StickyGooID)).setCreativeTab(tabComplicationCraft).setUnlocalizedName("StickyGoo");
	pistonRod = (new blankItem(pistonRodID)).setCreativeTab(tabComplicationCraftRedstone).setUnlocalizedName("pistonRod");
	pistonBaseComp = (new blankBlock(pistonBaseCompID, Material.piston, tabComplicationCraftRedstone)).setUnlocalizedName("pistonBaseComp");
	pistonHead = (new blankItem(pistonHeadID)).setCreativeTab(tabComplicationCraftRedstone).setUnlocalizedName("pistonHead");
	pistonHeadSticky = (new blankItem(pistonHeadStickyID)).setCreativeTab(tabComplicationCraftRedstone).setUnlocalizedName("pistonHeadSticky");
	ToolShaftRedstone = (new blankItem(ToolShaftRedstoneID)).setCreativeTab(tabComplicationCraftRedstone).setUnlocalizedName("ToolShaftRedstone");
	poweredLight = (new blankItem(poweredLightID)).setCreativeTab(tabComplicationCraftRedstone).setUnlocalizedName("poweredLight");
	doorFrame = (new rareItem(doorFrameID)).setCreativeTab(tabComplicationCraftDoors).setUnlocalizedName("doorFrame");
	doorKnob = (new rareItem(doorKnobID)).setCreativeTab(tabComplicationCraftDoors).setUnlocalizedName("doorKnob");
	doorLock = (new rareItem(doorLockID)).setCreativeTab(tabComplicationCraftDoors).setUnlocalizedName("doorLock");
	doorLockKnob = (new rareItem(doorLockKnobID)).setCreativeTab(tabComplicationCraftDoors).setUnlocalizedName("doorLockKnob");
	stoneBase = (new rareItem(stoneBaseID)).setCreativeTab(tabComplicationCraftRedstone).setUnlocalizedName("stoneBase");
	doorFrameReenforced = (new rareItem(doorFrameReenforcedID)).setCreativeTab(tabComplicationCraftDoors).setUnlocalizedName("doorFrameReenforced");
	emptyDoor = (new rareItem(emptyDoorID)).setCreativeTab(tabComplicationCraftDoors).setUnlocalizedName("emptyDoor");	
	doorHinge = (new rareItem(doorHingeID)).setCreativeTab(tabComplicationCraftDoors).setUnlocalizedName("doorHinge");	
	doorFrameTop = (new rareItem(doorFrameTopID)).setCreativeTab(tabComplicationCraftDoors).setUnlocalizedName("doorFrameTop");
	doorFrameBottom = (new rareItem(doorFrameBottomID)).setCreativeTab(tabComplicationCraftDoors).setUnlocalizedName("doorFrameBottom");

	itemToolMeta = new ItemToolMeta(ToolPeiceIds).setCreativeTab(tabComplicationCraftTools);


}

}

 

cookiecraft:

package dudesmods.cookiecraft;

import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

@Mod(modid = "cookiecraft", name = "Cookie Craft", version = "3.0.0")
@NetworkMod(clientSideRequired = true, serverSideRequired = false, versionBounds = "[1.5.2]")

public class mod_CookieCraft {

public static CreativeTabs tabCookieCraft = new tabCookieCraft("tabCookieCraft");

public static ItemArmor appron;
public static Item dough;
public static ItemFood jaffa;
public static ItemFood oreo;
public static ItemFood doughnut;
public static ItemFood cookieGold;
public static Item peanutSeeds;
public static ItemFood cookiePeanutButter;
public static Item cup;
public static Item chocolate;
public static Item cupOChocolate;
public static Item chocolateHot;
public static ItemFood MandM;
public static Item marshmallow;
public static Item grahmCracker;	
public static Item smore;
public static ItemFood smoreCooked;
public static ItemFood cookiePoison;
public static Item vanillaChips;
public static ItemFood oreoChocolate;
public static ItemFood cookieVanilla; 
public static ItemFood cookieSugar;

private static final int SHIFTED_INDEX_FIXER = 256;

public static int appronID = 2100;
public static int doughID = 2101 - SHIFTED_INDEX_FIXER;
public static int jaffaID = 2102 - SHIFTED_INDEX_FIXER;
public static int oreoID = 2103 - SHIFTED_INDEX_FIXER;
public static int doughnutID = 2104 - SHIFTED_INDEX_FIXER;
public static int cookieGoldID = 2105 - SHIFTED_INDEX_FIXER;
public static int peanutSeedsID = 2106 - SHIFTED_INDEX_FIXER;
public static int cookiePeanutButterID = 2107 - SHIFTED_INDEX_FIXER;
public static int cupID = 2108 - SHIFTED_INDEX_FIXER;
public static int chocolateID = 2109 - SHIFTED_INDEX_FIXER;
public static int cupOChocolateID = 2110 - SHIFTED_INDEX_FIXER;
public static int chocolateHotID = 2111 - SHIFTED_INDEX_FIXER;
public static int MandMID = 2112 - SHIFTED_INDEX_FIXER;
public static int marshmallowID = 2113 - SHIFTED_INDEX_FIXER;
public static int grahmCrackerID = 2114 - SHIFTED_INDEX_FIXER;
public static int smoreID = 2115 - SHIFTED_INDEX_FIXER;
public static int smoreCookedID = 2116 - SHIFTED_INDEX_FIXER;
public static int cookiePoisonID = 2117 - SHIFTED_INDEX_FIXER;
public static int vanillaChipsID = 2118 - SHIFTED_INDEX_FIXER;
public static int oreoChocolateID = 2119 - SHIFTED_INDEX_FIXER;
public static int cookieVanillaID = 2120 - SHIFTED_INDEX_FIXER;
public static int cookieSugarID = 2121 - SHIFTED_INDEX_FIXER;

@Init
public void myNewLoad(FMLInitializationEvent event){
	//CoCo = 1
	GameRegistry.addRecipe(new ItemStack(appron, 1), "S S", "SSS", "SSS", 'S', Item.silk);
	GameRegistry.addRecipe(new ItemStack(dough, 16), new Object[]{"SMW", 'S', Item.sugar, 'M', Item.bucketMilk, 'W', Item.wheat});
	GameRegistry.addRecipe(new ItemStack(jaffa, 1), new Object[]{"C", "R", "D", 'D', dough, 'R', new ItemStack(Item.dyePowder, 1, 1), 'C', new ItemStack(Item.dyePowder, 1, 3)});
	GameRegistry.addRecipe(new ItemStack(oreo, 4), new Object[]{"C", "M", "C", 'C', new ItemStack(Item.dyePowder, 1, 1), 'M', Item.bucketMilk});
	GameRegistry.addRecipe(new ItemStack(doughnut, 2), " D ", "D D", " D ", 'D', dough);
	GameRegistry.addRecipe(new ItemStack(cookieGold, 1), "GGG", "GDG", "GGG", 'G', Item.ingotGold, 'D', dough);
	GameRegistry.addShapelessRecipe(new ItemStack(peanutSeeds, 4), Item.seeds, new ItemStack(Item.dyePowder, 1, 1));
	GameRegistry.addRecipe(new ItemStack(cookiePeanutButter), new Object[]{"DPD", 'D', dough, 'P', peanutSeeds});
	GameRegistry.addRecipe(new ItemStack(chocolate, , new Object[]{"C", "M", "S", 'C', new ItemStack(Item.dyePowder, 1, 1), 'M', Item.bucketMilk, 'S', Item.sugar});
	GameRegistry.addRecipe(new ItemStack(cupOChocolate, 1), new Object[]{"C", "M", "P", 'C', chocolate, 'M', Item.bucketMilk, 'P', cup});
	GameRegistry.addSmelting(cupOChocolate.itemID, new ItemStack(chocolateHot, 1), 3.0F);
	GameRegistry.addRecipe(new ItemStack(MandM, 12), " R ", "RCR", " R ", 'R', new ItemStack(Item.dyePowder, 1, 3), 'C', new ItemStack(Item.dyePowder, 1, 1));
	GameRegistry.addRecipe(new ItemStack(marshmallow, , " S ", "MSM", " S ", 'S', Item.sugar, 'M', Item.bucketMilk);
	GameRegistry.addRecipe(new ItemStack(grahmCracker, 4), new Object[]{"D", "S", "D", 'D', dough, 'S', Item.sugar});
	GameRegistry.addRecipe(new ItemStack(smore, 4), " G ", "MSC", " G ", 'G', grahmCracker, 'M', marshmallow, 'S', Item.sugar, 'C', chocolate);
	GameRegistry.addSmelting(smore.itemID, new ItemStack(smoreCooked, 1), 3.0F);
	GameRegistry.addRecipe(new ItemStack(cookiePoison, 1), "DDD", "DTD", "DGD", 'D', dough, 'T', Block.tnt, 'G', Item.gunpowder);
	GameRegistry.addShapelessRecipe(new ItemStack(vanillaChips, 1), new ItemStack(Item.dyePowder, 1, 15), new ItemStack(Item.dyePowder, 1, 1));
	GameRegistry.addShapelessRecipe(new ItemStack(oreoChocolate, 1), oreo, new ItemStack(Item.dyePowder, 1, 1));
	GameRegistry.addShapelessRecipe(new ItemStack(cookieVanilla, 4), vanillaChips, dough);
	GameRegistry.addShapelessRecipe(new ItemStack(cookieSugar, 4), Item.sugar, dough);


	LanguageRegistry.addName(appron, "Appron");
	LanguageRegistry.addName(dough, "Cookie Dough");
	LanguageRegistry.addName(jaffa, "Jaffa Cake");
	LanguageRegistry.addName(oreo, "Oreo");
	LanguageRegistry.addName(doughnut, "Ring Doughnut");
	LanguageRegistry.addName(cookieGold, "Golden Cookie");
	LanguageRegistry.addName(peanutSeeds, "Peanuts");
	LanguageRegistry.addName(cookiePeanutButter, "Peanut Butter Cookie");
	LanguageRegistry.addName(cup, "Empty Glass");
	LanguageRegistry.addName(chocolate, "Chocolate");
	LanguageRegistry.addName(cupOChocolate, "Chocolate Milk");
	LanguageRegistry.addName(chocolateHot, "Hot Chocolate");
	LanguageRegistry.addName(MandM, "M&M");
	LanguageRegistry.addName(marshmallow, "Marshmallow");
	LanguageRegistry.addName(grahmCracker, "Grahm Cracker");
	LanguageRegistry.addName(smore, "Uncooked Smore");
	LanguageRegistry.addName(smoreCooked, "Roasted Smore");
	LanguageRegistry.addName(cookiePoison, "Poisoned Cookie");
	LanguageRegistry.addName(vanillaChips, "Vanilla Chips");
	LanguageRegistry.addName(oreoChocolate, "Chocolate Stuffed Oreo");
	LanguageRegistry.addName(cookieVanilla, "Vanilla Cookie");
	LanguageRegistry.addName(cookieSugar, "Sugar Cookie");

	LanguageRegistry.instance().addStringLocalization("itemGroup.tabCookieCraft", "Cookie Craft");

}

static {
	appron = (ItemArmor) new CookieCraftArmour(appronID, EnumArmorMaterial.CLOTH, 0, 1).setUnlocalizedName("appron").setCreativeTab(tabCookieCraft);
	dough = new blankItem(doughID).setUnlocalizedName("dough").setCreativeTab(tabCookieCraft);
	jaffa = (ItemFood) new ItemFood(jaffaID, 2, 0.1F, false).setUnlocalizedName("jaffa").setCreativeTab(tabCookieCraft);
	oreo = (ItemFood) new ItemFood(oreoID, 2, 0.1F, false).setUnlocalizedName("oreo").setCreativeTab(tabCookieCraft);
	doughnut = (ItemFood) new ItemFood(doughnutID, 2, 0.1F, false).setUnlocalizedName("doughnut").setCreativeTab(tabCookieCraft);
	cookieGold = (ItemFood) new ItemFood(cookieGoldID, 2, 0.1F, false).setUnlocalizedName("cookieGold").setCreativeTab(tabCookieCraft);
	peanutSeeds = new blankItem(peanutSeedsID).setUnlocalizedName("peanutSeeds").setCreativeTab(tabCookieCraft);
	cookiePeanutButter = (ItemFood) new ItemFood(cookiePeanutButterID, 2, 0.1F, false).setUnlocalizedName("cookiePeanutButter").setCreativeTab(tabCookieCraft);
	cup = new blankItem(cupID).setUnlocalizedName("cup").setCreativeTab(tabCookieCraft);
	chocolate = new blankItem(chocolateID).setUnlocalizedName("chocolate").setCreativeTab(tabCookieCraft);
	cupOChocolate = new blankItem(cupOChocolateID).setUnlocalizedName("cupOChocolate").setCreativeTab(tabCookieCraft);
	chocolateHot = new blankItem(chocolateHotID).setUnlocalizedName("chocolateHot").setCreativeTab(tabCookieCraft);
	MandM = (ItemFood) new ItemFood(MandMID, 2, 0.1F, false).setUnlocalizedName("MandM").setCreativeTab(tabCookieCraft);
	marshmallow = new blankItem(marshmallowID).setUnlocalizedName("marshmallow").setCreativeTab(tabCookieCraft);
	grahmCracker = new blankItem(grahmCrackerID).setUnlocalizedName("grahmCracker").setCreativeTab(tabCookieCraft);
	smore = new blankItem(smoreID).setUnlocalizedName("smore").setCreativeTab(tabCookieCraft);
	smoreCooked = (ItemFood) new ItemFood(smoreCookedID, 2, 0.1F, false).setUnlocalizedName("smoreCooked").setCreativeTab(tabCookieCraft);
	cookiePoison = (ItemFood) new ItemFood(cookiePoisonID, 2, 0.1F, false).setUnlocalizedName("cookiePoison").setCreativeTab(tabCookieCraft);
	vanillaChips = new blankItem(vanillaChipsID).setUnlocalizedName("vanillaChips").setCreativeTab(tabCookieCraft);
	oreoChocolate = (ItemFood) new ItemFood(oreoChocolateID, 2, 0.1F, false).setUnlocalizedName("oreoChocolate").setCreativeTab(tabCookieCraft);
	cookieVanilla = (ItemFood) new ItemFood(cookieVanillaID, 2, 0.1F, false).setUnlocalizedName("cookieVanilla").setCreativeTab(tabCookieCraft);
	cookieSugar = (ItemFood) new ItemFood(cookieSugarID, 2, 0.1F, false).setUnlocalizedName("cookieSugar").setCreativeTab(tabCookieCraft);


}

}

 

 

Legend of Zelda Mod[updated September 20th to 3.1.1]

Extra Achievements(Minecraft 1.8!)[updated April 3rd to 2.3.0]

Fancy Cheeses[updated May 8th to 0.5.0]

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
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.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I am using a modified MeleeAttackGoal to make an entity pick a random button, go to it and press it. But after a while it just stops and stares at the current button target. I found out that it's just staring at it because it's too far away to press it.  And its's not moving because the current path in the mob navigation is "done". If I move it further away it recalculates a non weird path and fixes itself. If I push it towards the button so it can press it, it sets the target to null, so it once again calculates a new path and fixes itself. What is causing the path to be "done"? And how can I fix this? This is the tick method in the custom goal class: public void tick() { if (mob.buttonTarget != null) { float x = mob.buttonTarget.getX(); float y = mob.buttonTarget.getY(); float z = mob.buttonTarget.getZ(); float hx = x + 0.5f; float hy = y + 0.5f; float hz = z + 0.5f; mob.getLookControl().setLookAt(hx, hy, hz, 30.0F, 30.0F); double distSqr = mob.distanceToSqr(hx, hy, hz); ticksUntilNextPathRecalculation = Math.max(ticksUntilNextPathRecalculation - 1, 0); if ((followingTargetEvenIfNotSeen || hasLineOfSight(mob, mob.buttonTarget)) && ticksUntilNextPathRecalculation <= 0 && ((pathedTargetX == 0.0D && pathedTargetY == 0.0D && pathedTargetZ == 0.0D) || mob.buttonTarget.distSqr(new Vec3i(pathedTargetX, pathedTargetY, pathedTargetZ)) >= 1.0D || mob.getRandom().nextFloat() < 0.05F)) { pathedTargetX = hx; pathedTargetY = hy; pathedTargetZ = hz; ticksUntilNextPathRecalculation = 4 + mob.getRandom().nextInt(7); if (distSqr > 1024.0D) ticksUntilNextPathRecalculation += 10; else if (distSqr > 256.0D) ticksUntilNextPathRecalculation += 5; Path newPath = mob.getNavigation().createPath(mob.buttonTarget, 0); if (newPath != null && !newPath.canReach()) { mob.buttonTarget = null; return; } if (!mob.getNavigation().moveTo(newPath, speedModifier)) ticksUntilNextPathRecalculation += 15; ticksUntilNextPathRecalculation = adjustedTickDelay(ticksUntilNextPathRecalculation); } ticksUntilNextAttack = Math.max(getTicksUntilNextAttack() - 1, 0); checkAndPerformAttack(mob.buttonTarget, distSqr); } }  
    • As of Forge version 44.1.5 and above, Minecraft has started crashing whenever I played it with the Create mod. Without any mods, it loads normally, but when I put in a mod, like MrCrayfish's furniture mod for example, it fails to read the mod properly. Basically I press play and it loads. When the launcher closes, it opens back up again with an Exit Code 1 error, stating that the game crashed due to an unexpected error. Here's my latest.log for more information. https://pastebin.com/pUPBjpbr  
    • The files are harmed by system flaws and glitches. Additionally, the installation procedure might cause files to be lost. The game is so terminated, and an exit code 1 error is displayed. Therefore, attempt a game reinstall.
    • Hello there!  I'm hosting a Minecraft Tekxit PI server on Minecraft 1.12.2 on my computer and I have a little issue. Everything was going great until one day my light in my house went down while a friend was inside the server. The server crashed and when I came back 2 chunks swapped but everything seemed normal. Fastforward in time my friend who was inside the server tried to come back in it but everti-me he tries to join he cannot do it and there is a crash in the server logs. If any other friend tries to join they can, but, that friend that was inside the server when that occurred cannot join. I tried rebooting, rebooting my modem, deleting his player data to start over and nothing works. I'm leaving the crash logs here. Thank you!!! ----------------------------------------------- CRASH LOGS   [10:27:10] [Netty Server IO #1/INFO]: Transforming class 'gu', alias 'net.minecraft.network.NettyCompressionDecoder' [10:27:10] [Netty Server IO #1/INFO]: Scanning method 'decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V' [10:27:10] [Netty Server IO #1/INFO]: Patching constant (java.lang.Integer) 2097152 [10:27:10] [Netty Server IO #1/INFO]: Patching constant (java.lang.Integer) 2097152 [10:27:10] [Netty Server IO #1/INFO]: [com.creativemd.creativecore.transformer.CreativeTransformer:transform:49]: [littletiles] Patched net.minecraft.network.NettyCompressionDecoder ... [10:27:13] [Server thread/ERROR]: HandshakeMessageHandler exception java.lang.OutOfMemoryError: Java heap space     at java.util.ArrayList.<init>(Unknown Source) ~[?:1.8.0_361]     at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:190) ~[minecraft_server.1.12.2.jar:?]     at net.minecraft.nbt.NBTTagList.read(NBTTagList.java:58) ~[ge.class:?]     at net.minecraft.nbt.NBTTagCompound.readNBT(NBTTagCompound.java:497) ~[fy.class:?]     at net.minecraft.nbt.NBTTagCompound.read(NBTTagCompound.java:58) ~[fy.class:?]     at net.minecraft.nbt.NBTTagCompound.readNBT(NBTTagCompound.java:497) ~[fy.class:?]     at net.minecraft.nbt.NBTTagCompound.read(NBTTagCompound.java:58) ~[fy.class:?]     at net.minecraft.nbt.CompressedStreamTools.read(CompressedStreamTools.java:133) ~[gi.class:?]     at net.minecraft.nbt.CompressedStreamTools.read(CompressedStreamTools.java:88) ~[gi.class:?]     at net.minecraft.nbt.CompressedStreamTools.readCompressed(CompressedStreamTools.java:31) ~[gi.class:?]     at net.minecraft.world.storage.SaveHandler.getPlayerNBT(SaveHandler.java:278) ~[bfb.class:?]     at net.minecraft.server.management.PlayerList.getPlayerNBT(PlayerList.java:340) ~[pl.class:?]     at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.serverInitiateHandshake(NetworkDispatcher.java:220) ~[NetworkDispatcher.class:?]     at net.minecraftforge.fml.common.network.handshake.FMLHandshakeServerState$1.accept(FMLHandshakeServerState.java:49) ~[FMLHandshakeServerState$1.class:?]     at net.minecraftforge.fml.common.network.handshake.HandshakeMessageHandler.userEventTriggered(HandshakeMessageHandler.java:65) ~[HandshakeMessageHandler.class:?]     at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:329) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:315) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.AbstractChannelHandlerContext.fireUserEventTriggered(AbstractChannelHandlerContext.java:307) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered(ChannelInboundHandlerAdapter.java:108) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:329) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:315) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.AbstractChannelHandlerContext.fireUserEventTriggered(AbstractChannelHandlerContext.java:307) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered(ChannelInboundHandlerAdapter.java:108) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:329) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:315) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.AbstractChannelHandlerContext.fireUserEventTriggered(AbstractChannelHandlerContext.java:307) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.DefaultChannelPipeline$HeadContext.userEventTriggered(DefaultChannelPipeline.java:1352) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:329) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:315) ~[minecraft_server.1.12.2.jar:?]     at io.netty.channel.DefaultChannelPipeline.fireUserEventTriggered(DefaultChannelPipeline.java:920) ~[minecraft_server.1.12.2.jar:?]     at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.insertIntoChannel(NetworkDispatcher.java:183) ~[NetworkDispatcher.class:?]     at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.serverToClientHandshake(NetworkDispatcher.java:154) ~[NetworkDispatcher.class:?]
    • (Mod name is Custom Npcs)
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.