Jump to content

[1.7] Hide Armor and Equipped Items


Mrhand3

Recommended Posts

@diesieben07, does this event work reliably when playing on a Forge Server? I've found it to be inconsistent in 1.7.10 in some limited testing, where it sometimes canceled all players rendering (regardless of whether or not the item in question was being worn), and sometimes rendering wasn't cancelled at all. In Single Player, there were no issues.

Link to comment
Share on other sites

Replying to my earlier hijacked thread post. I unearthed my old code and tested again. Cancelling the event works fine and is reliable on servers.

 

One change, however, to diesieben07's note above, is that you need to use the sub-event 'Pre' (i.e., RenderPlayerEvent.Pre).

 

My problem (in case anyone cares) was how I was using NBT data to trigger the event, which was just plain wrong. 

 

PC

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