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.

Pink-Panther

Members
  • Joined

  • Last visited

  1. Thx, I think I will store unbreakable blocks map on disk arranged by regions/chunks. So I'll only load the map when relatives chunks will be loaded and it wont use too much RAM.
  2. Damn... A different way would be to store chunks as array of 256 booleans and to check on event if a block is breakable or not. Do you think this would be too costly performance-wise (with some optimizations ofc) ?
  3. Pink-Panther changed their profile photo
  4. Hi. I'd like to make a mod where you cannot destroy any existing block but you can place blocks you already have (and destroy them). The problem is to differentiate two block of the same type by the fact that is was (or wasn't) in the original world. I looked at blockstate but it seems like it's a dead end (many vanilla block already have their 4 bytes state full). So I thought about re-registering every vanilla block with .setUnbreakable() but we cannot register the same block two times. If someone have an idea, I'll be grateful. Thanks for reading.

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.