Class DevVRState

java.lang.Object
com.hammy275.immersivemc.common.vr.dev.DevVRState

public class DevVRState extends Object
A class that holds data and handles tick logic to replicate VR functionality outside VR. Unlike Vivecraft's NullVR VR implementation, which focuses on creating a more full VR implementation for debugging Vivecraft, this focuses much more on debugging ImmersiveMC. The ability to change VR data is limited (no FBT, etc.), but the much faster movement makes it possible to mostly test ImmersiveMC features outside VR.

This is effectively the spiritual successor to MC VR API's dev mode.

  • Field Details

    • inVR

      public static boolean inVR
    • pose

      public static DevVRPose pose
    • poseHistory

      public static final org.vivecraft.common.api_impl.data.VRPoseHistoryImpl poseHistory
    • trackers

      public static final List<org.vivecraft.api.client.Tracker> trackers
    • interactModules

      public static final List<org.vivecraft.api.client.InteractModule> interactModules
    • activeModules

      public static final EnumMap<net.minecraft.world.InteractionHand, org.vivecraft.api.client.InteractModule> activeModules
  • Constructor Details

    • DevVRState

      public DevVRState()
  • Method Details

    • clientInit

      public static void clientInit()
    • clientTick

      public static void clientTick()