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.

Featured Replies

I know this thread is marked as solved. but is there anywhere/anything i should be looking for to elaborate a bit further?

 

This is a problem that has plagued me for a long time, so long so that i stopped coding because there was no direct or explained answer. I've scowered over the forge forums, going back years. Looked at everything from access transformers and reflections (both way above me) to core mods (which there doesn't seem to be any direct information about them).

 

I'm new, obviously. but i intend to code things the right way.

 

I know where the block ID's are found. So I would just create my own class that extends blocks and create a method that just removes it(how given that the Block[] blocksList, is a final)? I'm not 100% sure on what that would look like and an example would be nice.

Furthermore, assuming the ID is number order its stored in wouldn't the block actually be stored at -1 since an array starts at 0?

 

or is it possible to somehow catch the ore at generation in the biomedecorator and extend that for the access to the private values?

I know this thread is marked as solved. but is there anywhere/anything i should be looking for to elaborate a bit further?

 

This is a problem that has plagued me for a long time, so long so that i stopped coding because there was no direct or explained answer. I've scowered over the forge forums, going back years. Looked at everything from access transformers and reflections (both way above me) to core mods (which there doesn't seem to be any direct information about them).

 

I'm new, obviously. but i intend to code things the right way.

 

I know where the block ID's are found. So I would just create my own class that extends blocks and create a method that just removes it(how given that the Block[] blocksList, is a final)? I'm not 100% sure on what that would look like and an example would be nice.

Furthermore, assuming the ID is number order its stored in wouldn't the block actually be stored at -1 since an array starts at 0?

 

or is it possible to somehow catch the ore at generation in the biomedecorator and extend that for the access to the private values?

Naw. A Java array is final, but you can change an individual element. Just do block.blocksList[blah] = new MyReplacedBlock();

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Interesting, I remember reading a leaves block override issue. Could you also put the leaf blocks in the array?

Interesting, I remember reading a leaves block override issue. Could you also put the leaf blocks in the array?

I remember that too. In fact, I think that was one of the suggested solutions... And yes, you can.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.