Uses of Interface
net.minecraft.world.BlockView
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of BlockView in net.minecraft.block
Modifier and TypeFieldDescriptionprivate static final Map
<BlockView, List<RedstoneTorchBlock.BurnoutEntry>> RedstoneTorchBlock.BURNOUT_MAP
Modifier and TypeMethodDescriptionboolean
AbstractBlock.AbstractBlockState.allowsSpawning
(BlockView world, BlockPos pos, EntityType<?> type) private static boolean
Blocks.always
(BlockState state, BlockView world, BlockPos pos) A shortcut to always returntrue
a context predicate, used assettings.solidBlock(Blocks::always)
.private static Boolean
Blocks.always
(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returntrue
in a typed context predicate with anEntityType
, used likesettings.allowSpawning(Blocks::always)
.private boolean
FireBlock.areBlocksAroundFlammable
(BlockView world, BlockPos pos) float
AbstractBlock.AbstractBlockState.calcBlockBreakingDelta
(PlayerEntity player, BlockView world, BlockPos pos) protected float
AbstractBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) protected float
BambooBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) protected float
BambooShootBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) static int
ScaffoldingBlock.calculateDistance
(BlockView world, BlockPos pos) private static boolean
PointedDripstoneBlock.canDripThrough
(BlockView world, BlockPos pos, BlockState state) Returns whether it can drip through the blockblock
atpos
.boolean
BarrierBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
FluidFillable.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpPlantBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
SeagrassBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
SlabBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
TallSeagrassBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) default boolean
Waterloggable.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) private static boolean
SaplingGenerator.canGenerateLargeTree
(BlockState state, BlockView world, BlockPos pos, int x, int z) boolean
LichenGrower.canGrow
(BlockState state, BlockView world, BlockPos pos, Direction direction) boolean
LichenGrower.GrowChecker.canGrow
(BlockView world, BlockPos pos, LichenGrower.GrowPos growPos) boolean
LichenGrower.LichenGrowChecker.canGrow
(BlockView world, BlockPos pos, LichenGrower.GrowPos growPos) protected boolean
LichenGrower.LichenGrowChecker.canGrow
(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) boolean
SculkVeinBlock.SculkVeinGrowChecker.canGrow
(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) private boolean
static boolean
MultifaceGrowthBlock.canGrowOn
(BlockView world, Direction direction, BlockPos pos, BlockState state) boolean
MultifaceGrowthBlock.canGrowWithDirection
(BlockView world, BlockState state, BlockPos pos, Direction direction) private static boolean
private boolean
private boolean
LadderBlock.canPlaceOn
(BlockView world, BlockPos pos, Direction side) protected boolean
AttachedStemBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
AzaleaBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
CropBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
DeadBushBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
FungusBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
LilyPadBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
MushroomPlantBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
NetherWartBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
PitcherCropBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
PlantBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
PropaguleBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
RootsBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SeagrassBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SeaPickleBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SmallDripleafBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SproutsBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
StemBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
TallSeagrassBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
WitherRoseBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) private boolean
RedstoneWireBlock.canRunOnTop
(BlockView world, BlockPos pos, BlockState floor) private static Boolean
Blocks.canSpawnOnLeaves
(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) protected int
BambooBlock.countBambooAbove
(BlockView world, BlockPos pos) protected int
BambooBlock.countBambooBelow
(BlockView world, BlockPos pos) AbstractBlock.Offsetter.evaluate
(BlockState state, BlockView world, BlockPos pos) float
AbstractBlock.AbstractBlockState.getAmbientOcclusionLightLevel
(BlockView world, BlockPos pos) protected float
AbstractBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
BarrierBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
LightBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
MudBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
SnowBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
SoulSandBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
StructureVoidBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
TransparentBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected static float
CropBlock.getAvailableMoisture
(Block block, BlockView world, BlockPos pos) 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) 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
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) int
AnvilBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
ColoredFallingBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
ConcretePowderBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
FallingBlock.getColor
(BlockState state, BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getCullingFace
(BlockView world, BlockPos pos, Direction direction) AbstractBlock.AbstractBlockState.getCullingShape
(BlockView world, BlockPos pos) protected VoxelShape
AbstractBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
FenceBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
FenceGateBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
LecternBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
PointedDripstoneBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
PowderSnowBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
SculkShriekerBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
SkullBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) private BlockState
RedstoneWireBlock.getDefaultWireState
(BlockView world, BlockState state, BlockPos pos) BedBlock.getDirection
(BlockView world, BlockPos pos) LichenGrower.getGrowPos
(BlockState state, BlockView world, BlockPos pos, Direction oldDirection, Direction newDirection, LichenGrower.GrowPosPredicate predicate) float
AbstractBlock.AbstractBlockState.getHardness
(BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getMapColor
(BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getModelOffset
(BlockView world, BlockPos pos) int
AbstractBlock.AbstractBlockState.getOpacity
(BlockView world, BlockPos pos) protected int
AbstractBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) protected int
LeavesBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) protected int
TintedGlassBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) 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
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
CoralParentBlock.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
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
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) protected int
AbstractRedstoneGateBlock.getOutputLevel
(BlockView world, BlockPos pos, BlockState state) protected int
ComparatorBlock.getOutputLevel
(BlockView world, BlockPos pos, BlockState state) private @Nullable PistonBlockEntity
PistonExtensionBlock.getPistonBlockEntity
(BlockView world, BlockPos pos) private BlockState
VineBlock.getPlacementShape
(BlockState state, BlockView world, BlockPos pos) private BlockState
RedstoneWireBlock.getPlacementState
(BlockView world, BlockState state, BlockPos pos) 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 WireConnection
RedstoneWireBlock.getRenderConnectionType
(BlockView world, BlockPos pos, Direction direction) private WireConnection
RedstoneWireBlock.getRenderConnectionType
(BlockView world, BlockPos pos, Direction direction, boolean bool) 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) private static StairShape
StairsBlock.getStairShape
(BlockState state, BlockView world, BlockPos pos) static BlockState
protected BlockState
FireBlock.getStateForPosition
(BlockView world, BlockPos pos) LichenGrower.GrowChecker.getStateWithDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) LichenGrower.LichenGrowChecker.getStateWithDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) AbstractPlantBlock.getStemHeadPos
(BlockView world, BlockPos pos, Block block) int
AbstractBlock.AbstractBlockState.getStrongRedstonePower
(BlockView world, BlockPos pos, Direction direction) protected int
AbstractBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
AbstractPressurePlateBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
AbstractRedstoneGateBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
ButtonBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
DetectorRailBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
LecternBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
LeverBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
LightningRodBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
ObserverBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
RedstoneTorchBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
RedstoneWireBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
SculkSensorBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
TrappedChestBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
TripwireHookBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
AbstractBlock.AbstractBlockState.getWeakRedstonePower
(BlockView world, BlockPos pos, Direction direction) protected int
AbstractBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
AbstractPressurePlateBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
AbstractRedstoneGateBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
ButtonBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
CalibratedSculkSensorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
DaylightDetectorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
DetectorRailBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
JukeboxBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
LecternBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
LeverBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
LightningRodBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
ObserverBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
RedstoneBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
RedstoneTorchBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
RedstoneWireBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
SculkSensorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
TargetBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
TrappedChestBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
TripwireHookBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
WallRedstoneTorchBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.private static boolean
ConcretePowderBlock.hardensOnAnySide
(BlockView world, BlockPos pos) private static boolean
ChestBlock.hasBlockOnTop
(BlockView world, BlockPos pos) private static boolean
boolean
AbstractBlock.AbstractBlockState.hasEmissiveLighting
(BlockView world, BlockPos pos) final boolean
AbstractBlock.AbstractBlockState.hasSolidTopSurface
(BlockView world, BlockPos pos, Entity entity) static boolean
static boolean
SnifferEggBlock.isAboveHatchBooster
(BlockView world, BlockPos pos) private static boolean
BedBlock.isBedBelow
(BlockView world, BlockPos pos) protected boolean
AbstractBlock.isCullingShapeFullCube
(BlockState state, BlockView world, BlockPos pos) private static boolean
StairsBlock.isDifferentOrientation
(BlockState state, BlockView world, BlockPos pos, Direction dir) boolean
AbstractBlock.AbstractBlockState.isFullCube
(BlockView world, BlockPos pos) protected boolean
protected static boolean
CoralParentBlock.isInWater
(BlockState state, BlockView world, BlockPos pos) boolean
AbstractBlock.AbstractBlockState.isOpaqueFullCube
(BlockView world, BlockPos pos) static boolean
static boolean
TurtleEggBlock.isSandBelow
(BlockView world, BlockPos pos) protected boolean
AbstractBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) protected boolean
BambooBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) protected boolean
PointedDripstoneBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) boolean
AbstractBlock.AbstractBlockState.isSideSolid
(BlockView world, BlockPos pos, Direction direction, SideShapeType shapeType) boolean
AbstractBlock.AbstractBlockState.isSideSolidFullSquare
(BlockView world, BlockPos pos, Direction direction) boolean
AbstractBlock.AbstractBlockState.isSolidBlock
(BlockView world, BlockPos pos) final boolean
AbstractBlock.AbstractBlockState.isSolidSurface
(BlockView world, BlockPos pos, Entity entity, Direction direction) boolean
AbstractRedstoneGateBlock.isTargetNotAligned
(BlockView world, BlockPos pos, BlockState state) boolean
AbstractBlock.AbstractBlockState.isTransparent
(BlockView world, BlockPos pos) protected boolean
AbstractBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
BambooBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
BarrierBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
ConnectingBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
FluidBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
GlowLichenBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
HorizontalConnectingBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
LightBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
PlantBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
ShulkerBoxBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
TintedGlassBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
TransparentBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
VineBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
WallBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) abstract boolean
SideShapeType.matches
(BlockState state, BlockView world, BlockPos pos, Direction direction) private static boolean
Blocks.never
(BlockState state, BlockView world, BlockPos pos) A shortcut to always returnfalse
a context predicate, used assettings.solidBlock(Blocks::never)
.private static Boolean
Blocks.never
(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returnfalse
in a typed context predicate with anEntityType
, used likesettings.allowSpawning(Blocks::never)
.void
BedBlock.onEntityLand
(BlockView world, Entity entity) Called after the entity lands on the block.void
Block.onEntityLand
(BlockView world, Entity entity) Called after the entity lands on the block.void
SlimeBlock.onEntityLand
(BlockView world, Entity entity) Called after the entity lands on the block.private boolean
ScaffoldingBlock.shouldBeBottom
(BlockView world, BlockPos pos, int distance) boolean
AbstractBlock.AbstractBlockState.shouldBlockVision
(BlockView world, BlockPos pos) static boolean
VineBlock.shouldConnectTo
(BlockView world, BlockPos pos, Direction direction) static boolean
Block.shouldDrawSide
(BlockState state, BlockView world, BlockPos pos, Direction side, BlockPos otherPos) private static boolean
ConcretePowderBlock.shouldHarden
(BlockView world, BlockPos pos, BlockState state) private boolean
VineBlock.shouldHaveSide
(BlockView world, BlockPos pos, Direction side) boolean
AbstractBlock.AbstractBlockState.shouldPostProcess
(BlockView world, BlockPos pos) boolean
AbstractBlock.AbstractBlockState.shouldSuffocate
(BlockView world, BlockPos pos) boolean
AbstractBlock.ContextPredicate.test
(BlockState state, BlockView world, BlockPos pos) boolean
AbstractBlock.TypedContextPredicate.test
(BlockState state, BlockView world, BlockPos pos, A type) boolean
LichenGrower.GrowPosPredicate.test
(BlockView world, BlockPos pos, LichenGrower.GrowPos growPos) static BlockState
ChorusPlantBlock.withConnectionProperties
(BlockView world, BlockPos pos, BlockState state) MultifaceGrowthBlock.withDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) -
Uses of BlockView in net.minecraft.block.entity
Modifier and TypeMethodDescriptionprivate static BlockPos
EndGatewayBlockEntity.findExitPortalPos
(BlockView world, BlockPos pos, int searchRadius, boolean force) Returns the block entity instance of this type atpos
, ornull
if no such block entity exists.PistonBlockEntity.getCollisionShape
(BlockView world, BlockPos pos) static int
ChestBlockEntity.getPlayersLookingInChestCount
(BlockView world, BlockPos pos) -
Uses of BlockView in net.minecraft.client.render
Modifier and TypeMethodDescriptionvoid
Camera.update
(BlockView area, Entity focusedEntity, boolean thirdPerson, boolean inverseView, float tickDelta) void
WorldRenderer.updateBlock
(BlockView world, BlockPos pos, BlockState oldState, BlockState newState, int flags) -
Uses of BlockView in net.minecraft.client.render.block
Modifier and TypeMethodDescriptionprivate static boolean
FluidRenderer.isOppositeSideCovered
(BlockView world, BlockPos pos, BlockState state, Direction direction) private static boolean
FluidRenderer.isSideCovered
(BlockView world, BlockPos pos, Direction direction, float maxDeviation, BlockState state) private static boolean
FluidRenderer.isSideCovered
(BlockView world, Direction direction, float height, BlockPos pos, BlockState state) -
Uses of BlockView in net.minecraft.client.render.chunk
-
Uses of BlockView in net.minecraft.client.world
-
Uses of BlockView in net.minecraft.entity
Modifier and TypeMethodDescriptionboolean
Entity.canExplosionDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosion
from this entity can destroystate
.static VoxelShape
Dismounting.getCollisionShape
(BlockView world, BlockPos pos) float
Entity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity. -
Uses of BlockView in net.minecraft.entity.ai.brain.task
-
Uses of BlockView in net.minecraft.entity.ai.goal
Modifier and TypeMethodDescriptionEscapeDangerGoal.locateClosestWater
(BlockView world, Entity entity, int rangeX) StepAndDestroyBlockGoal.tweakToProperPos
(BlockPos pos, BlockView world) -
Uses of BlockView in net.minecraft.entity.ai.pathing
Modifier and TypeMethodDescriptionprivate PathNodeType
protected static PathNodeType
LandPathNodeMaker.getCommonNodeType
(BlockView world, BlockPos pos) static double
-
Uses of BlockView in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionfloat
WitherSkullEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity. -
Uses of BlockView in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionboolean
TntMinecartEntity.canExplosionDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosion
from this entity can destroystate
.float
TntMinecartEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity. -
Uses of BlockView in net.minecraft.fluid
Modifier and TypeMethodDescriptionboolean
EmptyFluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) protected abstract boolean
Fluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) boolean
FluidState.canBeReplacedWith
(BlockView world, BlockPos pos, Fluid fluid, Direction direction) boolean
LavaFluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) boolean
WaterFluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) private boolean
FlowableFluid.canFill
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) protected boolean
FlowableFluid.canFlow
(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState fluidState, Fluid fluid) private boolean
FlowableFluid.canFlowDownTo
(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) private boolean
FlowableFluid.canFlowThrough
(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) boolean
float
EmptyFluid.getHeight
(FluidState state, BlockView world, BlockPos pos) float
FlowableFluid.getHeight
(FluidState state, BlockView world, BlockPos pos) abstract float
Fluid.getHeight
(FluidState state, BlockView world, BlockPos pos) float
EmptyFluid.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) EmptyFluid.getVelocity
(BlockView world, BlockPos pos, FluidState state) FlowableFluid.getVelocity
(BlockView world, BlockPos pos, FluidState state) protected abstract Vec3d
Fluid.getVelocity
(BlockView world, BlockPos pos, FluidState state) FluidState.getVelocity
(BlockView world, BlockPos pos) protected boolean
FlowableFluid.isFlowBlocked
(BlockView world, BlockPos pos, Direction direction) private static boolean
FlowableFluid.isFluidAboveEqual
(FluidState state, BlockView world, BlockPos pos) private boolean
FlowableFluid.receivesFlow
(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) -
Uses of BlockView in net.minecraft.inventory
Modifier and TypeMethodDescriptionstatic void
LootableInventory.setLootTable
(BlockView world, Random random, BlockPos pos, RegistryKey<LootTable> lootTableId) Queries the block entity atpos
, checks if it is aLootableInventory
, and sets the loot table and seed if applicable. -
Uses of BlockView in net.minecraft.item.map
Modifier and TypeMethodDescriptionstatic @Nullable MapBannerMarker
MapBannerMarker.fromWorldBlock
(BlockView blockView, BlockPos blockPos) void
MapState.removeBanner
(BlockView world, int x, int z) -
Uses of BlockView in net.minecraft.network.packet.s2c.play
-
Uses of BlockView in net.minecraft.server.command
-
Uses of BlockView in net.minecraft.server.world
-
Uses of BlockView in net.minecraft.structure
Modifier and TypeMethodDescriptionprotected BlockState
StructurePiece.getBlockAt
(BlockView world, int x, int y, int z, BlockBox box) private int
OceanRuinGenerator.Piece.getGenerationY
(BlockPos start, BlockView world, BlockPos end) protected boolean
MineshaftGenerator.MineshaftPart.isSolidCeiling
(BlockView world, BlockBox boundingBox, int minX, int maxX, int y, int z) static BlockState
StructurePiece.orientateChest
(BlockView world, BlockPos pos, BlockState state) -
Uses of BlockView in net.minecraft.world
Modifier and TypeInterfaceDescriptioninterface
interface
interface
interface
interface
A world view orWorld
's superinterface that exposes access to a registry manager.interface
Represents access to a world on a logical Minecraft server.interface
interface
interface
Represents a scoped, read-only view of a world like structure that contains biomes, chunks and is bound to a dimension.Modifier and TypeMethodDescriptionBlockCollisionSpliterator.getChunk
(int x, int z) CollisionView.getChunkAsView
(int chunkX, int chunkZ) World.getChunkAsView
(int chunkX, int chunkZ) WorldView.getChunkAsView
(int chunkX, int chunkZ) Modifier and TypeMethodDescriptionprivate boolean
WanderingTraderManager.doesNotSuffocateAt
(BlockView world, BlockPos pos) BlockLocating.findColumnEnd
(BlockView world, BlockPos pos, Block intermediateBlock, Direction direction, Block endBlock) Finds an end to a block column starting frompos
extending indirection
.RaycastContext.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) static boolean
SpawnHelper.isClearForSpawn
(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType) -
Uses of BlockView in net.minecraft.world.chunk
Modifier and TypeClassDescriptionclass
Represents a scoped, modifiable view of biomes, block states, fluid states and block entities.class
class
class
class
class
Represents a chunk that wraps a world chunk, used in world generation.Modifier and TypeMethodDescriptionChunkCache.getChunkAsView
(int chunkX, int chunkZ) ChunkProvider.getWorld()
-
Uses of BlockView in net.minecraft.world.chunk.light
Modifier and TypeMethodDescriptionprivate static boolean
ChunkSkyLight.faceBlocksLight
(BlockView blockView, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) static VoxelShape
ChunkLightProvider.getOpaqueShape
(BlockView blockView, BlockPos pos, BlockState blockState, Direction direction) static int
ChunkLightProvider.getRealisticOpacity
(BlockView world, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int opacity2) boolean
ChunkSkyLight.isSkyLightAccessible
(BlockView blockView, int localX, int y, int localZ) private boolean
ChunkSkyLight.isSkyLightAccessible
(BlockView blockView, int packedIndex, int value, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) private int
ChunkSkyLight.locateLightBlockingBlockBelow
(BlockView blockView, BlockPos pos, BlockState blockState) static boolean
ChunkLightProvider.needsLightUpdate
(BlockView blockView, BlockPos pos, BlockState oldState, BlockState newState) -
Uses of BlockView in net.minecraft.world.explosion
Modifier and TypeMethodDescriptionboolean
AdvancedExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) boolean
EntityExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) boolean
ExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) AdvancedExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) EntityExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) ExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) -
Uses of BlockView in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionprivate boolean
IcebergFeature.isAirBelow
(BlockView world, BlockPos pos)