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

Hello, when I load my mod along with other mods, I run into a crash on world load that goes along the lines of "Capability A cannot be cast to Capability B", where Capability A is mine and B is whichever other one. It does this for multiple other mods so I'm guessing I did something stupid, but I have no clue what. The error itself also occurs in the other mods, so I don't know where to look in my code.
Some examples:
 

[Render thread/ERROR] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: Exception caught during firing event: dev.stormwatch.vanillaspice.data.DefaultPlayerStats cannot be cast to tschipp.carryon.common.capabilities.Imposition

[Server thread/ERROR] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: Exception caught during firing event: dev.stormwatch.vanillaspice.data.DefaultPlayerStats cannot be cast to twilightforest.capabilities.shield.IShieldCapability

Any insight would be appreciated. 

 

https://github.com/Phi-1/VanillaSpice

  • Author

How would I check that my capability was the one that was asked for?

  • Author

Ahhhh I see. Thanks diesieben, these capabilities are still so confusing to me.

  • Author

I guess because it goes through so many layers behind the scenes that it's hard to understand at first glance what you're supposed to provide where. I'm sure that it's simple enough once you understand how it works, but I'm not there yet.

Also I suppose that's kind of what modding is like in general.

Edited by Phi

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.