Mrhand3 Posted October 17, 2015 Share Posted October 17, 2015 Hi! Im trying to make a helmet that makes you invisible and hides all armor and the items you're holding. Is there any way to do this? Thanks! Quote Link to comment Share on other sites More sharing options...
Purplicious_Cow Posted October 20, 2015 Share Posted October 20, 2015 @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. Quote Link to comment Share on other sites More sharing options...
weckar Posted October 20, 2015 Share Posted October 20, 2015 I see no reason why it wouldn't work if you set up your conditionals right? Quote If anyone has a comprehensive, visual guide to GUIs - don't hesitate to message me. They make my head spin. Link to comment Share on other sites More sharing options...
Purplicious_Cow Posted October 20, 2015 Share Posted October 20, 2015 I see no reason why it wouldn't work if you set up your conditionals right? Exactly. Quote Link to comment Share on other sites More sharing options...
Purplicious_Cow Posted October 24, 2015 Share Posted October 24, 2015 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.