Class ClientDataStore

java.lang.Object
net.timtaran.interactivemc.data.ClientDataStore

public final class ClientDataStore extends Object
Client-side data store containing VR-related information.

This class stores data that is specific to the client side, such as grabbed bodies and the current VR pose information.

  • Field Details

    • grabbedBodies

      public static EnumMap<net.minecraft.world.InteractionHand,UUID> grabbedBodies
      Tracks the UUIDs of bodies currently grabbed in each hand. Maps from InteractionHand to the UUID of the grabbed body.
    • playerControlledBodies

      public static List<Integer> playerControlledBodies
      List containing indices of all bodies controlled by the player.
    • currentPose

      public static org.vivecraft.api.data.VRPose currentPose
      The current VR pose of the player, updated every frame.