Interface VRPlayerDataProvider

All Known Implementing Classes:
VisorVRPlayerDataProvider, VivecraftVRPlayerDataProvider

public interface VRPlayerDataProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    getPoseHistory(net.minecraft.world.entity.player.Player player)
     
    @Nullable VRPose
    getVrPose(net.minecraft.world.entity.player.Player player)
    Retrieves the VR player data for the given player.
    boolean
    isVRPlayer(net.minecraft.world.entity.player.Player player)
    Checks if the given player is a VR player.
  • Method Details

    • getVrPose

      @Nullable @Nullable VRPose getVrPose(net.minecraft.world.entity.player.Player player)
      Retrieves the VR player data for the given player.
      Parameters:
      player - the player to retrieve the VR player data for
      Returns:
      the VR player data, or null if the player is not a VR player
    • isVRPlayer

      boolean isVRPlayer(net.minecraft.world.entity.player.Player player)
      Checks if the given player is a VR player.
      Parameters:
      player - the player to check
      Returns:
      true if the player is a VR player, false otherwise
    • getPoseHistory

      VRPoseHistory getPoseHistory(net.minecraft.world.entity.player.Player player)