-
[1.19.4, SOLVED] Custom death message for custom weapon
You have to create a new DamageSource
-
Help with config + servers
You have to move the method call #registerExtensionPoint into a separate class, because the Function within the Supplier accepts a Screen object, whereby you load the Screen class, which then causes the error. ModLoadingContext.get().registerExtensionPoint(ExtensionPoint.CONFIGGUIFACTORY, () -> (mc, screen) -> new ModConfig());
-
deprecated methods using forge mdk 36.0.0 and java 8
Please post debug.log
-
Trouble with Structure Generation in Forge 1.16.5-36.2.34: Seeking Help and Solutions
Please post debug.log
-
[1.20.1] NoClassDefFoundError at runtime for library imported using "minecraftLibrary"
Please post a your full build.gradle file
-
[1.20.1] NoClassDefFoundError at runtime for library imported using "minecraftLibrary"
First of all i do not recommend you to include you mod as a jar file, it's recommend to publish it to a local maven repository which you then include in your other projects. Secondly, I don't recommend you use native code with Minecraft. I have already tried this but have found that this can lead to terrible errors. I have tested the whole thing myself in my IDE and it works for me in IntelliJ: repositories { // ... flatDir { dirs("libs") // jar file must be in "<project_root>/libs" } // ... } dependencies { // ... implementation fg.deobf("blank:MC-AStar:1.20:1.0") // File pattern must be <name>-<mc_version>-<dependency_version> // ... }
-
[1.19] Network packages callback
You can not send a callback using the vanilla packet system you have to send a new one as replay.
-
Unable to get Block material in Minecraft 1.20
You can get the Block using Level#getBlockState and then BlockState#getBlock to get the raw block.
-
[1.20.1] NoClassDefFoundError at runtime for library imported using "minecraftLibrary"
Could you use the mod during develop in this case?
-
Help with buttons
Try to add the OptionsRowList with Screen#addRenderableWidget in the init method.
-
Mob Model Changing
When using vanille you have to lerp the model part using partialTicks and two calculated values. In GeckoLib I don't know. You have to use a dynamic model based on some properties like from a player capability
-
[1.20.1] NoClassDefFoundError at runtime for library imported using "minecraftLibrary"
Post the error you get when you compile the project
-
Block Entity recipes not working
The only thing I noticed when debugging is that you use System.out for logging. I would recommend you to use the logger from the mdk because you get information like time, thread or the file directly to the output.
-
[1.20.1] NoClassDefFoundError at runtime for library imported using "minecraftLibrary"
Just the file name, you already told gradle where to find the .jar file:
-
Help with buttons
Please also include the imports.
IPS spam blocked by CleanTalk.