Interface HitboxVRMovementInfo

All Known Implementing Classes:
HitboxVRMovementInfoImpl

public interface HitboxVRMovementInfo
An object representing VR movement detection. These can be built from HitboxVRMovementInfoBuilder, which you can see for more info.
  • Method Details

    • relativeAxis

      net.minecraft.core.Direction.Axis relativeAxis()
      Returns:
      The relative axis to detect movements on.
    • thresholds

      double[] thresholds()
      Returns:
      An array containing the threshold for the positive direction and the threshold for the negative direction in that order.
    • controllerMode

      Returns:
      The controller mode.
    • actionConsumer

      BiConsumer<BuiltImmersiveInfo<?>,List<net.minecraft.world.InteractionHand>> actionConsumer()
      Returns:
      The consumer to run when a threshold is met.