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.

primalfreeze

Members
  • Joined

  • Last visited

  1. @Eternaldoom - that was enough for me to figure it all out. I somehow glossed over the registering of an entity in all the examples I found. I suspect because I was looking for other problems, not chunks that were missing. So thanks heaps. For recordkeeping purposes, here is the added code (added in KBClasses.preInit) This topic is now solved but I can't see anything letting me mark it as such. Primalfreeze
  2. Hey everyone, I've checked everywhere, but I can't find a single thing that could be causing my issue. I'm trying to implement a basic 'fireball' using snowball as a basis but I'm not having any luck. The specific problem is that while the projectile fires and impacts, it doesn't render at all. I have added break points into the RenderKBFireball class but they do not fire. My four classes are: KBFireball - contains the item, it's onItemRightClick event, it's presence in creative mode, icon etc. KBEntityFireBall - inheriting from EntityThrowable controls the onImpact RenderKBFireball - the render class, pretty much a direct copy of RenderSnowball KBClasses - the main mod file containing the definition and the registry etc. A few things worth noting: In KBFireball, I'm alternating between firing an actual snowball and my Fireball itself. The fact that the snowball shows is telling me this class is fine. I suspect if anything, it has something to do with my registering of items, but I've tried a lot of variations and had no luck. All of this compiles and runs as well, so no code errors. Thanks in advance Primalfreeze KBFireball KBEntityFireball RenderKBFireball KBClasses

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.