Class ExpandRotation

java.lang.Object
com.blamejared.crafttweaker.natives.util.math.ExpandRotation

@ZenRegister public class ExpandRotation extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.level.block.Rotation
    getRotated(net.minecraft.world.level.block.Rotation internal, net.minecraft.world.level.block.Rotation rotation)
     
    static int
    rotate(net.minecraft.world.level.block.Rotation internal, int rotation, int positionCount)
     
    static net.minecraft.core.Direction
    rotate(net.minecraft.world.level.block.Rotation internal, net.minecraft.core.Direction direction)
     
    static com.mojang.math.OctahedralGroup
    rotation(net.minecraft.world.level.block.Rotation internal)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandRotation

      public ExpandRotation()
  • Method Details

    • getRotated

      public static net.minecraft.world.level.block.Rotation getRotated(net.minecraft.world.level.block.Rotation internal, net.minecraft.world.level.block.Rotation rotation)
    • rotation

      public static com.mojang.math.OctahedralGroup rotation(net.minecraft.world.level.block.Rotation internal)
    • rotate

      public static net.minecraft.core.Direction rotate(net.minecraft.world.level.block.Rotation internal, net.minecraft.core.Direction direction)
    • rotate

      public static int rotate(net.minecraft.world.level.block.Rotation internal, int rotation, int positionCount)