Class WallAndGroundTransformations<T>

java.lang.Object
net.minecraft.client.renderer.blockentity.WallAndGroundTransformations<T>

public class WallAndGroundTransformations<T> extends Object
  • Field Details

    • wallTransforms

      private final Map<Direction, T> wallTransforms
    • freeTransformations

      private final T[] freeTransformations
  • Constructor Details

    • WallAndGroundTransformations

      public WallAndGroundTransformations(Function<Direction, T> wallTransformationFactory, IntFunction<T> freeTransformationFactory, int segments)
  • Method Details

    • wallTransformation

      public T wallTransformation(Direction facing)
    • freeTransformations

      public T freeTransformations(int segment)