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.

SunsetMoth

Members
  • Joined

  • Last visited

  1. The only documentation I have found describes concepts and a few methods related to them, but nothing about the methods available to me for, say, a player, or a block. This seems like really important stuff; how do I make my mod do anything if I don't know how to affect anything? For instance, here's this code snippet from Nether Portal Fix, which does something very similar to what I want to do. public void onEntityTravelToDimension(EntityTravelToDimensionEvent event) { if (event.getEntity() instanceof EntityPlayerMP) { EntityPlayer player = (EntityPlayer) event.getEntity(); Where would I find information on the EntityTravelToDimensionEvent class and its methods, or EntityPlayerMP, or EntityPlayer? The documentation I've found has nothing on any of these. (my end goal is to rewrite the nether portal search code so that a portal in the nether will find any overworld portal that can lead to it, since currently an issue with the 8:1 size ratio is messing with it)

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.