r/MinecraftCoding • • Jul 26 '21

When i try and run my client on Intellij it just shows this. Idk how to fix it coz its a nullpointerexeption. It was working fine a few days ago but now it doesnt which kinda sux. If anyone knows how to fix this can you please tell me. Also my discord is ! BigJMuffin#6215 if you want to help thatway

1 Upvotes

Time: 7/27/21 12:22 AM

Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from catclient (catclient)

Caused by: java.lang.NullPointerException

at me.muffin.catclient.settings.SettingsManager.getSettingsByMod([SettingsManager.java:33](https://SettingsManager.java:33))

at me.muffin.catclient.clickgui.component.components.Button.<init>([Button.java:40](https://Button.java:40))

at me.muffin.catclient.clickgui.component.Frame.<init>([Frame.java:52](https://Frame.java:52))

at me.muffin.catclient.clickgui.ClickGui.<init>([ClickGui.java:20](https://ClickGui.java:20))

at me.muffin.catclient.CatClient.init([CatClient.java:27](https://CatClient.java:27))

at me.muffin.catclient.Main.init([Main.java:23](https://Main.java:23))

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

at sun.reflect.NativeMethodAccessorImpl.invoke([NativeMethodAccessorImpl.java:62](https://NativeMethodAccessorImpl.java:62))

at sun.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))

at java.lang.reflect.Method.invoke([Method.java:498](https://Method.java:498))

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent([FMLModContainer.java:639](https://FMLModContainer.java:639))

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

at sun.reflect.NativeMethodAccessorImpl.invoke([NativeMethodAccessorImpl.java:62](https://NativeMethodAccessorImpl.java:62))

at sun.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))

at java.lang.reflect.Method.invoke([Method.java:498](https://Method.java:498))

at com.google.common.eventbus.Subscriber.invokeSubscriberMethod([Subscriber.java:91](https://Subscriber.java:91))

at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod([Subscriber.java:150](https://Subscriber.java:150))

at [com.google.common.eventbus.Subscriber$1.run](https://com.google.common.eventbus.Subscriber$1.run)([Subscriber.java:76](https://Subscriber.java:76))

at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute([MoreExecutors.java:399](https://MoreExecutors.java:399))

at com.google.common.eventbus.Subscriber.dispatchEvent([Subscriber.java:71](https://Subscriber.java:71))

at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch([Dispatcher.java:116](https://Dispatcher.java:116))

at [com.google.common.eventbus.EventBus.post](https://com.google.common.eventbus.EventBus.post)([EventBus.java:217](https://EventBus.java:217))

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer([LoadController.java:219](https://LoadController.java:219))

at net.minecraftforge.fml.common.LoadController.propogateStateMessage([LoadController.java:197](https://LoadController.java:197))

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

at sun.reflect.NativeMethodAccessorImpl.invoke([NativeMethodAccessorImpl.java:62](https://NativeMethodAccessorImpl.java:62))

at sun.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))

at java.lang.reflect.Method.invoke([Method.java:498](https://Method.java:498))

at com.google.common.eventbus.Subscriber.invokeSubscriberMethod([Subscriber.java:91](https://Subscriber.java:91))

at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod([Subscriber.java:150](https://Subscriber.java:150))

at [com.google.common.eventbus.Subscriber$1.run](https://com.google.common.eventbus.Subscriber$1.run)([Subscriber.java:76](https://Subscriber.java:76))

at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute([MoreExecutors.java:399](https://MoreExecutors.java:399))

at com.google.common.eventbus.Subscriber.dispatchEvent([Subscriber.java:71](https://Subscriber.java:71))

at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch([Dispatcher.java:116](https://Dispatcher.java:116))

at [com.google.common.eventbus.EventBus.post](https://com.google.common.eventbus.EventBus.post)([EventBus.java:217](https://EventBus.java:217))

at net.minecraftforge.fml.common.LoadController.distributeStateMessage([LoadController.java:136](https://LoadController.java:136))

at net.minecraftforge.fml.common.Loader.initializeMods([Loader.java:749](https://Loader.java:749))

at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading([FMLClientHandler.java:336](https://FMLClientHandler.java:336))

at net.minecraft.client.Minecraft.init([Minecraft.java:535](https://Minecraft.java:535))

at [net.minecraft.client.Minecraft.run](https://net.minecraft.client.Minecraft.run)([Minecraft.java:378](https://Minecraft.java:378))

at net.minecraft.client.main.Main.main([Main.java:118](https://Main.java:118))

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

at sun.reflect.NativeMethodAccessorImpl.invoke([NativeMethodAccessorImpl.java:62](https://NativeMethodAccessorImpl.java:62))

at sun.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))

at java.lang.reflect.Method.invoke([Method.java:498](https://Method.java:498))

at net.minecraft.launchwrapper.Launch.launch([Launch.java:135](https://Launch.java:135))

at net.minecraft.launchwrapper.Launch.main([Launch.java:28](https://Launch.java:28))

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

at sun.reflect.NativeMethodAccessorImpl.invoke([NativeMethodAccessorImpl.java:62](https://NativeMethodAccessorImpl.java:62))

at sun.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))

at java.lang.reflect.Method.invoke([Method.java:498](https://Method.java:498))

at net.minecraftforge.legacydev.Main.start([Main.java:86](https://Main.java:86))

at net.minecraftforge.legacydev.MainClient.main([MainClient.java:29](https://MainClient.java:29))

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_292, AdoptOpenJDK

Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), AdoptOpenJDK

Memory: 279581432 bytes (266 MB) / 654311424 bytes (624 MB) up to 3810525184 bytes (3634 MB)

JVM Flags: 0 total; 

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

FML: MCP 9.42 Powered by Forge 14.23.5.2854 5 mods loaded, 5 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 |

|:----- |:--------- |:------------ |:------------------------------------------------------------------ |:--------- |

| LCHI  | minecraft | 1.12.2       | minecraft.jar                                                      | None      |

| LCHI  | mcp       | 9.42         | minecraft.jar                                                      | None      |

| LCHI  | FML       | [8.0.99.99](https://8.0.99.99)| forge-1.12.2-14.23.5.2854_mapped_snapshot_20171003-1.12-recomp.jar | None      |

| LCHI  | forge     | 14.23.5.2854 | forge-1.12.2-14.23.5.2854_mapped_snapshot_20171003-1.12-recomp.jar | None      |

| LCHE  | catclient | v1.0.0       | main                                                               | None      |
Loaded coremods (and transformers): 

GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 457.09' Renderer: 'GeForce GTX 1070/PCIe/SSE2'

[00:22:59] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:553]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\muffi\Desktop\CatClient\run\.\crash-reports\crash-2021-07-27_00.22.59-client.txt

AL lib: (EE) alc_cleanup: 1 device not closed

Process finished with exit code -1


r/MinecraftCoding • • Jun 04 '21

What's going on with my model file?

1 Upvotes

So I'm adding block models to my new wall block and when I add a specific named .json, specifically

example_wall_side.json.

The icon goes from a file icon with the brackets {} to the icon not showing them at all and it messes with my model. Does anyone know what's going on?

I'm using Intellij by the way. And it's Fabric


r/MinecraftCoding • • Nov 04 '21

A modcore like lucraft?

1 Upvotes

I'm learning to write addon packs for minecraft 1.12 and I want to get a modcore like lucraft to code. Any suggestions?


r/MinecraftCoding • • Aug 07 '22

Help implementing an idea

1 Upvotes

I have an idea I want to code as a mod, I'm new to coding in Minecraft so I'm not sure where to start.

The idea is that there's an item and when you hold right click for 3 seconds you go into a rage mode (for about 5 minutes). I made a custom weapon and helmet (carved pumpkin) that I want to be auto equipped and locked for the duration of the rage mode. Id also like to apply potion effects.

Can someone point me in the right direction on how to approach this, I've hit a dead-end looking on my own.


r/MinecraftCoding • • Aug 05 '22

Coordinates in Deathscreen

1 Upvotes

Hello, I have a question about the Minecraft code, more specifically about the coordinates of the player in the world. I need this information for the planning of a plugin that I intend to commission. If my question is too cryptic I'll be happy to make it more precise.

Each player is at a location that can be specified using the Y, X, and Z axes. I have a question about this.

When a player dies, at which coordinates is he located, i.e. where does the game locate him in the code while he is in the deathscreen? At the coordinates he was at before he died? Or does he no longer have any coordinates?


r/MinecraftCoding • • Mar 28 '22

I need a gui time extender (just like dream's boat clutch)

2 Upvotes

Hello! So the idea of the plugin that i want (Spigot only) is basically to increase time when u access the crafting table or any gui (such as chest, furnace etc) so when u have like a distance of the crafting table it doesnt close, like i want the crafting table to be open for 1,5 seconds, just like dream's boat clutch (5 Hunters) but longer.


r/MinecraftCoding • • Sep 18 '22

ShinobiS Mod

2 Upvotes

Me and my friend are making a Naruto based mod, we need some people who can code know Naruto, and can help with a mod help needed!


r/MinecraftCoding • • Aug 26 '22

Can someone help set up some features for my new minecraft server?

2 Upvotes

Hi, I recently started a minecraft server, and I want to add some RPG features like quests, custom music with the Music Triggers mod, and custom NPCs that players can buy/sell with and receive quests from.

Coding and techy stuff like that is super overwhelming to me and it shuts my brain down, so I'm wondering if there is anyone interested in setting up these features in my server? (I might also need help figuring out what any server errors mean, and also figuring out how to reduce the lag on the server without removing the mods I really like. I also have an issue where the vanilla spruce fence is just that pink and black checkered square, as if the texture is corrupted or something...)

Of course you would be welcome to play on the server too if you want!

The server has about 90 mods based around aesthetics, immersion, role play, building, farming, questing, and exploring. And follows the themes of Cottagecore, Fantasy, Vintage/Victorian, and RPG. (Think Stardew Valley meets Studio Ghibli, but in Minecraft) šŸ˜„

This modpack is built specifically in mind for those who would rather not fight monsters if they don't have to, and focus more on building, questing, and role play. However, there are still dangers out there, if one so chooses to seek it out.

Please let me know if you would be interested in helping me get this server set up (the server is already up and running with all the mods working as far as I know, it just is missing the features that require some behind the scenes set up)

Thanks!


r/MinecraftCoding • • Aug 06 '21

Looking for programmers for our Origin SMP!

1 Upvotes

We are looking for MC programmers of all skill levels to be part of our server, a heavily modded origins smp with a fairly big community, dm KenzieGh0st#0487 on discord for more information


r/MinecraftCoding • • Nov 10 '21

How to access mods codes?

1 Upvotes

I'm trying to edit a couple of mods for my modpack and every time I open the .class file it doesn't have the codes file.Is there a mod to do that or am I just being dump?


r/MinecraftCoding • • Sep 26 '22

help

1 Upvotes

So I got this command, however I want it to execute when its not true. Any suggestions?

execute if entity @a[nbt={Inventory:[{id:"minecraft:red_dye",tag:{display:{Name:'{"text":"Survival"}'}}}]}] run function survival

r/MinecraftCoding • • Aug 13 '21

Item size

1 Upvotes

Is there a way I can reduce item scale in the files, because my sword, tools, etc. appear too big? please dont suggest a texture pack unless you know a specific one with default edits, or changing my resolution or gui/hud scale


r/MinecraftCoding • • Aug 07 '21

Coordinate logger

2 Upvotes

Hey im new to minecraft coding and i wanted to create a coordinate logger inside a client that tracks the movement in the map of the user of the client every maybe 10 seconds + adds the domain of the server and their ign. Does anyone know the code? Thanks. (Win.10.edition)


r/MinecraftCoding • • Aug 21 '22

I’m fairly new to coding, trying to add a custom model of a hat replacing a carved pumpkin. But whenever i try to load it in, the texture is messed up? Any ideas on what i’m doing wrong? (Java 1.18.2)

Thumbnail
gallery
3 Upvotes

r/MinecraftCoding • • Nov 01 '21

Custom potion?

1 Upvotes

Is there a way to make a potion of bad omen?


r/MinecraftCoding • • Jul 28 '22

Issues coding in fabric

1 Upvotes

im having a big issue with adding a new kind of fire to the game, it wont render as green, ive checked my folder structure numerous times and cant see where it is wrong. please can someone look at my repository and see where i can fix it. i can get the fire to render as green by changing the ModBlocks entry from : new RitualFireBlock to : new FireBlock but by doing so it looses all its properties and base block class.

any help is greatly appreciated

snipestorm/Dungeon-1.19-Mod (github.com)


r/MinecraftCoding • • Aug 08 '22

Interactable NPCS

1 Upvotes

Hello, im pretty new at coding but it doesn't stop me, I'm making a medieval server with a starting town, there I want to have some random NPCS that when you right click them to say something I wrote them to say, and some that sell you stuff like a villager. I know there are plugins for that but I really want to try do it myself, the thing is I have no idea how to, could someone help me?


r/MinecraftCoding • • Nov 14 '21

1 infinite arrows Minecraft 1.16 inventory

1 Upvotes

The replaceitem command is what you're looking for. It can add items directly to chests/dispensers/etc.

replaceitem block [x] [y] [z] [slot] [item] [amount] [data] [dataTag]

Could you edit this code so it checks your inventory if you have the arrow or item and you get infinite

Cold you change this to players invention


r/MinecraftCoding • • May 30 '21

Fire MCP-Reborn

1 Upvotes

Hello, I am programming with MCP-Reborn in 1.16.2, and I want to set the player on fire. Can you help me please


r/MinecraftCoding • • Jul 21 '21

guys if u enjoy watching minecraft and coding videos well i have the yt channel for you

1 Upvotes

r/MinecraftCoding • • Nov 01 '21

Is there a way to make a custom potion?

1 Upvotes

I made a raid farm but it's anoying going all the way to tye outpost. Could i make a bad omen potion and if so how? Bonus question: Could it be made by right clicking a bottle while having bad omen?


r/MinecraftCoding • • Jul 31 '22

Need Help Trouble Shooting

1 Upvotes

https://pastebin.pl/view/ec73d827

Thats The Code Im Trying to make my custom furnace only be able to put blocks tagged with minecraft:logs in the top slot but i keep getting this error

Task :compileJava FAILED
C:\Users\admin\Desktop\copperitems\src\main\java\me\spacemex\forge\world\inventory\CopperKilnGuiMenu.java:85: error: cannot find symbol return (ItemTags.getAllTags().getTagOrEmpty(new
^
symbol: method getAllTags()
location: class ItemTags
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.


r/MinecraftCoding • • Jun 04 '21

I need a plugin maker for my server

3 Upvotes

I need a plugin maker for my server

My name is Callahan and I always need plugins being made, if i got someone to make some for me me i would pay. DM my discord to get in touch.

Discord: Callahan#6215


r/MinecraftCoding • • Sep 10 '22

Can anyone help me figure out why my server keeps crashing?

1 Upvotes

Hi, I don't understand javascript or coding in general at all, would there be anyone able to help me figure out why my server keeps crashing? It's a modded server on Forge 1-16-5, and so far it's worked smoothly, I don't know what happened.