Uses of Interface
net.minecraft.block.ShapeContext
-
Uses of ShapeContext in net.minecraft.block
Modifier and TypeMethodDescriptionstatic ShapeContext
ShapeContext.absent()
static ShapeContext
static ShapeContext
Modifier and TypeMethodDescriptionAbstractBlock.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, 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) 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) 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.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
ButtonBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CactusBlock.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
DeadBushBlock.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) 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) 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
MultifaceGrowthBlock.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
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
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) -
Uses of ShapeContext in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final ShapeContext
BlockCollisionSpliterator.context
private final ShapeContext
RaycastContext.shapeContext
Modifier and TypeMethodDescriptiondefault boolean
CollisionView.canPlace
(BlockState state, BlockPos pos, ShapeContext context) RaycastContext.ShapeProvider.get
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RaycastContext.ShapeType.get
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ModifierConstructorDescriptionBlockCollisionSpliterator
(CollisionView world, ShapeContext context, Box box, boolean forEntity, BiFunction<BlockPos.Mutable, VoxelShape, T> resultFunction) RaycastContext
(Vec3d start, Vec3d end, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, ShapeContext shapeContext)