net.minecraftforge.common.util

## Class RotationHelper

- java.lang.Object
- - net.minecraftforge.common.util.RotationHelper

-     public class RotationHelper
      extends java.lang.Object

  This class is a helper function for vanilla blocks, and should not be called by Modders. Refer to block.rotateBlock and block.getValidRotations instead.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RotationHelper()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ForgeDirection[]` | `getValidVanillaBlockRotations(Block block)`
    `static boolean` | `rotateVanillaBlock(Block block, World worldObj, int x, int y, int z, ForgeDirection axis)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RotationHelper

          public RotationHelper()

  - ### Method Detail

    - #### getValidVanillaBlockRotations

          public static ForgeDirection[] getValidVanillaBlockRotations(Block block)

    - #### rotateVanillaBlock

          public static boolean rotateVanillaBlock(Block block,
                                   World worldObj,
                                   int x,
                                   int y,
                                   int z,
                                   ForgeDirection axis)