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

Before I go too far down a rat hole I figured I would ask some questions.

 

What I am looking to do is render client side effects as blocks.  These "phantom" blocks could occur anywhere in the world, x, y, or z.  These blocks do not exist in a chunk and are not accessible using the standard world.getBlock()/world.getBlockState().  In some cases they will be generated on the fly based on criteria.  State does not have to be persisted between world restarts.  These blocks would have no collision box as they are just visual effects.  Yada yada yada...

 

So, my questions...

 

  • How should I go about integrating my phantom block rendering into the Minecraft rendering system?  I have Googled examples of what others have done and some of them listen for rendering events in order to do rendering.  Seems straight forward if it is the right approach.
  • What I am not sure about is clipping - will my blocks be properly clipped if they happen to be behind other blocks or blocks that have transparency (leaf blocks)?

 

Thanks!

Builders Wand from Extra Utilities (i think) achieves something similiar. Download the mod and decompile it to check it's code. Note that Extra Utilities is not open source so you cannot distribute the code without the author's permission

 

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.