Posted December 7, 201410 yr Before I start coding it from scraps, is there anything inside vanilla/forge that would allow me to deactivate all player actions or at least part of them? Goal: When player joins game for the 1st time (or his data is corrupted) he receives packet that opens Gui (which cannot be closed until all tasks are finished). During this time I need player to be literally non-existent (can't be moved, attacked, pushed, fell, etc.). 1.7.10 is no longer supported by forge, you are on your own.
December 7, 201410 yr LivingUpdateEvent - check for the player, then cancel the event: the player entity will then not process entity updates, so can't move, be attacked, etc. You'll have to test if it works for your specific case, as canceling this event has a very wide-reaching impact. http://i.imgur.com/NdrFdld.png[/img]
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.