Class VoxelShapes

java.lang.Object
net.minecraft.util.shape.VoxelShapes

public final class VoxelShapes extends Object
Mappings:
Namespace Name
named net/minecraft/util/shape/VoxelShapes
intermediary net/minecraft/class_259
official fgt
  • Field Details Link icon

    • MIN_SIZE Link icon

      public static final double MIN_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MIN_SIZE Lnet/minecraft/util/shape/VoxelShapes;MIN_SIZE:D
      intermediary field_31880 Lnet/minecraft/class_259;field_31880:D
      official a Lfgt;a:D
    • field_31881 Link icon

      public static final double field_31881
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31881 Lnet/minecraft/util/shape/VoxelShapes;field_31881:D
      intermediary field_31881 Lnet/minecraft/class_259;field_31881:D
      official b Lfgt;b:D
    • FULL_CUBE Link icon

      private static final VoxelShape FULL_CUBE
      Mappings:
      Namespace Name Mixin selector
      named FULL_CUBE Lnet/minecraft/util/shape/VoxelShapes;FULL_CUBE:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_1385 Lnet/minecraft/class_259;field_1385:Lnet/minecraft/class_265;
      official d Lfgt;d:Lfgw;
    • BLOCK_CENTER Link icon

      private static final Vec3d BLOCK_CENTER
      Mappings:
      Namespace Name Mixin selector
      named BLOCK_CENTER Lnet/minecraft/util/shape/VoxelShapes;BLOCK_CENTER:Lnet/minecraft/util/math/Vec3d;
      intermediary field_55842 Lnet/minecraft/class_259;field_55842:Lnet/minecraft/class_243;
      official e Lfgt;e:Lfgc;
    • UNBOUNDED Link icon

      public static final VoxelShape UNBOUNDED
      Mappings:
      Namespace Name Mixin selector
      named UNBOUNDED Lnet/minecraft/util/shape/VoxelShapes;UNBOUNDED:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_17669 Lnet/minecraft/class_259;field_17669:Lnet/minecraft/class_265;
      official c Lfgt;c:Lfgw;
    • EMPTY Link icon

      private static final VoxelShape EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/util/shape/VoxelShapes;EMPTY:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_1384 Lnet/minecraft/class_259;field_1384:Lnet/minecraft/class_265;
      official f Lfgt;f:Lfgw;
  • Constructor Details Link icon

    • VoxelShapes Link icon

      public VoxelShapes()
  • Method Details Link icon

    • empty Link icon

      public static VoxelShape empty()
      Mappings:
      Namespace Name Mixin selector
      named empty Lnet/minecraft/util/shape/VoxelShapes;empty()Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_1073 Lnet/minecraft/class_259;method_1073()Lnet/minecraft/class_265;
      official a Lfgt;a()Lfgw;
    • fullCube Link icon

      public static VoxelShape fullCube()
      Mappings:
      Namespace Name Mixin selector
      named fullCube Lnet/minecraft/util/shape/VoxelShapes;fullCube()Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_1077 Lnet/minecraft/class_259;method_1077()Lnet/minecraft/class_265;
      official b Lfgt;b()Lfgw;
    • cuboid Link icon

      public static VoxelShape cuboid(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
      Mappings:
      Namespace Name Mixin selector
      named cuboid Lnet/minecraft/util/shape/VoxelShapes;cuboid(DDDDDD)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_1081 Lnet/minecraft/class_259;method_1081(DDDDDD)Lnet/minecraft/class_265;
      official a Lfgt;a(DDDDDD)Lfgw;
    • cuboidUnchecked Link icon

      public static VoxelShape cuboidUnchecked(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
      Mappings:
      Namespace Name Mixin selector
      named cuboidUnchecked Lnet/minecraft/util/shape/VoxelShapes;cuboidUnchecked(DDDDDD)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_31943 Lnet/minecraft/class_259;method_31943(DDDDDD)Lnet/minecraft/class_265;
      official b Lfgt;b(DDDDDD)Lfgw;
    • cuboid Link icon

      public static VoxelShape cuboid(Box box)
      Mappings:
      Namespace Name Mixin selector
      named cuboid Lnet/minecraft/util/shape/VoxelShapes;cuboid(Lnet/minecraft/util/math/Box;)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_1078 Lnet/minecraft/class_259;method_1078(Lnet/minecraft/class_238;)Lnet/minecraft/class_265;
      official a Lfgt;a(Lffx;)Lfgw;
    • findRequiredBitResolution Link icon

      protected static int findRequiredBitResolution(double min, double max)
      Mappings:
      Namespace Name Mixin selector
      named findRequiredBitResolution Lnet/minecraft/util/shape/VoxelShapes;findRequiredBitResolution(DD)I
      intermediary method_1086 Lnet/minecraft/class_259;method_1086(DD)I
      official a Lfgt;a(DD)I
    • lcm Link icon

      protected static long lcm(int a, int b)
      Mappings:
      Namespace Name Mixin selector
      named lcm Lnet/minecraft/util/shape/VoxelShapes;lcm(II)J
      intermediary method_1079 Lnet/minecraft/class_259;method_1079(II)J
      official a Lfgt;a(II)J
    • union Link icon

      public static VoxelShape union(VoxelShape first, VoxelShape second)
      Mappings:
      Namespace Name Mixin selector
      named union Lnet/minecraft/util/shape/VoxelShapes;union(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_1084 Lnet/minecraft/class_259;method_1084(Lnet/minecraft/class_265;Lnet/minecraft/class_265;)Lnet/minecraft/class_265;
      official a Lfgt;a(Lfgw;Lfgw;)Lfgw;
    • union Link icon

      public static VoxelShape union(VoxelShape first, VoxelShape[] others)
      Mappings:
      Namespace Name Mixin selector
      named union Lnet/minecraft/util/shape/VoxelShapes;union(Lnet/minecraft/util/shape/VoxelShape;[Lnet/minecraft/util/shape/VoxelShape;)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_17786 Lnet/minecraft/class_259;method_17786(Lnet/minecraft/class_265;[Lnet/minecraft/class_265;)Lnet/minecraft/class_265;
      official a Lfgt;a(Lfgw;[Lfgw;)Lfgw;
    • combineAndSimplify Link icon

      public static VoxelShape combineAndSimplify(VoxelShape first, VoxelShape second, BooleanBiFunction function)
      Mappings:
      Namespace Name Mixin selector
      named combineAndSimplify Lnet/minecraft/util/shape/VoxelShapes;combineAndSimplify(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/function/BooleanBiFunction;)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_1072 Lnet/minecraft/class_259;method_1072(Lnet/minecraft/class_265;Lnet/minecraft/class_265;Lnet/minecraft/class_247;)Lnet/minecraft/class_265;
      official a Lfgt;a(Lfgw;Lfgw;Lfgg;)Lfgw;
    • combine Link icon

      public static VoxelShape combine(VoxelShape one, VoxelShape two, BooleanBiFunction function)
      Mappings:
      Namespace Name Mixin selector
      named combine Lnet/minecraft/util/shape/VoxelShapes;combine(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/function/BooleanBiFunction;)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_1082 Lnet/minecraft/class_259;method_1082(Lnet/minecraft/class_265;Lnet/minecraft/class_265;Lnet/minecraft/class_247;)Lnet/minecraft/class_265;
      official b Lfgt;b(Lfgw;Lfgw;Lfgg;)Lfgw;
    • matchesAnywhere Link icon

      public static boolean matchesAnywhere(VoxelShape shape1, VoxelShape shape2, BooleanBiFunction predicate)
      Mappings:
      Namespace Name Mixin selector
      named matchesAnywhere Lnet/minecraft/util/shape/VoxelShapes;matchesAnywhere(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/function/BooleanBiFunction;)Z
      intermediary method_1074 Lnet/minecraft/class_259;method_1074(Lnet/minecraft/class_265;Lnet/minecraft/class_265;Lnet/minecraft/class_247;)Z
      official c Lfgt;c(Lfgw;Lfgw;Lfgg;)Z
    • matchesAnywhere Link icon

      private static boolean matchesAnywhere(PairList mergedX, PairList mergedY, PairList mergedZ, VoxelSet shape1, VoxelSet shape2, BooleanBiFunction predicate)
      Mappings:
      Namespace Name Mixin selector
      named matchesAnywhere Lnet/minecraft/util/shape/VoxelShapes;matchesAnywhere(Lnet/minecraft/util/shape/PairList;Lnet/minecraft/util/shape/PairList;Lnet/minecraft/util/shape/PairList;Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/function/BooleanBiFunction;)Z
      intermediary method_1071 Lnet/minecraft/class_259;method_1071(Lnet/minecraft/class_255;Lnet/minecraft/class_255;Lnet/minecraft/class_255;Lnet/minecraft/class_251;Lnet/minecraft/class_251;Lnet/minecraft/class_247;)Z
      official a Lfgt;a(Lfgo;Lfgo;Lfgo;Lfgl;Lfgl;Lfgg;)Z
    • calculateMaxOffset Link icon

      public static double calculateMaxOffset(Direction.Axis axis, Box box, Iterable<VoxelShape> shapes, double maxDist)
      Mappings:
      Namespace Name Mixin selector
      named calculateMaxOffset Lnet/minecraft/util/shape/VoxelShapes;calculateMaxOffset(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/util/math/Box;Ljava/lang/Iterable;D)D
      intermediary method_1085 Lnet/minecraft/class_259;method_1085(Lnet/minecraft/class_2350$class_2351;Lnet/minecraft/class_238;Ljava/lang/Iterable;D)D
      official a Lfgt;a(Ljc$a;Lffx;Ljava/lang/Iterable;D)D
    • isSideCovered Link icon

      public static boolean isSideCovered(VoxelShape shape, VoxelShape neighbor, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      named isSideCovered Lnet/minecraft/util/shape/VoxelShapes;isSideCovered(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Direction;)Z
      intermediary method_1083 Lnet/minecraft/class_259;method_1083(Lnet/minecraft/class_265;Lnet/minecraft/class_265;Lnet/minecraft/class_2350;)Z
      official a Lfgt;a(Lfgw;Lfgw;Ljc;)Z
    • adjacentSidesCoverSquare Link icon

      public static boolean adjacentSidesCoverSquare(VoxelShape one, VoxelShape two, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      named adjacentSidesCoverSquare Lnet/minecraft/util/shape/VoxelShapes;adjacentSidesCoverSquare(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Direction;)Z
      intermediary method_1080 Lnet/minecraft/class_259;method_1080(Lnet/minecraft/class_265;Lnet/minecraft/class_265;Lnet/minecraft/class_2350;)Z
      official b Lfgt;b(Lfgw;Lfgw;Ljc;)Z
    • unionCoversFullCube Link icon

      public static boolean unionCoversFullCube(VoxelShape one, VoxelShape two)
      Mappings:
      Namespace Name Mixin selector
      named unionCoversFullCube Lnet/minecraft/util/shape/VoxelShapes;unionCoversFullCube(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;)Z
      intermediary method_20713 Lnet/minecraft/class_259;method_20713(Lnet/minecraft/class_265;Lnet/minecraft/class_265;)Z
      official b Lfgt;b(Lfgw;Lfgw;)Z
    • createListPair Link icon

      protected static PairList createListPair(int size, DoubleList first, DoubleList second, boolean includeFirst, boolean includeSecond)
      Mappings:
      Namespace Name Mixin selector
      named createListPair Lnet/minecraft/util/shape/VoxelShapes;createListPair(ILit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;ZZ)Lnet/minecraft/util/shape/PairList;
      intermediary method_1069 Lnet/minecraft/class_259;method_1069(ILit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;ZZ)Lnet/minecraft/class_255;
      official a Lfgt;a(ILit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;ZZ)Lfgo;
    • transform Link icon

      public static VoxelShape transform(VoxelShape shape, DirectionTransformation transformation)
      Mappings:
      Namespace Name Mixin selector
      named transform Lnet/minecraft/util/shape/VoxelShapes;transform(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/DirectionTransformation;)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_66496 Lnet/minecraft/class_259;method_66496(Lnet/minecraft/class_265;Lnet/minecraft/class_4990;)Lnet/minecraft/class_265;
      official a Lfgt;a(Lfgw;Lh;)Lfgw;
    • transform Link icon

      public static VoxelShape transform(VoxelShape shape, DirectionTransformation transformation, Vec3d anchor)
      Mappings:
      Namespace Name Mixin selector
      named transform Lnet/minecraft/util/shape/VoxelShapes;transform(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/DirectionTransformation;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_66497 Lnet/minecraft/class_259;method_66497(Lnet/minecraft/class_265;Lnet/minecraft/class_4990;Lnet/minecraft/class_243;)Lnet/minecraft/class_265;
      official a Lfgt;a(Lfgw;Lh;Lfgc;)Lfgw;
    • transform Link icon

      static DoubleList transform(DoubleList pointPositions, boolean flip, double component, double anchor)
      Mappings:
      Namespace Name Mixin selector
      named transform Lnet/minecraft/util/shape/VoxelShapes;transform(Lit/unimi/dsi/fastutil/doubles/DoubleList;ZDD)Lit/unimi/dsi/fastutil/doubles/DoubleList;
      intermediary method_66498 Lnet/minecraft/class_259;method_66498(Lit/unimi/dsi/fastutil/doubles/DoubleList;ZDD)Lit/unimi/dsi/fastutil/doubles/DoubleList;
      official a Lfgt;a(Lit/unimi/dsi/fastutil/doubles/DoubleList;ZDD)Lit/unimi/dsi/fastutil/doubles/DoubleList;
    • equal Link icon

      public static boolean equal(VoxelShape shape1, VoxelShape shape2)
      Mappings:
      Namespace Name Mixin selector
      named equal Lnet/minecraft/util/shape/VoxelShapes;equal(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;)Z
      intermediary method_66503 Lnet/minecraft/class_259;method_66503(Lnet/minecraft/class_265;Lnet/minecraft/class_265;)Z
      official c Lfgt;c(Lfgw;Lfgw;)Z
    • createHorizontalAxisShapeMap Link icon

      public static Map<Direction.Axis,VoxelShape> createHorizontalAxisShapeMap(VoxelShape shape)
      Mappings:
      Namespace Name Mixin selector
      named createHorizontalAxisShapeMap Lnet/minecraft/util/shape/VoxelShapes;createHorizontalAxisShapeMap(Lnet/minecraft/util/shape/VoxelShape;)Ljava/util/Map;
      intermediary method_66494 Lnet/minecraft/class_259;method_66494(Lnet/minecraft/class_265;)Ljava/util/Map;
      official a Lfgt;a(Lfgw;)Ljava/util/Map;
    • createHorizontalAxisShapeMap Link icon

      public static Map<Direction.Axis,VoxelShape> createHorizontalAxisShapeMap(VoxelShape shape, Vec3d anchor)
      Mappings:
      Namespace Name Mixin selector
      named createHorizontalAxisShapeMap Lnet/minecraft/util/shape/VoxelShapes;createHorizontalAxisShapeMap(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Vec3d;)Ljava/util/Map;
      intermediary method_66495 Lnet/minecraft/class_259;method_66495(Lnet/minecraft/class_265;Lnet/minecraft/class_243;)Ljava/util/Map;
      official a Lfgt;a(Lfgw;Lfgc;)Ljava/util/Map;
    • createAxisShapeMap Link icon

      public static Map<Direction.Axis,VoxelShape> createAxisShapeMap(VoxelShape shape)
      Mappings:
      Namespace Name Mixin selector
      named createAxisShapeMap Lnet/minecraft/util/shape/VoxelShapes;createAxisShapeMap(Lnet/minecraft/util/shape/VoxelShape;)Ljava/util/Map;
      intermediary method_66499 Lnet/minecraft/class_259;method_66499(Lnet/minecraft/class_265;)Ljava/util/Map;
      official b Lfgt;b(Lfgw;)Ljava/util/Map;
    • createAxisShapeMap Link icon

      public static Map<Direction.Axis,VoxelShape> createAxisShapeMap(VoxelShape shape, Vec3d anchor)
      Mappings:
      Namespace Name Mixin selector
      named createAxisShapeMap Lnet/minecraft/util/shape/VoxelShapes;createAxisShapeMap(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Vec3d;)Ljava/util/Map;
      intermediary method_66500 Lnet/minecraft/class_259;method_66500(Lnet/minecraft/class_265;Lnet/minecraft/class_243;)Ljava/util/Map;
      official b Lfgt;b(Lfgw;Lfgc;)Ljava/util/Map;
    • createHorizontalFacingShapeMap Link icon

      public static Map<Direction,VoxelShape> createHorizontalFacingShapeMap(VoxelShape shape)
      Mappings:
      Namespace Name Mixin selector
      named createHorizontalFacingShapeMap Lnet/minecraft/util/shape/VoxelShapes;createHorizontalFacingShapeMap(Lnet/minecraft/util/shape/VoxelShape;)Ljava/util/Map;
      intermediary method_66501 Lnet/minecraft/class_259;method_66501(Lnet/minecraft/class_265;)Ljava/util/Map;
      official c Lfgt;c(Lfgw;)Ljava/util/Map;
    • createHorizontalFacingShapeMap Link icon

      public static Map<Direction,VoxelShape> createHorizontalFacingShapeMap(VoxelShape shape, Vec3d anchor)
      Mappings:
      Namespace Name Mixin selector
      named createHorizontalFacingShapeMap Lnet/minecraft/util/shape/VoxelShapes;createHorizontalFacingShapeMap(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Vec3d;)Ljava/util/Map;
      intermediary method_66502 Lnet/minecraft/class_259;method_66502(Lnet/minecraft/class_265;Lnet/minecraft/class_243;)Ljava/util/Map;
      official c Lfgt;c(Lfgw;Lfgc;)Ljava/util/Map;
    • createFacingShapeMap Link icon

      public static Map<Direction,VoxelShape> createFacingShapeMap(VoxelShape shape)
      Mappings:
      Namespace Name Mixin selector
      named createFacingShapeMap Lnet/minecraft/util/shape/VoxelShapes;createFacingShapeMap(Lnet/minecraft/util/shape/VoxelShape;)Ljava/util/Map;
      intermediary method_66504 Lnet/minecraft/class_259;method_66504(Lnet/minecraft/class_265;)Ljava/util/Map;
      official d Lfgt;d(Lfgw;)Ljava/util/Map;
    • createFacingShapeMap Link icon

      public static Map<Direction,VoxelShape> createFacingShapeMap(VoxelShape shape, Vec3d anchor)
      Mappings:
      Namespace Name Mixin selector
      named createFacingShapeMap Lnet/minecraft/util/shape/VoxelShapes;createFacingShapeMap(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Vec3d;)Ljava/util/Map;
      intermediary method_66505 Lnet/minecraft/class_259;method_66505(Lnet/minecraft/class_265;Lnet/minecraft/class_243;)Ljava/util/Map;
      official d Lfgt;d(Lfgw;Lfgc;)Ljava/util/Map;
    • createBlockFaceHorizontalFacingShapeMap Link icon

      public static Map<BlockFace,Map<Direction,VoxelShape>> createBlockFaceHorizontalFacingShapeMap(VoxelShape shape)
      Mappings:
      Namespace Name Mixin selector
      named createBlockFaceHorizontalFacingShapeMap Lnet/minecraft/util/shape/VoxelShapes;createBlockFaceHorizontalFacingShapeMap(Lnet/minecraft/util/shape/VoxelShape;)Ljava/util/Map;
      intermediary method_66506 Lnet/minecraft/class_259;method_66506(Lnet/minecraft/class_265;)Ljava/util/Map;
      official e Lfgt;e(Lfgw;)Ljava/util/Map;