Uses of Class
net.minecraft.util.shape.VoxelShape
Packages that use VoxelShape
Package
Description
-
Uses of VoxelShape in net.minecraft.block
Fields in net.minecraft.block declared as VoxelShapeModifier and TypeFieldDescriptionprivate static final VoxelShape
PitcherCropBlock.AGE_0_SHAPE
private static final VoxelShape
AbstractRailBlock.ASCENDING_SHAPE
private static final VoxelShape
TripwireBlock.ATTACHED_SHAPE
protected static final VoxelShape
AbstractFireBlock.BASE_SHAPE
private static final VoxelShape
LecternBlock.BASE_SHAPE
private static final VoxelShape
PistonHeadBlock.BASE_SHAPE
private static final VoxelShape
PointedDripstoneBlock.BASE_SHAPE
private static final VoxelShape
BellBlock.BELL_SHAPE
private static final VoxelShape
ScaffoldingBlock.BOTTOM_OUTLINE_SHAPE
private static final VoxelShape
SlabBlock.BOTTOM_SHAPE
private static final VoxelShape
BellBlock.CEILING_SHAPE
private static final VoxelShape
CactusBlock.COLLISION_SHAPE
static final VoxelShape
FluidBlock.COLLISION_SHAPE
private static final VoxelShape
MudBlock.COLLISION_SHAPE
private static final VoxelShape
ScaffoldingBlock.COLLISION_SHAPE
private static final VoxelShape
SoulSandBlock.COLLISION_SHAPE
private static final VoxelShape[]
ComposterBlock.COLLISION_SHAPES_BY_LEVEL
protected final VoxelShape
AbstractBlock.AbstractBlockState.ShapeCache.collisionShape
private VoxelShape[]
AbstractBlock.AbstractBlockState.cullingFaces
private VoxelShape
AbstractBlock.AbstractBlockState.cullingShape
private static final VoxelShape
AbstractPressurePlateBlock.DEFAULT_SHAPE
private static final VoxelShape
HangingSignBlock.DEFAULT_SHAPE
private static final VoxelShape
PointedDripstoneBlock.DOWN_TIP_SHAPE
private static final VoxelShape
PointedDripstoneBlock.DRIP_COLLISION_SHAPE
private static final VoxelShape[]
AbstractBlock.AbstractBlockState.EMPTY_CULLING_FACES
private static final VoxelShape
PowderSnowBlock.FALLING_SHAPE
private final VoxelShape
Block.VoxelShapePair.first
The field for thefirst
record component.private static final VoxelShape
SeaPickleBlock.FOUR_PICKLES_SHAPE
private static final VoxelShape
EndPortalFrameBlock.FRAME_SHAPE
private static final VoxelShape
EndPortalFrameBlock.FRAME_WITH_EYE_SHAPE
private static final VoxelShape
PointedDripstoneBlock.FRUSTUM_SHAPE
private static final VoxelShape[]
AbstractBlock.AbstractBlockState.FULL_CULLING_FACES
private static final VoxelShape
LanternBlock.HANGING_SHAPE
private static final VoxelShape
StairsBlock.INNER_SHAPE
private static final VoxelShape
LavaCauldronBlock.INSIDE_COLLISION_SHAPE
private static final VoxelShape[]
LeveledCauldronBlock.INSIDE_COLLISION_SHAPE_BY_LEVEL
private static final VoxelShape
BambooBlock.LARGE_LEAVES_SHAPE
private static final VoxelShape
SweetBerryBushBlock.LARGE_SHAPE
private static final VoxelShape
LavaCauldronBlock.LAVA_SHAPE
private static final VoxelShape
PitcherCropBlock.LOWER_COLLISION_SHAPE
private static final VoxelShape
PointedDripstoneBlock.MIDDLE_SHAPE
private static final VoxelShape
TurtleEggBlock.MULTIPLE_SHAPE
private static final VoxelShape
BambooBlock.NO_LEAVES_SHAPE
private static final VoxelShape
ScaffoldingBlock.NORMAL_OUTLINE_SHAPE
private static final VoxelShape
SeaPickleBlock.ONE_PICKLE_SHAPE
private static final VoxelShape
StairsBlock.OUTER_SHAPE
protected static final VoxelShape
AbstractCauldronBlock.OUTLINE_SHAPE
private static final VoxelShape
CactusBlock.OUTLINE_SHAPE
private static final VoxelShape
HeavyCoreBlock.OUTLINE_SHAPE
private static final VoxelShape
ScaffoldingBlock.OUTLINE_SHAPE
private static final VoxelShape
SculkSensorBlock.OUTLINE_SHAPE
protected final VoxelShape
AbstractPlantPartBlock.outlineShape
private static final VoxelShape
SkullBlock.PIGLIN_SHAPE
private static final VoxelShape
WallBlock.POST_SHAPE_FOR_TALL_TEST
private static final VoxelShape
AbstractPressurePlateBlock.PRESSED_SHAPE
private static final VoxelShape
AbstractCauldronBlock.RAYCAST_SHAPE
private final VoxelShape
Block.VoxelShapePair.second
The field for thesecond
record component.private static final VoxelShape
AbstractCoralBlock.SHAPE
private static final VoxelShape
AbstractRedstoneGateBlock.SHAPE
private static final VoxelShape
AbstractSignBlock.SHAPE
private static final VoxelShape
AbstractTorchBlock.SHAPE
private static final VoxelShape
AzaleaBlock.SHAPE
private static final VoxelShape
BambooShootBlock.SHAPE
private static final VoxelShape
BannerBlock.SHAPE
private static final VoxelShape
BrewingStandBlock.SHAPE
private static final VoxelShape
BushBlock.SHAPE
private static final VoxelShape
CactusFlowerBlock.SHAPE
private static final VoxelShape
CampfireBlock.SHAPE
private static final VoxelShape
CandleCakeBlock.SHAPE
private static final VoxelShape
CarpetBlock.SHAPE
static final VoxelShape
CaveVines.SHAPE
private static final VoxelShape
ChorusFlowerBlock.SHAPE
private static final VoxelShape
ConduitBlock.SHAPE
private static final VoxelShape
CoralBlock.SHAPE
private static final VoxelShape
DaylightDetectorBlock.SHAPE
private static final VoxelShape
DeadCoralBlock.SHAPE
private static final VoxelShape
DeadCoralFanBlock.SHAPE
private static final VoxelShape
DecoratedPotBlock.SHAPE
private static final VoxelShape
DirtPathBlock.SHAPE
private static final VoxelShape
DragonEggBlock.SHAPE
private static final VoxelShape
DriedGhastBlock.SHAPE
private static final VoxelShape
DryVegetationBlock.SHAPE
private static final VoxelShape
EnchantingTableBlock.SHAPE
private static final VoxelShape
EnderChestBlock.SHAPE
private static final VoxelShape
EndPortalBlock.SHAPE
private static final VoxelShape
FarmlandBlock.SHAPE
private static final VoxelShape
FlowerBlock.SHAPE
private static final VoxelShape
FlowerPotBlock.SHAPE
private static final VoxelShape
FrogspawnBlock.SHAPE
private static final VoxelShape
FungusBlock.SHAPE
private static final VoxelShape
HangingMossBlock.SHAPE
private static final VoxelShape
HangingRootsBlock.SHAPE
private static final VoxelShape
HoneyBlock.SHAPE
private static final VoxelShape
KelpBlock.SHAPE
private static final VoxelShape
LilyPadBlock.SHAPE
private static final VoxelShape
MushroomPlantBlock.SHAPE
private static final VoxelShape
RootsBlock.SHAPE
private static final VoxelShape
SaplingBlock.SHAPE
private static final VoxelShape
SculkShriekerBlock.SHAPE
private static final VoxelShape
SeagrassBlock.SHAPE
private static final VoxelShape
ShortDryGrassBlock.SHAPE
private static final VoxelShape
ShortPlantBlock.SHAPE
private static final VoxelShape
SkullBlock.SHAPE
private static final VoxelShape
SmallDripleafBlock.SHAPE
private static final VoxelShape
SnifferEggBlock.SHAPE
private static final VoxelShape
SporeBlossomBlock.SHAPE
private static final VoxelShape
SproutsBlock.SHAPE
private static final VoxelShape
StonecutterBlock.SHAPE
private static final VoxelShape
StructureVoidBlock.SHAPE
private static final VoxelShape
SugarCaneBlock.SHAPE
private static final VoxelShape
TallDryGrassBlock.SHAPE
private static final VoxelShape
TallSeagrassBlock.SHAPE
private static final VoxelShape
TwistingVinesBlock.SHAPE
private static final VoxelShape
TwistingVinesPlantBlock.SHAPE
private static final VoxelShape
WeepingVinesBlock.SHAPE
private static final VoxelShape
WeepingVinesPlantBlock.SHAPE
private static final VoxelShape[]
BeetrootsBlock.SHAPES_BY_AGE
private static final VoxelShape[]
CarrotsBlock.SHAPES_BY_AGE
private static final VoxelShape[]
CropBlock.SHAPES_BY_AGE
private static final VoxelShape[]
NetherWartBlock.SHAPES_BY_AGE
private static final VoxelShape[]
PotatoesBlock.SHAPES_BY_AGE
private static final VoxelShape[]
PropaguleBlock.SHAPES_BY_AGE
private static final VoxelShape[]
StemBlock.SHAPES_BY_AGE
private static final VoxelShape[]
TorchflowerBlock.SHAPES_BY_AGE
private static final VoxelShape[]
CakeBlock.SHAPES_BY_BITES
private static final VoxelShape[]
CandleBlock.SHAPES_BY_CANDLES
private static final VoxelShape[]
SnowBlock.SHAPES_BY_LAYERS
private static final VoxelShape
ChestBlock.SINGLE_SHAPE
private static final VoxelShape
TurtleEggBlock.SINGLE_SHAPE
private static final VoxelShape
BambooBlock.SMALL_LEAVES_SHAPE
private static final VoxelShape
SweetBerryBushBlock.SMALL_SHAPE
private static final VoxelShape
CampfireBlock.SMOKEY_SHAPE
The shape used to test whether a given block is considered 'smokey'.private static final VoxelShape
LanternBlock.STANDING_SHAPE
private static final VoxelShape
AbstractRailBlock.STRAIGHT_SHAPE
private static final VoxelShape
StairsBlock.STRAIGHT_SHAPE
private static final VoxelShape
SeaPickleBlock.THREE_PICKLES_SHAPE
private static final VoxelShape
PointedDripstoneBlock.TIP_MERGE_SHAPE
private static final VoxelShape
HangingMossBlock.TIP_SHAPE
private static final VoxelShape
SlabBlock.TOP_SHAPE
private static final VoxelShape
SeaPickleBlock.TWO_PICKLES_SHAPE
private static final VoxelShape
TripwireBlock.UNATTACHED_SHAPE
private static final VoxelShape
PointedDripstoneBlock.UP_TIP_SHAPE
Fields in net.minecraft.block with type parameters of type VoxelShapeModifier and TypeFieldDescriptionprivate static final Map
<Direction.Axis, VoxelShape> FenceGateBlock.CLOSED_COLLISION_SHAPES
private static final Map
<Direction.Axis, VoxelShape> FenceGateBlock.CLOSED_SIDES_SHAPES
private static final Map
<Direction.Axis, VoxelShape> WallHangingSignBlock.COLLISION_SHAPES_BY_AXIS
private final Function
<BlockState, VoxelShape> HorizontalConnectingBlock.collisionShapeFunction
private final Function
<BlockState, VoxelShape> WallBlock.collisionShapeFunction
private final Function
<BlockState, VoxelShape> FenceBlock.cullingShapeFunction
private static final Map
<Direction, VoxelShape> ChestBlock.DOUBLE_SHAPES_BY_DIRECTION
private static final Map
<Direction.Axis, VoxelShape> BellBlock.DOUBLE_WALL_SHAPES
private static final Map
<Direction, VoxelShape> PistonBlock.EXTENDED_SHAPES_BY_DIRECTION
private static final Map
<Direction.Axis, VoxelShape> BellBlock.FLOOR_SHAPES
private static final LoadingCache
<VoxelShape, Boolean> Block.FULL_CUBE_SHAPE_CACHE
private static final Map
<Direction.Axis, VoxelShape> FenceGateBlock.IN_WALL_CULLING_SHAPES
private static final Map
<Direction.Axis, VoxelShape> FenceGateBlock.IN_WALL_OUTLINE_SHAPES
private static final Map
<Direction, VoxelShape> StairsBlock.INNER_BOTTOM_SHAPES
private static final Map
<Direction, VoxelShape> StairsBlock.INNER_TOP_SHAPES
private static final Map
<Direction, VoxelShape> PistonHeadBlock.LONG_SHAPES
private static final Map
<Direction, VoxelShape> StairsBlock.OUTER_BOTTOM_SHAPES
private static final Map
<Direction, VoxelShape> StairsBlock.OUTER_TOP_SHAPES
private static final Map
<Direction.Axis, VoxelShape> WallHangingSignBlock.OUTLINE_SHAPES_BY_AXIS
private static final Map
<Direction, VoxelShape> LecternBlock.OUTLINE_SHAPES_BY_DIRECTION
private final Function
<BlockState, VoxelShape> HorizontalConnectingBlock.outlineShapeFunction
private final Function
<BlockState, VoxelShape> WallBlock.outlineShapeFunction
private static final Map
<Direction.Axis, VoxelShape> FenceGateBlock.REGULAR_CULLING_SHAPES
private static final Map
<Direction.Axis, VoxelShape> FenceGateBlock.REGULAR_OUTLINE_SHAPES
private static final Map
<Direction, VoxelShape> TrapdoorBlock.shapeByDirection
private final Function
<BlockState, VoxelShape> BigDripleafBlock.shapeFunction
private final Function
<BlockState, VoxelShape> ButtonBlock.shapeFunction
private final Function
<BlockState, VoxelShape> ConnectingBlock.shapeFunction
private final Function
<BlockState, VoxelShape> FireBlock.shapeFunction
private final Function
<BlockState, VoxelShape> FlowerbedBlock.shapeFunction
private final Function
<BlockState, VoxelShape> GrindstoneBlock.shapeFunction
private final Function
<BlockState, VoxelShape> HopperBlock.shapeFunction
private final Function
<BlockState, VoxelShape> LeafLitterBlock.shapeFunction
private final Function
<BlockState, VoxelShape> LeverBlock.shapeFunction
private final Function
<BlockState, VoxelShape> MultifaceBlock.shapeFunction
private final Function
<BlockState, VoxelShape> PaleMossCarpetBlock.shapeFunction
private final Function
<BlockState, VoxelShape> PitcherCropBlock.shapeFunction
private final Function
<BlockState, VoxelShape> RedstoneWireBlock.shapeFunction
private final Function
<BlockState, VoxelShape> VineBlock.shapeFunction
private static final List
<Map<Direction, VoxelShape>> CocoaBlock.SHAPES
private static final Map
<Direction, VoxelShape> WallPiglinHeadBlock.SHAPES
private static final Map
<Direction.Axis, VoxelShape> AnvilBlock.SHAPES_BY_AXIS
private static final Map
<Direction.Axis, VoxelShape> ChainBlock.SHAPES_BY_AXIS
private static final Map
<Direction.Axis, VoxelShape> NetherPortalBlock.SHAPES_BY_AXIS
private static final Map
<Direction.Axis, VoxelShape> RodBlock.SHAPES_BY_AXIS
private static final Map
<Direction, VoxelShape> AttachedStemBlock.SHAPES_BY_DIRECTION
private static final Map
<Direction, VoxelShape> BedBlock.SHAPES_BY_DIRECTION
private static final Map
<Direction, VoxelShape> BigDripleafStemBlock.SHAPES_BY_DIRECTION
private static final Map
<Direction, VoxelShape> DeadCoralWallFanBlock.SHAPES_BY_DIRECTION
private static final Map
<Direction, VoxelShape> DoorBlock.SHAPES_BY_DIRECTION
static final Map
<Direction, VoxelShape> LadderBlock.SHAPES_BY_DIRECTION
static final Map
<Direction, VoxelShape> ShulkerBoxBlock.SHAPES_BY_DIRECTION
private static final Map
<Direction, VoxelShape> TripwireHookBlock.SHAPES_BY_DIRECTION
private static final Map
<Direction, VoxelShape> WallBannerBlock.SHAPES_BY_DIRECTION
private static final Map
<Direction, VoxelShape> WallSignBlock.SHAPES_BY_DIRECTION
private static final Map
<Direction, VoxelShape> WallSkullBlock.SHAPES_BY_DIRECTION
private static final Map
<Direction, VoxelShape> WallTorchBlock.SHAPES_BY_DIRECTION
private static final Map
<Integer, VoxelShape> HangingSignBlock.SHAPES_BY_ROTATION
private static final Map
<Tilt, VoxelShape> BigDripleafBlock.SHAPES_BY_TILT
private final Map
<Direction, VoxelShape> AmethystClusterBlock.shapesByDirection
private final Map
<Direction, VoxelShape> HopperBlock.shapesByDirection
private static final Map
<Direction, VoxelShape> PistonHeadBlock.SHORT_SHAPES
private static final Map
<Direction, VoxelShape> BellBlock.SINGLE_WALL_SHAPES
private static final Map
<Direction, VoxelShape> StairsBlock.STRAIGHT_BOTTOM_SHAPES
private static final Map
<Direction, VoxelShape> StairsBlock.STRAIGHT_TOP_SHAPES
private static final Map
<Direction, VoxelShape> WallBlock.WALL_SHAPES_FOR_TALL_TEST_BY_DIRECTION
Methods in net.minecraft.block that return VoxelShapeModifier and TypeMethodDescriptionstatic VoxelShape
Block.createColumnShape
(double sizeXz, double minY, double maxY) static VoxelShape
Block.createColumnShape
(double sizeX, double sizeZ, double minY, double maxY) static VoxelShape
Block.createCubeShape
(double size) static VoxelShape
Block.createCuboidShape
(double sizeX, double sizeY, double sizeZ) static VoxelShape
Block.createCuboidShape
(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) static VoxelShape
Block.createCuboidZShape
(double sizeXy, double minZ, double maxZ) static VoxelShape
Block.createCuboidZShape
(double sizeX, double sizeY, double minZ, double maxZ) static VoxelShape
Block.createCuboidZShape
(double sizeX, double minY, double maxY, double minZ, double maxZ) static VoxelShape[]
Block.createShapeArray
(int size, IntFunction<VoxelShape> indexToShape) Block.VoxelShapePair.first()
Returns the value of thefirst
record component.static VoxelShape
WallTorchBlock.getBoundingShape
(BlockState state) AbstractBlock.AbstractBlockState.getCameraCollisionShape
(BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FenceBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MudBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PaneBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PowderSnowBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SnowBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SoulSandBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TransparentBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractBlock.AbstractBlockState.getCollisionShape
(BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getCollisionShape
(BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BambooBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BellBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BigDripleafBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CactusBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ComposterBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EntityShapeContext.getCollisionShape
(BlockState state, CollisionView world, BlockPos pos) ExperimentalMinecartShapeContext.getCollisionShape
(BlockState state, CollisionView world, BlockPos pos) protected VoxelShape
FenceGateBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FluidBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
GrindstoneBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HoneyBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HorizontalConnectingBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LecternBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MudBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PaleMossCarpetBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonExtensionBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PitcherCropBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PowderSnowBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ScaffoldingBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SculkShriekerBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ShapeContext.getCollisionShape
(BlockState state, CollisionView world, BlockPos pos) protected VoxelShape
SnowBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SoulSandBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallHangingSignBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractBlock.AbstractBlockState.getCullingFace
(Direction direction) AbstractBlock.AbstractBlockState.getCullingShape()
protected VoxelShape
AbstractBlock.getCullingShape
(BlockState state) protected VoxelShape
FenceBlock.getCullingShape
(BlockState state) protected VoxelShape
FenceGateBlock.getCullingShape
(BlockState state) protected VoxelShape
LecternBlock.getCullingShape
(BlockState state) protected VoxelShape
PaleMossCarpetBlock.getCullingShape
(BlockState state) protected VoxelShape
PointedDripstoneBlock.getCullingShape
(BlockState state) protected VoxelShape
SculkShriekerBlock.getCullingShape
(BlockState state) protected VoxelShape
SkullBlock.getCullingShape
(BlockState state) AbstractBlock.AbstractBlockState.getInsideCollisionShape
(BlockView blockView, BlockPos pos, Entity entity) protected VoxelShape
AbstractBlock.getInsideCollisionShape
(BlockState state, BlockView world, BlockPos pos, Entity entity) protected VoxelShape
EndPortalBlock.getInsideCollisionShape
(BlockState state, BlockView world, BlockPos pos, Entity entity) protected VoxelShape
LavaCauldronBlock.getInsideCollisionShape
(BlockState state, BlockView world, BlockPos pos, Entity entity) protected VoxelShape
LeveledCauldronBlock.getInsideCollisionShape
(BlockState state, BlockView world, BlockPos pos, Entity entity) protected VoxelShape
PowderSnowBlock.getInsideCollisionShape
(BlockState state, BlockView world, BlockPos pos, Entity entity) protected VoxelShape
TripwireBlock.getInsideCollisionShape
(BlockState state, BlockView world, BlockPos pos, Entity entity) AbstractBlock.AbstractBlockState.getOutlineShape
(BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getOutlineShape
(BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractCauldronBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractCoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractFireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractPlantPartBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractPressurePlateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractRailBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractRedstoneGateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AirBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AmethystClusterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AnvilBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AttachedStemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AzaleaBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BambooBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BambooShootBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BannerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BedBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BeetrootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BellBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BigDripleafBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BigDripleafStemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BrewingStandBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BubbleColumnBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BushBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ButtonBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CactusBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CactusFlowerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CakeBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CampfireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CandleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CandleCakeBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CarpetBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CarrotsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ChainBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ChestBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CocoaBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ComposterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ConduitBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ConnectingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CropBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DaylightDetectorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DeadCoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DeadCoralFanBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DeadCoralWallFanBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DecoratedPotBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DirtPathBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DoorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DragonEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DriedGhastBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DryVegetationBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EnchantingTableBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EnderChestBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EndPortalBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EndPortalFrameBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FarmlandBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FenceGateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FlowerbedBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FlowerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FlowerPotBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FluidBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FrogspawnBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FungusBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
GrindstoneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HangingMossBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HangingRootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HangingSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HeavyCoreBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HopperBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HorizontalConnectingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LadderBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LanternBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LeafLitterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LecternBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LeverBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LightBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LilyPadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MultifaceBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MushroomPlantBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
NetherPortalBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
NetherWartBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PaleMossCarpetBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonExtensionBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonHeadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PitcherCropBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PointedDripstoneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PotatoesBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PropaguleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
RedstoneWireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
RodBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
RootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SaplingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ScaffoldingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SculkSensorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SeagrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SeaPickleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ShortDryGrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ShortPlantBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ShulkerBoxBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SkullBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SlabBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SmallDripleafBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnifferEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SnowBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SporeBlossomBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SproutsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StairsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StonecutterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StructureVoidBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SugarCaneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SweetBerryBushBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TallDryGrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TallSeagrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TorchflowerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TrapdoorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TripwireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TripwireHookBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TurtleEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
VineBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallBannerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallHangingSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallPiglinHeadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallRedstoneTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallSkullBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractBlock.AbstractBlockState.getRaycastShape
(BlockView world, BlockPos pos) protected VoxelShape
AbstractBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
AbstractCauldronBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
ComposterBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
HopperBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
ScaffoldingBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) private VoxelShape
BellBlock.getShape
(BlockState state) private VoxelShape
GrindstoneBlock.getShape
(BlockState state) AbstractBlock.AbstractBlockState.getSidesShape
(BlockView world, BlockPos pos) protected VoxelShape
AbstractBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) ChorusFlowerBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
FenceGateBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
HangingSignBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
LeavesBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
MudBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
ShulkerBoxBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
SnowBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
SoulSandBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
WallHangingSignBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) Block.VoxelShapePair.second()
Returns the value of thesecond
record component.Methods in net.minecraft.block that return types with arguments of type VoxelShapeModifier and TypeMethodDescriptionprivate Function
<BlockState, VoxelShape> BigDripleafBlock.createShapeFunction()
protected Function
<BlockState, VoxelShape> Block.createShapeFunction
(Function<BlockState, VoxelShape> stateToShape) protected Function
<BlockState, VoxelShape> Block.createShapeFunction
(Function<BlockState, VoxelShape> stateToShape, Property<?>[] properties) private Function
<BlockState, VoxelShape> ButtonBlock.createShapeFunction()
private Function
<BlockState, VoxelShape> ConnectingBlock.createShapeFunction
(float radius) private Function
<BlockState, VoxelShape> FireBlock.createShapeFunction()
private Function
<BlockState, VoxelShape> FlowerbedBlock.createShapeFunction()
private Function
<BlockState, VoxelShape> GrindstoneBlock.createShapeFunction()
private Function
<BlockState, VoxelShape> HopperBlock.createShapeFunction
(VoxelShape shape) protected Function
<BlockState, VoxelShape> HorizontalConnectingBlock.createShapeFunction
(float radius1, float radius2, float height1, float offset2, float height2) private Function
<BlockState, VoxelShape> LeafLitterBlock.createShapeFunction()
private Function
<BlockState, VoxelShape> LeverBlock.createShapeFunction()
private Function
<BlockState, VoxelShape> MultifaceBlock.createShapeFunction()
PaleMossCarpetBlock.createShapeFunction()
private Function
<BlockState, VoxelShape> PitcherCropBlock.createShapeFunction()
private Function
<BlockState, VoxelShape> RedstoneWireBlock.createShapeFunction()
default Function
<BlockState, VoxelShape> Segmented.createShapeFunction
(EnumProperty<Direction> directionProperty, IntProperty segmentAmountProperty) private Function
<BlockState, VoxelShape> VineBlock.createShapeFunction()
private Function
<BlockState, VoxelShape> WallBlock.createShapeFunction
(float tallHeight, float lowHeight) Methods in net.minecraft.block with parameters of type VoxelShapeModifier and TypeMethodDescriptionprivate void
BeehiveBlock.addHoneyParticle
(World world, BlockPos pos, VoxelShape shape, double height) private Function
<BlockState, VoxelShape> HopperBlock.createShapeFunction
(VoxelShape shape) private BlockState
WallBlock.getStateWith
(BlockState state, boolean north, boolean east, boolean south, boolean west, VoxelShape aboveShape) private WallShape
WallBlock.getWallShape
(boolean connected, VoxelShape aboveShape, VoxelShape tallShape) boolean
EntityShapeContext.isAbove
(VoxelShape shape, BlockPos pos, boolean defaultValue) boolean
ShapeContext.isAbove
(VoxelShape shape, BlockPos pos, boolean defaultValue) static boolean
Block.isFaceFullSquare
(VoxelShape shape, Direction side) static boolean
Block.isShapeFullCube
(VoxelShape shape) private boolean
WallBlock.shouldHavePost
(BlockState state, BlockState aboveState, VoxelShape aboveShape) private static boolean
WallBlock.shouldUseTallShape
(VoxelShape aboveShape, VoxelShape tallShape) Method parameters in net.minecraft.block with type arguments of type VoxelShapeModifier and TypeMethodDescriptionstatic VoxelShape[]
Block.createShapeArray
(int size, IntFunction<VoxelShape> indexToShape) protected Function
<BlockState, VoxelShape> Block.createShapeFunction
(Function<BlockState, VoxelShape> stateToShape) protected Function
<BlockState, VoxelShape> Block.createShapeFunction
(Function<BlockState, VoxelShape> stateToShape, Property<?>[] properties) Constructors in net.minecraft.block with parameters of type VoxelShapeModifierConstructorDescriptionprotected
AbstractPlantBlock
(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater) protected
AbstractPlantPartBlock
(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater) protected
AbstractPlantStemBlock
(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater, double growthChance) (package private)
VoxelShapePair
(VoxelShape voxelShape, VoxelShape voxelShape2) -
Uses of VoxelShape in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return VoxelShapeModifier and TypeMethodDescriptionPistonBlockEntity.getCollisionShape
(BlockView world, BlockPos pos) -
Uses of VoxelShape in net.minecraft.client.render
Methods in net.minecraft.client.render with parameters of type VoxelShapeModifier and TypeMethodDescriptionstatic void
VertexRendering.drawOutline
(MatrixStack matrices, VertexConsumer vertexConsumers, VoxelShape shape, double offsetX, double offsetY, double offsetZ, int color) -
Uses of VoxelShape in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug with type parameters of type VoxelShapeMethods in net.minecraft.client.render.debug with parameters of type VoxelShapeModifier and TypeMethodDescriptionstatic void
DebugRenderer.drawVoxelShapeOutlines
(MatrixStack matrices, VertexConsumer vertexConsumer, VoxelShape shape, double offsetX, double offsetY, double offsetZ, float red, float green, float blue, float alpha, boolean bool) -
Uses of VoxelShape in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type VoxelShapeModifier and TypeMethodDescriptionprivate void
ClientWorld.addParticle
(BlockPos pos, ParticleEffect parameters, VoxelShape shape, double y) -
Uses of VoxelShape in net.minecraft.entity
Methods in net.minecraft.entity that return VoxelShapeModifier and TypeMethodDescriptionstatic VoxelShape
Dismounting.getCollisionShape
(BlockView world, BlockPos pos) Methods in net.minecraft.entity that return types with arguments of type VoxelShapeModifier and TypeMethodDescriptionprivate static List
<VoxelShape> Entity.findCollisionsForMovement
(@Nullable Entity entity, World world, List<VoxelShape> regularCollisions, Box movingEntityBoundingBox) Method parameters in net.minecraft.entity with type arguments of type VoxelShapeModifier and TypeMethodDescriptionstatic Vec3d
Entity.adjustMovementForCollisions
(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, List<VoxelShape> collisions) private static Vec3d
Entity.adjustMovementForCollisions
(Vec3d movement, Box entityBoundingBox, List<VoxelShape> collisions) private static float[]
Entity.collectStepHeights
(Box collisionBox, List<VoxelShape> collisions, float float2, float stepHeight) private static List
<VoxelShape> Entity.findCollisionsForMovement
(@Nullable Entity entity, World world, List<VoxelShape> regularCollisions, Box movingEntityBoundingBox) static double
Dismounting.getCeilingHeight
(BlockPos pos, int maxDistance, Function<BlockPos, VoxelShape> collisionShapeGetter) -
Uses of VoxelShape in net.minecraft.fluid
Fields in net.minecraft.fluid with type parameters of type VoxelShapeModifier and TypeFieldDescriptionprivate final Map
<FluidState, VoxelShape> FlowableFluid.shapeCache
Methods in net.minecraft.fluid that return VoxelShapeModifier and TypeMethodDescriptionEmptyFluid.getShape
(FluidState state, BlockView world, BlockPos pos) FlowableFluid.getShape
(FluidState state, BlockView world, BlockPos pos) abstract VoxelShape
Fluid.getShape
(FluidState state, BlockView world, BlockPos pos) -
Uses of VoxelShape in net.minecraft.structure.pool
Fields in net.minecraft.structure.pool with type parameters of type VoxelShapeModifier and TypeFieldDescriptionprivate final MutableObject
<VoxelShape> StructurePoolBasedGenerator.ShapedPoolStructurePiece.pieceShape
The field for thepieceShape
record component.Methods in net.minecraft.structure.pool that return types with arguments of type VoxelShapeModifier and TypeMethodDescriptionStructurePoolBasedGenerator.ShapedPoolStructurePiece.pieceShape()
Returns the value of thepieceShape
record component.Methods in net.minecraft.structure.pool with parameters of type VoxelShapeModifier and TypeMethodDescriptionprivate static void
StructurePoolBasedGenerator.generate
(NoiseConfig noiseConfig, int maxSize, boolean modifyBoundingBox, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, HeightLimitView heightLimitView, Random random, Registry<StructurePool> structurePoolRegistry, PoolStructurePiece firstPiece, List<PoolStructurePiece> pieces, VoxelShape pieceShape, StructurePoolAliasLookup aliasLookup, StructureLiquidSettings liquidSettings) Method parameters in net.minecraft.structure.pool with type arguments of type VoxelShapeModifier and TypeMethodDescription(package private) void
StructurePoolBasedGenerator.StructurePoolGenerator.generatePiece
(PoolStructurePiece piece, MutableObject<VoxelShape> pieceShape, int depth, boolean modifyBoundingBox, HeightLimitView world, NoiseConfig noiseConfig, StructurePoolAliasLookup aliasLookup, StructureLiquidSettings liquidSettings) Constructor parameters in net.minecraft.structure.pool with type arguments of type VoxelShapeModifierConstructorDescription(package private)
ShapedPoolStructurePiece
(PoolStructurePiece piece, MutableObject<VoxelShape> pieceShape, int currentSize) -
Uses of VoxelShape in net.minecraft.util.shape
Subclasses of VoxelShape in net.minecraft.util.shapeModifier and TypeClassDescriptionclass
final class
class
Fields in net.minecraft.util.shape declared as VoxelShapeModifier and TypeFieldDescriptionprivate static final VoxelShape
VoxelShapes.EMPTY
private static final VoxelShape
VoxelShapes.FULL_CUBE
private final VoxelShape
SlicedVoxelShape.shape
private @Nullable VoxelShape[]
VoxelShape.shapeCache
static final VoxelShape
VoxelShapes.UNBOUNDED
Methods in net.minecraft.util.shape that return VoxelShapeModifier and TypeMethodDescriptionVoxelShape.asCuboid()
static VoxelShape
VoxelShapes.combine
(VoxelShape one, VoxelShape two, BooleanBiFunction function) static VoxelShape
VoxelShapes.combineAndSimplify
(VoxelShape first, VoxelShape second, BooleanBiFunction function) static VoxelShape
VoxelShapes.cuboid
(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) static VoxelShape
static VoxelShape
VoxelShapes.cuboidUnchecked
(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) static VoxelShape
VoxelShapes.empty()
static VoxelShape
VoxelShapes.fullCube()
private VoxelShape
VoxelShape.getUncachedFace
(Direction facing) VoxelShape.offset
(double x, double y, double z) VoxelShape.simplify()
static VoxelShape
VoxelShapes.transform
(VoxelShape shape, DirectionTransformation transformation) static VoxelShape
VoxelShapes.transform
(VoxelShape shape, DirectionTransformation transformation, Vec3d anchor) static VoxelShape
VoxelShapes.union
(VoxelShape first, VoxelShape second) static VoxelShape
VoxelShapes.union
(VoxelShape first, VoxelShape[] others) Methods in net.minecraft.util.shape that return types with arguments of type VoxelShapeModifier and TypeMethodDescriptionstatic Map
<Direction.Axis, VoxelShape> VoxelShapes.createAxisShapeMap
(VoxelShape shape) static Map
<Direction.Axis, VoxelShape> VoxelShapes.createAxisShapeMap
(VoxelShape shape, Vec3d anchor) static Map
<BlockFace, Map<Direction, VoxelShape>> VoxelShapes.createBlockFaceHorizontalFacingShapeMap
(VoxelShape shape) static Map
<Direction, VoxelShape> VoxelShapes.createFacingShapeMap
(VoxelShape shape) static Map
<Direction, VoxelShape> VoxelShapes.createFacingShapeMap
(VoxelShape shape, Vec3d anchor) static Map
<Direction.Axis, VoxelShape> VoxelShapes.createHorizontalAxisShapeMap
(VoxelShape shape) static Map
<Direction.Axis, VoxelShape> VoxelShapes.createHorizontalAxisShapeMap
(VoxelShape shape, Vec3d anchor) static Map
<Direction, VoxelShape> VoxelShapes.createHorizontalFacingShapeMap
(VoxelShape shape) static Map
<Direction, VoxelShape> VoxelShapes.createHorizontalFacingShapeMap
(VoxelShape shape, Vec3d anchor) Methods in net.minecraft.util.shape with parameters of type VoxelShapeModifier and TypeMethodDescriptionstatic boolean
VoxelShapes.adjacentSidesCoverSquare
(VoxelShape one, VoxelShape two, Direction direction) static VoxelShape
VoxelShapes.combine
(VoxelShape one, VoxelShape two, BooleanBiFunction function) static VoxelShape
VoxelShapes.combineAndSimplify
(VoxelShape first, VoxelShape second, BooleanBiFunction function) static Map
<Direction.Axis, VoxelShape> VoxelShapes.createAxisShapeMap
(VoxelShape shape) static Map
<Direction.Axis, VoxelShape> VoxelShapes.createAxisShapeMap
(VoxelShape shape, Vec3d anchor) static Map
<BlockFace, Map<Direction, VoxelShape>> VoxelShapes.createBlockFaceHorizontalFacingShapeMap
(VoxelShape shape) static Map
<Direction, VoxelShape> VoxelShapes.createFacingShapeMap
(VoxelShape shape) static Map
<Direction, VoxelShape> VoxelShapes.createFacingShapeMap
(VoxelShape shape, Vec3d anchor) static Map
<Direction.Axis, VoxelShape> VoxelShapes.createHorizontalAxisShapeMap
(VoxelShape shape) static Map
<Direction.Axis, VoxelShape> VoxelShapes.createHorizontalAxisShapeMap
(VoxelShape shape, Vec3d anchor) static Map
<Direction, VoxelShape> VoxelShapes.createHorizontalFacingShapeMap
(VoxelShape shape) static Map
<Direction, VoxelShape> VoxelShapes.createHorizontalFacingShapeMap
(VoxelShape shape, Vec3d anchor) static boolean
VoxelShapes.equal
(VoxelShape shape1, VoxelShape shape2) static boolean
VoxelShapes.isSideCovered
(VoxelShape shape, VoxelShape neighbor, Direction direction) static boolean
VoxelShapes.matchesAnywhere
(VoxelShape shape1, VoxelShape shape2, BooleanBiFunction predicate) static VoxelShape
VoxelShapes.transform
(VoxelShape shape, DirectionTransformation transformation) static VoxelShape
VoxelShapes.transform
(VoxelShape shape, DirectionTransformation transformation, Vec3d anchor) static VoxelShape
VoxelShapes.union
(VoxelShape first, VoxelShape second) static VoxelShape
VoxelShapes.union
(VoxelShape first, VoxelShape[] others) static boolean
VoxelShapes.unionCoversFullCube
(VoxelShape one, VoxelShape two) Method parameters in net.minecraft.util.shape with type arguments of type VoxelShapeModifier and TypeMethodDescriptionstatic double
VoxelShapes.calculateMaxOffset
(Direction.Axis axis, Box box, Iterable<VoxelShape> shapes, double maxDist) Constructors in net.minecraft.util.shape with parameters of type VoxelShapeModifierConstructorDescriptionSlicedVoxelShape
(VoxelShape shape, Direction.Axis axis, int sliceWidth) -
Uses of VoxelShape in net.minecraft.world
Fields in net.minecraft.world declared as VoxelShapeFields in net.minecraft.world with type parameters of type VoxelShapeModifier and TypeFieldDescriptionprivate final BiFunction
<BlockPos.Mutable, VoxelShape, T> BlockCollisionSpliterator.resultFunction
Methods in net.minecraft.world that return VoxelShapeModifier and TypeMethodDescriptionRaycastContext.ShapeProvider.get
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RaycastContext.ShapeType.get
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RaycastContext.getBlockShape
(BlockState state, BlockView world, BlockPos pos) RaycastContext.getFluidShape
(FluidState state, BlockView world, BlockPos pos) private @Nullable VoxelShape
CollisionView.getWorldBorderCollisions
(Entity entity, Box box) Methods in net.minecraft.world that return types with arguments of type VoxelShapeModifier and TypeMethodDescriptiondefault Iterable
<VoxelShape> CollisionView.getBlockCollisions
(@Nullable Entity entity, Box box) private Iterable
<VoxelShape> CollisionView.getBlockOrFluidCollisions
(ShapeContext shapeContext, Box box) default Iterable
<VoxelShape> CollisionView.getBlockOrFluidCollisions
(@Nullable Entity entity, Box box) default Iterable
<VoxelShape> CollisionView.getCollisions
(@Nullable Entity entity, Box box) default Iterable
<VoxelShape> CollisionView.getCollisions
(@Nullable Entity entity, Box box, Vec3d pos) CollisionView.getEntityCollisions
(@Nullable Entity entity, Box box) default List
<VoxelShape> EntityView.getEntityCollisions
(@Nullable Entity entity, Box box) default List
<VoxelShape> RegistryWorldView.getEntityCollisions
(@Nullable Entity entity, Box box) Methods in net.minecraft.world with parameters of type VoxelShapeModifier and TypeMethodDescriptiondefault boolean
CollisionView.doesNotIntersectEntities
(@Nullable Entity except, VoxelShape shape) Returnstrue
ifshape
does not intersect with non-spectator entities exceptexcept
.default boolean
EntityView.doesNotIntersectEntities
(@Nullable Entity except, VoxelShape shape) Returnstrue
ifshape
does not intersect with non-spectator entities exceptexcept
.default boolean
RegistryWorldView.doesNotIntersectEntities
(@Nullable Entity except, VoxelShape shape) Returnstrue
ifshape
does not intersect with non-spectator entities exceptexcept
.CollisionView.findClosestCollision
(@Nullable Entity entity, VoxelShape shape, Vec3d target, double x, double y, double z) default double
BlockView.getDismountHeight
(VoxelShape blockCollisionShape, Supplier<VoxelShape> belowBlockCollisionShapeGetter) default @Nullable BlockHitResult
BlockView.raycastBlock
(Vec3d start, Vec3d end, BlockPos pos, VoxelShape shape, BlockState state) Method parameters in net.minecraft.world with type arguments of type VoxelShapeModifier and TypeMethodDescriptiondefault double
BlockView.getDismountHeight
(VoxelShape blockCollisionShape, Supplier<VoxelShape> belowBlockCollisionShapeGetter) Constructor parameters in net.minecraft.world with type arguments of type VoxelShapeModifierConstructorDescriptionBlockCollisionSpliterator
(CollisionView world, ShapeContext context, Box box, boolean forEntity, BiFunction<BlockPos.Mutable, VoxelShape, T> resultFunction) BlockCollisionSpliterator
(CollisionView world, @Nullable Entity entity, Box box, boolean forEntity, BiFunction<BlockPos.Mutable, VoxelShape, T> resultFunction) -
Uses of VoxelShape in net.minecraft.world.border
Fields in net.minecraft.world.border declared as VoxelShapeMethods in net.minecraft.world.border that return VoxelShapeModifier and TypeMethodDescriptionWorldBorder.Area.asVoxelShape()
WorldBorder.asVoxelShape()
WorldBorder.MovingArea.asVoxelShape()
WorldBorder.StaticArea.asVoxelShape()
-
Uses of VoxelShape in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk that return types with arguments of type VoxelShapeModifier and TypeMethodDescriptionChunkCache.getEntityCollisions
(@Nullable Entity entity, Box box) -
Uses of VoxelShape in net.minecraft.world.chunk.light
Methods in net.minecraft.world.chunk.light that return VoxelShapeModifier and TypeMethodDescriptionstatic VoxelShape
ChunkLightProvider.getOpaqueShape
(BlockState state, Direction direction)