Jump to content

[1.12.2] Change block texture in game


Lellson
 Share

Recommended Posts

Hello,

I'm trying to change the texture of a block in game (only if the player wears a special helmet).

I only need this on the client side, because other players (without the helmet) should see the block like normal.

 

How would I achieve something like this? Are there any events I could use?

 

Thanks!

Link to comment
Share on other sites

Link to comment
Share on other sites

16 hours ago, hiotewdew said:

Perhaps this could help?

 

Their dynamic block textures have textures set before model baking, so it only changes before initialization.
 

I found this GitHub for a mod called SecretRoomsMod, you should look at the Ghost Block, because in the mod it changes texture on placement while retaining the properties of the ghost block.

 

https://github.com/AbrarSyed/SecretRoomsMod-forge

Link to comment
Share on other sites

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

 Share



×
×
  • Create New...

Important Information

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