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.

Kreepydude

Members
  • Joined

  • Last visited

  1. Thank you very much. Why it's called func_235838_a_, I'll never know lol. For anyone else who has the same problem, you want to use this line of code to add a property to the block, just like how you'd set hardnessAndResistance or harvestLevel. Then replace the 10 with the light level you want. .func_235838_a_((lightLevel) -> 10)
  2. Kreepydude joined the community
  3. I've just started modding, I've read the documentation on blocks and block properties as well as tile entities and blockstates. For some reason I can't change the Block.property of lightValue for the block I've created. I attached a screenshot. Anyone know what I'm doing wrong? Feel really dumb right now haha. My IDE's saying common\blocks\RubyBlock.java:12: error: cannot find symbol .lightValue(0f) ^ symbol: method lightValue(float) location: class Properties

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.