Class VoxelShapeHelper

java.lang.Object
net.tearpelato.deco_lib.api.shape.VoxelShapeHelper

public class VoxelShapeHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.phys.shapes.VoxelShape
    combine(List<net.minecraft.world.phys.shapes.VoxelShape> shapes)
     
    static net.minecraft.world.phys.shapes.VoxelShape
    combineAll(Collection<net.minecraft.world.phys.shapes.VoxelShape> shapes)
     
    static net.minecraft.world.phys.shapes.VoxelShape[]
    getRotatedShapes(net.minecraft.world.phys.shapes.VoxelShape source)
     
    static net.minecraft.world.phys.shapes.VoxelShape
    limitHorizontal(net.minecraft.world.phys.shapes.VoxelShape source)
     
    static net.minecraft.world.phys.shapes.VoxelShape
    rotate(net.minecraft.world.phys.shapes.VoxelShape source, net.minecraft.core.Direction direction)
     
    static net.minecraft.world.phys.shapes.VoxelShape
    rotateHorizontally(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction direction)
     
    static net.minecraft.world.phys.shapes.VoxelShape
    rotateShape(net.minecraft.world.phys.shapes.VoxelShape source, net.minecraft.core.Direction direction)
     
    static net.minecraft.world.phys.Vec3
    rotateVec3(net.minecraft.world.phys.Vec3 vec, net.minecraft.core.Direction dir)
     
    static net.minecraft.world.phys.shapes.VoxelShape
    setMaxHeight(net.minecraft.world.phys.shapes.VoxelShape source, double height)
     

    Methods inherited from class java.lang.Object

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

    • VoxelShapeHelper

      public VoxelShapeHelper()
  • Method Details

    • combineAll

      public static net.minecraft.world.phys.shapes.VoxelShape combineAll(Collection<net.minecraft.world.phys.shapes.VoxelShape> shapes)
    • setMaxHeight

      public static net.minecraft.world.phys.shapes.VoxelShape setMaxHeight(net.minecraft.world.phys.shapes.VoxelShape source, double height)
    • limitHorizontal

      public static net.minecraft.world.phys.shapes.VoxelShape limitHorizontal(net.minecraft.world.phys.shapes.VoxelShape source)
    • getRotatedShapes

      public static net.minecraft.world.phys.shapes.VoxelShape[] getRotatedShapes(net.minecraft.world.phys.shapes.VoxelShape source)
    • rotate

      public static net.minecraft.world.phys.shapes.VoxelShape rotate(net.minecraft.world.phys.shapes.VoxelShape source, net.minecraft.core.Direction direction)
    • rotateHorizontally

      public static net.minecraft.world.phys.shapes.VoxelShape rotateHorizontally(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.core.Direction direction)
    • combine

      public static net.minecraft.world.phys.shapes.VoxelShape combine(List<net.minecraft.world.phys.shapes.VoxelShape> shapes)
    • rotateShape

      public static net.minecraft.world.phys.shapes.VoxelShape rotateShape(net.minecraft.world.phys.shapes.VoxelShape source, net.minecraft.core.Direction direction)
    • rotateVec3

      public static net.minecraft.world.phys.Vec3 rotateVec3(net.minecraft.world.phys.Vec3 vec, net.minecraft.core.Direction dir)