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.

Leaderboard

Popular Content

Showing content with the highest reputation on 03/27/17 in all areas

  1. 1) https://github.com/Mavigno42/ModTest/tree/master/src/main/resources/assets/modtest/lang You need to rename that file as en_us.lang as all resources must be in lower case. 2) Part a: https://github.com/Mavigno42/ModTest/blob/master/src/main/java/com/mavigno/modtest/tileentity/base/TileEntityBasicInventory.java#L15 You don't need implements ICapabilityProvider, TileEntity already implements that interface. Part b: https://github.com/Mavigno42/ModTest/blob/master/src/main/java/com/mavigno/modtest/tileentity/base/TileEntityBasicInventory.java#L17 Pretty sure you can't create the ItemHandler like this, as the SIZE value is coming from the constructor, but at the time that this field is initialized, the constructor has not yet been called.
  2. You have a non-1.7.10 mod installed.
  3. I meant the actual method that does the logic when the event is fired. In your case, onTickEvent needs to have the annotation. WorldTickEvent is fired 20 times a second, but you can just use a modulus operator with the world time to limit how often your code is run. Animation#getWorldTime will return the current world time in seconds.
  4. Tada. There was no way we could have figured that out from the code you posted. And now you know how to debug.

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.