Uses of Interface
net.minecraft.world.level.BlockGetter
Packages that use BlockGetter
Package
Description
-
Uses of BlockGetter in net.minecraft
Methods in net.minecraft with parameters of type BlockGetterModifier and TypeMethodDescriptionBlockUtil.getTopConnectedBlock
(BlockGetter getter, BlockPos pos, Block baseBlock, Direction direction, Block endBlock) -
Uses of BlockGetter in net.minecraft.client
Fields in net.minecraft.client declared as BlockGetterMethods in net.minecraft.client with parameters of type BlockGetterModifier and TypeMethodDescriptionvoid
Camera.setup
(BlockGetter level, Entity entity, boolean detached, boolean thirdPersonReverse, float partialTick) -
Uses of BlockGetter in net.minecraft.client.multiplayer
Classes in net.minecraft.client.multiplayer that implement BlockGetterMethods in net.minecraft.client.multiplayer that return BlockGetter -
Uses of BlockGetter in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type BlockGetterModifier and TypeMethodDescriptionvoid
LevelRenderer.blockChanged
(BlockGetter level, BlockPos pos, BlockState oldState, BlockState newState, int flags) -
Uses of BlockGetter in net.minecraft.client.renderer.block
Methods in net.minecraft.client.renderer.block with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate static boolean
LiquidBlockRenderer.isFaceOccludedByNeighbor
(BlockGetter level, BlockPos pos, Direction side, float height, BlockState blockState) private static boolean
LiquidBlockRenderer.isFaceOccludedBySelf
(BlockGetter level, BlockPos pos, BlockState state, Direction face) private static boolean
LiquidBlockRenderer.isFaceOccludedByState
(BlockGetter level, Direction face, float height, BlockPos pos, BlockState state) -
Uses of BlockGetter in net.minecraft.client.renderer.chunk
Classes in net.minecraft.client.renderer.chunk that implement BlockGetter -
Uses of BlockGetter in net.minecraft.network.protocol.game
Constructors in net.minecraft.network.protocol.game with parameters of type BlockGetterModifierConstructorDescriptionClientboundBlockUpdatePacket
(BlockGetter blockGetter, BlockPos pos) -
Uses of BlockGetter in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type BlockGetterModifier and TypeMethodDescriptionint
SpreadPlayersCommand.Position.getSpawnY
(BlockGetter level, int y) boolean
SpreadPlayersCommand.Position.isSafe
(BlockGetter level, int y) -
Uses of BlockGetter in net.minecraft.server.level
Classes in net.minecraft.server.level that implement BlockGetter -
Uses of BlockGetter in net.minecraft.world
Methods in net.minecraft.world with parameters of type BlockGetterModifier and TypeMethodDescriptionstatic void
RandomizableContainer.setBlockEntityLootTable
(BlockGetter level, RandomSource random, BlockPos ps, ResourceKey<LootTable> lootTable) -
Uses of BlockGetter in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type BlockGetterModifier and TypeMethodDescriptionfloat
Entity.getBlockExplosionResistance
(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, FluidState fluidState, float explosionPower) Explosion resistance of a block relative to this entityboolean
Entity.shouldBlockExplode
(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, float explosionPower) -
Uses of BlockGetter in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior with parameters of type BlockGetter -
Uses of BlockGetter in net.minecraft.world.entity.ai.goal
Methods in net.minecraft.world.entity.ai.goal with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate BlockPos
RemoveBlockGoal.getPosWithBlock
(BlockPos pos, BlockGetter level) protected BlockPos
PanicGoal.lookForWater
(BlockGetter level, Entity entity, int range) -
Uses of BlockGetter in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate boolean
WanderingTraderSpawner.hasEnoughSpace
(BlockGetter level, BlockPos pos) -
Uses of BlockGetter in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile with parameters of type BlockGetterModifier and TypeMethodDescriptionfloat
WitherSkull.getBlockExplosionResistance
(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, FluidState fluidState, float explosionPower) Explosion resistance of a block relative to this entity -
Uses of BlockGetter in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle with parameters of type BlockGetterModifier and TypeMethodDescriptionfloat
MinecartTNT.getBlockExplosionResistance
(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, FluidState fluidState, float explosionPower) Explosion resistance of a block relative to this entitystatic VoxelShape
DismountHelper.nonClimbableShape
(BlockGetter level, BlockPos pos) boolean
MinecartTNT.shouldBlockExplode
(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, float explosionPower) -
Uses of BlockGetter in net.minecraft.world.level
Subinterfaces of BlockGetter in net.minecraft.world.levelModifier and TypeInterfaceDescriptioninterface
interface
interface
interface
interface
interface
interface
interface
interface
Classes in net.minecraft.world.level that implement BlockGetterFields in net.minecraft.world.level declared as BlockGetterMethods in net.minecraft.world.level that return BlockGetterModifier and TypeMethodDescriptionprivate BlockGetter
BlockCollisions.getChunk
(int x, int z) CollisionGetter.getChunkForCollisions
(int chunkX, int chunkZ) Level.getChunkForCollisions
(int chunkX, int chunkZ) default BlockGetter
LevelReader.getChunkForCollisions
(int chunkX, int chunkZ) PathNavigationRegion.getChunkForCollisions
(int chunkX, int chunkZ) Methods in net.minecraft.world.level with parameters of type BlockGetterModifier and TypeMethodDescriptionClipContext.Block.get
(BlockState state, BlockGetter block, BlockPos pos, CollisionContext collisionContext) ClipContext.ShapeGetter.get
(BlockState state, BlockGetter block, BlockPos pos, CollisionContext collisionContext) EntityBasedExplosionDamageCalculator.getBlockExplosionResistance
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, FluidState fluid) ExplosionDamageCalculator.getBlockExplosionResistance
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, FluidState fluid) SimpleExplosionDamageCalculator.getBlockExplosionResistance
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, FluidState fluid) ClipContext.getBlockShape
(BlockState blockState, BlockGetter level, BlockPos pos) ClipContext.getFluidShape
(FluidState state, BlockGetter level, BlockPos pos) static boolean
NaturalSpawner.isValidEmptySpawnBlock
(BlockGetter block, BlockPos pos, BlockState blockState, FluidState fluidState, EntityType<?> entityType) boolean
EntityBasedExplosionDamageCalculator.shouldBlockExplode
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, float power) boolean
ExplosionDamageCalculator.shouldBlockExplode
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, float power) boolean
SimpleExplosionDamageCalculator.shouldBlockExplode
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, float power) -
Uses of BlockGetter in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block with type parameters of type BlockGetterModifier and TypeFieldDescriptionprivate static final Map
<BlockGetter, List<RedstoneTorchBlock.Toggle>> RedstoneTorchBlock.RECENT_TOGGLES
Methods in net.minecraft.world.level.block with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate static boolean
Blocks.always
(BlockState state, BlockGetter blockGetter, BlockPos pos) static Boolean
Blocks.always
(BlockState state, BlockGetter blockGetter, BlockPos pos, EntityType<?> entity) private boolean
LadderBlock.canAttachTo
(BlockGetter blockReader, BlockPos pos, Direction direction) static boolean
MultifaceBlock.canAttachTo
(BlockGetter level, Direction direction, BlockPos pos, BlockState state) boolean
FireBlock.canCatchFire
(BlockGetter world, BlockPos pos, Direction face) Side sensitive version that calls the block function.private static boolean
PointedDripstoneBlock.canDripThrough
(BlockGetter level, BlockPos pos, BlockState state) boolean
BarrierBlock.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpBlock.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpPlantBlock.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
LiquidBlockContainer.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
SeagrassBlock.canPlaceLiquid
(Player p_296226_, BlockGetter p_296449_, BlockPos p_154511_, BlockState p_154512_, Fluid p_295712_) default boolean
SimpleWaterloggedBlock.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
SlabBlock.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
TallSeagrassBlock.canPlaceLiquid
(Player p_296027_, BlockGetter p_154753_, BlockPos p_154754_, BlockState p_154755_, Fluid p_154756_) private boolean
VineBlock.canSpread
(BlockGetter blockReader, BlockPos pos) boolean
MultifaceSpreader.canSpreadInAnyDirection
(BlockState state, BlockGetter level, BlockPos pos, Direction spreadDirection) boolean
MultifaceSpreader.DefaultSpreaderConfig.canSpreadInto
(BlockGetter level, BlockPos pos, MultifaceSpreader.SpreadPos spreadPos) boolean
MultifaceSpreader.SpreadConfig.canSpreadInto
(BlockGetter level, BlockPos pos, MultifaceSpreader.SpreadPos spreadPos) private boolean
VineBlock.canSupportAtFace
(BlockGetter level, BlockPos pos, Direction direction) static boolean
Block.canSupportRigidBlock
(BlockGetter level, BlockPos pos) private boolean
RedStoneWireBlock.canSurviveOn
(BlockGetter level, BlockPos pos, BlockState state) private static boolean
StairBlock.canTakeShape
(BlockState state, BlockGetter level, BlockPos pos, Direction face) private boolean
FrostedIceBlock.fewerNeigboursThan
(BlockGetter level, BlockPos pos, int neighborsRequired) static Direction
BedBlock.getBedOrientation
(BlockGetter level, BlockPos pos) protected VoxelShape
CeilingHangingSignBlock.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) ChorusFlowerBlock.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
FenceGateBlock.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
LeavesBlock.getBlockSupportShape
(BlockState state, BlockGetter reader, BlockPos pos) protected VoxelShape
MudBlock.getBlockSupportShape
(BlockState p_221566_, BlockGetter p_221567_, BlockPos p_221568_) protected VoxelShape
ShulkerBoxBlock.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
SnowLayerBlock.getBlockSupportShape
(BlockState state, BlockGetter reader, BlockPos pos) protected VoxelShape
SoulSandBlock.getBlockSupportShape
(BlockState state, BlockGetter reader, BlockPos pos) protected VoxelShape
WallHangingSignBlock.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
BambooStalkBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BellBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BigDripleafBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CactusBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ComposterBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CrossCollisionBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FenceGateBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
GrindstoneBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
HoneyBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LecternBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LiquidBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
MudBlock.getCollisionShape
(BlockState p_221561_, BlockGetter p_221562_, BlockPos p_221563_, CollisionContext p_221564_) PitcherCropBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PowderSnowBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ScaffoldingBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SculkShriekerBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SnowLayerBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SoulSandBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallHangingSignBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) private RedstoneSide
RedStoneWireBlock.getConnectingSide
(BlockGetter level, BlockPos pos, Direction face) private RedstoneSide
RedStoneWireBlock.getConnectingSide
(BlockGetter level, BlockPos pos, Direction direction, boolean nonNormalCubeAbove) private BlockState
RedStoneWireBlock.getConnectionState
(BlockGetter level, BlockState state, BlockPos pos) protected float
BambooSaplingBlock.getDestroyProgress
(BlockState state, Player player, BlockGetter level, BlockPos pos) Get the hardness of this Block relative to the ability of the given playerprotected float
BambooStalkBlock.getDestroyProgress
(BlockState state, Player player, BlockGetter level, BlockPos pos) Get the hardness of this Block relative to the ability of the given playerprotected int
BasePressurePlateBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
ButtonBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
DetectorRailBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
DiodeBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
LecternBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
LeverBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
LightningRodBlock.getDirectSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.protected int
ObserverBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
RedstoneTorchBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
RedStoneWireBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.int
SculkSensorBlock.getDirectSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.protected int
TrappedChestBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
TripWireHookBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.static int
ScaffoldingBlock.getDistance
(BlockGetter level, BlockPos pos) int
AnvilBlock.getDustColor
(BlockState state, BlockGetter reader, BlockPos pos) int
ColoredFallingBlock.getDustColor
(BlockState state, BlockGetter level, BlockPos pos) int
ConcretePowderBlock.getDustColor
(BlockState state, BlockGetter reader, BlockPos pos) int
FallingBlock.getDustColor
(BlockState state, BlockGetter level, BlockPos pos) protected static float
CropBlock.getGrowthSpeed
(BlockState blockState, BlockGetter p_52274_, BlockPos p_52275_) GrowingPlantBodyBlock.getHeadPos
(BlockGetter level, BlockPos pos, Block block) protected int
BambooStalkBlock.getHeightAboveUpToMax
(BlockGetter level, BlockPos pos) protected int
BambooStalkBlock.getHeightBelowUpToMax
(BlockGetter level, BlockPos pos) protected VoxelShape
AbstractCauldronBlock.getInteractionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
ComposterBlock.getInteractionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
HopperBlock.getInteractionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
ScaffoldingBlock.getInteractionShape
(BlockState state, BlockGetter level, BlockPos pos) protected int
LeavesBlock.getLightBlock
(BlockState state, BlockGetter level, BlockPos pos) protected int
TintedGlassBlock.getLightBlock
(BlockState p_154828_, BlockGetter p_154829_, BlockPos p_154830_) private BlockState
RedStoneWireBlock.getMissingConnections
(BlockGetter level, BlockState state, BlockPos pos) protected VoxelShape
FenceBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
FenceGateBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
LecternBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
PointedDripstoneBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
PowderSnowBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
SculkShriekerBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
SkullBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected int
ComparatorBlock.getOutputSignal
(BlockGetter level, BlockPos pos, BlockState state) protected int
DiodeBlock.getOutputSignal
(BlockGetter level, BlockPos pos, BlockState state) BaseRailBlock.getRailDirection
(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart) protected float
BarrierBlock.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) protected float
LightBlock.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) protected float
MudBlock.getShadeBrightness
(BlockState p_221552_, BlockGetter p_221553_, BlockPos p_221554_) protected float
SnowLayerBlock.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) protected float
SoulSandBlock.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) protected float
StructureVoidBlock.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) protected float
TransparentBlock.getShadeBrightness
(BlockState p_308911_, BlockGetter p_308952_, BlockPos p_308918_) protected VoxelShape
AbstractCauldronBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
AirBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
AmethystClusterBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
AnvilBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
AttachedStemBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
AzaleaBlock.getShape
(BlockState p_152084_, BlockGetter p_152085_, BlockPos p_152086_, CollisionContext p_152087_) protected VoxelShape
BambooSaplingBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BambooStalkBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BannerBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseCoralFanBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseCoralPlantBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseCoralPlantTypeBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseCoralWallFanBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseFireBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BasePressurePlateBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseRailBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseTorchBlock.getShape
(BlockState p_304673_, BlockGetter p_304919_, BlockPos p_304930_, CollisionContext p_304757_) protected VoxelShape
BedBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BeetrootBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BellBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BigDripleafBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BigDripleafStemBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BrewingStandBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BubbleColumnBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ButtonBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CactusBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CakeBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CampfireBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CandleBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CandleCakeBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CarpetBlock.getShape
(BlockState p_152917_, BlockGetter p_152918_, BlockPos p_152919_, CollisionContext p_152920_) protected VoxelShape
CarrotBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CeilingHangingSignBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ChainBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ChestBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CocoaBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ComposterBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ConduitBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CoralPlantBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CropBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CrossCollisionBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
DaylightDetectorBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
DeadBushBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
DecoratedPotBlock.getShape
(BlockState p_273112_, BlockGetter p_273055_, BlockPos p_273137_, CollisionContext p_273151_) protected VoxelShape
DiodeBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
DirtPathBlock.getShape
(BlockState p_153143_, BlockGetter p_153144_, BlockPos p_153145_, CollisionContext p_153146_) protected VoxelShape
DoorBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
DragonEggBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
EnchantingTableBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
EnderChestBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
EndPortalBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
EndPortalFrameBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FarmBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FenceGateBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FireBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FlowerBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FlowerPotBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FrogspawnBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FungusBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
GrindstoneBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
GrowingPlantBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
HangingRootsBlock.getShape
(BlockState p_153342_, BlockGetter p_153343_, BlockPos p_153344_, CollisionContext p_153345_) protected VoxelShape
HeavyCoreBlock.getShape
(BlockState p_334026_, BlockGetter p_334049_, BlockPos p_334056_, CollisionContext p_333870_) protected VoxelShape
HopperBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LadderBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LanternBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LecternBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LeverBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LightBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LiquidBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
MangrovePropaguleBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
MultifaceBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
MushroomBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
NetherPortalBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
NetherSproutsBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
NetherWartBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PiglinWallSkullBlock.getShape
(BlockState p_261765_, BlockGetter p_261604_, BlockPos p_261948_, CollisionContext p_261889_) PinkPetalsBlock.getShape
(BlockState p_273399_, BlockGetter p_273568_, BlockPos p_273314_, CollisionContext p_273274_) protected VoxelShape
PipeBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) PitcherCropBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PointedDripstoneBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PotatoBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
RedstoneWallTorchBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
RedStoneWireBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
RodBlock.getShape
(BlockState p_154346_, BlockGetter p_154347_, BlockPos p_154348_, CollisionContext p_154349_) protected VoxelShape
RootsBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SaplingBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ScaffoldingBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SculkSensorBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SeagrassBlock.getShape
(BlockState p_154525_, BlockGetter p_154526_, BlockPos p_154527_, CollisionContext p_154528_) protected VoxelShape
SeaPickleBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ShulkerBoxBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SignBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SkullBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SlabBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SmallDripleafBlock.getShape
(BlockState p_154610_, BlockGetter p_154611_, BlockPos p_154612_, CollisionContext p_154613_) SnifferEggBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SnowLayerBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SporeBlossomBlock.getShape
(BlockState p_154699_, BlockGetter p_154700_, BlockPos p_154701_, CollisionContext p_154702_) protected VoxelShape
StairBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
StemBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
StonecutterBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
StructureVoidBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SugarCaneBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SweetBerryBushBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
TallGrassBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
TallSeagrassBlock.getShape
(BlockState p_154763_, BlockGetter p_154764_, BlockPos p_154765_, CollisionContext p_154766_) TorchflowerCropBlock.getShape
(BlockState p_272748_, BlockGetter p_273408_, BlockPos p_272762_, CollisionContext p_272649_) protected VoxelShape
TrapDoorBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
TripWireBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
TripWireHookBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
TurtleEggBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
VineBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallBannerBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallHangingSignBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallSignBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallSkullBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallTorchBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WaterlilyBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected int
BasePressurePlateBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
ButtonBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.int
CalibratedSculkSensorBlock.getSignal
(BlockState p_277782_, BlockGetter p_277556_, BlockPos p_277903_, Direction p_278059_) protected int
DaylightDetectorBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
DetectorRailBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
DiodeBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.int
JukeboxBlock.getSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected int
LecternBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
LeverBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
LightningRodBlock.getSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected int
ObserverBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
PoweredBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
RedstoneTorchBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
RedstoneWallTorchBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
RedStoneWireBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
SculkSensorBlock.getSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected int
TargetBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
TrappedChestBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
TripWireHookBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.MultifaceSpreader.getSpreadFromFaceTowardDirection
(BlockState state, BlockGetter level, BlockPos pos, Direction spreadDirection, Direction face, MultifaceSpreader.SpreadPredicate predicate) private static StairsShape
StairBlock.getStairsShape
(BlockState state, BlockGetter level, BlockPos pos) Returns a stair shape property based on the surrounding stairs from the given blockstate and positionstatic BlockState
BaseFireBlock.getState
(BlockGetter reader, BlockPos pos) protected BlockState
FireBlock.getStateForPlacement
(BlockGetter level, BlockPos pos) MultifaceBlock.getStateForPlacement
(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) MultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement
(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) MultifaceSpreader.SpreadConfig.getStateForPlacement
(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) static BlockState
ChorusPlantBlock.getStateWithConnections
(BlockGetter level, BlockPos pos, BlockState state) private BlockState
VineBlock.getUpdatedState
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
FenceBlock.getVisualShape
(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) protected VoxelShape
IronBarsBlock.getVisualShape
(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) protected VoxelShape
MudBlock.getVisualShape
(BlockState p_221556_, BlockGetter p_221557_, BlockPos p_221558_, CollisionContext p_221559_) protected VoxelShape
PowderSnowBlock.getVisualShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SnowLayerBlock.getVisualShape
(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) protected VoxelShape
SoulSandBlock.getVisualShape
(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) protected VoxelShape
TransparentBlock.getVisualShape
(BlockState p_309057_, BlockGetter p_308936_, BlockPos p_308956_, CollisionContext p_309006_) static boolean
SnifferEggBlock.hatchBoost
(BlockGetter level, BlockPos pos) static boolean
VineBlock.isAcceptableNeighbour
(BlockGetter blockReader, BlockPos neighborPos, Direction attachedFace) private static boolean
ChestBlock.isBlockedChestByBlock
(BlockGetter level, BlockPos pos) private boolean
ScaffoldingBlock.isBottom
(BlockGetter level, BlockPos pos, int distance) private static boolean
BedBlock.isBunkBed
(BlockGetter level, BlockPos pos) protected boolean
BambooStalkBlock.isCollisionShapeFullBlock
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
PointedDripstoneBlock.isCollisionShapeFullBlock
(BlockState state, BlockGetter level, BlockPos pos) boolean
BaseRailBlock.isFlexibleRail
(BlockState state, BlockGetter world, BlockPos pos) static boolean
TurtleEggBlock.isSand
(BlockGetter reader, BlockPos pos) abstract boolean
SupportType.isSupporting
(BlockState state, BlockGetter level, BlockPos pos, Direction face) private boolean
FireBlock.isValidFireLocation
(BlockGetter level, BlockPos pos) boolean
MultifaceBlock.isValidStateForPlacement
(BlockGetter level, BlockState state, BlockPos pos, Direction direction) protected boolean
AttachedStemBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
AzaleaBlock.mayPlaceOn
(BlockState p_152089_, BlockGetter p_152090_, BlockPos p_152091_) protected boolean
BushBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
CropBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
DeadBushBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) private static boolean
FrogspawnBlock.mayPlaceOn
(BlockGetter level, BlockPos pos) protected boolean
FungusBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
MangrovePropaguleBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
MushroomBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
NetherSproutsBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
NetherWartBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
PitcherCropBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
RootsBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
SeagrassBlock.mayPlaceOn
(BlockState p_154539_, BlockGetter p_154540_, BlockPos p_154541_) protected boolean
SeaPickleBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
SmallDripleafBlock.mayPlaceOn
(BlockState p_154636_, BlockGetter p_154637_, BlockPos p_154638_) protected boolean
StemBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
TallSeagrassBlock.mayPlaceOn
(BlockState p_154774_, BlockGetter p_154775_, BlockPos p_154776_) protected boolean
WaterlilyBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
WitherRoseBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) private static boolean
Blocks.never
(BlockState state, BlockGetter blockGetter, BlockPos pos) static Boolean
Blocks.never
(BlockState state, BlockGetter blockGetter, BlockPos pos, EntityType<?> entity) static Boolean
Blocks.ocelotOrParrot
(BlockState state, BlockGetter blockGetter, BlockPos pos, EntityType<?> entity) static boolean
TurtleEggBlock.onSand
(BlockGetter level, BlockPos pos) protected boolean
BambooStalkBlock.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
BarrierBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) protected boolean
BushBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) protected boolean
CrossCollisionBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) protected boolean
GlowLichenBlock.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
LightBlock.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
LiquidBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) protected boolean
PipeBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) protected boolean
ShulkerBoxBlock.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
TintedGlassBlock.propagatesSkylightDown
(BlockState p_154824_, BlockGetter p_154825_, BlockPos p_154826_) protected boolean
TransparentBlock.propagatesSkylightDown
(BlockState p_309084_, BlockGetter p_309133_, BlockPos p_309097_) protected boolean
VineBlock.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
WallBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) protected static boolean
BaseCoralPlantTypeBlock.scanForWater
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
CoralBlock.scanForWater
(BlockGetter level, BlockPos pos) private static boolean
FarmBlock.shouldMaintainFarmland
(BlockGetter level, BlockPos pos) boolean
DiodeBlock.shouldPrioritize
(BlockGetter level, BlockPos pos, BlockState state) Check if this diode should have a higher tick priority than default.static boolean
Block.shouldRenderFace
(BlockState state, BlockGetter level, BlockPos offset, Direction face, BlockPos pos) private static boolean
ConcretePowderBlock.shouldSolidify
(BlockGetter level, BlockPos pos, BlockState state) private static boolean
ConcretePowderBlock.shouldSolidify
(BlockGetter level, BlockPos pos, BlockState state, FluidState fluidState) protected boolean
MultifaceSpreader.DefaultSpreaderConfig.stateCanBeReplaced
(BlockGetter level, BlockPos pos, BlockPos spreadPos, Direction direction, BlockState state) boolean
SculkVeinBlock.SculkVeinSpreaderConfig.stateCanBeReplaced
(BlockGetter level, BlockPos pos, BlockPos spreadPos, Direction direction, BlockState state) boolean
MultifaceSpreader.SpreadPredicate.test
(BlockGetter level, BlockPos pos, MultifaceSpreader.SpreadPos spreadPos) private static boolean
ConcretePowderBlock.touchesLiquid
(BlockGetter level, BlockPos pos, BlockState state) void
BedBlock.updateEntityAfterFallOn
(BlockGetter level, Entity entity) Called when an Entity lands on this Block.void
Block.updateEntityAfterFallOn
(BlockGetter level, Entity entity) Called when an Entity lands on this Block.void
SlimeBlock.updateEntityAfterFallOn
(BlockGetter level, Entity entity) Called when an Entity lands on this Block. -
Uses of BlockGetter in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate static BlockPos
TheEndGatewayBlockEntity.findTallestBlock
(BlockGetter level, BlockPos pos, int radius, boolean allowBedrock) BlockEntityType.getBlockEntity
(BlockGetter level, BlockPos pos) static int
ChestBlockEntity.getOpenCount
(BlockGetter level, BlockPos pos) -
Uses of BlockGetter in net.minecraft.world.level.block.grower
Methods in net.minecraft.world.level.block.grower with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate static boolean
TreeGrower.isTwoByTwoSapling
(BlockState state, BlockGetter level, BlockPos pos, int xOffset, int yOffset) -
Uses of BlockGetter in net.minecraft.world.level.block.piston
Methods in net.minecraft.world.level.block.piston with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate PistonMovingBlockEntity
MovingPistonBlock.getBlockEntity
(BlockGetter blockReader, BlockPos pos) protected VoxelShape
MovingPistonBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) PistonMovingBlockEntity.getCollisionShape
(BlockGetter level, BlockPos pos) protected VoxelShape
MovingPistonBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PistonBaseBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PistonHeadBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) -
Uses of BlockGetter in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type BlockGetterModifier and TypeMethodDescriptionboolean
BlockBehaviour.BlockStateBase.emissiveRendering
(BlockGetter level, BlockPos pos) final boolean
BlockBehaviour.BlockStateBase.entityCanStandOn
(BlockGetter level, BlockPos pos, Entity entity) final boolean
BlockBehaviour.BlockStateBase.entityCanStandOnFace
(BlockGetter level, BlockPos pos, Entity entity, Direction face) BlockBehaviour.OffsetFunction.evaluate
(BlockState state, BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getBlockSupportShape
(BlockGetter level, BlockPos pos) protected VoxelShape
BlockBehaviour.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getCollisionShape
(BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getCollisionShape
(BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BlockBehaviour.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) float
BlockBehaviour.BlockStateBase.getDestroyProgress
(Player player, BlockGetter level, BlockPos pos) protected float
BlockBehaviour.getDestroyProgress
(BlockState state, Player player, BlockGetter level, BlockPos pos) Get the hardness of this Block relative to the ability of the given playerfloat
BlockBehaviour.BlockStateBase.getDestroySpeed
(BlockGetter level, BlockPos pos) int
BlockBehaviour.BlockStateBase.getDirectSignal
(BlockGetter level, BlockPos pos, Direction direction) protected int
BlockBehaviour.getDirectSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.BlockBehaviour.BlockStateBase.getFaceOcclusionShape
(BlockGetter level, BlockPos pos, Direction direction) BlockBehaviour.BlockStateBase.getInteractionShape
(BlockGetter level, BlockPos pos) protected VoxelShape
BlockBehaviour.getInteractionShape
(BlockState state, BlockGetter level, BlockPos pos) int
BlockBehaviour.BlockStateBase.getLightBlock
(BlockGetter level, BlockPos pos) protected int
BlockBehaviour.getLightBlock
(BlockState state, BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getMapColor
(BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getOcclusionShape
(BlockGetter level, BlockPos pos) protected VoxelShape
BlockBehaviour.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getOffset
(BlockGetter level, BlockPos pos) float
BlockBehaviour.BlockStateBase.getShadeBrightness
(BlockGetter level, BlockPos pos) protected float
BlockBehaviour.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getShape
(BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getShape
(BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BlockBehaviour.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) int
BlockBehaviour.BlockStateBase.getSignal
(BlockGetter level, BlockPos pos, Direction direction) protected int
BlockBehaviour.getSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.BlockBehaviour.BlockStateBase.getVisualShape
(BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BlockBehaviour.getVisualShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) boolean
BlockBehaviour.BlockStateBase.hasPostProcess
(BlockGetter level, BlockPos pos) boolean
BlockBehaviour.BlockStateBase.isCollisionShapeFullBlock
(BlockGetter level, BlockPos pos) protected boolean
BlockBehaviour.isCollisionShapeFullBlock
(BlockState state, BlockGetter level, BlockPos pos) boolean
BlockBehaviour.BlockStateBase.isFaceSturdy
(BlockGetter level, BlockPos pos, Direction direction) boolean
BlockBehaviour.BlockStateBase.isFaceSturdy
(BlockGetter level, BlockPos pos, Direction face, SupportType supportType) protected boolean
BlockBehaviour.isOcclusionShapeFullBlock
(BlockState state, BlockGetter level, BlockPos pos) boolean
BlockBehaviour.BlockStateBase.isRedstoneConductor
(BlockGetter level, BlockPos pos) boolean
BlockBehaviour.BlockStateBase.isSolidRender
(BlockGetter level, BlockPos pos) boolean
BlockBehaviour.BlockStateBase.isSuffocating
(BlockGetter level, BlockPos pos) boolean
BlockBehaviour.BlockStateBase.isValidSpawn
(BlockGetter level, BlockPos pos, EntityType<?> entityType) boolean
BlockBehaviour.BlockStateBase.isViewBlocking
(BlockGetter level, BlockPos pos) boolean
BlockBehaviour.BlockStateBase.propagatesSkylightDown
(BlockGetter level, BlockPos pos) protected boolean
BlockBehaviour.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) boolean
BlockBehaviour.StateArgumentPredicate.test
(BlockState state, BlockGetter level, BlockPos pos, A value) boolean
BlockBehaviour.StatePredicate.test
(BlockState state, BlockGetter level, BlockPos pos) -
Uses of BlockGetter in net.minecraft.world.level.chunk
Subinterfaces of BlockGetter in net.minecraft.world.level.chunkClasses in net.minecraft.world.level.chunk that implement BlockGetterModifier and TypeClassDescriptionclass
class
class
During world generation, adjacent chunks may be fully generated (and thus be level chunks), but are often needed in proto chunk form.class
class
Methods in net.minecraft.world.level.chunk that return BlockGetter -
Uses of BlockGetter in net.minecraft.world.level.levelgen.feature
Methods in net.minecraft.world.level.levelgen.feature with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate boolean
IcebergFeature.belowIsAir
(BlockGetter level, BlockPos pos) -
Uses of BlockGetter in net.minecraft.world.level.levelgen.structure
Methods in net.minecraft.world.level.levelgen.structure with parameters of type BlockGetterModifier and TypeMethodDescriptionprotected BlockState
StructurePiece.getBlock
(BlockGetter level, int x, int y, int z, BoundingBox box) static BlockState
StructurePiece.reorient
(BlockGetter level, BlockPos pos, BlockState state) -
Uses of BlockGetter in net.minecraft.world.level.levelgen.structure.structures
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate int
OceanRuinPieces.OceanRuinPiece.getHeight
(BlockPos templatePos, BlockGetter level, BlockPos pos) protected boolean
MineshaftPieces.MineShaftPiece.isSupportingBox
(BlockGetter level, BoundingBox box, int xStart, int xEnd, int y, int z) -
Uses of BlockGetter in net.minecraft.world.level.lighting
Methods in net.minecraft.world.level.lighting with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate int
ChunkSkyLightSources.findLowestSourceBelow
(BlockGetter level, BlockPos pos, BlockState state) static int
LightEngine.getLightBlockInto
(BlockGetter level, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int defaultReturnValue) static VoxelShape
LightEngine.getOcclusionShape
(BlockGetter level, BlockPos pos, BlockState state, Direction direction) static boolean
LightEngine.hasDifferentLightProperties
(BlockGetter level, BlockPos pos, BlockState state1, BlockState state2) private static boolean
ChunkSkyLightSources.isEdgeOccluded
(BlockGetter level, BlockPos pos1, BlockState state1, BlockPos pos2, BlockState state2) boolean
ChunkSkyLightSources.update
(BlockGetter level, int x, int y, int z) private boolean
ChunkSkyLightSources.updateEdge
(BlockGetter level, int index, int minY, BlockPos pos1, BlockState state1, BlockPos pos2, BlockState state2) -
Uses of BlockGetter in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material with parameters of type BlockGetterModifier and TypeMethodDescriptionboolean
EmptyFluid.canBeReplacedWith
(FluidState fluidState, BlockGetter blockReader, BlockPos pos, Fluid fluid, Direction direction) protected abstract boolean
Fluid.canBeReplacedWith
(FluidState state, BlockGetter level, BlockPos pos, Fluid fluid, Direction direction) boolean
FluidState.canBeReplacedWith
(BlockGetter level, BlockPos pos, Fluid fluid, Direction direction) boolean
LavaFluid.canBeReplacedWith
(FluidState fluidState, BlockGetter blockReader, BlockPos pos, Fluid fluid, Direction direction) boolean
WaterFluid.canBeReplacedWith
(FluidState fluidState, BlockGetter blockReader, BlockPos pos, Fluid fluid, Direction direction) private boolean
FlowingFluid.canHoldFluid
(BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) private boolean
FlowingFluid.canPassThrough
(BlockGetter level, Fluid fluid, BlockPos pos, BlockState state, Direction direction, BlockPos spreadPos, BlockState spreadState, FluidState fluidState) private boolean
FlowingFluid.canPassThroughWall
(Direction direction, BlockGetter level, BlockPos pos, BlockState state, BlockPos spreadPos, BlockState spreadState) protected boolean
FlowingFluid.canSpreadTo
(BlockGetter level, BlockPos fromPos, BlockState fromBlockState, Direction direction, BlockPos toPos, BlockState toBlockState, FluidState toFluidState, Fluid fluid) EmptyFluid.getFlow
(BlockGetter blockReader, BlockPos pos, FluidState fluidState) FlowingFluid.getFlow
(BlockGetter blockReader, BlockPos pos, FluidState fluidState) protected abstract Vec3
Fluid.getFlow
(BlockGetter blockReader, BlockPos pos, FluidState fluidState) FluidState.getFlow
(BlockGetter level, BlockPos pos) float
EmptyFluid.getHeight
(FluidState state, BlockGetter level, BlockPos pos) float
FlowingFluid.getHeight
(FluidState state, BlockGetter level, BlockPos pos) abstract float
Fluid.getHeight
(FluidState state, BlockGetter level, BlockPos pos) float
FluidState.getHeight
(BlockGetter level, BlockPos pos) EmptyFluid.getShape
(FluidState state, BlockGetter level, BlockPos pos) FlowingFluid.getShape
(FluidState state, BlockGetter level, BlockPos pos) abstract VoxelShape
Fluid.getShape
(FluidState state, BlockGetter level, BlockPos pos) FluidState.getShape
(BlockGetter level, BlockPos pos) private static boolean
FlowingFluid.hasSameAbove
(FluidState fluidState, BlockGetter level, BlockPos pos) protected boolean
FlowingFluid.isSolidFace
(BlockGetter level, BlockPos neighborPos, Direction side) private boolean
FlowingFluid.isWaterHole
(BlockGetter level, Fluid fluid, BlockPos pos, BlockState state, BlockPos spreadPos, BlockState spreadState) boolean
FluidState.shouldRenderBackwardUpFace
(BlockGetter level, BlockPos pos) -
Uses of BlockGetter in net.minecraft.world.level.pathfinder
Methods in net.minecraft.world.level.pathfinder with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate PathType
PathTypeCache.compute
(BlockGetter level, BlockPos pos, int index, long packedPos) static double
WalkNodeEvaluator.getFloorLevel
(BlockGetter level, BlockPos pos) PathTypeCache.getOrCompute
(BlockGetter level, BlockPos pos) protected static PathType
WalkNodeEvaluator.getPathTypeFromState
(BlockGetter level, BlockPos pos) -
Uses of BlockGetter in net.minecraft.world.level.saveddata.maps
Methods in net.minecraft.world.level.saveddata.maps with parameters of type BlockGetterModifier and TypeMethodDescriptionvoid
MapItemSavedData.checkBanners
(BlockGetter reader, int x, int z) static MapBanner
MapBanner.fromWorld
(BlockGetter level, BlockPos pos) -
Uses of BlockGetter in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type BlockGetterModifier and TypeMethodDescriptiondefault boolean
IBlockExtension.canBeHydrated
(BlockState state, BlockGetter getter, BlockPos pos, FluidState fluid, BlockPos fluidPos) Returns whether the block can be hydrated by a fluid.default boolean
IBlockStateExtension.canBeHydrated
(BlockGetter getter, BlockPos pos, FluidState fluid, BlockPos fluidPos) Returns whether the block can be hydrated by a fluid.default boolean
IBlockExtension.canConnectRedstone
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a given sidedefault boolean
IBlockExtension.canDropFromExplosion
(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default boolean
IBlockStateExtension.canDropFromExplosion
(BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default boolean
IBlockExtension.canEntityDestroy
(BlockState state, BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default boolean
IBlockStateExtension.canEntityDestroy
(BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default boolean
IFluidExtension.canExtinguish
(FluidState state, BlockGetter getter, BlockPos pos) Returns whether the block can be extinguished by this fluid.default boolean
IFluidStateExtension.canExtinguish
(BlockGetter getter, BlockPos pos) Returns whether the block can be extinguished by this fluid.default boolean
IBlockExtension.canHarvestBlock
(BlockState state, BlockGetter level, BlockPos pos, Player player) Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.default boolean
IBlockStateExtension.canHarvestBlock
(BlockGetter level, BlockPos pos, Player player) Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.default boolean
IFluidExtension.canHydrate
(FluidState state, BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.default boolean
IFluidStateExtension.canHydrate
(BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.default boolean
IBaseRailBlockExtension.canMakeSlopes
(BlockState state, BlockGetter level, BlockPos pos) Returns true if the rail can make up and down slopes.default boolean
IBlockStateExtension.canRedstoneConnectTo
(BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a side.default TriState
IBlockExtension.canSustainPlant
(BlockState state, BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.default TriState
IBlockStateExtension.canSustainPlant
(BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.default boolean
IBlockExtension.collisionExtendsVertically
(BlockState state, BlockGetter level, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default boolean
IBlockStateExtension.collisionExtendsVertically
(BlockGetter level, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default @Nullable PathType
IBlockExtension.getAdjacentBlockPathType
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent block to a pathfinding entity.default @Nullable PathType
IBlockStateExtension.getAdjacentBlockPathType
(BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent block to a pathfinding entity.default @Nullable PathType
IFluidExtension.getAdjacentBlockPathType
(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent fluid to a pathfinding entity.default @Nullable PathType
IFluidStateExtension.getAdjacentBlockPathType
(BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent fluid to a pathfinding entity.default @Nullable PathType
IBlockExtension.getBlockPathType
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default @Nullable PathType
IBlockStateExtension.getBlockPathType
(BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default @Nullable PathType
IFluidExtension.getBlockPathType
(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding.default @Nullable PathType
IFluidStateExtension.getBlockPathType
(BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding.default float
IBlockExtension.getExplosionResistance
(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault float
IBlockStateExtension.getExplosionResistance
(BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault float
IFluidExtension.getExplosionResistance
(FluidState state, BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default float
IFluidStateExtension.getExplosionResistance
(BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default int
IBlockExtension.getFireSpreadSpeed
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating on a neighbor block.default int
IBlockStateExtension.getFireSpreadSpeed
(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating on a neighbor block.default int
IBlockExtension.getFlammability
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Chance that fire will spread and consume this block.default int
IBlockStateExtension.getFlammability
(BlockGetter level, BlockPos pos, Direction face) Chance that fire will spread and consume this block.default int
IBlockExtension.getLightEmission
(BlockState state, BlockGetter level, BlockPos pos) Get a light value for this block, taking into account the given state and coordinates, normal ranges are between 0 and 15default int
IBlockStateExtension.getLightEmission
(BlockGetter level, BlockPos pos) Get a light value for this block, taking into account the given state and coordinates, normal ranges are between 0 and 15default MapColor
IBlockExtension.getMapColor
(BlockState state, BlockGetter level, BlockPos pos, MapColor defaultColor) Returns theMapColor
shown on the map.IBaseRailBlockExtension.getRailDirection
(BlockState state, BlockGetter level, BlockPos pos, @Nullable AbstractMinecart cart) Return the rail's direction.default BlockState
IBlockExtension.getStateAtViewpoint
(BlockState state, BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()
).default BlockState
IBlockStateExtension.getStateAtViewpoint
(BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()
).default boolean
IBlockExtension.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default boolean
IBlockStateExtension.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default boolean
IBlockExtension.isBed
(BlockState state, BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlock
checks.default boolean
IBlockStateExtension.isBed
(BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlock
checks.default boolean
IBlockExtension.isBurning
(BlockState state, BlockGetter level, BlockPos pos) Determines if this block should set fire and deal fire damage to entities coming into contact with it.default boolean
IBlockStateExtension.isBurning
(BlockGetter level, BlockPos pos) Determines if this block should set fire and deal fire damage to entities coming into contact with it.default boolean
IBlockExtension.isFertile
(BlockState state, BlockGetter level, BlockPos pos) Checks if this soil is fertile, typically this means that growth rates of plants on this soil will be slightly sped up.default boolean
IBlockStateExtension.isFertile
(BlockGetter level, BlockPos pos) Checks if this soil is fertile, typically this means that growth rates of plants on this soil will be slightly sped up.default boolean
IBlockExtension.isFlammable
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating, checks if a block face can catch fire.default boolean
IBlockStateExtension.isFlammable
(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating, checks if a block face can catch fire.boolean
IBaseRailBlockExtension.isFlexibleRail
(BlockState state, BlockGetter level, BlockPos pos) Return true if the rail can make corners.default boolean
IBlockExtension.isPortalFrame
(BlockState state, BlockGetter level, BlockPos pos) Determines if this block can be used as part of a frame of a nether portal.default boolean
IBlockStateExtension.isPortalFrame
(BlockGetter level, BlockPos pos) Determines if this block can be used as part of a frame of a nether portal. -
Uses of BlockGetter in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type BlockGetterModifier and TypeMethodDescriptionstatic boolean
EventHooks.doPlayerHarvestCheck
(Player player, BlockState state, BlockGetter level, BlockPos pos) -
Uses of BlockGetter in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as BlockGetterMethods in net.neoforged.neoforge.event.entity.player that return BlockGetterConstructors in net.neoforged.neoforge.event.entity.player with parameters of type BlockGetterModifierConstructorDescriptionHarvestCheck
(Player player, BlockState state, BlockGetter level, BlockPos pos, boolean success) -
Uses of BlockGetter in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type BlockGetterModifier and TypeMethodDescriptionprotected boolean
BaseFlowingFluid.canBeReplacedWith
(FluidState state, BlockGetter level, BlockPos pos, Fluid fluidIn, Direction direction) boolean
FluidType.canExtinguish
(FluidState state, BlockGetter getter, BlockPos pos) Returns whether the block can be extinguished by this fluid.boolean
FluidType.canHydrate
(FluidState state, BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.@Nullable PathType
FluidType.getAdjacentBlockPathType
(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent fluid to a pathfinding entity.@Nullable PathType
FluidType.getBlockPathType
(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding.@Nullable SoundEvent
FluidType.getSound
(@Nullable Player player, BlockGetter getter, BlockPos pos, SoundAction action) Returns a sound to play when a certain action is performed at a position.