i need some help with a minecraft mod
so i have this modid.mixins.json
{
"required": true,
"package": "com.example.mixin",
"compatibilityLevel": "JAVA_21",
"mixins": [
"InGameHudMixin",
"MouseMixin",
"ParticleManagerMixin"
],
"injectors": {
"defaultRequire": 1
},
"overwrites": {
"requireAnnotations": true
}
}
and these files but for some reason intellij says this error and paths codes everything is right it just dosent wanna work it crashes my game plz help someone


26 Replies
⌛ This post has been reserved for your question.
Hey @frqme! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
Please format your code to make it more readable. For java, it should look like this:
Fabric mc has their own dc with a specialised mixins channel. - > experts
Did you modify all the stuff including the package since it says com.example still etc.
Also mixin class hierarchy please
i dont think

Vaguely remembered the fabric mod json having a reference to the Mixin file. Make sure it has the mod id.
Also package matches here ye
And are the Mixin classes annotated with mixin?
wdym?
im kinda new to mods
in the fabric.mod.json there is a link to the Mixin config file name. Make sure its correct
This message has been formatted automatically. You can disable this using
/preferences.That's good
ok
so what can it be
IMA have a look at my files but since on phone it will take a bit. Idk whether it is it (likely not) but sometimes its intelij thats causing an incorrect issue. Try launch via gradle once after a clean.
After a look I couldn't see any mismatches from mine really.
My last idea would be related to you showing me the code of 1 of the 3 mixins but tbh it seems like a good idea to me to go to
<#807617700734042122> (fabric mc) since last time I needed help they responded reasonably fast and they know more than I do. I'm at the end of ideas here.
@frqme
Was it a bad / missing package block?
i dont think
Can you send 1 of the Mixin classes here?
package com.example.mixin;
import com.example.manager.ParticleManager;
import net.minecraft.client.particle.Particle;
import net.minecraft.particle.ParticleEffect;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
@Mixin(net.minecraft.client.particle.ParticleManager.class)
This message has been formatted automatically. You can disable this using
/preferences.Yeah. I'm out of ideas. Like it indicates it isn't able to find them but the package stuff seems right. Its right package and mixins seem to be configured properly in my eyes on a phone.
I would say its time for fabric mc. Not crazy fast but they have a deep knowledge but gotta be patient IG.
yea sent there idk
Wait 1 idea
?
Maybe it can't be both via mixins but be like server only
idk
maybe
I only use client since client side only but check if there's server exclusive or sth
And then check if they work like that
Wait no your doing client
yea
It was the other guy with server
But try replacing the mixins with client. Worth a try
This message has been formatted automatically. You can disable this using
/preferences.My one in my mod
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.