You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2026. It is now read-only.
hammy3502 edited this page Mar 7, 2022
·
3 revisions
VRPlayerTickEvent is fired on the Forge event bus during TickEvent.PlayerTickEvent event during both phases. It acts nearly identically to the aforementioned event, so you'll need to check the phase to figure out if you want to act.
VRPlayerTickEvent is only fired for users who are currently in VR, and will never fire if the API isn't present. It contains four values:
player: The PlayerEntity who is being ticked.
phase: The phase being fired in (either Phase.START or Phase.END).
side: Whether the event is being fired on the server-side or the client-side.
vrPlayer: An IVRPlayer instance.