This repository was archived by the owner on Jun 18, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
VRPlayerTickEvent
hammy3502 edited this page Sep 7, 2022
·
3 revisions
WARNING: THIS IS REMOVED AS OF API RELEASE 2.0.0!
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 on at least one side. 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.
Logical Sides and Ping Limitations
VRPlayerTickEvent (Removed as of 2.0.0 Pre-Release 1)