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.

JasonIEC

Members
  • Joined

  • Last visited

  1. Okay, so I got it. Basically, when you define the character, you have to put 'X'.asInstanceOf[java.lang.Character] instead of just 'X'. Then it works!
  2. Thank you all! I will definitely try these things. Also, I chose Scala because I wanted to try it Edit: The Array[AnyRef]() hasn't worked for me Also, the varargs aren't working because it won't let me cast java.lang.Character to java.lang.Object
  3. Hello, I am JasonIEC, and I am wondering how to make recipes in Scala, or how to have mixed Scala/Java mods. My specific problem is the fact that Scala doesn't seem to support java.lang.Object arrays. Any help is appreciated Thanks!
  4. Thank you all, but now that I have that working, how do I do the same thing for Blocks?
  5. Hey, I have been working on a mod which expands on Thermal Foundation's Enderium, adding tools for it, and I would like to color the item names so they match TF's. How would I do this in the code? Thanks for your help!

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.