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.

A_Brave_Panda1

Members
  • Joined

  • Last visited

  1. Pretty much I want to be able to call a tick method on a custom block when an event is fired. To give some background, I am making a stardew valley like game, I have an event when the next day occurs, but I want the crops to grow a stage when this event is called. I know I could loop through all the crop blocks per chunk but that's very inefficient. Anyone know of any way this would be possible? Thank you!
  2. Welp I figured it out... public static void attach(final AttachCapabilitiesEvent<LivingEntity> event) { should be public static void attach(final AttachCapabilitiesEvent<Entity> event) {
  3. Basically I am trying to save the players "balance" inside a LivingEntity capability. Currently anytime I run my tests it seems the capability is not getting attached to the player. Currently im not getting any errors, just nothing My provider class: My Coin class: My CapabilityEvent class And finally my Tester class snippet:

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.