Jump to content

Updating screen events java.lang.ArrayIndexOutOfBoundsException: -1


SackboyAlamode

Recommended Posts

Minecraft crashes when i craft a tool in crafting bench and i get this in crash report:

 

 

 

 

---- Minecraft Crash Report ----

// My bad.

 

Time: 1/31/16 7:39 PM

Description: Updating screen events

 

java.lang.ArrayIndexOutOfBoundsException: -1

at net.minecraft.item.ItemStack.onCrafting(ItemStack.java:481)

at net.minecraft.inventory.SlotCrafting.onCrafting(SlotCrafting.java:70)

at net.minecraft.inventory.SlotCrafting.onPickupFromSlot(SlotCrafting.java:127)

at net.minecraft.inventory.Container.slotClick(Container.java:438)

at net.minecraft.client.multiplayer.PlayerControllerMP.windowClick(PlayerControllerMP.java:478)

at net.minecraft.client.gui.inventory.GuiContainer.handleMouseClick(GuiContainer.java:676)

at net.minecraft.client.gui.inventory.GuiContainer.checkHotbarKeys(GuiContainer.java:715)

at net.minecraft.client.gui.inventory.GuiContainer.keyTyped(GuiContainer.java:689)

at net.minecraft.client.gui.GuiScreen.handleKeyboardInput(GuiScreen.java:370)

at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:321)

at net.minecraft.client.Minecraft.runTick(Minecraft.java:1731)

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039)

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

at net.minecraft.client.main.Main.main(Main.java:164)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

 

 

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

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

 

-- Head --

Stacktrace:

at net.minecraft.item.ItemStack.onCrafting(ItemStack.java:481)

at net.minecraft.inventory.SlotCrafting.onCrafting(SlotCrafting.java:70)

at net.minecraft.inventory.SlotCrafting.onPickupFromSlot(SlotCrafting.java:127)

at net.minecraft.inventory.Container.slotClick(Container.java:438)

at net.minecraft.client.multiplayer.PlayerControllerMP.windowClick(PlayerControllerMP.java:478)

at net.minecraft.client.gui.inventory.GuiContainer.handleMouseClick(GuiContainer.java:676)

at net.minecraft.client.gui.inventory.GuiContainer.checkHotbarKeys(GuiContainer.java:715)

at net.minecraft.client.gui.inventory.GuiContainer.keyTyped(GuiContainer.java:689)

at net.minecraft.client.gui.GuiScreen.handleKeyboardInput(GuiScreen.java:370)

at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:321)

 

-- Affected screen --

Details:

Screen name: net.minecraft.client.gui.inventory.GuiCrafting

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['SackboyAlamode'/226, l='MpServer', x=-733.92, y=5.62, z=-710.56]]

Chunk stats: MultiplayerChunkCache: 25, 25

Level seed: 0

Level generator: ID 01 - flat, ver 0. Features enabled: false

Level generator options:

Level spawn location: World: (-723,4,-712), Chunk: (at 13,0,8 in -46,-45; contains blocks -736,0,-720 to -721,255,-705), Region: (-2,-2; contains chunks -64,-64 to -33,-33, blocks -1024,0,-1024 to -513,255,-513)

Level time: 8306 game time, 8306 day time

Level dimension: 0

Level storage version: 0x00000 - Unknown?

Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)

Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

Forced entities: 46 total; [EntitySlime['Slime'/26244, l='MpServer', x=-738.78, y=4.00, z=-709.31], EntitySlime['Slime'/298816, l='MpServer', x=-700.53, y=2.58, z=-787.64], EntitySheep['Sheep'/70, l='MpServer', x=-760.84, y=4.00, z=-676.97], EntitySlime['Slime'/298818, l='MpServer', x=-683.32, y=3.71, z=-756.52], EntitySheep['Sheep'/71, l='MpServer', x=-762.81, y=4.00, z=-681.84], EntityCow['Cow'/72, l='MpServer', x=-757.53, y=4.00, z=-672.50], EntitySlime['Slime'/74889, l='MpServer', x=-673.86, y=3.13, z=-694.50], EntityCow['Cow'/73, l='MpServer', x=-766.97, y=4.00, z=-681.53], EntitySlime['Slime'/102920, l='MpServer', x=-783.99, y=3.50, z=-751.18], EntityChicken['Chicken'/74, l='MpServer', x=-764.03, y=4.00, z=-685.22], EntitySlime['Slime'/108939, l='MpServer', x=-758.11, y=4.47, z=-714.58], EntityChicken['Chicken'/75, l='MpServer', x=-761.53, y=4.00, z=-675.63], EntitySlime['Slime'/413131, l='MpServer', x=-735.90, y=3.13, z=-668.52], EntityItemFrame['entity.ItemFrame.name'/83, l='MpServer', x=-738.94, y=4.50, z=-709.50], EntityItemFrame['entity.ItemFrame.name'/84, l='MpServer', x=-738.94, y=4.50, z=-710.50], EntityItemFrame['entity.ItemFrame.name'/85, l='MpServer', x=-738.94, y=4.50, z=-711.50], EntityItemFrame['entity.ItemFrame.name'/86, l='MpServer', x=-738.94, y=5.50, z=-711.50], EntityItemFrame['entity.ItemFrame.name'/87, l='MpServer', x=-738.94, y=5.50, z=-709.50], EntityItemFrame['entity.ItemFrame.name'/88, l='MpServer', x=-738.50, y=4.50, z=-709.06], EntitySlime['Slime'/339869, l='MpServer', x=-683.86, y=5.12, z=-721.49], EntitySlime['Slime'/186010, l='MpServer', x=-735.21, y=5.06, z=-716.80], EntityItemFrame['entity.ItemFrame.name'/89, l='MpServer', x=-737.50, y=4.50, z=-709.06], EntityItemFrame['entity.ItemFrame.name'/90, l='MpServer', x=-738.50, y=5.50, z=-709.06], EntityItemFrame['entity.ItemFrame.name'/91, l='MpServer', x=-737.50, y=5.50, z=-709.06], EntityItemFrame['entity.ItemFrame.name'/92, l='MpServer', x=-737.50, y=6.50, z=-709.06], EntityItemFrame['entity.ItemFrame.name'/93, l='MpServer', x=-738.50, y=4.50, z=-711.94], EntityItemFrame['entity.ItemFrame.name'/94, l='MpServer', x=-738.50, y=4.50, z=-711.94], EntitySlime['Slime'/51422, l='MpServer', x=-726.12, y=4.00, z=-719.50], EntityItemFrame['entity.ItemFrame.name'/95, l='MpServer', x=-738.50, y=5.50, z=-711.94], EntityItemFrame['entity.ItemFrame.name'/96, l='MpServer', x=-737.50, y=5.50, z=-711.94], EntityItemFrame['entity.ItemFrame.name'/97, l='MpServer', x=-737.50, y=4.50, z=-711.94], EntityItemFrame['entity.ItemFrame.name'/98, l='MpServer', x=-737.50, y=6.50, z=-711.94], EntitySlime['Slime'/99, l='MpServer', x=-765.74, y=3.44, z=-773.49], EntityCow['Cow'/100, l='MpServer', x=-751.47, y=4.00, z=-676.34], EntitySlime['Slime'/448355, l='MpServer', x=-738.13, y=4.81, z=-680.10], EntitySlime['Slime'/371424, l='MpServer', x=-723.11, y=4.00, z=-746.94], EntitySlime['Slime'/58666, l='MpServer', x=-738.20, y=3.42, z=-761.41], EntitySlime['Slime'/74477, l='MpServer', x=-696.41, y=4.62, z=-740.15], EntitySlime['Slime'/288169, l='MpServer', x=-758.50, y=4.00, z=-742.41], EntitySlime['Slime'/53232, l='MpServer', x=-676.29, y=3.64, z=-688.75], EntitySlime['Slime'/123888, l='MpServer', x=-671.32, y=3.25, z=-739.22], EntityClientPlayerMP['SackboyAlamode'/226, l='MpServer', x=-733.92, y=5.62, z=-710.56], EntitySlime['Slime'/190006, l='MpServer', x=-785.71, y=3.13, z=-648.22], EntitySlime['Slime'/311666, l='MpServer', x=-685.82, y=3.90, z=-723.86], EntitySlime['Slime'/135284, l='MpServer', x=-723.94, y=4.00, z=-749.42], EntitySlime['Slime'/51389, l='MpServer', x=-805.80, y=4.67, z=-639.09]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)

at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2566)

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

at net.minecraft.client.main.Main.main(Main.java:164)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 8.1 (amd64) version 6.3

Java Version: 1.8.0_51, Oracle Corporation

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

Memory: 319920552 bytes (305 MB) / 555220992 bytes (529 MB) up to 1657274368 bytes (1580 MB)

JVM Flags: 0 total;

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

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

FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 4 mods loaded, 4 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)

UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar)

UCHIJAAAA Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar)

UCHIJAAAA Industrial{1.0.0} [industrialization] (bin)

GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.3.12804 Compatibility Profile Context 13.352.1004.1010' Renderer: 'AMD Radeon R5 Graphics'

Launched Version: 1.7.10

LWJGL: 2.9.1

OpenGL: AMD Radeon R5 Graphics GL version 4.3.12804 Compatibility Profile Context 13.352.1004.1010, ATI Technologies Inc.

GL Caps: Using GL 1.3 multitexturing.

Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.

Anisotropic filtering is supported and maximum anisotropy is 16.

Shaders are available because OpenGL 2.1 is supported.

 

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Packs: []

Current Language: English (US)

Profiler Position: N/A (disabled)

Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Anisotropic Filtering: Off (1)

 

 

Link to comment
Share on other sites

You posted this in the wrong section, which is probably why diesieben07 thought this was about your own mod's GUI. Modder Support is for mod developers, Support is for users.

 

This crash occurred because you tried to craft an item without an ID. Report this to the author of the mod you were trying to craft an item from.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Revision, i tested with my recipes for the other 4 types of broadswords(diamond,iron,wood,gold) and get the same crash in all of them, the code in my crafting recipes class being:

 

GameRegistry.addRecipe(new ItemStack(ModItems.ironBroadsword), "CBA", "BAB", "DBC", 'C', Items.string, 'B', Items.iron_ingot, 'A', Blocks.iron_block, 'D', Items.stick);

Link to comment
Share on other sites

thank you Choonster for clarifying, i was unclear, i am developing a mod and am having trouble crafting items in my mod in a vanilla crafting table, specifically a sword Stone Broadsword, and tested that all of the crafting recipes for the different types of broadswords didn't work with the same crash. I am also a new mod developer, but i understand some java and have played minecraft for a while, i have been making this mod for about a month, making blocks and items, but as you can see having trouble with swords...

Link to comment
Share on other sites

So to be clear, the crash happens using the vanilla crafting bench with the recipe you showed? If that's the case, try rolling back to an earlier version of Forge such as 1448 and testing if the crash still occurs there.

 

Some Forge releases occasionally have issues such as this, and testing on a known stable version can at least rule out Forge as the culprit. Personally, I've had the best experience with the 1448 release for 1.7.10, which is why I recommend testing against that.

 

If you still have issues on 1448, post your custom Item class, if there is one, and any other code that may relate to your issue.

Link to comment
Share on other sites

is the item id its unlocalized name? or do you have to specifically set an id?

 

The item ID is automatically set when you register your item using

GameRegistry.registerItem

. You must register every

Item

you add.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Thank you coolAlias for the quick, descriptive reply.  i will change the forge directory now and post my results when i check it. To clarify though, i have had success crafting other items such as blocks, but not the swords. Thank you choonster, i have registered all of my items i have added in my ModItems Class

Link to comment
Share on other sites

Thank you coolAlias for the quick, descriptive reply.  i will change the forge directory now and post my results when i check it. To clarify though, i have had success crafting other items such as blocks, but not the swords. Thank you choonster, i have registered all of my items i have added in my ModItems Class

If your other crafting recipes work, it is very unlikely to be an issue with Forge - that's just something to check when all else fails, and I didn't see anything in your recipe that looked off. ;)

 

Post your sword class, if possible, and any custom recipe handler involved in those recipes.

Link to comment
Share on other sites

i checked with forge 1448 , same crash though. I use a single ModCrafting class for recipe registering.

 

My ItemModSword Class Is:

 

package com.SackboyAlamode.Industrialization.item;

 

import com.SackboyAlamode.Industrialization.Main;

 

import net.minecraft.item.ItemSword;

 

public class ItemModSword extends ItemSword{

 

public ItemModSword(String unlocalizedName, ToolMaterial material) {

super(material);

this.setUnlocalizedName(unlocalizedName);

this.setTextureName(Main.MODID + ":" + unlocalizedName);

 

}

 

}

 

 

My ModItems Class is:

 

package com.SackboyAlamode.Industrialization.item;

 

 

 

import com.SackboyAlamode.Industrialization.Main;

 

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

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.item.Item;

import net.minecraft.item.Item.ToolMaterial;

import net.minecraftforge.common.util.EnumHelper;

 

public final class ModItems {

//Materials

//("MaterialName", harvestLevel, durability, miningSpeed, damageVsEntites, enchantability);

public static ToolMaterial AWOOD = EnumHelper.addToolMaterial("AWOOD", 2, 512, 7.0F, 1.0F, 1);

public static ToolMaterial ASTONE = EnumHelper.addToolMaterial("ASTONE", 2, 1024, 7.0F, 2.0F, 5);

public static ToolMaterial AIRON = EnumHelper.addToolMaterial("AIRON", 2, 2048, 7.0F, 4.0F, 15);

public static ToolMaterial AGOLD = EnumHelper.addToolMaterial("AGOLD", 2, 256, 7.0F, 3.0F, 30);

public static ToolMaterial ADIAMOND = EnumHelper.addToolMaterial("ADIAMOND", 2, 8192, 6.0F, 6.0F, 10);

public static ToolMaterial BWOOD = EnumHelper.addToolMaterial("BWOOD", 2, 512, 7.0F, 1.5F, 1);

public static ToolMaterial BSTONE = EnumHelper.addToolMaterial("BSTONE", 2, 1024, 7.0F, 2.5F, 5);

public static ToolMaterial BIRON = EnumHelper.addToolMaterial("BIRON", 2, 2048, 7.0F, 7.0F, 15);

public static ToolMaterial BGOLD = EnumHelper.addToolMaterial("BGOLD", 2, 256, 7.0F, 5.0F, 30);

public static ToolMaterial BDIAMOND = EnumHelper.addToolMaterial("BDIAMOND", 2, 8192, 11.0F, 11.0F, 10);

 

//Items

public static Item woodGrindstone;

public static Item stoneGrindstone;

public static Item ironGrindstone;

public static Item goldGrindstone;

public static Item diamondGrindstone;

public static Item woodBroadsword;

public static Item stoneBroadsword;

public static Item ironBroadsword;

public static Item goldBroadsword;

public static Item diamondBroadsword;

public static Item sharpenedWoodBroadsword;

public static Item sharpenedStoneBroadsword;

public static Item sharpenedIronBroadsword;

public static Item sharpenedGoldBroadsword;

public static Item sharpenedDiamondBroadsword;

 

public static final void init() {

//Creating Items

woodGrindstone = new Item().setUnlocalizedName("woodGrindstone").setCreativeTab(CreativeTabs.tabTools).setTextureName(Main.MODID + ":woodGrindstone");

stoneGrindstone = new Item().setUnlocalizedName("stoneGrindstone").setCreativeTab(CreativeTabs.tabTools).setTextureName(Main.MODID + ":stoneGrindstone");

ironGrindstone = new Item().setUnlocalizedName("ironGrindstone").setCreativeTab(CreativeTabs.tabTools).setTextureName(Main.MODID + ":ironGrindstone");

goldGrindstone = new Item().setUnlocalizedName("goldGrindstone").setCreativeTab(CreativeTabs.tabTools).setTextureName(Main.MODID + ":goldGrindstone");

diamondGrindstone = new Item().setUnlocalizedName("diamondGrindstone").setCreativeTab(CreativeTabs.tabTools).setTextureName(Main.MODID + ":diamondGrindstone");

woodBroadsword = new Item().setUnlocalizedName("woodBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":woodBroadsword");

stoneBroadsword = new Item().setUnlocalizedName("stoneBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":stoneBroadsword");

ironBroadsword = new Item().setUnlocalizedName("ironBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":ironBroadsword");

goldBroadsword = new Item().setUnlocalizedName("goldBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":goldBroadsword");

diamondBroadsword = new Item().setUnlocalizedName("diamondBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":diamondBroadsword");

sharpenedWoodBroadsword = new Item().setUnlocalizedName("sharpenedWoodBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":sharpenedWoodBroadsword");

sharpenedStoneBroadsword = new Item().setUnlocalizedName("sharpenedStoneBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":sharpenedStoneBroadsword");

sharpenedIronBroadsword = new Item().setUnlocalizedName("sharpenedIronBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":sharpenedIronBroadsword");

sharpenedGoldBroadsword = new Item().setUnlocalizedName("sharpenedGoldBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":sharpenedGoldBroadsword");

sharpenedDiamondBroadsword = new Item().setUnlocalizedName("sharpenedDiamondBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":sharpenedDiamondBroadsword");

//Registering Items

GameRegistry.registerItem(new ItemModSword("woodBroadsword", AWOOD), "woodBroadsword");

GameRegistry.registerItem(new ItemModSword("stoneBroadsword", ASTONE), "stoneBroadsword");

GameRegistry.registerItem(new ItemModSword("ironBroadsword", AIRON), "ironBroadsword");

GameRegistry.registerItem(new ItemModSword("goldBroadsword", AGOLD), "goldBroadsword");

GameRegistry.registerItem(new ItemModSword("diamondBroadsword", ADIAMOND), "diamondBroadsword");

GameRegistry.registerItem(new ItemModSword("sharpenedWoodBroadsword", BWOOD), "sharpenedWoodBroadsword");

GameRegistry.registerItem(new ItemModSword("sharpenedStoneBroadsword", BSTONE), "sharpenedStoneBroadsword");

GameRegistry.registerItem(new ItemModSword("sharpenedIronBroadsword", BIRON), "sharpenedIronBroadsword");

GameRegistry.registerItem(new ItemModSword("sharpenedGoldBroadsword", BGOLD), "sharpenedGoldBroadsword");

GameRegistry.registerItem(new ItemModSword("sharpenedDiamondBroadsword", BDIAMOND), "sharpenedDiamondBroadsword");

GameRegistry.registerItem(woodGrindstone, "woodGrindstone");

GameRegistry.registerItem(stoneGrindstone, "stoneGrindstone");

GameRegistry.registerItem(ironGrindstone, "ironGrindstone");

GameRegistry.registerItem(goldGrindstone, "goldGrindstone");

GameRegistry.registerItem(diamondGrindstone, "diamondGrindstone");

}

 

}

 

My ModCrafting Class is:

 

package com.SackboyAlamode.Industrialization.crafting;

 

import com.SackboyAlamode.Industrialization.block.ModBlocks;

import com.SackboyAlamode.Industrialization.item.ModItems;

 

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

import net.minecraft.init.Blocks;

import net.minecraft.init.Items;

import net.minecraft.item.ItemStack;

 

 

public class ModCrafting {

public static final void init() {

//Recipes

//Blocks

GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedWood), "ABA", "BAB", "ABA", 'A', Blocks.log, 'B', Blocks.planks);

GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedStone), "ABA", "BAB", "ABA", 'A', Blocks.stone, 'B', Blocks.cobblestone);

GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedSand), "ABA", "BAB", "ABA", 'A', Blocks.sand, 'B', Blocks.sandstone);

GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedDirt), "ABA", "BAB", "ABA", 'A', Blocks.dirt, 'B', ModBlocks.mixedDirt);

GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedGravel), "ABA", "BAB", "ABA", 'A', Blocks.gravel, 'B', Blocks.cobblestone);

GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedCobblestone), "ABA", "BAB", "ABA", 'A', Blocks.cobblestone, 'B', Blocks.stone);

GameRegistry.addRecipe(new ItemStack(ModBlocks.lantern), "ABA", "BCB", "ABA", 'A', Blocks.planks, 'B', Items.paper, 'C', Blocks.torch);

GameRegistry.addRecipe(new ItemStack(ModBlocks.paperWrappedPlanks), "AAA", "ABA", "AAA", 'A', Items.paper, 'B', Blocks.planks);

//Items

GameRegistry.addRecipe(new ItemStack(ModItems.woodBroadsword), "CBA", "BAB", "DBC", 'C', Items.string, 'B', Blocks.planks, 'A', ModBlocks.compressedWood, 'D', Items.stick);

GameRegistry.addRecipe(new ItemStack(ModItems.stoneBroadsword), "CBA", "BAB", "DBC", 'C', Items.string, 'B', Blocks.stone, 'A', ModBlocks.compressedStone, 'D', Items.stick);

GameRegistry.addRecipe(new ItemStack(ModItems.ironBroadsword), "CBA", "BAB", "DBC", 'C', Items.string, 'B', Items.iron_ingot, 'A', Blocks.iron_block, 'D', Items.stick);

GameRegistry.addRecipe(new ItemStack(ModItems.goldBroadsword), "CBA", "BAB", "DBC", 'C', Items.string, 'B', Items.gold_ingot, 'A', Blocks.gold_block, 'D', Items.stick);

GameRegistry.addRecipe(new ItemStack(ModItems.diamondBroadsword), "CBA", "BAB", "DBC", 'C', Items.string, 'B', Items.diamond, 'A', Blocks.diamond_block, 'D', Items.stick);

GameRegistry.addRecipe(new ItemStack(ModItems.woodGrindstone), "ABA", "B B", "ABA", 'A', Blocks.planks, 'B', ModBlocks.compressedWood);

GameRegistry.addRecipe(new ItemStack(ModItems.stoneGrindstone), "ABA", "BCB", "ABA", 'A', Blocks.stone, 'B', ModBlocks.compressedStone, 'C', ModItems.woodGrindstone);

GameRegistry.addRecipe(new ItemStack(ModItems.ironGrindstone), "ABA", "BCB", "ABA", 'A', Items.iron_ingot, 'B', Blocks.iron_block, 'C', ModItems.stoneGrindstone);

GameRegistry.addRecipe(new ItemStack(ModItems.goldGrindstone), "ABA", "BCB", "ABA", 'A', Items.gold_ingot, 'B', Blocks.gold_block, 'C', ModItems.ironGrindstone);

GameRegistry.addRecipe(new ItemStack(ModItems.diamondGrindstone), "ABA", "BCB", "ABA", 'A', Items.diamond, 'B', Blocks.diamond_block, 'C', ModItems.goldGrindstone);

//Shapeless Recipes

//Blocks

GameRegistry.addShapelessRecipe(new ItemStack(ModBlocks.mixedDirt), new Object[] {Blocks.gravel,Blocks.dirt});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedWoodBroadsword), new Object[] {ModItems.woodGrindstone,ModItems.woodBroadsword});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedWoodBroadsword), new Object[] {ModItems.woodBroadsword,ModItems.stoneGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedWoodBroadsword), new Object[] {ModItems.woodBroadsword,ModItems.ironGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedWoodBroadsword), new Object[] {ModItems.woodBroadsword,ModItems.goldGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedWoodBroadsword), new Object[] {ModItems.woodBroadsword,ModItems.diamondGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedStoneBroadsword), new Object[] {ModItems.stoneBroadsword,ModItems.stoneGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedStoneBroadsword), new Object[] {ModItems.stoneBroadsword,ModItems.ironGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedStoneBroadsword), new Object[] {ModItems.stoneBroadsword,ModItems.goldGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedStoneBroadsword), new Object[] {ModItems.stoneBroadsword,ModItems.diamondGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedIronBroadsword), new Object[] {ModItems.ironBroadsword,ModItems.ironGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedIronBroadsword), new Object[] {ModItems.ironBroadsword,ModItems.goldGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedIronBroadsword), new Object[] {ModItems.ironBroadsword,ModItems.diamondGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedGoldBroadsword), new Object[] {ModItems.goldBroadsword,ModItems.goldGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedGoldBroadsword), new Object[] {ModItems.goldBroadsword,ModItems.diamondGrindstone});

GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedDiamondBroadsword), new Object[] {ModItems.diamondBroadsword,ModItems.diamondGrindstone});

//Items

}

 

 

 

}

 

 

 

 

 

Thanks for the help guys, i am not going to be able to reply until tomorrow however and will check what you all have posted then. Again, thanks for the amazing assistance.

 

 

 

 

 

Link to comment
Share on other sites

i checked with forge 1448 , same crash though. I use a single ModCrafting class for recipe registering.

 

My ItemModSword Class Is:

package com.SackboyAlamode.Industrialization.item;

import com.SackboyAlamode.Industrialization.Main;

import net.minecraft.item.ItemSword;

public class ItemModSword extends ItemSword{

public ItemModSword(String unlocalizedName, ToolMaterial material) {
	super(material);
	this.setUnlocalizedName(unlocalizedName);
	this.setTextureName(Main.MODID + ":" + unlocalizedName);

}

}


My ModItems Class is:

package com.SackboyAlamode.Industrialization.item;



import com.SackboyAlamode.Industrialization.Main;

import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraftforge.common.util.EnumHelper;

public final class ModItems {
//Materials
//("MaterialName", harvestLevel, durability, miningSpeed, damageVsEntites, enchantability);
	public static ToolMaterial AWOOD = EnumHelper.addToolMaterial("AWOOD", 2, 512, 7.0F, 1.0F, 1);
	public static ToolMaterial ASTONE = EnumHelper.addToolMaterial("ASTONE", 2, 1024, 7.0F, 2.0F, 5);
	public static ToolMaterial AIRON = EnumHelper.addToolMaterial("AIRON", 2, 2048, 7.0F, 4.0F, 15);
	public static ToolMaterial AGOLD = EnumHelper.addToolMaterial("AGOLD", 2, 256, 7.0F, 3.0F, 30);
	public static ToolMaterial ADIAMOND = EnumHelper.addToolMaterial("ADIAMOND", 2, 8192, 6.0F, 6.0F, 10);
	public static ToolMaterial BWOOD = EnumHelper.addToolMaterial("BWOOD", 2, 512, 7.0F, 1.5F, 1);
	public static ToolMaterial BSTONE = EnumHelper.addToolMaterial("BSTONE", 2, 1024, 7.0F, 2.5F, 5);
	public static ToolMaterial BIRON = EnumHelper.addToolMaterial("BIRON", 2, 2048, 7.0F, 7.0F, 15);
	public static ToolMaterial BGOLD = EnumHelper.addToolMaterial("BGOLD", 2, 256, 7.0F, 5.0F, 30);
	public static ToolMaterial BDIAMOND = EnumHelper.addToolMaterial("BDIAMOND", 2, 8192, 11.0F, 11.0F, 10);

	//Items
	public static Item woodGrindstone;
	public static Item stoneGrindstone;
	public static Item ironGrindstone;
	public static Item goldGrindstone;
	public static Item diamondGrindstone;
	public static Item woodBroadsword;
	public static Item stoneBroadsword;
	public static Item ironBroadsword;
	public static Item goldBroadsword;
	public static Item diamondBroadsword;
	public static Item sharpenedWoodBroadsword;
	public static Item sharpenedStoneBroadsword;
	public static Item sharpenedIronBroadsword;
	public static Item sharpenedGoldBroadsword;
	public static Item sharpenedDiamondBroadsword;

public static final void init() {
	//Creating Items
		woodGrindstone = new Item().setUnlocalizedName("woodGrindstone").setCreativeTab(CreativeTabs.tabTools).setTextureName(Main.MODID + ":woodGrindstone");
		stoneGrindstone = new Item().setUnlocalizedName("stoneGrindstone").setCreativeTab(CreativeTabs.tabTools).setTextureName(Main.MODID + ":stoneGrindstone");
		ironGrindstone = new Item().setUnlocalizedName("ironGrindstone").setCreativeTab(CreativeTabs.tabTools).setTextureName(Main.MODID + ":ironGrindstone");
		goldGrindstone = new Item().setUnlocalizedName("goldGrindstone").setCreativeTab(CreativeTabs.tabTools).setTextureName(Main.MODID + ":goldGrindstone");
		diamondGrindstone = new Item().setUnlocalizedName("diamondGrindstone").setCreativeTab(CreativeTabs.tabTools).setTextureName(Main.MODID + ":diamondGrindstone");
		woodBroadsword = new Item().setUnlocalizedName("woodBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":woodBroadsword");
		stoneBroadsword = new Item().setUnlocalizedName("stoneBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":stoneBroadsword");
		ironBroadsword = new Item().setUnlocalizedName("ironBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":ironBroadsword");
		goldBroadsword = new Item().setUnlocalizedName("goldBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":goldBroadsword");
		diamondBroadsword = new Item().setUnlocalizedName("diamondBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":diamondBroadsword");
		sharpenedWoodBroadsword = new Item().setUnlocalizedName("sharpenedWoodBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":sharpenedWoodBroadsword");
		sharpenedStoneBroadsword = new Item().setUnlocalizedName("sharpenedStoneBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":sharpenedStoneBroadsword");
		sharpenedIronBroadsword = new Item().setUnlocalizedName("sharpenedIronBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":sharpenedIronBroadsword");
		sharpenedGoldBroadsword = new Item().setUnlocalizedName("sharpenedGoldBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":sharpenedGoldBroadsword");
		sharpenedDiamondBroadsword = new Item().setUnlocalizedName("sharpenedDiamondBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":sharpenedDiamondBroadsword");
	//Registering Items
		GameRegistry.registerItem(new ItemModSword("woodBroadsword", AWOOD), "woodBroadsword");
		GameRegistry.registerItem(new ItemModSword("stoneBroadsword", ASTONE), "stoneBroadsword");
		GameRegistry.registerItem(new ItemModSword("ironBroadsword", AIRON), "ironBroadsword");
		GameRegistry.registerItem(new ItemModSword("goldBroadsword", AGOLD), "goldBroadsword");
		GameRegistry.registerItem(new ItemModSword("diamondBroadsword", ADIAMOND), "diamondBroadsword");
		GameRegistry.registerItem(new ItemModSword("sharpenedWoodBroadsword", BWOOD), "sharpenedWoodBroadsword");
		GameRegistry.registerItem(new ItemModSword("sharpenedStoneBroadsword", BSTONE), "sharpenedStoneBroadsword");
		GameRegistry.registerItem(new ItemModSword("sharpenedIronBroadsword", BIRON), "sharpenedIronBroadsword");
		GameRegistry.registerItem(new ItemModSword("sharpenedGoldBroadsword", BGOLD), "sharpenedGoldBroadsword");
		GameRegistry.registerItem(new ItemModSword("sharpenedDiamondBroadsword", BDIAMOND), "sharpenedDiamondBroadsword");
		GameRegistry.registerItem(woodGrindstone, "woodGrindstone");
		GameRegistry.registerItem(stoneGrindstone, "stoneGrindstone");
		GameRegistry.registerItem(ironGrindstone, "ironGrindstone");
		GameRegistry.registerItem(goldGrindstone, "goldGrindstone");
		GameRegistry.registerItem(diamondGrindstone, "diamondGrindstone");
}

}

My ModCrafting Class is:

package com.SackboyAlamode.Industrialization.crafting;

import com.SackboyAlamode.Industrialization.block.ModBlocks;
import com.SackboyAlamode.Industrialization.item.ModItems;

import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;


public class ModCrafting {
public static final void init() {
//Recipes
	//Blocks
		GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedWood), "ABA", "BAB", "ABA", 'A', Blocks.log, 'B', Blocks.planks);
		GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedStone), "ABA", "BAB", "ABA", 'A', Blocks.stone, 'B', Blocks.cobblestone);
		GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedSand), "ABA", "BAB", "ABA", 'A', Blocks.sand, 'B', Blocks.sandstone);
		GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedDirt), "ABA", "BAB", "ABA", 'A', Blocks.dirt, 'B', ModBlocks.mixedDirt);
		GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedGravel), "ABA", "BAB", "ABA", 'A', Blocks.gravel, 'B', Blocks.cobblestone);
		GameRegistry.addRecipe(new ItemStack(ModBlocks.compressedCobblestone), "ABA", "BAB", "ABA", 'A', Blocks.cobblestone, 'B', Blocks.stone);
		GameRegistry.addRecipe(new ItemStack(ModBlocks.lantern), "ABA", "BCB", "ABA", 'A', Blocks.planks, 'B', Items.paper, 'C', Blocks.torch);
		GameRegistry.addRecipe(new ItemStack(ModBlocks.paperWrappedPlanks), "AAA", "ABA", "AAA", 'A', Items.paper, 'B', Blocks.planks);
	//Items
		GameRegistry.addRecipe(new ItemStack(ModItems.woodBroadsword), "CBA", "BAB", "DBC", 'C', Items.string, 'B', Blocks.planks, 'A', ModBlocks.compressedWood, 'D', Items.stick);
		GameRegistry.addRecipe(new ItemStack(ModItems.stoneBroadsword), "CBA", "BAB", "DBC", 'C', Items.string, 'B', Blocks.stone, 'A', ModBlocks.compressedStone, 'D', Items.stick);
		GameRegistry.addRecipe(new ItemStack(ModItems.ironBroadsword), "CBA", "BAB", "DBC", 'C', Items.string, 'B', Items.iron_ingot, 'A', Blocks.iron_block, 'D', Items.stick);
		GameRegistry.addRecipe(new ItemStack(ModItems.goldBroadsword), "CBA", "BAB", "DBC", 'C', Items.string, 'B', Items.gold_ingot, 'A', Blocks.gold_block, 'D', Items.stick);
		GameRegistry.addRecipe(new ItemStack(ModItems.diamondBroadsword), "CBA", "BAB", "DBC", 'C', Items.string, 'B', Items.diamond, 'A', Blocks.diamond_block, 'D', Items.stick);
		GameRegistry.addRecipe(new ItemStack(ModItems.woodGrindstone), "ABA", "B B", "ABA", 'A', Blocks.planks, 'B', ModBlocks.compressedWood);
		GameRegistry.addRecipe(new ItemStack(ModItems.stoneGrindstone), "ABA", "BCB", "ABA", 'A', Blocks.stone, 'B', ModBlocks.compressedStone, 'C', ModItems.woodGrindstone);
		GameRegistry.addRecipe(new ItemStack(ModItems.ironGrindstone), "ABA", "BCB", "ABA", 'A', Items.iron_ingot, 'B', Blocks.iron_block, 'C', ModItems.stoneGrindstone);
		GameRegistry.addRecipe(new ItemStack(ModItems.goldGrindstone), "ABA", "BCB", "ABA", 'A', Items.gold_ingot, 'B', Blocks.gold_block, 'C', ModItems.ironGrindstone);
		GameRegistry.addRecipe(new ItemStack(ModItems.diamondGrindstone), "ABA", "BCB", "ABA", 'A', Items.diamond, 'B', Blocks.diamond_block, 'C', ModItems.goldGrindstone);
//Shapeless Recipes
	//Blocks
		GameRegistry.addShapelessRecipe(new ItemStack(ModBlocks.mixedDirt), new Object[] {Blocks.gravel,Blocks.dirt});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedWoodBroadsword), new Object[] {ModItems.woodGrindstone,ModItems.woodBroadsword});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedWoodBroadsword), new Object[] {ModItems.woodBroadsword,ModItems.stoneGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedWoodBroadsword), new Object[] {ModItems.woodBroadsword,ModItems.ironGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedWoodBroadsword), new Object[] {ModItems.woodBroadsword,ModItems.goldGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedWoodBroadsword), new Object[] {ModItems.woodBroadsword,ModItems.diamondGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedStoneBroadsword), new Object[] {ModItems.stoneBroadsword,ModItems.stoneGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedStoneBroadsword), new Object[] {ModItems.stoneBroadsword,ModItems.ironGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedStoneBroadsword), new Object[] {ModItems.stoneBroadsword,ModItems.goldGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedStoneBroadsword), new Object[] {ModItems.stoneBroadsword,ModItems.diamondGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedIronBroadsword), new Object[] {ModItems.ironBroadsword,ModItems.ironGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedIronBroadsword), new Object[] {ModItems.ironBroadsword,ModItems.goldGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedIronBroadsword), new Object[] {ModItems.ironBroadsword,ModItems.diamondGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedGoldBroadsword), new Object[] {ModItems.goldBroadsword,ModItems.goldGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedGoldBroadsword), new Object[] {ModItems.goldBroadsword,ModItems.diamondGrindstone});
		GameRegistry.addShapelessRecipe(new ItemStack(ModItems.sharpenedDiamondBroadsword), new Object[] {ModItems.diamondBroadsword,ModItems.diamondGrindstone});
	//Items
}



}

 

 

 

 

Thanks for the help guys, i am not going to be able to reply until tomorrow however and will check what you all have posted then. Again, thanks for the amazing assistance.

 

Firstly,

 works wonders. 

 

Secondly, none of the sword crafting recipes work?

 

 

I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!

Link to comment
Share on other sites

My crafting recipies are called in the preinitilization, and my items/blocks are both called in the initilization. I use proxies, if that makes a difference, the crafting recipies and the blocks/items being called in the common proxy. None of the sword crafting recipies work, all resulting in the same crash. It doesnt matter if you shift click the items from the crafting bench or normal click it, same crash in both. I was having trouble launching my game, i cant specifically remember the crash, but the fix was adding this code to my items class. I added it to all my sword types, respecive names changed of course.

 

stoneBroadsword = new Item().setUnlocalizedName("stoneBroadsword").setCreativeTab(CreativeTabs.tabCombat).setTextureName(Main.MODID + ":stoneBroadsword");

 

And i am not sure that it doesnt some how clash with this code, also in my items class

 

GameRegistry.registerItem(new ItemModSword("stoneBroadsword", ASTONE), "stoneBroadsword");

 

 

 

Sorry about the code, didnt know how to use


Link to comment
Share on other sites

You are not registering the item instance you used in the recipe.

Having the same name isn't going to magically link the instances.

Here the items used in recipes are of Item type, while the items added in registry are of ItemModSword type.

Solve the inconsistency.

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

    • Did you check the getRenderShape method of your block to ensure it's returning the correct enum value?
    • new to messing with modpacks. the server starts and the pack is playable on personal worlds, but every time i try to enter the server, i get "internal exception: io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Payload may not be larger than 1048576 bytes" and it boots me. not sure what this means. the debug log is essentially gibberish to me and i'm not sure... about anything. is it saying that it's sending me too much data? if it helps at all, my mc username is "leucanella", and the disconnect reasons are near the very bottom (at least once was due to mismatched modlists, but i got that fixed i'm pretty sure). i just can't make sense of it myself. https://gist.github.com/idlebird/c5269e80434a501104f6b99ebc16be46
    • We somehow figured out the issue: Whenever we try to eat a food item from the mod "[Let's Do] Candlelight" that can be eaten multiple times using a feeding upgrade from "Sophisticated Backpacks", that's when we crash. Food items include: - Beef Wellington - Bolognese - Chicken Alfredo - Chicken with Vegetables - Cooked Beef - Fricasse with Hash Browns - Lasagna - Lettuce with Steak - Lettuce with Tomatoes, Potatoes and Carrots - Mushroom Soup - Pasta with Bolognese - Pasta with Tomato Sauce - Pork Ribs - Roastbeef with Carrots - Salmon with White Wine Sauce - Tomato Mozzarella Salad - Tomato Soup - Tropical Fish Supreme
    • Me and my sister are playing on a modded minecraft server, but recently she has been crashing at random intervals and no one I've talked with knows why. There's no crash report on my sister's side, but in the log of the server there appears a bunch of lines every time she crashes. They appear to be mostly similar with different mods changing each crash. Minecraft Version: 1.20.1 Forge version: forge-47.2.20 Server log: [07May2024 18:13:29.067] [Server thread/ERROR] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: Exception caught during firing event: null     Index: 12     Listeners:         0: NORMAL         1: ASM: com.github.alexthe666.citadel.server.CitadelEvents@28c884eb onEntityUpdateDebug(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingTickEvent;)V         2: net.minecraftforge.eventbus.EventBus$$Lambda$4374/0x00007f0098c72da0@10f79ae2         3: ASM: com.github.alexthe666.alexsmobs.event.ServerEvents@6f4126f3 onLivingUpdateEvent(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingTickEvent;)V         4: ASM: class tallestegg.illagersweararmor.IWASpawnEvents tickEntity(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingTickEvent;)V         5: ASM: class io.github.lightman314.lightmanscurrency.common.EventHandler entityTick(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingTickEvent;)V         6: ASM: com.github.L_Ender.cataclysm.event.ServerEventHandler@1bbd60d8 onLivingUpdateEvent(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingTickEvent;)V         7: ASM: class io.github.edwinmindcraft.apoli.common.ApoliPowerEventHandler playerTick(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingTickEvent;)V         8: ASM: class io.github.edwinmindcraft.apoli.common.ApoliEventHandler livingTick(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingTickEvent;)V         9: net.minecraftforge.eventbus.EventBus$$Lambda$4374/0x00007f0098c72da0@1e30768c         10: ASM: class net.mcreator.borninchaosv.init.EntityAnimationFactory onEntityTick(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingTickEvent;)V         11: ASM: squeek.appleskin.network.SyncHandler@29e380f7 onLivingTickEvent(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingTickEvent;)V         12: ASM: top.theillusivec4.curios.common.event.CuriosEventHandler@55b4416c tick(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingTickEvent;)V java.lang.ArrayIndexOutOfBoundsException [07May2024 18:13:29.146] [Server thread/WARN] [net.minecraft.server.network.ServerConnectionListener/]: Failed to handle packet for /OMITTED IP net.minecraft.ReportedException: Ticking player     at net.minecraft.server.level.ServerPlayer.m_9240_(ServerPlayer.java:530) ~[server-1.20.1-20230612.114412-srg.jar%23461!/:?]     at net.minecraft.server.network.ServerGamePacketListenerImpl.m_9933_(ServerGamePacketListenerImpl.java:262) ~[server-1.20.1-20230612.114412-srg.jar%23461!/:?]     at net.minecraft.network.Connection.m_129483_(Connection.java:263) ~[server-1.20.1-20230612.114412-srg.jar%23461!/:?]     at net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:142) ~[server-1.20.1-20230612.114412-srg.jar%23461!/:?]     at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:907) ~[server-1.20.1-20230612.114412-srg.jar%23461!/:?]     at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:283) ~[server-1.20.1-20230612.114412-srg.jar%23461!/:?]     at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[server-1.20.1-20230612.114412-srg.jar%23461!/:?]     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23461!/:?]     at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23461!/:?]     at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.ArrayIndexOutOfBoundsException Mod List: SecurityCraft v1.9.9.jar additional_lights-1.20.1-2.1.7.jar advancements_tracker_1.20.1-6.1.0.jar AI-Improvements-1.20-0.5.2.jar alexsdelight-1.5.jar alexsmobs-1.22.8.jar AmbientSounds_FORGE_v5.3.9_mc1.20.1.jar amendments-1.20-1.1.26.jar appleskin-forge-mc1.20.1-2.5.1.jar Aquaculture-1.20.1-2.5.1.jar aquaculture_delight_1.0.0_forge_1.20.1.jar architectury-9.2.14-forge.jar Arda's Sculks 1.3.2 [FORGE] [1.20.1].jar artifacts-forge-9.5.3.jar async-locator-forge-1.20-1.3.0.jar athena-forge-1.20.1-3.1.2.jar AttributeFix-Forge-1.20.1-21.0.4.jar BadOptimizations-2.1.1.jar badpackets-forge-0.4.3.jar balm-forge-1.20.1-7.2.2.jar beautify-2.0.2.jar BetterAdvancements-1.20.1-0.3.2.162.jar bettercombat-forge-1.8.5+1.20.1.jar BetterF3-7.0.2-Forge-1.20.1.jar betterfarmerscombat-1.2-1.20.1.jar BetterThirdPerson-Forge-1.20-1.9.0.jar BiomesOPlenty-1.20.1-18.0.0.598.jar Bookshelf-Forge-1.20.1-20.1.10.jar born_in_chaos_[Forge]1.20.1_1.2.jar Bountiful-6.0.3+1.20.1-forge.jar caelus-forge-3.2.0+1.20.1.jar camera-forge-1.20.1-1.0.8.jar canary-mc1.20.1-0.3.3.jar chat_heads-0.10.32-forge-1.20.jar Chimes-v2.0.1-1.20.1.jar Chipped-forge-1.20.1-3.0.6.jar chunksending-1.20.1-2.8.jar Chunky-1.3.136.jar citadel-2.5.4-1.20.1.jar cloth-config-11.1.118-forge.jar Clumps-forge-1.20.1-12.0.0.3.jar cluttered-2.1-1.20.1.jar connectedglass-1.1.11-forge-mc1.20.1.jar Controlling-forge-1.20.1-12.0.2.jar corpse-forge-1.20.1-1.0.12.jar cosmeticarmorreworked-1.20.1-v1a.jar CreativeCore_FORGE_v2.11.27_mc1.20.1.jar creeperoverhaul-3.0.2-forge.jar Croptopia-1.20.1-FORGE-3.0.4.jar ctia-1.20.1-forge-2.0.9.jar cupboard-1.20.1-2.6.jar curios-forge-5.9.0+1.20.1.jar CustomPlayerModels-1.20-0.6.16c.jar darktimer-forge-1.20.1-1.0.9.jar dotbe-1.20.1-1.5.5.jar dummmmmmy-1.20-1.8.14.jar DungeonsArise-1.20.x-2.1.58-release.jar DungeonsAriseSevenSeas-1.20.x-1.0.2-forge.jar dye_depot-1.0.0-forge.jar dynamiclights-v1.7.1-mc1.17x-1.20x-mod.jar easy_mob_farm_1.20.1-7.1.0.jar elevatorid-1.20.1-lex-1.9.jar embeddium-0.3.17+mc1.20.1-all.jar embeddiumplus-1.20.1-v1.2.8.jar emotecraft-for-MC1.20.1-2.2.7-b.build.50-forge.jar EnchantmentDescriptions-Forge-1.20.1-17.0.14.jar EnderMail-1.20.1-1.2.9.jar endermanoverhaul-forge-1.20.1-1.0.4.jar endersdelight-1.20.1-1.0.3.jar entityculling-forge-1.6.2-mc1.20.1.jar EpheroLib-1.20.1-FORGE-1.2.0.jar fantasyfurniture-1.20.1-9.0.0.jar FarmersDelight-1.20.1-1.2.4.jar farmersutils-1.0.5-1.20.1.jar Fastload-Reforged-mc1.20.1-3.4.0.jar fastpaintings-1.20-1.2.5.jar ferritecore-6.0.1-forge.jar friendsandfoes-forge-mc1.20.1-2.0.10.jar ftb-essentials-forge-2001.2.2.jar ftb-library-forge-2001.2.1.jar fusion-1.1.1-forge-mc1.20.1.jar geckolib-forge-1.20.1-4.4.4.jar getittogetherdrops-forge-1.20-1.3.jar handcrafted-forge-1.20.1-3.0.6.jar IllagerInvasion-v8.0.5-1.20.1-Forge.jar illagersweararmor-1.20.1-1.3.4.jar ImmediatelyFast-Forge-1.2.13+1.20.4.jar immersive_melodies-0.1.0+1.20.1-forge.jar Incendium_1.20.4_v5.3.4.jar Item_Obliterator-FORGE-MC1.20.1-1.7.0.jar Jade-1.20.1-forge-11.8.0.jar jei-1.20.1-forge-15.3.0.4.jar journeymap-1.20.1-5.9.20-forge.jar Kambrik-6.1.1+1.20.1-forge.jar kotlinforforge-4.10.0-all.jar L_Enders_Cataclysm-1.99.2 -1.20.1.jar LeavesBeGone-v8.0.0-1.20.1-Forge.jar letmedespawn-forge-1.20.x-1.2.0.jar letsdo-addon-compat-forge-v1.4.1.jar letsdo-API-forge-1.2.9-forge.jar letsdo-bakery-forge-1.1.8.jar letsdo-beachparty-forge-1.1.4-1.jar letsdo-brewery-forge-1.1.6.jar letsdo-candlelight-forge-1.2.11.jar letsdo-herbalbrews-forge-1.0.6.jar letsdo-meadow-forge-1.3.8.jar letsdo-nethervinery-forge-1.2.10.jar letsdo-vinery-forge-1.4.15.jar lightmanscurrency-1.20.1-2.2.1.3b.jar lionfishapi-1.8.jar magicvibedecorations-HALLOWEEN 1.5.0 1.20.1 forge.jar make_bubbles_pop-0.2.0-forge-mc1.19.4+.jar memoryleakfix-forge-1.17+-1.1.5.jar MobLassos-v8.0.1-1.20.1-Forge.jar modelfix-1.15.jar moonlight-1.20-2.11.14-forge.jar morediscs-1.20.1-33-forge.jar MouseTweaks-forge-mc1.20-2.25.jar Necronomicon-Forge-1.4.2.jar nether-s-exoticism-1.20.1-1.2.7.jar nethersdelight-1.20.1-4.0.jar nomowanderer-1.20.1_1.6.4.jar oculus-mc1.20.1-1.7.0.jar origins-forge-1.20.1-1.10.0.7-all.jar origins-plus-plus-2.2-forge.jar Paraglider-forge-20.1.3.jar Patchouli-1.20.1-84-FORGE.jar Paxi-1.20-Forge-4.0.jar Pehkui-3.8.0+1.20.1-forge.jar player-animation-lib-forge-1.0.2-rc1+1.20.jar PlayerRevive_FORGE_v2.0.24_mc1.20.1.jar plushies-1.4.0-forge.jar polymorph-forge-0.49.3+1.20.1.jar projectvibrantjourneys-1.20.1-6.0.0.jar PuzzlesLib-v8.1.18-1.20.1-Forge.jar resourcefulconfig-forge-1.20.1-2.1.2.jar resourcefullib-forge-1.20.1-2.1.24.jar right-click-harvest-3.2.3+1.20.1-forge.jar rubidium-extra-0.5.4.3+mc1.20.1-build.121.jar Runelic-Forge-1.20.1-18.0.2.jar saturn-mc1.20.1-0.1.3.jar sawmill-1.20-1.3.13.jar scholar-1.20.1-1.0.0-forge.jar screenshot_viewer-1.2.1-forge-mc1.20.1.jar Searchables-forge-1.20.1-1.0.2.jar selfexpression-2.8 1.20.1.jar servercore-forge-1.5.1+1.20.1.jar ShulkerArmory_1.20.1_1.2.1_hotfix.jar simplehats-forge-1.20.1-0.2.4.jar simplevoicechat_broadcast-mc1.20.1-1.0.1.jar simplyswords-forge-1.55.0-1.20.1.jar smoothboot(reloaded)-mc1.20.1-0.0.4.jar Sniffer+-forge-1.20.1-0.3.0.jar sophisticatedbackpacks-1.20.1-3.20.5.1044.jar sophisticatedcore-1.20.1-0.6.21.609.jar sophisticatedstorage-1.20.1-0.10.21.793.jar spark-1.10.53-forge.jar stalwart-dungeons-1.20.1-1.2.8.jar starlight-1.1.2+forge.1cda73c.jar step-1.20.1-1.2.2.jar supermartijn642corelib-1.1.17-forge-mc1.20.1.jar supplementaries-1.20-2.8.10.jar temporalapi-1.5.0.jar TerraBlender-forge-1.20.1-3.0.1.4.jar Terralith_1.20.4_v2.4.11.jar toms_storage-1.20-1.6.6.jar torchmaster-20.1.6.jar trashslot-forge-1.20-15.1.0.jar treasuredistance-1.20-1.2.jar tru.e-ending-v1.1.0c.jar v_slab_compat-1.20-2.3.jar vintagedelight-0.0.12.jar vmp-fabric-mc1.20.1-0.2.0+beta.7.101-all.jar voicechat-forge-1.20.1-2.5.11.jar waystones-forge-1.20-14.1.3.jar WI-Zoom-1.5-MC1.20.1-Forge.jar worldedit-mod-7.2.15.jar wsopulence1.2.0_Forge_MC1.20.1-1.20.4.jar xlpackets-1.18.2-2.1.jar YungsApi-1.20-Forge-4.0.4.jar YungsBetterEndIsland-1.20-Forge-2.0.6.jar YungsBetterNetherFortresses-1.20-Forge-2.0.6.jar YungsBetterOceanMonuments-1.20-Forge-3.0.4.jar YungsBetterStrongholds-1.20-Forge-4.0.3.jar
    • Like the title i wanted to render a obj model into minecraft but i cant find any tutorials for this.
  • Topics

×
×
  • Create New...

Important Information

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