Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[SOLVED] [1.7.10] Problem when adding shapeless crafting recipe


The VoxL
 Share

Recommended Posts

Hello,

I have a problem with making my own mod. I don't know alot about Java/Modding but i have followed a tutorial yet the game crashes when trying to craft my one Item created.

 

Crash:

 

---- Minecraft Crash Report ----

// Hi. I'm Minecraft, and I'm a crashaholic.

 

Time: 4/13/16 4:42 PM

Description: Rendering item

 

java.lang.NullPointerException: Rendering item

at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265)

at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)

at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)

at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:289)

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:114)

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137)

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

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(Unknown Source)

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

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

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.getItemDamage(ItemStack.java:265)

at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)

 

-- Item being rendered --

Details:

Item Type: null

Item Aux: ~~ERROR~~ NullPointerException: null

Item NBT: null

Item Foil: ~~ERROR~~ NullPointerException: null

Stacktrace:

at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)

at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:289)

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:114)

 

-- Screen render details --

Details:

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

Mouse location: Scaled: (172, 93). Absolute: (345, 293)

Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['Player406'/278, l='MpServer', x=-421.73, y=5.62, z=428.21]]

Chunk stats: MultiplayerChunkCache: 620, 620

Level seed: 0

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

Level generator options:

Level spawn location: World: (-426,4,430), Chunk: (at 6,0,14 in -27,26; contains blocks -432,0,416 to -417,255,431), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)

Level time: 5275 game time, 5275 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: 148 total; [EntitySheep['Sheep'/19, l='MpServer', x=-497.31, y=4.00, z=366.16], EntityPig['Pig'/20, l='MpServer', x=-501.44, y=4.00, z=365.13], EntityClientPlayerMP['Player406'/278, l='MpServer', x=-421.73, y=5.62, z=428.21], EntityHorse['Horse'/25, l='MpServer', x=-497.38, y=4.00, z=389.91], EntityCow['Cow'/26, l='MpServer', x=-501.16, y=4.00, z=388.16], EntitySheep['Sheep'/27, l='MpServer', x=-498.50, y=4.00, z=461.47], EntityPig['Pig'/28, l='MpServer', x=-498.47, y=4.00, z=491.03], EntityChicken['Chicken'/29, l='MpServer', x=-491.59, y=4.00, z=494.44], EntitySheep['Sheep'/30, l='MpServer', x=-499.69, y=4.00, z=489.31], EntityChicken['Chicken'/32, l='MpServer', x=-494.56, y=4.00, z=507.44], EntityChicken['Chicken'/33, l='MpServer', x=-499.59, y=4.00, z=498.59], EntitySlime['Slime'/46889, l='MpServer', x=-463.39, y=4.82, z=448.36], EntityPig['Pig'/50, l='MpServer', x=-482.13, y=4.00, z=355.66], EntitySlime['Slime'/49202, l='MpServer', x=-367.36, y=4.99, z=475.54], EntityCow['Cow'/51, l='MpServer', x=-491.81, y=4.00, z=362.84], EntityCow['Cow'/52, l='MpServer', x=-488.88, y=4.00, z=372.88], EntityCow['Cow'/53, l='MpServer', x=-484.22, y=4.00, z=373.88], EntityCow['Cow'/54, l='MpServer', x=-490.94, y=4.00, z=374.31], EntityPig['Pig'/55, l='MpServer', x=-494.19, y=4.00, z=389.78], EntityHorse['Horse'/56, l='MpServer', x=-485.53, y=4.00, z=395.00], EntityHorse['Horse'/57, l='MpServer', x=-481.88, y=4.00, z=391.56], EntitySheep['Sheep'/58, l='MpServer', x=-482.88, y=4.00, z=394.97], EntitySlime['Slime'/59, l='MpServer', x=-480.16, y=4.81, z=387.53], EntitySheep['Sheep'/60, l='MpServer', x=-485.31, y=4.00, z=477.97], EntityCow['Cow'/61, l='MpServer', x=-480.63, y=4.00, z=473.59], EntityChicken['Chicken'/63, l='MpServer', x=-481.44, y=4.00, z=475.56], EntityChicken['Chicken'/64, l='MpServer', x=-492.19, y=4.00, z=491.22], EntityChicken['Chicken'/65, l='MpServer', x=-490.09, y=4.00, z=495.16], EntityCow['Cow'/66, l='MpServer', x=-487.47, y=4.00, z=486.81], EntityChicken['Chicken'/67, l='MpServer', x=-492.22, y=4.00, z=495.19], EntityPig['Pig'/68, l='MpServer', x=-490.69, y=4.00, z=484.16], EntityChicken['Chicken'/70, l='MpServer', x=-489.56, y=4.00, z=508.44], EntityPig['Pig'/71, l='MpServer', x=-480.81, y=4.00, z=508.91], EntitySheep['Sheep'/72, l='MpServer', x=-488.22, y=4.00, z=497.44], EntitySlime['Slime'/63560, l='MpServer', x=-364.22, y=4.00, z=492.32], EntityPig['Pig'/74, l='MpServer', x=-494.84, y=4.00, z=499.16], EntityPig['Pig'/88, l='MpServer', x=-469.75, y=4.00, z=350.13], EntityPig['Pig'/90, l='MpServer', x=-471.66, y=4.00, z=360.91], EntityPig['Pig'/91, l='MpServer', x=-478.16, y=4.00, z=365.13], EntityPig['Pig'/92, l='MpServer', x=-471.16, y=4.00, z=358.72], EntityChicken['Chicken'/93, l='MpServer', x=-479.44, y=4.00, z=352.34], EntityCow['Cow'/94, l='MpServer', x=-475.34, y=4.00, z=378.13], EntityCow['Cow'/95, l='MpServer', x=-467.19, y=4.00, z=372.25], EntityCow['Cow'/96, l='MpServer', x=-470.75, y=4.00, z=366.22], EntityPig['Pig'/97, l='MpServer', x=-478.06, y=4.00, z=371.16], EntityPig['Pig'/98, l='MpServer', x=-472.72, y=4.00, z=359.09], EntitySlime['Slime'/99, l='MpServer', x=-481.70, y=4.00, z=413.60], EntitySheep['Sheep'/100, l='MpServer', x=-468.84, y=4.00, z=460.06], EntitySheep['Sheep'/101, l='MpServer', x=-480.66, y=4.00, z=448.94], EntitySlime['Slime'/102, l='MpServer', x=-485.62, y=4.47, z=433.59], EntitySlime['Slime'/103, l='MpServer', x=-475.09, y=4.00, z=459.57], EntitySlime['Slime'/104, l='MpServer', x=-486.60, y=4.00, z=471.09], EntitySlime['Slime'/105, l='MpServer', x=-473.70, y=4.61, z=456.78], EntityChicken['Chicken'/106, l='MpServer', x=-477.41, y=4.00, z=477.22], EntityCow['Cow'/107, l='MpServer', x=-458.09, y=4.00, z=480.97], EntitySheep['Sheep'/108, l='MpServer', x=-470.88, y=4.00, z=474.16], EntitySlime['Slime'/109, l='MpServer', x=-490.19, y=4.18, z=470.27], EntityHorse['Donkey'/110, l='MpServer', x=-473.75, y=4.00, z=493.91], EntityCow['Cow'/111, l='MpServer', x=-469.53, y=4.00, z=486.25], EntitySlime['Slime'/85105, l='MpServer', x=-364.69, y=4.69, z=349.46], EntitySlime['Slime'/65911, l='MpServer', x=-463.30, y=5.06, z=504.46], EntityChicken['Chicken'/128, l='MpServer', x=-462.13, y=4.00, z=366.28], EntityPig['Pig'/129, l='MpServer', x=-460.88, y=4.00, z=377.03], EntitySlime['Slime'/130, l='MpServer', x=-463.06, y=4.81, z=361.88], EntitySlime['Slime'/131, l='MpServer', x=-434.96, y=4.00, z=375.41], EntitySlime['Slime'/132, l='MpServer', x=-460.06, y=4.99, z=411.05], EntitySlime['Slime'/133, l='MpServer', x=-444.67, y=4.00, z=417.85], EntitySlime['Slime'/134, l='MpServer', x=-454.06, y=4.00, z=457.94], EntityPig['Pig'/137, l='MpServer', x=-444.97, y=4.00, z=378.19], EntityChicken['Chicken'/138, l='MpServer', x=-433.44, y=4.00, z=386.44], EntitySlime['Slime'/139, l='MpServer', x=-445.30, y=4.00, z=397.66], EntitySlime['Slime'/140, l='MpServer', x=-424.34, y=4.00, z=399.31], EntitySlime['Slime'/2193, l='MpServer', x=-449.03, y=4.00, z=461.51], EntitySheep['Sheep'/148, l='MpServer', x=-422.81, y=4.00, z=364.09], EntityChicken['Chicken'/149, l='MpServer', x=-418.56, y=4.00, z=372.56], EntityPig['Pig'/150, l='MpServer', x=-417.91, y=4.00, z=376.50], EntityPig['Pig'/151, l='MpServer', x=-426.13, y=4.00, z=377.31], EntitySheep['Sheep'/152, l='MpServer', x=-411.91, y=4.00, z=387.03], EntityChicken['Chicken'/153, l='MpServer', x=-429.56, y=4.00, z=387.53], EntityPig['Pig'/155, l='MpServer', x=-413.03, y=4.00, z=383.97], EntitySheep['Sheep'/156, l='MpServer', x=-409.59, y=4.00, z=377.69], EntitySheep['Sheep'/157, l='MpServer', x=-403.69, y=4.00, z=390.84], EntitySlime['Slime'/158, l='MpServer', x=-392.29, y=4.96, z=436.11], EntitySlime['Slime'/159, l='MpServer', x=-403.54, y=4.00, z=425.79], EntitySlime['Slime'/160, l='MpServer', x=-415.97, y=4.00, z=424.84], EntitySheep['Sheep'/161, l='MpServer', x=-417.88, y=4.00, z=488.75], EntitySlime['Slime'/162, l='MpServer', x=-415.86, y=4.81, z=493.65], EntityHorse['Horse'/163, l='MpServer', x=-413.75, y=4.00, z=499.34], EntityHorse['Horse'/164, l='MpServer', x=-403.87, y=4.00, z=506.69], EntityHorse['Horse'/165, l='MpServer', x=-405.94, y=4.00, z=503.50], EntitySlime['Slime'/166, l='MpServer', x=-410.99, y=4.00, z=493.06], EntityChicken['Chicken'/169, l='MpServer', x=-389.59, y=4.00, z=374.47], EntityPig['Pig'/170, l='MpServer', x=-383.94, y=4.00, z=391.59], EntitySlime['Slime'/171, l='MpServer', x=-382.74, y=4.00, z=376.25], EntitySlime['Slime'/172, l='MpServer', x=-386.35, y=4.00, z=380.69], EntitySheep['Sheep'/173, l='MpServer', x=-387.38, y=4.00, z=402.84], EntityPig['Pig'/174, l='MpServer', x=-388.94, y=4.00, z=405.03], EntityHorse['Horse'/175, l='MpServer', x=-396.13, y=4.00, z=494.22], EntityHorse['Horse'/176, l='MpServer', x=-397.00, y=4.00, z=497.88], EntityHorse['Horse'/177, l='MpServer', x=-392.00, y=4.00, z=506.84], EntitySheep['Sheep'/178, l='MpServer', x=-396.03, y=4.00, z=507.97], EntitySlime['Slime'/67507, l='MpServer', x=-397.03, y=4.00, z=350.72], EntitySheep['Sheep'/180, l='MpServer', x=-393.50, y=4.00, z=503.59], EntityHorse['Horse'/181, l='MpServer', x=-397.09, y=4.00, z=506.16], EntitySheep['Sheep'/182, l='MpServer', x=-389.19, y=4.00, z=498.84], EntitySlime['Slime'/186, l='MpServer', x=-384.84, y=4.81, z=356.82], EntitySheep['Sheep'/187, l='MpServer', x=-378.81, y=4.00, z=360.41], EntitySheep['Sheep'/188, l='MpServer', x=-372.66, y=4.00, z=354.72], EntitySheep['Sheep'/190, l='MpServer', x=-388.13, y=4.00, z=378.56], EntityPig['Pig'/191, l='MpServer', x=-372.97, y=4.00, z=396.88], EntitySheep['Sheep'/192, l='MpServer', x=-380.75, y=4.00, z=390.34], EntityPig['Pig'/193, l='MpServer', x=-380.91, y=4.00, z=396.38], EntitySheep['Sheep'/194, l='MpServer', x=-382.66, y=4.00, z=413.19], EntitySheep['Sheep'/195, l='MpServer', x=-380.19, y=4.00, z=423.88], EntityPig['Pig'/196, l='MpServer', x=-368.06, y=4.00, z=431.97], EntityPig['Pig'/197, l='MpServer', x=-370.19, y=4.00, z=419.47], EntitySheep['Sheep'/198, l='MpServer', x=-374.88, y=4.00, z=432.72], EntityPig['Pig'/199, l='MpServer', x=-368.94, y=4.00, z=435.25], EntityPig['Pig'/200, l='MpServer', x=-370.91, y=4.00, z=451.66], EntitySlime['Slime'/201, l='MpServer', x=-365.15, y=4.95, z=442.63], EntityCow['Cow'/202, l='MpServer', x=-371.09, y=4.00, z=484.19], EntitySlime['Slime'/203, l='MpServer', x=-393.35, y=4.00, z=482.53], EntityHorse['Horse'/204, l='MpServer', x=-381.97, y=4.00, z=498.44], EntityHorse['Horse'/205, l='MpServer', x=-373.66, y=4.00, z=506.16], EntityCow['Cow'/206, l='MpServer', x=-374.81, y=4.00, z=499.78], EntityHorse['Horse'/217, l='MpServer', x=-355.34, y=4.00, z=349.63], EntitySheep['Sheep'/219, l='MpServer', x=-353.53, y=4.00, z=356.69], EntitySlime['Slime'/220, l='MpServer', x=-343.29, y=4.96, z=365.79], EntityPig['Pig'/221, l='MpServer', x=-356.13, y=4.00, z=357.16], EntitySlime['Slime'/222, l='MpServer', x=-340.99, y=4.00, z=385.97], EntitySheep['Sheep'/223, l='MpServer', x=-363.91, y=4.00, z=399.09], EntitySlime['Slime'/224, l='MpServer', x=-345.37, y=4.61, z=408.17], EntitySheep['Sheep'/225, l='MpServer', x=-353.16, y=4.00, z=445.84], EntitySheep['Sheep'/226, l='MpServer', x=-364.34, y=4.00, z=436.25], EntitySheep['Sheep'/227, l='MpServer', x=-359.75, y=4.00, z=443.63], EntityPig['Pig'/228, l='MpServer', x=-352.94, y=4.00, z=453.09], EntitySlime['Slime'/229, l='MpServer', x=-380.51, y=4.81, z=471.06], EntitySlime['Slime'/230, l='MpServer', x=-348.44, y=4.00, z=476.56], EntitySlime['Slime'/231, l='MpServer', x=-362.50, y=4.14, z=482.94], EntityCow['Cow'/232, l='MpServer', x=-358.31, y=4.00, z=507.69], EntitySheep['Sheep'/233, l='MpServer', x=-366.38, y=4.00, z=499.78], EntitySlime['Slime'/30959, l='MpServer', x=-381.00, y=4.00, z=507.49], EntityItem['item.item.redstone'/59891, l='MpServer', x=-423.56, y=4.13, z=428.75], EntityPig['Pig'/250, l='MpServer', x=-345.22, y=4.00, z=356.63], EntitySheep['Sheep'/251, l='MpServer', x=-348.56, y=4.00, z=400.19], EntityPig['Pig'/253, l='MpServer', x=-343.97, y=4.00, z=447.94], EntityPig['Pig'/254, l='MpServer', x=-350.44, y=4.00, z=443.88], EntitySlime['Slime'/255, l='MpServer', x=-341.80, y=4.00, z=494.24]]

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(Unknown Source)

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

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

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_31, Oracle Corporation

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

Memory: 877028864 bytes (836 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

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

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

FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 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 mechanika{a.0.1} [Mechanika] (bin)

GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 358.91' Renderer: 'GeForce GTX 960/PCIe/SSE2'

Launched Version: 1.7.10

LWJGL: 2.9.1

OpenGL: GeForce GTX 960/PCIe/SSE2 GL version 4.5.0 NVIDIA 358.91, NVIDIA Corporation

GL Caps: Using GL 1.3 multitexturing.

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

Anisotropic filtering is supported and maximum anisotropy is 16.

Shaders are available because OpenGL 2.1 is supported.

 

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

Type: Client (map_client.txt)

Resource Packs: []

Current Language: English (US)

Profiler Position: N/A (disabled)

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

Anisotropic Filtering: Off (1)

 

 

Main.class:

 

package com.The_VoxL.mechanika;

 

import com.The_VoxL.mechanika.Item.ironCircuit;

import cpw.mods.fml.common.Mod;

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

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

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

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

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.init.Items;

import net.minecraft.item.Item;

import net.minecraft.item.ItemStack;

 

@Mod(modid=Reference.MODID, name=Reference.MODNAME, version=Reference.MODVER)

public class Main

{

 

public static ItemStack ingotIron = new ItemStack(Items.iron_ingot);

public static ItemStack dustRedstone = new ItemStack(Items.redstone);

public static ItemStack circuitIron = new ItemStack(ironCircuit.circuitIron);

 

@EventHandler

public void preLoad(FMLPreInitializationEvent event)

{

ironCircuit.init();

}

 

@EventHandler

public void load(FMLInitializationEvent event)

{

ironCircuit.recipe();

}

 

@EventHandler

public void postInit(FMLPostInitializationEvent event)

{

 

}

 

public static CreativeTabs tabMechanika = new CreativeTabs("tabMechanika")

{

@Override

@SideOnly(Side.CLIENT)

public Item getTabIconItem()

{

ItemStack tabStack = new ItemStack(ironCircuit.circuitIron);

return tabStack.getItem();

}

 

};

 

}

 

 

 

ironCircuit.class:

 

package com.The_VoxL.mechanika.Item;

 

import com.The_VoxL.mechanika.Main;

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

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.init.Items;

import net.minecraft.item.Item;

import net.minecraft.item.ItemStack;

 

public class ironCircuit extends Item

{

 

 

 

public static Item circuitIron;

 

public static void init()

{

circuitIron = new ironCircuit()

.setMaxStackSize(64)

.setUnlocalizedName("ironCircuit")

.setCreativeTab(Main.tabMechanika);

GameRegistry.registerItem(circuitIron, "circuitIron");

}

 

public static void recipe()

{

 

GameRegistry.addShapelessRecipe(Main.circuitIron, 

Main.ingotIron,

Main.dustRedstone);

}

 

}

 

 

 

please help if you can

Link to comment
Share on other sites

No, he's saying that you should call your ironCircuit.init() in your load() function (which would usually be called init()). By way of naming conventions, in Java, you're supposed to name classes with Capital letters, so ironCircuit.class should be IronCircuit.class that way it's easier to differentiate between say a variable called ironCircuit and a class called IronCircuit. It makes it a lot easier for other people to read your code if you follow the convention and makes it less confusing for you.

- Just because things are the way they are doesn't mean they can't be the way you want them to be. Unless they're aspen trees. You can tell they're aspens 'cause the way they are.

Link to comment
Share on other sites

Still doesnt work! :/

 

Main.class now:

 

package com.The_VoxL.mechanika;

 

import com.The_VoxL.mechanika.Item.ironCircuit;

import cpw.mods.fml.common.Mod;

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

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

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

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

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.init.Items;

import net.minecraft.item.Item;

import net.minecraft.item.ItemStack;

 

@Mod(modid=Reference.MODID, name=Reference.MODNAME, version=Reference.MODVER)

public class Main

{

 

public static ItemStack ingotIron = new ItemStack(Items.iron_ingot);

public static ItemStack dustRedstone = new ItemStack(Items.redstone);

public static ItemStack circuitIron = new ItemStack(ironCircuit.circuitIron);

 

@EventHandler

public void preInit(FMLPreInitializationEvent event)

{

 

}

 

@EventHandler

public void init(FMLInitializationEvent event)

{

ironCircuit.init();

}

 

@EventHandler

public void postInit(FMLPostInitializationEvent event)

{

ironCircuit.recipe();

}

 

public static CreativeTabs tabMechanika = new CreativeTabs("tabMechanika")

{

@Override

@SideOnly(Side.CLIENT)

public Item getTabIconItem()

{

ItemStack tabStack = new ItemStack(ironCircuit.circuitIron);

return tabStack.getItem();

}

 

};

 

}

 

 

Link to comment
Share on other sites

You are creating itemstacks at class-instantiaion, before your items have been created and registered. Those stacks are stacks of null and cannot be rendered or used in recipes.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

okay, i think I understand that but where should i put them then? when i try to put e.g. "public static ItemStack ingotIron = new ItemStack(Items.iron_ingot);" into public void stacks() it says "Illegal modifier for parameter ingotIron; only final is permitted"

Link to comment
Share on other sites

okay, i think I understand that but where should i put them then? when i try to put e.g. "public static ItemStack ingotIron = new ItemStack(Items.iron_ingot);" into public void stacks() it says "Illegal modifier for parameter ingotIron; only final is permitted"

 

You're trying to declare a class variable in a location that only local variables are allowed.

 

Go learn Java programming.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

I did, I was still wanting to inform you what you were doing wrong.

 

Also, read my sig, thanks. :)

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

There was nothing rude about what Draco said. Keep in mind that "oh no he said the thing I am trying not to think about" does not mean "rude". If you want to make a mod, you have to learn programming before. That is a fact, not being rude.

 

In fact, I consider it rude to start screaming "rude!!!" at people without thinking first.

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

    • Try the latest version of the dungeon crawl. If that doesn't fix it, contact the mod author. https://www.curseforge.com/minecraft/mc-mods/dungeon-crawl/files/all?filter-game-version=1738749986%3a73407
    • Mixin doesn't like java 19 use java 17
    • Everytime When I Try To Launch My Forge Minecraft Server It Crashes I Don't Really Know What To Do Here Is the Crash Log: ---- Minecraft Crash Report ---- WARNING: coremods are present:   TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)   LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3 (1).jar)   RandomPatches (randompatches-1.12.2-1.22.1.10.jar)   PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50-universal.jar)   CreativePatchingLoader (CreativeCore_v1.10.70_mc1.12.2.jar) Contact their authors BEFORE contacting forge // This doesn't make any sense! Time: 9/25/22 10:40 PM Description: Exception in server tick loop java.lang.IllegalArgumentException: ChunkNibbleArrays should be 2048 bytes not: 0     at net.minecraft.world.chunk.NibbleArray.<init>(SourceFile:16)     at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75823_a(AnvilChunkLoader.java:450)     at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedReadChunkFromNBT__Async(AnvilChunkLoader.java:129)     at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk__Async(AnvilChunkLoader.java:93)     at net.minecraftforge.common.chunkio.ChunkIOProvider.run(ChunkIOProvider.java:70)     at net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:92)     at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:118)     at net.minecraft.world.gen.ChunkProviderServer.func_186028_c(ChunkProviderServer.java:89)     at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:135)     at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:344)     at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:314)     at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:270)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)     at java.lang.Thread.run(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_341, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 4739810688 bytes (4520 MB) / 6174015488 bytes (5888 MB) up to 6174015488 bytes (5888 MB)     JVM Flags: 2 total; -Xmx6144M -Xms6144M     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.42 Powered by Forge 14.23.5.2860 33 mods loaded, 33 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State  | ID                | Version          | Source                                      | Signature                                |     |:------ |:----------------- |:---------------- |:------------------------------------------- |:---------------------------------------- |     | LCHIJA | minecraft         | 1.12.2           | minecraft.jar                               | None                                     |     | LCHIJA | mcp               | 9.42             | minecraft.jar                               | None                                     |     | LCHIJA | FML               | 8.0.99.99        | forge-1.12.2-14.23.5.2860.jar               | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCHIJA | forge             | 14.23.5.2860     | forge-1.12.2-14.23.5.2860.jar               | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCHIJA | creativecoredummy | 1.0.0            | minecraft.jar                               | None                                     |     | LCHIJA | randompatches     | 1.12.2-1.22.1.10 | randompatches-1.12.2-1.22.1.10.jar          | None                                     |     | LCHIJA | aiimprovements    | 0.0.1.3          | AIImprovements-1.12-0.0.1b3.jar             | None                                     |     | LCHIJA | badmobs           | 1.1.40           | BadMobs-1.12.2-1.1.40 (1).jar               | d476d1b22b218a10d845928d1665d45fce301b27 |     | LCHIJA | bloodmoon         | 1.5.3            | Bloodmoon-MC1.12.2-1.5.3 (1).jar            | d72e0dd57935b3e9476212aea0c0df352dd76291 |     | LCHIJA | chunkpregenerator | 2.5.0            | Chunk+Pregenerator-V1.12-2.5.7.jar          | None                                     |     | LCHIJA | extendedrenderer  | v1.0             | coroutil-1.12.1-1.2.37 (2).jar              | None                                     |     | LCHIJA | coroutil          | 1.12.1-1.2.37    | coroutil-1.12.1-1.2.37 (2).jar              | None                                     |     | LCHIJA | configmod         | v1.0             | coroutil-1.12.1-1.2.37 (2).jar              | None                                     |     | LCHIJA | crafttweaker      | 4.1.20           | CraftTweaker2-1.12-4.1.20.680.jar           | None                                     |     | LCHIJA | crafttweakerjei   | 2.0.3            | CraftTweaker2-1.12-4.1.20.680.jar           | None                                     |     | LCHIJA | creativecore      | 1.10.0           | CreativeCore_v1.10.70_mc1.12.2.jar          | None                                     |     | LCHIJA | orelib            | 3.6.0.1          | OreLib-1.12.2-3.6.0.1 (1).jar               | 7a2128d395ad96ceb9d9030fbd41d035b435753a |     | LCHIJA | dsurround         | 3.6.1.0          | DynamicSurroundings-1.12.2-3.6.1.0.jar      | 7a2128d395ad96ceb9d9030fbd41d035b435753a |     | LCHIJA | dynview           | 1.3              | dynviewdist-1.12-1.3.jar                    | None                                     |     | LCHIJA | enhancedvisuals   | 1.3.0            | EnhancedVisuals_v1.4.4_mc1.12.2 (1).jar     | None                                     |     | LCHIJA | epicsiegemod      | 13.169           | EpicSiegeMod-13.169 (1).jar                 | None                                     |     | LCHIJA | gravestone        | 1.10.3           | gravestone-1.10.3.jar                       | None                                     |     | LCHIJA | ichunutil         | 7.2.2            | iChunUtil-1.12.2-7.2.2.jar                  | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |     | LCHIJA | mts               | 22.1.0           | Immersive+Vehicles-1.12.2-22.1.0.jar        | None                                     |     | LCHIJA | incontrol         | 3.9.8            | incontrol-1.12-3.9.8.jar                    | None                                     |     | LCHIJA | mobends           | 1.2.1            | MoBends_1.12.2-1.2.1-19.12.21.jar           | None                                     |     | LCHIJA | mobsunscreen      | @version@        | mobsunscreen-1.12.2-3.1.5.jar               | None                                     |     | LCHIJA | performant        | 1.12.2-1.5       | performant-1.11.jar                         | None                                     |     | LCHIJA | roughmobs         | 2.0.0            | roughmobs2-1.12.2_2.0.15.jar                | None                                     |     | LCHIJA | gvc               | 1.2.5            | VoiceChatReloaded-1.12.2-1.3.0.jar          | None                                     |     | LCHIJA | worldedit         | 6.1.10           | worldedit-forge-mc1.12.2-6.1.10-dist.jar    | None                                     |     | LCHIJA | zombieawareness   | 1.12.1-1.11.16   | zombieawareness-1.12.1-1.11.16 (1).jar      | None                                     |     | LCHIJA | phosphor-lighting | 1.12.2-0.2.6     | phosphor-1.12.2-0.2.6+build50-universal.jar | f0387d288626cc2d937daa504e74af570c52a2f1 |     Loaded coremods (and transformers):  TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)    LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3 (1).jar)   lumien.bloodmoon.asm.ClassTransformer RandomPatches (randompatches-1.12.2-1.22.1.10.jar)   com.therandomlabs.randompatches.core.RPTransformer PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50-universal.jar)    CreativePatchingLoader (CreativeCore_v1.10.70_mc1.12.2.jar)        Profiler Position: N/A (disabled)     Player Count: 0 / 20; []     Is Modded: Definitely; Server brand changed to 'fml,forge'     Type: Dedicated Server (map_server.txt)   Please Help Me With This Crash Report Thankkyou    
    • ---- Minecraft Crash Report ---- // Why did you do that? Time: 9/25/22, 12:14 PM Description: mouseClicked event handler java.lang.NoSuchFieldError: ENTITIES     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.assign(WeightedRandomEntity.java:51) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.<init>(WeightedRandomEntity.java:43) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity$Builder.build(WeightedRandomEntity.java:103) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.fromJson(WeightedRandomEntity.java:76) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadEntityFile(RandomMonster.java:138) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadJson(RandomMonster.java:118) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.reload(ResourceReloadHandler.java:60) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.lambda$reload$0(ResourceReloadHandler.java:80) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.gui.screens.worldselection.CreateWorldScreen.m_232896_(CreateWorldScreen.java:124) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233213_(WorldSelectionList.java:136) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233206_(WorldSelectionList.java:98) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.<init>(WorldSelectionList.java:92) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.SelectWorldScreen.m_7856_(SelectWorldScreen.java:66) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.Screen.m_232761_(Screen.java:423) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_6575_(Screen.java:413) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91152_(Minecraft.java:943) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.TitleScreen.m_96775_(TitleScreen.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.Button.m_5691_(Button.java:40) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractButton.m_5716_(AbstractButton.java:16) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractWidget.m_6375_(AbstractWidget.java:110) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(ContainerEventHandler.java:27) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.TitleScreen.m_6375_(TitleScreen.java:355) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168084_(MouseHandler.java:88) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:524) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23128!/:build 7] {}     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at com.mojang.blaze3d.systems.RenderSystem.m_69830_(RenderSystem.java:222) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1115) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:669) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19-41.1.0.jar%2393!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.assign(WeightedRandomEntity.java:51) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.<init>(WeightedRandomEntity.java:43) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity$Builder.build(WeightedRandomEntity.java:103) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.fromJson(WeightedRandomEntity.java:76) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadEntityFile(RandomMonster.java:138) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadJson(RandomMonster.java:118) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.reload(ResourceReloadHandler.java:60) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.lambda$reload$0(ResourceReloadHandler.java:80) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.gui.screens.worldselection.CreateWorldScreen.m_232896_(CreateWorldScreen.java:124) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233213_(WorldSelectionList.java:136) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233206_(WorldSelectionList.java:98) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.<init>(WorldSelectionList.java:92) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.SelectWorldScreen.m_7856_(SelectWorldScreen.java:66) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.Screen.m_232761_(Screen.java:423) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_6575_(Screen.java:413) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91152_(Minecraft.java:943) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.TitleScreen.m_96775_(TitleScreen.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.Button.m_5691_(Button.java:40) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractButton.m_5716_(AbstractButton.java:16) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractWidget.m_6375_(AbstractWidget.java:110) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(ContainerEventHandler.java:27) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.TitleScreen.m_6375_(TitleScreen.java:355) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168084_(MouseHandler.java:88) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:524) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23128!/:build 7] {}     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {} -- Affected screen -- Details:     Screen name: net.minecraft.client.gui.screens.TitleScreen Stacktrace:     at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:524) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23128!/:build 7] {}     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at com.mojang.blaze3d.systems.RenderSystem.m_69830_(RenderSystem.java:222) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1115) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:669) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19-41.1.0.jar%2393!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: Yes     Packs: Default, Mod Resources Stacktrace:     at net.minecraft.client.ResourceLoadStateTracker.m_168562_(ResourceLoadStateTracker.java:49) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2244) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:686) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19-41.1.0.jar%2393!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} -- System Details -- Details:     Minecraft Version: 1.19     Minecraft Version ID: 1.19     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.3, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 388041088 bytes (370 MiB) / 838860800 bytes (800 MiB) up to 2147483648 bytes (2048 MiB)     CPUs: 12     Processor Vendor: GenuineIntel     Processor Name: Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz     Identifier: Intel64 Family 6 Model 165 Stepping 5     Microarchitecture: unknown     Frequency (GHz): 2.90     Number of physical packages: 1     Number of physical CPUs: 6     Number of logical CPUs: 12     Graphics card #0 name: NVIDIA GeForce GTX 1660 Ti     Graphics card #0 vendor: NVIDIA (0x10de)     Graphics card #0 VRAM (MB): 4095.00     Graphics card #0 deviceId: 0x2182     Graphics card #0 versionInfo: DriverVersion=30.0.14.7196     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 2.13     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 16384.00     Memory slot #1 clockSpeed (GHz): 2.13     Memory slot #1 type: DDR4     Memory slot #2 capacity (MB): 16384.00     Memory slot #2 clockSpeed (GHz): 2.13     Memory slot #2 type: DDR4     Virtual memory max (MB): 46092.41     Virtual memory used (MB): 17252.70     Swap memory total (MB): 5200.06     Swap memory used (MB): 0.00     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Launched Version: 1.19-forge-41.1.0     Backend library: LWJGL version 3.3.1 build 7     Backend API: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 471.96, NVIDIA Corporation     Window size: 854x480     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages:      Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'     Type: Client (map_client.txt)     Graphics mode: fancy     Resource Packs:      Current Language: English (US)     CPU: 12x Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz     ModLauncher: 10.0.8+10.0.8+main.0ef7e830     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:          mixin-0.8.5.jar mixin PLUGINSERVICE          eventbus-6.0.0.jar eventbus PLUGINSERVICE          fmlloader-1.19-41.1.0.jar slf4jfixer PLUGINSERVICE          fmlloader-1.19-41.1.0.jar object_holder_definalize PLUGINSERVICE          fmlloader-1.19-41.1.0.jar runtime_enum_extender PLUGINSERVICE          fmlloader-1.19-41.1.0.jar capability_token_subclass PLUGINSERVICE          accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE          fmlloader-1.19-41.1.0.jar runtimedistcleaner PLUGINSERVICE          modlauncher-10.0.8.jar mixin TRANSFORMATIONSERVICE          modlauncher-10.0.8.jar fml TRANSFORMATIONSERVICE      FML Language Providers:          minecraft@1.0         lowcodefml@null         javafml@null     Mod List:          client-1.19-20220607.102129-srg.jar               |Minecraft                     |minecraft                     |1.19                |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f         lostcities-1.19-6.0.5.jar                         |LostCities                    |lostcities                    |1.19-6.0.5          |DONE      |Manifest: NOSIGNATURE         DungeonCrawl-1.19-2.3.10.jar                      |Dungeon Crawl                 |dungeoncrawl                  |2.3.10              |DONE      |Manifest: NOSIGNATURE         forge-1.19-41.1.0-universal.jar                   |Forge                         |forge                         |41.1.0              |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90         upgradedcore-1.19-4.0.0.3-beta.jar                |Upgraded Core                 |upgradedcore                  |1.19-4.0.0.3-beta   |DONE      |Manifest: NOSIGNATURE         upgradednetherite-1.19-5.0.0.4-beta.jar           |Upgraded Netherite            |upgradednetherite             |1.19-5.0.0.4-beta   |DONE      |Manifest: NOSIGNATURE         OreExcavation-1.11.165.jar                        |OreExcavation                 |oreexcavation                 |1.11.165            |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 790c27ed-eaab-468b-b8a5-eedfd25de927     FML: 41.1     Forge: net.minecraftforge:41.1.0
  • Topics

×
×
  • Create New...

Important Information

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