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 pGetter, BlockPos pPos, Block pBaseBlock, Direction pDirection, Block pEndBlock) -
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 pLevel, Entity pEntity, boolean pDetached, boolean pThirdPersonReverse, float pPartialTick) -
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 pLevel, BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) -
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 pLevel, BlockPos pPos, Direction pSide, float pHeight, BlockState pBlockState) private static boolean
LiquidBlockRenderer.isFaceOccludedBySelf
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Direction pFace) private static boolean
LiquidBlockRenderer.isFaceOccludedByState
(BlockGetter pLevel, Direction pFace, float pHeight, BlockPos pPos, BlockState pState) -
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 pBlockGetter, BlockPos pPos) -
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 pLevel, int pY) boolean
SpreadPlayersCommand.Position.isSafe
(BlockGetter pLevel, int pY) -
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 pLevel, RandomSource pRandom, BlockPos pPs, ResourceKey<LootTable> pLootTable) -
Uses of BlockGetter in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type BlockGetterModifier and TypeMethodDescriptionfloat
Entity.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entityboolean
Entity.shouldBlockExplode
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) -
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 pPos, BlockGetter pLevel) protected BlockPos
PanicGoal.lookForWater
(BlockGetter pLevel, Entity pEntity, int pRange) -
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 pLevel, BlockPos pPos) -
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 pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) 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 pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entitystatic VoxelShape
DismountHelper.nonClimbableShape
(BlockGetter pLevel, BlockPos pPos) boolean
MinecartTNT.shouldBlockExplode
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) -
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 pX, int pZ) CollisionGetter.getChunkForCollisions
(int pChunkX, int pChunkZ) Level.getChunkForCollisions
(int pChunkX, int pChunkZ) default BlockGetter
LevelReader.getChunkForCollisions
(int pChunkX, int pChunkZ) PathNavigationRegion.getChunkForCollisions
(int pChunkX, int pChunkZ) Methods in net.minecraft.world.level with parameters of type BlockGetterModifier and TypeMethodDescriptionClipContext.Block.get
(BlockState pState, BlockGetter pBlock, BlockPos pPos, CollisionContext pCollisionContext) ClipContext.ShapeGetter.get
(BlockState pState, BlockGetter pBlock, BlockPos pPos, CollisionContext pCollisionContext) EntityBasedExplosionDamageCalculator.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) ExplosionDamageCalculator.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) SimpleExplosionDamageCalculator.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) ClipContext.getBlockShape
(BlockState pBlockState, BlockGetter pLevel, BlockPos pPos) ClipContext.getFluidShape
(FluidState pState, BlockGetter pLevel, BlockPos pPos) static boolean
NaturalSpawner.isValidEmptySpawnBlock
(BlockGetter pBlock, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, EntityType<?> pEntityType) boolean
EntityBasedExplosionDamageCalculator.shouldBlockExplode
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) boolean
ExplosionDamageCalculator.shouldBlockExplode
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) boolean
SimpleExplosionDamageCalculator.shouldBlockExplode
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) -
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 p_50775_, BlockGetter p_50776_, BlockPos p_50777_) static Boolean
Blocks.always
(BlockState p_50810_, BlockGetter p_50811_, BlockPos p_50812_, EntityType<?> p_50813_) private boolean
LadderBlock.canAttachTo
(BlockGetter pBlockReader, BlockPos pPos, Direction pDirection) static boolean
MultifaceBlock.canAttachTo
(BlockGetter pLevel, Direction pDirection, BlockPos pPos, BlockState pState) boolean
FireBlock.canCatchFire
(BlockGetter world, BlockPos pos, Direction face) Side sensitive version that calls the block function.private static boolean
PointedDripstoneBlock.canDripThrough
(BlockGetter pLevel, BlockPos pPos, BlockState pState) boolean
BarrierBlock.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
KelpBlock.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
KelpPlantBlock.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
LiquidBlockContainer.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
SeagrassBlock.canPlaceLiquid
(Player p_296226_, BlockGetter p_296449_, BlockPos p_154511_, BlockState p_154512_, Fluid p_295712_) default boolean
SimpleWaterloggedBlock.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
SlabBlock.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
TallSeagrassBlock.canPlaceLiquid
(Player p_296027_, BlockGetter p_154753_, BlockPos p_154754_, BlockState p_154755_, Fluid p_154756_) private boolean
VineBlock.canSpread
(BlockGetter pBlockReader, BlockPos pPos) boolean
MultifaceSpreader.canSpreadInAnyDirection
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pSpreadDirection) boolean
MultifaceSpreader.DefaultSpreaderConfig.canSpreadInto
(BlockGetter pLevel, BlockPos pPos, MultifaceSpreader.SpreadPos pSpreadPos) boolean
MultifaceSpreader.SpreadConfig.canSpreadInto
(BlockGetter pLevel, BlockPos pPos, MultifaceSpreader.SpreadPos pSpreadPos) private boolean
VineBlock.canSupportAtFace
(BlockGetter pLevel, BlockPos pPos, Direction pDirection) static boolean
Block.canSupportRigidBlock
(BlockGetter pLevel, BlockPos pPos) private boolean
RedStoneWireBlock.canSurviveOn
(BlockGetter pLevel, BlockPos pPos, BlockState pState) private static boolean
StairBlock.canTakeShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pFace) private boolean
FrostedIceBlock.fewerNeigboursThan
(BlockGetter pLevel, BlockPos pPos, int pNeighborsRequired) static Direction
BedBlock.getBedOrientation
(BlockGetter pLevel, BlockPos pPos) protected VoxelShape
CeilingHangingSignBlock.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) ChorusFlowerBlock.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
FenceGateBlock.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
LeavesBlock.getBlockSupportShape
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected VoxelShape
MudBlock.getBlockSupportShape
(BlockState p_221566_, BlockGetter p_221567_, BlockPos p_221568_) protected VoxelShape
ShulkerBoxBlock.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
SnowLayerBlock.getBlockSupportShape
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected VoxelShape
SoulSandBlock.getBlockSupportShape
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected VoxelShape
WallHangingSignBlock.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
BambooStalkBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BellBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BigDripleafBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CactusBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ComposterBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CrossCollisionBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FenceGateBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
GrindstoneBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
HoneyBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LecternBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LiquidBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
MudBlock.getCollisionShape
(BlockState p_221561_, BlockGetter p_221562_, BlockPos p_221563_, CollisionContext p_221564_) PitcherCropBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
PowderSnowBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ScaffoldingBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SculkShriekerBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SnowLayerBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SoulSandBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallHangingSignBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) private RedstoneSide
RedStoneWireBlock.getConnectingSide
(BlockGetter pLevel, BlockPos pPos, Direction pFace) private RedstoneSide
RedStoneWireBlock.getConnectingSide
(BlockGetter pLevel, BlockPos pPos, Direction pDirection, boolean pNonNormalCubeAbove) private BlockState
RedStoneWireBlock.getConnectionState
(BlockGetter pLevel, BlockState pState, BlockPos pPos) protected float
BambooSaplingBlock.getDestroyProgress
(BlockState pState, Player pPlayer, BlockGetter pLevel, BlockPos pPos) Get the hardness of this Block relative to the ability of the given playerprotected float
BambooStalkBlock.getDestroyProgress
(BlockState pState, Player pPlayer, BlockGetter pLevel, BlockPos pPos) Get the hardness of this Block relative to the ability of the given playerprotected int
BasePressurePlateBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
ButtonBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
DetectorRailBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
DiodeBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
LecternBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
LeverBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
LightningRodBlock.getDirectSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the direct signal this block emits in the given direction.protected int
ObserverBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
RedstoneTorchBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
RedStoneWireBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.int
SculkSensorBlock.getDirectSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the direct signal this block emits in the given direction.protected int
TrappedChestBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
TripWireHookBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.static int
ScaffoldingBlock.getDistance
(BlockGetter pLevel, BlockPos pPos) int
AnvilBlock.getDustColor
(BlockState pState, BlockGetter pReader, BlockPos pPos) int
ColoredFallingBlock.getDustColor
(BlockState pState, BlockGetter pLevel, BlockPos pPos) int
ConcretePowderBlock.getDustColor
(BlockState pState, BlockGetter pReader, BlockPos pPos) int
FallingBlock.getDustColor
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected static float
CropBlock.getGrowthSpeed
(BlockState blockState, BlockGetter p_52274_, BlockPos p_52275_) GrowingPlantBodyBlock.getHeadPos
(BlockGetter pLevel, BlockPos pPos, Block pBlock) protected int
BambooStalkBlock.getHeightAboveUpToMax
(BlockGetter pLevel, BlockPos pPos) protected int
BambooStalkBlock.getHeightBelowUpToMax
(BlockGetter pLevel, BlockPos pPos) protected VoxelShape
AbstractCauldronBlock.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
ComposterBlock.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
HopperBlock.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
ScaffoldingBlock.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected int
LeavesBlock.getLightBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected int
TintedGlassBlock.getLightBlock
(BlockState p_154828_, BlockGetter p_154829_, BlockPos p_154830_) private BlockState
RedStoneWireBlock.getMissingConnections
(BlockGetter pLevel, BlockState pState, BlockPos pPos) protected VoxelShape
FenceBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
FenceGateBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
LecternBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
PointedDripstoneBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
PowderSnowBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
SculkShriekerBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
SkullBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected int
ComparatorBlock.getOutputSignal
(BlockGetter pLevel, BlockPos pPos, BlockState pState) protected int
DiodeBlock.getOutputSignal
(BlockGetter pLevel, BlockPos pPos, BlockState pState) BaseRailBlock.getRailDirection
(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart) protected float
BarrierBlock.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected float
LightBlock.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected float
MudBlock.getShadeBrightness
(BlockState p_221552_, BlockGetter p_221553_, BlockPos p_221554_) protected float
SnowLayerBlock.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected float
SoulSandBlock.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected float
StructureVoidBlock.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected float
TransparentBlock.getShadeBrightness
(BlockState p_308911_, BlockGetter p_308952_, BlockPos p_308918_) protected VoxelShape
AbstractCauldronBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
AirBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
AmethystClusterBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
AnvilBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
AttachedStemBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
AzaleaBlock.getShape
(BlockState p_152084_, BlockGetter p_152085_, BlockPos p_152086_, CollisionContext p_152087_) protected VoxelShape
BambooSaplingBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BambooStalkBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BannerBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseCoralFanBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseCoralPlantBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseCoralPlantTypeBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseCoralWallFanBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseFireBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BasePressurePlateBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseRailBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseTorchBlock.getShape
(BlockState p_304673_, BlockGetter p_304919_, BlockPos p_304930_, CollisionContext p_304757_) protected VoxelShape
BedBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BeetrootBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BellBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BigDripleafBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BigDripleafStemBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BrewingStandBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BubbleColumnBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ButtonBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CactusBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CakeBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CampfireBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CandleBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CandleCakeBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CarpetBlock.getShape
(BlockState p_152917_, BlockGetter p_152918_, BlockPos p_152919_, CollisionContext p_152920_) protected VoxelShape
CarrotBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CeilingHangingSignBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ChainBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ChestBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CocoaBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ComposterBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ConduitBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CoralPlantBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CropBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CrossCollisionBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DaylightDetectorBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DeadBushBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DecoratedPotBlock.getShape
(BlockState p_273112_, BlockGetter p_273055_, BlockPos p_273137_, CollisionContext p_273151_) protected VoxelShape
DiodeBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DirtPathBlock.getShape
(BlockState p_153143_, BlockGetter p_153144_, BlockPos p_153145_, CollisionContext p_153146_) protected VoxelShape
DoorBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DragonEggBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
EnchantingTableBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
EnderChestBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
EndPortalBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
EndPortalFrameBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FarmBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FenceGateBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FireBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FlowerBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FlowerPotBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FrogspawnBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FungusBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
GrindstoneBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
GrowingPlantBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LadderBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LanternBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LecternBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LeverBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LightBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LiquidBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
MangrovePropaguleBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
MultifaceBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
MushroomBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
NetherPortalBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
NetherSproutsBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
NetherWartBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) PitcherCropBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
PointedDripstoneBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
PotatoBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
RedstoneWallTorchBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
RedStoneWireBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
RodBlock.getShape
(BlockState p_154346_, BlockGetter p_154347_, BlockPos p_154348_, CollisionContext p_154349_) protected VoxelShape
RootsBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SaplingBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ScaffoldingBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SculkSensorBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SeagrassBlock.getShape
(BlockState p_154525_, BlockGetter p_154526_, BlockPos p_154527_, CollisionContext p_154528_) protected VoxelShape
SeaPickleBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ShulkerBoxBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SignBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SkullBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SlabBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SmallDripleafBlock.getShape
(BlockState p_154610_, BlockGetter p_154611_, BlockPos p_154612_, CollisionContext p_154613_) SnifferEggBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SnowLayerBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SporeBlossomBlock.getShape
(BlockState p_154699_, BlockGetter p_154700_, BlockPos p_154701_, CollisionContext p_154702_) protected VoxelShape
StairBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
StemBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
StonecutterBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
StructureVoidBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SugarCaneBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SweetBerryBushBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
TallGrassBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
TripWireBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
TripWireHookBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
TurtleEggBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
VineBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallBannerBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallHangingSignBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallSignBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallSkullBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallTorchBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WaterlilyBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected int
BasePressurePlateBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
ButtonBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) 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 pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
DetectorRailBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
DiodeBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.int
JukeboxBlock.getSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected int
LecternBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
LeverBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
LightningRodBlock.getSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected int
ObserverBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
PoweredBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
RedstoneTorchBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
RedstoneWallTorchBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
RedStoneWireBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
SculkSensorBlock.getSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected int
TargetBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
TrappedChestBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
TripWireHookBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.MultifaceSpreader.getSpreadFromFaceTowardDirection
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pSpreadDirection, Direction pFace, MultifaceSpreader.SpreadPredicate pPredicate) private static StairsShape
StairBlock.getStairsShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) Returns a stair shape property based on the surrounding stairs from the given blockstate and positionstatic BlockState
BaseFireBlock.getState
(BlockGetter pReader, BlockPos pPos) protected BlockState
FireBlock.getStateForPlacement
(BlockGetter pLevel, BlockPos pPos) MultifaceBlock.getStateForPlacement
(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) MultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement
(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) MultifaceSpreader.SpreadConfig.getStateForPlacement
(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) static BlockState
ChorusPlantBlock.getStateWithConnections
(BlockGetter pLevel, BlockPos pPos, BlockState pState) private BlockState
VineBlock.getUpdatedState
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
FenceBlock.getVisualShape
(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShape
IronBarsBlock.getVisualShape
(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShape
MudBlock.getVisualShape
(BlockState p_221556_, BlockGetter p_221557_, BlockPos p_221558_, CollisionContext p_221559_) protected VoxelShape
PowderSnowBlock.getVisualShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SnowLayerBlock.getVisualShape
(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SoulSandBlock.getVisualShape
(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShape
TransparentBlock.getVisualShape
(BlockState p_309057_, BlockGetter p_308936_, BlockPos p_308956_, CollisionContext p_309006_) static boolean
SnifferEggBlock.hatchBoost
(BlockGetter pLevel, BlockPos pPos) static boolean
VineBlock.isAcceptableNeighbour
(BlockGetter pBlockReader, BlockPos pNeighborPos, Direction pAttachedFace) private static boolean
ChestBlock.isBlockedChestByBlock
(BlockGetter pLevel, BlockPos pPos) private boolean
ScaffoldingBlock.isBottom
(BlockGetter pLevel, BlockPos pPos, int pDistance) private static boolean
BedBlock.isBunkBed
(BlockGetter pLevel, BlockPos pPos) protected boolean
BambooStalkBlock.isCollisionShapeFullBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
PointedDripstoneBlock.isCollisionShapeFullBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) boolean
BaseRailBlock.isFlexibleRail
(BlockState state, BlockGetter world, BlockPos pos) static boolean
TurtleEggBlock.isSand
(BlockGetter pReader, BlockPos pPos) abstract boolean
SupportType.isSupporting
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pFace) private boolean
FireBlock.isValidFireLocation
(BlockGetter pLevel, BlockPos pPos) boolean
MultifaceBlock.isValidStateForPlacement
(BlockGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection) protected boolean
AttachedStemBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
AzaleaBlock.mayPlaceOn
(BlockState p_152089_, BlockGetter p_152090_, BlockPos p_152091_) protected boolean
BushBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
CropBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
DeadBushBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) private static boolean
FrogspawnBlock.mayPlaceOn
(BlockGetter pLevel, BlockPos pPos) protected boolean
FungusBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
MangrovePropaguleBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
MushroomBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
NetherSproutsBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
NetherWartBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
PitcherCropBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
RootsBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
SeagrassBlock.mayPlaceOn
(BlockState p_154539_, BlockGetter p_154540_, BlockPos p_154541_) protected boolean
SeaPickleBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
SmallDripleafBlock.mayPlaceOn
(BlockState p_154636_, BlockGetter p_154637_, BlockPos p_154638_) protected boolean
StemBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
TallSeagrassBlock.mayPlaceOn
(BlockState p_154774_, BlockGetter p_154775_, BlockPos p_154776_) protected boolean
WaterlilyBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
WitherRoseBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) private static boolean
Blocks.never
(BlockState p_50806_, BlockGetter p_50807_, BlockPos p_50808_) static Boolean
Blocks.never
(BlockState p_50779_, BlockGetter p_50780_, BlockPos p_50781_, EntityType<?> p_50782_) static Boolean
Blocks.ocelotOrParrot
(BlockState p_50822_, BlockGetter p_50823_, BlockPos p_50824_, EntityType<?> p_50825_) static boolean
TurtleEggBlock.onSand
(BlockGetter pLevel, BlockPos pPos) protected boolean
BambooStalkBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
BarrierBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected boolean
BushBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected boolean
CrossCollisionBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected boolean
GlowLichenBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
LightBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
LiquidBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected boolean
PipeBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected boolean
ShulkerBoxBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pLevel, BlockPos pPos) 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 pState, BlockGetter pLevel, BlockPos pPos) protected boolean
WallBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected static boolean
BaseCoralPlantTypeBlock.scanForWater
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
CoralBlock.scanForWater
(BlockGetter pLevel, BlockPos pPos) private static boolean
FarmBlock.shouldMaintainFarmland
(BlockGetter pLevel, BlockPos pPos) boolean
DiodeBlock.shouldPrioritize
(BlockGetter pLevel, BlockPos pPos, BlockState pState) Check if this diode should have a higher tick priority than default.static boolean
Block.shouldRenderFace
(BlockState pState, BlockGetter pLevel, BlockPos pOffset, Direction pFace, BlockPos pPos) private static boolean
ConcretePowderBlock.shouldSolidify
(BlockGetter pLevel, BlockPos pPos, BlockState pState) private static boolean
ConcretePowderBlock.shouldSolidify
(BlockGetter pLevel, BlockPos pPos, BlockState pState, FluidState fluidState) protected boolean
MultifaceSpreader.DefaultSpreaderConfig.stateCanBeReplaced
(BlockGetter pLevel, BlockPos pPos, BlockPos pSpreadPos, Direction pDirection, BlockState pState) boolean
SculkVeinBlock.SculkVeinSpreaderConfig.stateCanBeReplaced
(BlockGetter pLevel, BlockPos pPos, BlockPos pSpreadPos, Direction pDirection, BlockState pState) boolean
MultifaceSpreader.SpreadPredicate.test
(BlockGetter pLevel, BlockPos pPos, MultifaceSpreader.SpreadPos pSpreadPos) private static boolean
ConcretePowderBlock.touchesLiquid
(BlockGetter pLevel, BlockPos pPos, BlockState state) void
BedBlock.updateEntityAfterFallOn
(BlockGetter pLevel, Entity pEntity) Called when an Entity lands on this Block.void
Block.updateEntityAfterFallOn
(BlockGetter pLevel, Entity pEntity) Called when an Entity lands on this Block.void
SlimeBlock.updateEntityAfterFallOn
(BlockGetter pLevel, Entity pEntity) 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 pLevel, BlockPos pPos, int pRadius, boolean pAllowBedrock) BlockEntityType.getBlockEntity
(BlockGetter pLevel, BlockPos pPos) static int
ChestBlockEntity.getOpenCount
(BlockGetter pLevel, BlockPos pPos) -
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 pState, BlockGetter pLevel, BlockPos pPos, int pXOffset, int pYOffset) -
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 pBlockReader, BlockPos pPos) protected VoxelShape
MovingPistonBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) PistonMovingBlockEntity.getCollisionShape
(BlockGetter pLevel, BlockPos pPos) protected VoxelShape
MovingPistonBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
PistonBaseBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
PistonHeadBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) -
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 pLevel, BlockPos pPos) final boolean
BlockBehaviour.BlockStateBase.entityCanStandOn
(BlockGetter pLevel, BlockPos pPos, Entity pEntity) final boolean
BlockBehaviour.BlockStateBase.entityCanStandOnFace
(BlockGetter pLevel, BlockPos pPos, Entity pEntity, Direction pFace) BlockBehaviour.OffsetFunction.evaluate
(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getBlockSupportShape
(BlockGetter pLevel, BlockPos pPos) protected VoxelShape
BlockBehaviour.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getCollisionShape
(BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getCollisionShape
(BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BlockBehaviour.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) float
BlockBehaviour.BlockStateBase.getDestroyProgress
(Player pPlayer, BlockGetter pLevel, BlockPos pPos) protected float
BlockBehaviour.getDestroyProgress
(BlockState pState, Player pPlayer, BlockGetter pLevel, BlockPos pPos) Get the hardness of this Block relative to the ability of the given playerfloat
BlockBehaviour.BlockStateBase.getDestroySpeed
(BlockGetter pLevel, BlockPos pPos) int
BlockBehaviour.BlockStateBase.getDirectSignal
(BlockGetter pLevel, BlockPos pPos, Direction pDirection) protected int
BlockBehaviour.getDirectSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the direct signal this block emits in the given direction.BlockBehaviour.BlockStateBase.getFaceOcclusionShape
(BlockGetter pLevel, BlockPos pPos, Direction pDirection) BlockBehaviour.BlockStateBase.getInteractionShape
(BlockGetter pLevel, BlockPos pPos) protected VoxelShape
BlockBehaviour.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) int
BlockBehaviour.BlockStateBase.getLightBlock
(BlockGetter pLevel, BlockPos pPos) protected int
BlockBehaviour.getLightBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getMapColor
(BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getOcclusionShape
(BlockGetter pLevel, BlockPos pPos) protected VoxelShape
BlockBehaviour.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getOffset
(BlockGetter pLevel, BlockPos pPos) float
BlockBehaviour.BlockStateBase.getShadeBrightness
(BlockGetter pLevel, BlockPos pPos) protected float
BlockBehaviour.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getShape
(BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getShape
(BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BlockBehaviour.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) int
BlockBehaviour.BlockStateBase.getSignal
(BlockGetter pLevel, BlockPos pPos, Direction pDirection) protected int
BlockBehaviour.getSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.BlockBehaviour.BlockStateBase.getVisualShape
(BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BlockBehaviour.getVisualShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) boolean
BlockBehaviour.BlockStateBase.hasPostProcess
(BlockGetter pLevel, BlockPos pPos) boolean
BlockBehaviour.BlockStateBase.isCollisionShapeFullBlock
(BlockGetter pLevel, BlockPos pPos) protected boolean
BlockBehaviour.isCollisionShapeFullBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) boolean
BlockBehaviour.BlockStateBase.isFaceSturdy
(BlockGetter pLevel, BlockPos pPos, Direction pDirection) boolean
BlockBehaviour.BlockStateBase.isFaceSturdy
(BlockGetter pLevel, BlockPos pPos, Direction pFace, SupportType pSupportType) protected boolean
BlockBehaviour.isOcclusionShapeFullBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) boolean
BlockBehaviour.BlockStateBase.isRedstoneConductor
(BlockGetter pLevel, BlockPos pPos) boolean
BlockBehaviour.BlockStateBase.isSolidRender
(BlockGetter pLevel, BlockPos pPos) boolean
BlockBehaviour.BlockStateBase.isSuffocating
(BlockGetter pLevel, BlockPos pPos) boolean
BlockBehaviour.BlockStateBase.isValidSpawn
(BlockGetter pLevel, BlockPos pPos, EntityType<?> pEntityType) boolean
BlockBehaviour.BlockStateBase.isViewBlocking
(BlockGetter pLevel, BlockPos pPos) boolean
BlockBehaviour.BlockStateBase.propagatesSkylightDown
(BlockGetter pLevel, BlockPos pPos) protected boolean
BlockBehaviour.propagatesSkylightDown
(BlockState pState, BlockGetter pLevel, BlockPos pPos) boolean
BlockBehaviour.StateArgumentPredicate.test
(BlockState pState, BlockGetter pLevel, BlockPos pPos, A pValue) boolean
BlockBehaviour.StatePredicate.test
(BlockState pState, BlockGetter pLevel, BlockPos pPos) -
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 pLevel, BlockPos pPos) -
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 pLevel, int pX, int pY, int pZ, BoundingBox pBox) static BlockState
StructurePiece.reorient
(BlockGetter pLevel, BlockPos pPos, BlockState pState) -
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 pTemplatePos, BlockGetter pLevel, BlockPos pPos) protected boolean
MineshaftPieces.MineShaftPiece.isSupportingBox
(BlockGetter pLevel, BoundingBox pBox, int pXStart, int pXEnd, int pY, int pZ) -
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 pLevel, BlockPos pPos, BlockState pState) static int
LightEngine.getLightBlockInto
(BlockGetter pLevel, BlockState pState1, BlockPos pPos1, BlockState pState2, BlockPos pPos2, Direction pDirection, int pDefaultReturnValue) static VoxelShape
LightEngine.getOcclusionShape
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Direction pDirection) static boolean
LightEngine.hasDifferentLightProperties
(BlockGetter pLevel, BlockPos pPos, BlockState pState1, BlockState pState2) private static boolean
ChunkSkyLightSources.isEdgeOccluded
(BlockGetter pLevel, BlockPos pPos1, BlockState pState1, BlockPos pPos2, BlockState pState2) boolean
ChunkSkyLightSources.update
(BlockGetter pLevel, int pX, int pY, int pZ) private boolean
ChunkSkyLightSources.updateEdge
(BlockGetter pLevel, int pIndex, int pMinY, BlockPos pPos1, BlockState pState1, BlockPos pPos2, BlockState pState2) -
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 pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) protected abstract boolean
Fluid.canBeReplacedWith
(FluidState pState, BlockGetter pLevel, BlockPos pPos, Fluid pFluid, Direction pDirection) boolean
FluidState.canBeReplacedWith
(BlockGetter pLevel, BlockPos pPos, Fluid pFluid, Direction pDirection) boolean
LavaFluid.canBeReplacedWith
(FluidState pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) boolean
WaterFluid.canBeReplacedWith
(FluidState pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) private boolean
FlowingFluid.canHoldFluid
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) private boolean
FlowingFluid.canPassThrough
(BlockGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private boolean
FlowingFluid.canPassThroughWall
(Direction pDirection, BlockGetter pLevel, BlockPos pPos, BlockState pState, BlockPos pSpreadPos, BlockState pSpreadState) protected boolean
FlowingFluid.canSpreadTo
(BlockGetter pLevel, BlockPos pFromPos, BlockState pFromBlockState, Direction pDirection, BlockPos pToPos, BlockState pToBlockState, FluidState pToFluidState, Fluid pFluid) EmptyFluid.getFlow
(BlockGetter pBlockReader, BlockPos pPos, FluidState pFluidState) FlowingFluid.getFlow
(BlockGetter pBlockReader, BlockPos pPos, FluidState pFluidState) protected abstract Vec3
Fluid.getFlow
(BlockGetter pBlockReader, BlockPos pPos, FluidState pFluidState) FluidState.getFlow
(BlockGetter pLevel, BlockPos pPos) float
EmptyFluid.getHeight
(FluidState pState, BlockGetter pLevel, BlockPos pPos) float
FlowingFluid.getHeight
(FluidState pState, BlockGetter pLevel, BlockPos pPos) abstract float
Fluid.getHeight
(FluidState pState, BlockGetter pLevel, BlockPos pPos) float
FluidState.getHeight
(BlockGetter pLevel, BlockPos pPos) EmptyFluid.getShape
(FluidState pState, BlockGetter pLevel, BlockPos pPos) FlowingFluid.getShape
(FluidState pState, BlockGetter pLevel, BlockPos pPos) abstract VoxelShape
Fluid.getShape
(FluidState pState, BlockGetter pLevel, BlockPos pPos) FluidState.getShape
(BlockGetter pLevel, BlockPos pPos) private static boolean
FlowingFluid.hasSameAbove
(FluidState pFluidState, BlockGetter pLevel, BlockPos pPos) protected boolean
FlowingFluid.isSolidFace
(BlockGetter pLevel, BlockPos pNeighborPos, Direction pSide) private boolean
FlowingFluid.isWaterHole
(BlockGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pState, BlockPos pSpreadPos, BlockState pSpreadState) boolean
FluidState.shouldRenderBackwardUpFace
(BlockGetter pLevel, BlockPos pPos) -
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 pLevel, BlockPos pPos, int pIndex, long pPackedPos) static double
WalkNodeEvaluator.getFloorLevel
(BlockGetter pLevel, BlockPos pPos) PathTypeCache.getOrCompute
(BlockGetter pLevel, BlockPos pPos) protected static PathType
WalkNodeEvaluator.getPathTypeFromState
(BlockGetter pLevel, BlockPos pPos) -
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 pReader, int pX, int pZ) static MapBanner
MapBanner.fromWorld
(BlockGetter pLevel, BlockPos pPos) -
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. 300 being a 100% chance, 0, being a 0% chance.default int
IBlockStateExtension.getFlammability
(BlockGetter level, BlockPos pos, Direction face) Chance that fire will spread and consume this block. 300 being a 100% chance, 0, being a 0% chance.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.debug.block
Methods in net.neoforged.neoforge.debug.block with parameters of type BlockGetterModifier and TypeMethodDescriptionCanSustainPlantTests.CustomSuperSustainingBlock.canSustainPlant
(BlockState state, BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) int
BlockPropertyTests.LightBlock.getLightEmission
(BlockState state, BlockGetter level, BlockPos pos) -
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. -
Uses of BlockGetter in net.neoforged.neoforge.oldtest.block
Methods in net.neoforged.neoforge.oldtest.block with parameters of type BlockGetterModifier and TypeMethodDescriptionboolean
RedstoneSidedConnectivityTest.EastRedstoneBlock.canConnectRedstone
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) CustomPlantTypeTest.CustomBlock.canSustainPlant
(BlockState state, BlockGetter level, BlockPos pos, Direction facing, BlockState plantable) FullPotsAccessorDemo.DioriteFlowerPotBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) boolean
HideNeighborFaceTest.GlassSlab.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir) boolean
CustomPlantTypeTest.CustomPlantBlock.mayPlaceOn
(BlockState state, BlockGetter worldIn, BlockPos pos) -
Uses of BlockGetter in net.neoforged.neoforge.oldtest.client.model
Methods in net.neoforged.neoforge.oldtest.client.model with parameters of type BlockGetterModifier and TypeMethodDescriptionNewModelLoaderTest.TestBlock.getShape
(BlockState state, BlockGetter worldIn, BlockPos pos, CollisionContext context) -
Uses of BlockGetter in net.neoforged.neoforge.oldtest.fluid
Methods in net.neoforged.neoforge.oldtest.fluid with parameters of type BlockGetterModifier and TypeMethodDescriptionboolean
NewFluidTest.FluidloggableBlock.canPlaceLiquid
(@Nullable Player player, BlockGetter worldIn, BlockPos pos, BlockState state, Fluid fluidIn)