Interface IForgeTransformation

All Known Implementing Classes:
Transformation

public interface IForgeTransformation
  • Method Details

    • self

      private Transformation self()
    • isIdentity

      default boolean isIdentity()
    • push

      default void push​(PoseStack stack)
    • transformPosition

      default void transformPosition​(Vector4f position)
    • transformNormal

      default void transformNormal​(Vector3f normal)
    • rotateTransform

      default Direction rotateTransform​(Direction facing)
    • blockCenterToCorner

      default Transformation blockCenterToCorner()
      convert transformation from assuming center-block system to opposing-corner-block system
    • blockCornerToCenter

      default Transformation blockCornerToCenter()
      convert transformation from assuming opposing-corner-block system to center-block system
    • applyOrigin

      default Transformation applyOrigin​(Vector3f origin)
      Apply this transformation to a different origin. Can be used for switching between coordinate systems. Parameter is relative to the current origin.