Skip to content

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: true if Vivecraft is currently inactive, and the game is rendering normally.
    • isFirstRenderPass: true if Vivecraft is currently rendering the world for the first time this frame.
    • getCurrentRenderPass: returns more information about which perspective is currently being rendered. See RenderPass for 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.
Clone this wiki locally