Class VoxelShapeUtils

java.lang.Object
me.desht.pneumaticcraft.common.util.VoxelShapeUtils

public class VoxelShapeUtils extends Object
With thanks to JTK222 | Lukas for this
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.phys.shapes.VoxelShape
    combine(net.minecraft.world.phys.shapes.BooleanOp func, net.minecraft.world.phys.shapes.VoxelShape... shapes)
     
    static net.minecraft.world.phys.shapes.VoxelShape
    or(net.minecraft.world.phys.shapes.VoxelShape... shapes)
     
    static net.minecraft.world.phys.shapes.VoxelShape
    rotateX(net.minecraft.world.phys.shapes.VoxelShape shape, int rotation)
     
    static net.minecraft.world.phys.shapes.VoxelShape
    rotateY(net.minecraft.world.phys.shapes.VoxelShape shape, int rotation)
     

    Methods inherited from class java.lang.Object

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

    • VoxelShapeUtils

      public VoxelShapeUtils()
  • Method Details

    • rotateY

      public static net.minecraft.world.phys.shapes.VoxelShape rotateY(net.minecraft.world.phys.shapes.VoxelShape shape, int rotation)
    • rotateX

      public static net.minecraft.world.phys.shapes.VoxelShape rotateX(net.minecraft.world.phys.shapes.VoxelShape shape, int rotation)
    • combine

      public static net.minecraft.world.phys.shapes.VoxelShape combine(net.minecraft.world.phys.shapes.BooleanOp func, net.minecraft.world.phys.shapes.VoxelShape... shapes)
    • or

      public static net.minecraft.world.phys.shapes.VoxelShape or(net.minecraft.world.phys.shapes.VoxelShape... shapes)