Jump to content

Problem with Leaf Block transparency updating when fancy/fast is toggled


Recommended Posts

Posted

At the moment I do check graphics settings on each tick and change it - which is why when I force the blocks to update they change. I change the graphics type on the leaves but they dont reflect the changes until the block has been updated

Posted

I don't have access to the Minecraft source right now so I can't check if what i'm saying is going to work. Right now it seems that your block checks for an update on each block update (which seems to occur when the block is moved or a adjacent block is modified), rather than on each game tick. Are you using a separate tick handler or are you using the onUpdate() or similar method in your block class?

Posted

you need to have them change on tick,

 

here's what i used when i made my leaves:

 

  Reveal hidden contents

 

 

this will make them change as soon as you change the graphics from fast to fancy and visa versa

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.