Jump to content

Recommended Posts

Posted

can anyone please help me? my forge keeps crashing after stage 1, it shows a dirt screen the its gone. this is what the log says:

 

---- Minecraft Crash Report ----

 

WARNING: coremods are present:

  CCLCorePlugin (CodeChickenLib-1.10.2-2.2.3.57-universal.jar)

  EnderCorePlugin (EnderCore-1.10.2-0.4.1.56-beta.jar)

  CCCDeobfPlugin (unknown)

  CCLCorePlugin (CodeChickenLib-1.10.2-Latest.jar)

  CodeChickenCorePlugin (CodeChickenCore-1.10.2-2.1.8.79-universal.jar)

  NEICorePlugin (NotEnoughItems-1.10.2-2.1.1.146-universal.jar)

Contact their authors BEFORE contacting forge

 

// Daisy, daisy...

 

Time: 10/24/16 5:52 PM

Description: Rendering screen

 

java.lang.NoClassDefFoundError: bxl

at net.minecraftforge.fml.common.versioning.Restriction.toStringFriendly(Restriction.java:224)

at net.minecraftforge.fml.common.versioning.VersionRange.toStringFriendly(VersionRange.java:498)

at net.minecraftforge.fml.client.GuiModsMissing.func_73863_a(GuiModsMissing.java:106)

at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:382)

at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1094)

at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1076)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)

at net.minecraft.client.main.Main.main(SourceFile:124)

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:483)

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

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

 

 

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

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

 

-- Head --

Thread: Client thread

Stacktrace:

at net.minecraftforge.fml.common.versioning.Restriction.toStringFriendly(Restriction.java:224)

at net.minecraftforge.fml.common.versioning.VersionRange.toStringFriendly(VersionRange.java:498)

at net.minecraftforge.fml.client.GuiModsMissing.func_73863_a(GuiModsMissing.java:106)

at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:382)

 

-- Screen render details --

Details:

Screen name: net.minecraftforge.fml.client.GuiModsMissing

Mouse location: Scaled: (235, 226). Absolute: (1176, 148)

Screen size: Scaled: (384, 256). Absolute: (1920, 1280). Scale factor of 5

Stacktrace:

at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1094)

at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1076)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)

at net.minecraft.client.main.Main.main(SourceFile:124)

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:483)

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

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

 

-- System Details --

Details:

Minecraft Version: 1.10.2

Operating System: Windows 10 (amd64) version 10.0

Java Version: 1.8.0_25, Oracle Corporation

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

Memory: 188369448 bytes (179 MB) / 439394304 bytes (419 MB) up to 1060372480 bytes (1011 MB)

JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M

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

FML: MCP 9.32 Powered by Forge 12.18.2.2111 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

U mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)

U FML{8.0.99.99} [Forge Mod Loader] (forge-1.10.2-12.18.2.2111.jar)

U Forge{12.18.2.2111} [Minecraft Forge] (forge-1.10.2-12.18.2.2111.jar)

U CodeChickenCore{2.1.8.79} [CodeChicken Core] (minecraft.jar)

U NotEnoughItems{2.1.1.146} [Not Enough Items] (NotEnoughItems-1.10.2-2.1.1.146-universal.jar)

U chargepads{1.0.1} [Charge Pads] (chargepads-1.10.2-1.0.1.jar)

U chestmaker{2.0.0} [ChestMaker] (ChestMaker-2.7.1.jar)

U Chopper{1.0.0} [Chopper] (Chopper (EW) V6D_A2 1.10.2.jar)

U counter_guns{1.0.1} [Counter Guns] (CounterGuns-1.10.2-1.0.1.jar)

U endercore{1.10.2-0.4.1.56-beta} [EnderCore] (EnderCore-1.10.2-0.4.1.56-beta.jar)

U EnderIO{1.10.2-3.0.1.120_beta} [Ender IO] (EnderIO-1.10.2-3.0.1.120_beta.jar)

U fp{24.1.4 pre} [Futurepack] (Futurepack-1.10.2-24.1.4.jar)

U fp.api{1.0.1} [Futurepack API] (Futurepack-1.10.2-24.1.4.jar)

U grapplemod{1.10-v7} [Grappling hook mod] (grapplemod-1.10.2-v7.jar)

U gravelminer{4.1.7} [GravelMiner] (GravelMiner_1.10.2-4.1.7.jar)

U xlib{1.0.0} [xlib] (halocraft-2.0-DEV-1.10.2-v1.6.183-universal.jar)

U halocraft{1.6} [HaloCraft 2.0] (halocraft-2.0-DEV-1.10.2-v1.6.183-universal.jar)

U airix{1.0.0} [airix] (halocraft-2.0-DEV-1.10.2-v1.6.183-universal.jar)

U hatchery{1.0.0} [Hatchery] (hatchery-1.10.2-0.1.0.jar)

U immersiveengineering{0.10-44} [immersive Engineering] (ImmersiveEngineering-0.10-44.jar)

U JEI{3.12.5.303} [Just Enough Items] (jei_1.10.2-3.12.5.303.jar)

U journeymap{1.10.2-5.2.4} [JourneyMap] (journeymap-1.10.2-5.2.4-unlimited.jar)

U limelib{1.1.0} [LimeLib] (limelib-1.10.2-1.1.0.jar)

U mantle{1.10.2-0.10.4.jenkins163} [Mantle] (Mantle-1.10.2-0.10.4.jar)

U minecreed{1.10} [MineCreed] (minecreed-1.10-MC-1.10.2.jar)

U OnFurtherTales{1.1} [OnFurtherTales] (OnFurtherTales 1.1.jar)

U ore_pings{1.10.2-1.10.6} [Ore Pings] (OrePings-1.10.2-1.0.6.jar)

U overlord{1.1.3} [Overlord] (Overlord-1.1.3.jar)

U SolidXp{1.0.2} [solidXp] (SolidXp-1.1.0.jar)

U SophisticatedWolves{3.6.1} [sophisticatedWolves] (SophisticatedWolves-3.6.3.jar)

U tconstruct{1.10.2-2.5.3.jenkins387} [Tinkers' Construct] (TConstruct-1.10.2-2.5.3.jar)

U treechopper{1.0.3a} [Tree Chopper] (TreeChopper-1.0.3a.jar)

U mcmultipart{1.2.0_74} [MCMultiPart] (MCMultiPart-experimental-1.2.0_74-universal.jar)

Loaded coremods (and transformers):

CCLCorePlugin (CodeChickenLib-1.10.2-2.2.3.57-universal.jar)

  codechicken.lib.asm.ClassHeirachyManager

  codechicken.lib.asm.RenderHookTransformer

EnderCorePlugin (EnderCore-1.10.2-0.4.1.56-beta.jar)

  com.enderio.core.common.transform.EnderCoreTransformer

CCCDeobfPlugin (unknown)

 

CCLCorePlugin (CodeChickenLib-1.10.2-Latest.jar)

  codechicken.lib.asm.ClassHeirachyManager

  codechicken.lib.asm.RenderHookTransformer

CodeChickenCorePlugin (CodeChickenCore-1.10.2-2.1.8.79-universal.jar)

  codechicken.core.asm.TweakTransformer

  codechicken.core.asm.DelegatedTransformer

  codechicken.core.asm.DefaultImplementationTransformer

NEICorePlugin (NotEnoughItems-1.10.2-2.1.1.146-universal.jar)

  codechicken.nei.asm.NEITransformer

GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.4424' Renderer: 'Intel® HD Graphics'

Launched Version: 1.10.2-forge1.10.2-12.18.2.2111

LWJGL: 2.9.4

OpenGL: Intel® HD Graphics GL version 4.4.0 - Build 20.19.15.4424, Intel

GL Caps: Using GL 1.3 multitexturing.

Using GL 1.3 texture combiners.

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

Shaders are available because OpenGL 2.1 is supported.

VBOs are available because OpenGL 1.5 is supported.

 

Using VBOs: Yes

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)

CPU: 4x Intel® Atom x7-Z8700 CPU @ 1.60GHz

 

 

i am using forge 1.10.2

 

thanks!

 

edit: i think i may know the problem, do i need to delete codechickenlib? it disappeared from my mod folder but is obviously still there. where do i find it to delete it?

 

edit: found chickenlib and deleted both of them

 

Posted

This is an issue with NEI. It seems like it isn't updated correctly. Also, it uses a lot of core-modding, which is completely unnecessary.

 

I suggest you use JEI instead, as there's currently no fix for NEI, and it got most of the functionality.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

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

    • I know that this may be a basic question, but I am very new to modding. I am trying to have it so that I can create modified Vanilla loot tables that use a custom enchantment as a condition (i.e. enchantment present = item). However, I am having trouble trying to implement this; the LootItemRandomChanceWithEnchantedBonusCondition constructor needs a Holder<Enchantment> and I am unable to use the getOrThrow() method on the custom enchantment declared in my mod's enchantments class. Here is what I have so far in the GLM:   protected void start(HolderLookup.Provider registries) { HolderLookup.RegistryLookup<Enchantment> registrylookup = registries.lookupOrThrow(Registries.ENCHANTMENT); LootItemRandomChanceWithEnchantedBonusCondition lootItemRandomChanceWithEnchantedBonusCondition = new LootItemRandomChanceWithEnchantedBonusCondition(0.0f, LevelBasedValue.perLevel(0.07f), registrylookup.getOrThrow(*enchantment here*)); this.add("nebu_from_deepslate", new AddItemModifier(new LootItemCondition[]{ LootItemBlockStatePropertyCondition.hasBlockStateProperties(Blocks.DEEPSLATE).build(), LootItemRandomChanceCondition.randomChance(0.25f).build(), lootItemRandomChanceWithEnchantedBonusCondition }, OrichalcumItems.NEBU.get())); }   Inserting Enchantments.[vanilla enchantment here] actually works but trying to declare an enchantment from my custom enchantments class as [mod enchantment class].[custom enchantment] does not work even though they are both a ResourceKey and are registered in Registries.ENCHANTMENT. Basically, how would I go about making it so that a custom enchantment declared as a ResourceKey<Enchantment> of value ResourceKey.create(Registries.ENCHANTMENT, ResourceLocation.fromNamespaceAndPath([modid], [name])), declared in a seperate enchantments class, can be used in the LootItemRandomChanceWithEnchantedBonusCondition constructor as a Holder? I can't use getOrThrow() because there is no level or block entity/entity in the start() method and it is running as datagen. It's driving me nuts.
    • Hi here is an update. I was able to fix the code so my mod does not crash Minecraft. Please understand that I am new to modding but I honestly am having a hard time understanding how anyone can get this to work without having extensive programming and debugging experience as well as searching across the Internet, multiple gen AI bots (claude, grok, openai), and examining source code hidden in the gradle directory and in various github repositories. I guess I am wrong because clearly there are thousands of mods so maybe I am just a newbie. Ok, rant over, here is a step by step summary so others can save the 3 days it took me to figure this out.   1. First, I am using forge 54.1.0 and Minecraft 1.21.4 2. I am creating a mod to add a shotgun to Minecraft 3. After creating the mod and compiling it, I installed the .jar file to the proper directory in Minecraft and used 1.21.4-forge-54.1.0 4. The mod immediately crashed with the error: Caused by: java.lang.NullPointerException: Item id not set 5. Using the stack trace, I determined that the Exception was being thrown from the net.minecraft.world.item.Item.Properties class 6. It seems that there are no javadocs for this class, so I used IntelliJ which was able to provide a decompiled version of the class, which I then examined to see the source of the error. Side question: Are there javadocs? 7. This method, specifically, was the culprit: protected String effectiveDescriptionId() {      return this.descriptionId.get(Objects.requireNonNull(this.id, "Item id not set"));  } 8. Now my quest was to determine how to set this.id. Looking at the same source file, I determined there was another method:  public Item.Properties setId(ResourceKey<Item> pId) {             this.id = pId;             return this;   } 9. So now, I need to figure out how to call setId(). This required working backwards a bit. Starting from the constructor, I stubbed out the variable p which is of type Item.Properties public static final RegistryObject<Item> SHOTGUN = ITEMS.register("shotgun", () -> new ShotgunItem(p)); Rather than putting this all on one line, I split it up for readability like this: private static final Item.Properties p = new Item.Properties().useItemDescriptionPrefix().setId(rk); Here is was the missing function, setId(), which takes a type of ResourceKey<Item>. My next problem is that due to the apparent lack of documentation (I tried searching the docs on this site) I could not determine the full import path to ResourceKey. I did some random searching on the Internet and stumbled across a Github repository which gave two clues: import net.minecraft.resources.ResourceKey; import net.minecraft.resources.ResourceLocation; Then I created the rk variable like this: private static ResourceKey<Item> rk = ResourceKey.create(Registries.ITEM, ResourceLocation.parse("modid:shotgunmod")); And now putting it all together in order: private static ResourceKey<Item> rk = ResourceKey.create(Registries.ITEM, ResourceLocation.parse("modid:shotgunmod")); private static final Item.Properties p = new Item.Properties().useItemDescriptionPrefix().setId(rk); public static final RegistryObject<Item> SHOTGUN = ITEMS.register("shotgun", () -> new ShotgunItem(p)); This compiled and the mod no longer crashes. I still have more to do on it, but hopefully this will save someone hours. I welcome any feedback and if I missed some obvious modding resource or tutorial that has this information. If not, I might suggest we add it somewhere for people trying to write a mod that doesn't crash. Thank you !!!  
    • I will keep adding to this thread with more information in case anyone can help, or at the very least I can keep my troubleshooting organized. I decided to downgrade to 54.1.0 in the hopes that this would fix the issue but it didn't. At least now I am on a "recommended" version. The crash report did confirm my earlier post that the Exception is coming from effectiveDescriptionId(). I'll continue to see if I can find a way to set the ID manually.   Caused by: java.lang.NullPointerException: Item id not set         at java.base/java.util.Objects.requireNonNull(Objects.java:259) ~[?:?]         at TRANSFORMER/[email protected]/net.minecraft.world.item.Item$Properties.effectiveDescriptionId(Item.java:465) ~[forge-1.21.4-54.1.0-client.jar!/:?]         at TRANSFORMER/[email protected]/net.minecraft.world.item.Item.<init>(Item.java:111) ~[forge-1.21.4-54.1.0-client.jar!/:?]         at TRANSFORMER/[email protected]/com.example.shotgunmod.ShotgunItem.<init>(ShotgunItem.java:19) ~[shotgunmod-1.0.0.jar!/:1.0.0]         at TRANSFORMER/[email protected]/com.example.shotgunmod.ModItems.lambda$static$0(ModItems.java:15) ~[shotgunmod-1.0.0.jar!/:1.0.0]         at TRANSFORMER/[email protected]/net.minecraftforge.registries.DeferredRegister$EventDispatcher.lambda$handleEvent      
    • It just randomly stop working after a rebooted my dedicated server PLEASE HELP!   com.google.gson   Failed to start the minecraft server com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive; at path $  
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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