Interface IRotationManager


public interface IRotationManager
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.phys.BlockHitResult
    getLookRaycast(net.minecraft.core.BlockPos blockPos)
     
    default boolean
    isLookingAt(net.minecraft.core.BlockPos blockPos)
     
    boolean
    isLookingAt(net.minecraft.core.BlockPos blockPos, net.minecraft.core.Direction direction)
     
    boolean
    isLookingAt(net.minecraft.world.entity.Entity entity)
     
    default boolean
    isLookingAt(net.minecraft.world.phys.BlockHitResult hitResult)
     
    default boolean
    isLookingAt(net.minecraft.world.phys.BlockHitResult hitResult, boolean checkDirection)
     
    default void
    updateRotation(float yaw, float pitch)
     
    void
    updateRotation(float yaw, float pitch, float step)
     
    default void
    updateRotation(net.minecraft.core.BlockPos blockPos)
     
    default void
    updateRotation(net.minecraft.core.BlockPos blockPos, float step)
     
    void
    updateRotation(net.minecraft.core.BlockPos blockPos, net.minecraft.core.Direction direction, float step)
     
    default void
    updateRotation(net.minecraft.world.entity.Entity entity)
     
    void
    updateRotation(net.minecraft.world.entity.Entity entity, float step)
     
    void
    updateRotation(net.minecraft.world.phys.BlockHitResult hitResult, float step)
     
  • Method Details

    • updateRotation

      default void updateRotation(net.minecraft.world.entity.Entity entity)
    • updateRotation

      void updateRotation(net.minecraft.world.entity.Entity entity, float step)
    • updateRotation

      default void updateRotation(net.minecraft.core.BlockPos blockPos)
    • updateRotation

      default void updateRotation(net.minecraft.core.BlockPos blockPos, float step)
    • updateRotation

      void updateRotation(net.minecraft.core.BlockPos blockPos, net.minecraft.core.Direction direction, float step)
    • updateRotation

      void updateRotation(net.minecraft.world.phys.BlockHitResult hitResult, float step)
    • updateRotation

      default void updateRotation(float yaw, float pitch)
    • updateRotation

      void updateRotation(float yaw, float pitch, float step)
    • isLookingAt

      boolean isLookingAt(net.minecraft.world.entity.Entity entity)
    • isLookingAt

      default boolean isLookingAt(net.minecraft.world.phys.BlockHitResult hitResult)
    • isLookingAt

      default boolean isLookingAt(net.minecraft.world.phys.BlockHitResult hitResult, boolean checkDirection)
    • isLookingAt

      default boolean isLookingAt(net.minecraft.core.BlockPos blockPos)
    • isLookingAt

      boolean isLookingAt(net.minecraft.core.BlockPos blockPos, net.minecraft.core.Direction direction)
    • getLookRaycast

      net.minecraft.world.phys.BlockHitResult getLookRaycast(net.minecraft.core.BlockPos blockPos)