Jump to content

Recommended Posts

Posted (edited)

Given a block at position x,y,z how could I go about writing code in order to highlight it, for example by raising its apparently brightness (graphical brightness, not in-game minecraft brightness)?

For some context I have created a mod to allow for free cursor movement while still being able to pan and rotate the camera, and want to also be able to select blocks by clicking. I've already gotten the actual selection working but I can't see the block that has been selected until I implement some kind of highlighting.

EDIT: and the same for entities too

EDIT2: I'll also settle for just dynamically changing the model on runtime. If altering the model is too complex, I can just create a simple block model defined as a 'marker' block for this purpose.

EDIT3:

I asked a much better question here

Edited by SoLegendary
replaced with new question

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.