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

Posted

I want to not render certain blocks inside certain chunks. I want there to be no texture in the place of the block... something like XRay...

 

and 1 more question...

What happened to RenderWorldEvent?

I don't seem to be able to find it

Edited by MGlolenstine

Hmm. I hadn't looked at that event for a while but you're right, it is not in 1.12.1 and looking at the events in minecraft forge client events referenced library doesn't show anything that looks like a replacement to me.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Author
7 minutes ago, jabelar said:

Hmm. I hadn't looked at that event for a while but you're right, it is not in 1.12.1 and looking at the events in minecraft forge client events referenced library doesn't show anything that looks like a replacement to me.

Is there any other way I could go about it?

 

I'm not sure about another way to intercept the render, but hopefully someone else knows.

 

There are other ways that would be a lot of work, but I think possible. For example, perhaps you could replace the vanilla models with ones that are conditional based on a player capability.

 

EDIT: Actually probably wouldn't work assuming you want to only make specific locations invisible. See more below.

Edited by jabelar

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Actually, do you want all blocks of certain type to go invisible, or just certain ones within view or something based on specific positions? Any scheme to mess with the block models would affect all the blocks of that type. 

 

If you want different behavior for a block based on its specific position you only have two options: metadata or tile entity. Both of those imply that you would need a custom block since vanilla blocks don't have metadata for that and adding tile entities to all the vanilla blocks of a certain type would cause performance and storage problems.

 

So you probably gotta find a way to intercept the render.

 

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Author

Well... I want to intercept the render... But I don't know how... Can I do it through event and which one to use then? I wanted to use RenderWorldEvent for that, but it doesn't exist anymore.

 

And yea, I want to change all the blocks of the same type

 

Aaaand I can't change blocks, so it has to be a render event.

Edited by MGlolenstine

Wait

Are you trying to prevent the render of a specific block that you control, or something else?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author
57 minutes ago, Draco18s said:

Wait

Are you trying to prevent the render of a specific block that you control, or something else?

I'm trying to prevent loading of normal vanilla blocks without changing any metadata or tile entitying it...

I want to make it similar to XRay...

I'm making ore radar that makes blocks around you in a radius transparent/non-rendered...

Ah, there we go.

Almost certainly going to be almost impossible to pull off.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author
12 hours ago, Draco18s said:

Ah, there we go.

Almost certainly going to be almost impossible to pull off.

But how would I do it?

 

I don't know.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.