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.

byTiny

Members
  • Joined

  • Last visited

Everything posted by byTiny

  1. Ok, that makes sense thanks very much but I will still use this ID for testing.
  2. Thanks very much for the reply it helped me a lot and I fixed the problem now and I'm sorry that you had to look at the terrible code I wrote. I tried addressing the problems you mentioned. I now added comments to everything so it's not confusing anymore. I cleaned the code from all unused code, for example, the BASICI_ITEM line which wasn't supposed to be there. But I still have a question: I'm currently using this project for testing code and then copy it into my real project. There my ModID is "gamechanger" and the reason why the other project has the short ModID "em" is that it is faster to type. So my question is: is there a specific reason why the ModID has to be long?
  3. Hey, so I want to spawn an entity when the player joins the world but I get a crash every time I join the world: I tried figuring out what the problem might be but all I could find out was that it might have to do something with getting the world. This is the class where I'm spawning the entity. I tested this with a Minecraft villager and it worked: For the entity I followed the tutorial of Jorrit Tyberghein: And those are my entity classes: I tried my best to find out what the problem is and this is the first time I ask online for help. I hope I didn't overlock something stupid and that you guys can maybe help me.

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.