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.

[SOLVED] [1.16.5] I'm having issues with Wither-like skull projectiles

Featured Replies

Posted

I just can't seem to figure this out...
Basically, I want to create Wither-like skull projectiles for my custom boss. I copied over the vanilla code, modified it to suit my needs and tested it. The results: Chat says that the entity was summoned and there's no trace of any errors in the console but it doesn't appear at all. (Vanilla Wither Skulls appear at their spawn location and don't do anything after that)
I tried basically everything I could think of. I checked if it's all registered properly, copy-pasted vanilla code and ran it without modifying (except for like name-related things) and I even tried extending the vanilla Wither Skull class. None of this worked.
I actually tried extending the vanilla arrow too (Since Wither Skull and Arrows use different logic) and while my skull still didn't appear, I heard an arrow landing noise. I tried this multiple times, same result every time. This leads me to believe that it's an issue with the renderer. I have previously tried to delete it, modify it, copy-paste Dragon Fireball rendering code and again, none of these worked.

Edited by uSkizzik

  • Author

Bump + Just to add, there is no hit box when I spawn the skull (in all cases). I can provide a github repository, if needed.

  • uSkizzik changed the title to [SOLVED] [1.16.5] I'm having issues with Wither-like skull projectiles
  • Author

I managed to figure this out thanks to a user from the Forge Discord server (@ChampionAsh5357#5519) and this old 1.14.3 article

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.