Uses of Class
net.minecraft.world.phys.shapes.DiscreteVoxelShape
Packages that use DiscreteVoxelShape
Package
Description
-
Uses of DiscreteVoxelShape in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as DiscreteVoxelShapeModifier and TypeFieldDescription(package private) final DiscreteVoxelShape
LightSectionDebugRenderer.SectionData.lightAndBlocksShape
(package private) final DiscreteVoxelShape
LightSectionDebugRenderer.SectionData.lightShape
Methods in net.minecraft.client.renderer.debug with parameters of type DiscreteVoxelShapeModifier and TypeMethodDescriptionprivate static void
LightSectionDebugRenderer.renderEdges
(PoseStack poseStack, DiscreteVoxelShape shape, SectionPos pos, MultiBufferSource bufferSource, double camX, double camY, double camZ, org.joml.Vector4f color) private static void
LightSectionDebugRenderer.renderFaces
(PoseStack poseStack, DiscreteVoxelShape shape, SectionPos pos, VertexConsumer buffer, double camX, double camY, double camZ, org.joml.Vector4f color) -
Uses of DiscreteVoxelShape in net.minecraft.world.level.levelgen.feature
Methods in net.minecraft.world.level.levelgen.feature that return DiscreteVoxelShapeModifier and TypeMethodDescriptionprivate static DiscreteVoxelShape
TreeFeature.updateLeaves
(LevelAccessor level, BoundingBox box, Set<BlockPos> rootPositions, Set<BlockPos> trunkPositions, Set<BlockPos> foliagePositions) -
Uses of DiscreteVoxelShape in net.minecraft.world.level.levelgen.structure.templatesystem
Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type DiscreteVoxelShapeModifier and TypeMethodDescriptionstatic void
StructureTemplate.updateShapeAtEdge
(LevelAccessor level, int flags, DiscreteVoxelShape shape, int x, int y, int z) static void
StructureTemplate.updateShapeAtEdge
(LevelAccessor level, int flags, DiscreteVoxelShape shape, BlockPos pos) -
Uses of DiscreteVoxelShape in net.minecraft.world.phys.shapes
Subclasses of DiscreteVoxelShape in net.minecraft.world.phys.shapesFields in net.minecraft.world.phys.shapes declared as DiscreteVoxelShapeModifier and TypeFieldDescriptionprivate final DiscreteVoxelShape
SubShape.parent
protected final DiscreteVoxelShape
VoxelShape.shape
Methods in net.minecraft.world.phys.shapes that return DiscreteVoxelShapeModifier and TypeMethodDescriptionprivate static DiscreteVoxelShape
SliceShape.makeSlice
(DiscreteVoxelShape shape, Direction.Axis axis, int index) Methods in net.minecraft.world.phys.shapes with parameters of type DiscreteVoxelShapeModifier and TypeMethodDescriptionprotected static void
BitSetDiscreteVoxelShape.forAllBoxes
(DiscreteVoxelShape shape, DiscreteVoxelShape.IntLineConsumer consumer, boolean combine) (package private) static BitSetDiscreteVoxelShape
BitSetDiscreteVoxelShape.join
(DiscreteVoxelShape mainShape, DiscreteVoxelShape secondaryShape, IndexMerger mergerX, IndexMerger mergerY, IndexMerger mergerZ, BooleanOp operator) private static boolean
Shapes.joinIsNotEmpty
(IndexMerger mergerX, IndexMerger mergerY, IndexMerger mergerZ, DiscreteVoxelShape primaryShape, DiscreteVoxelShape secondaryShape, BooleanOp resultOperator) private static DiscreteVoxelShape
SliceShape.makeSlice
(DiscreteVoxelShape shape, Direction.Axis axis, int index) Constructors in net.minecraft.world.phys.shapes with parameters of type DiscreteVoxelShapeModifierConstructorDescriptionprotected
ArrayVoxelShape
(DiscreteVoxelShape shape, double[] xs, double[] ys, double[] zs) (package private)
ArrayVoxelShape
(DiscreteVoxelShape shape, it.unimi.dsi.fastutil.doubles.DoubleList xs, it.unimi.dsi.fastutil.doubles.DoubleList ys, it.unimi.dsi.fastutil.doubles.DoubleList zs) protected
CubeVoxelShape
(DiscreteVoxelShape shape) protected
SubShape
(DiscreteVoxelShape parent, int startX, int startY, int startZ, int endX, int endY, int endZ) protected
VoxelShape
(DiscreteVoxelShape shape)