Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I am attempting to make a mod that serves as an expansion to the mod Basic Weapons by Khazoda for a (currently) personal modpack. I want to add a custom tier of the weapons that the mod adds, so I thought the simplest solution would be to make a mod that depends on BW to work (I tried KubeJS and that was a no go given other mods that interact with the weapons). Depending on BW would also let me use the methods so I don't have to recreate the behavior of certain weapons. To start, I followed KaupenJoe's 1.20.1 modding setup tutorial and the simple item tutorial. Then I followed the Modrinth Maven tutorial to add BW as a dependency to my mod. I swear on my soul that after doing this, ONCE I was able to do the gradle runClient, and the game loaded up with no errors. However, now every time I try to do this again, I get this error showing in the game client:

Basic Weapons (basicweapons) has failed to load correctly

org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered

Here is the latest crash .txt and the latest.log:

pastebin.com/MpdMwwj6

pastebin.com/RMXM3g5p

I think it has to do with their use of the spongepowered mixin thing in their build.gradle, but it may also be related to the fact I am using parchment mapping (just what the tutorial said to do, feel free to say if using that is bad practice) and BW is using official mappings. Here is also my git page for my mod in its current state, along with the page for Khazodas mod (the branch that I am currently dealing with via Modrinth maven):

github.com/McNasty102/Forge-Mod-Test/tree/mod-test

github.com/Khazoda/basic-weapons/tree/1.20.1-forge

Your repository appears to be private.

You probably need to add the MixinGradle plugin to allow it to deobfuscate the mixins from your dependency. You shouldn't need the annotation processor or other configuration from that page unless you're using mixins yourself.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.