-
-
Notifications
You must be signed in to change notification settings - Fork 60
Mod API VRRenderingAPI
fayer3 edited this page Jul 3, 2025
·
1 revision
You can find the full javadoc for the VRRenderingAPI here.
Allows to interact with the rendering side of Vivecraft:
- check the render state with:
-
isVanillaRenderPass:trueif Vivecraft is currently inactive, and the game is rendering normally. -
isFirstRenderPass:trueif Vivecraft is currently rendering the world for the first time this frame. -
getCurrentRenderPass: returns more information about which perspective is currently being rendered. SeeRenderPassfor available options.
-
- helpers for rendering at the hands:
-
getHandRenderPos: to get the render position of the hand, this also handles the hand position for the seated players. -
setupRenderingAtHand: sets the given PoseStack/Matrix to render at the hand.
-