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.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate void
BlockEntityWithBoundingBoxRenderer.renderInvisibleBlocks
(T pBlockEntity, BlockGetter pLevel, BlockPos pPos, Vec3i pBoxSize, MultiBufferSource pBufferSource, PoseStack pPoseStack) -
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.client.renderer.entity.state
Classes in net.minecraft.client.renderer.entity.state 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.monster
Methods in net.minecraft.world.entity.monster with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate boolean
Ghast.GhastMoveControl.blockTraversalPossible
(BlockGetter pLevel, Vec3 pFrom, Vec3 pTo, BlockPos pPos, boolean pIsInLava, boolean pIsInWater) -
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 BlockGetterModifier and TypeClassDescriptionenum
enum
class
class
Fields 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, 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
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
KelpBlock.canPlaceLiquid
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
KelpPlantBlock.canPlaceLiquid
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
LiquidBlockContainer.canPlaceLiquid
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
SeagrassBlock.canPlaceLiquid
(LivingEntity p_394548_, BlockGetter p_296449_, BlockPos p_154511_, BlockState p_154512_, Fluid p_295712_) default boolean
SimpleWaterloggedBlock.canPlaceLiquid
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
SlabBlock.canPlaceLiquid
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
TallSeagrassBlock.canPlaceLiquid
(LivingEntity p_394229_, 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
HangingMossBlock.canStayAtPosition
(BlockGetter pLevel, BlockPos pPos) private static boolean
MossyCarpetBlock.canSupportAtFace
(BlockGetter pLevel, BlockPos pPos, Direction pDirection) 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 static BlockState
MossyCarpetBlock.createTopperWithSideChance
(BlockGetter pLevel, BlockPos pPos, BooleanSupplier pPlaceSide) 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
MossyCarpetBlock.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 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
DragonEggBlock.getDustColor
(BlockState pState, BlockGetter pLevel, BlockPos pPos) abstract int
FallingBlock.getDustColor
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
EndPortalBlock.getEntityInsideCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Entity pEntity) protected VoxelShape
LavaCauldronBlock.getEntityInsideCollisionShape
(BlockState p_423606_, BlockGetter p_423559_, BlockPos p_423584_, Entity p_423629_) protected VoxelShape
LayeredCauldronBlock.getEntityInsideCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Entity pEntity) protected VoxelShape
PowderSnowBlock.getEntityInsideCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Entity pEntity) protected VoxelShape
TripWireBlock.getEntityInsideCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Entity pEntity) 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) private BlockState
RedStoneWireBlock.getMissingConnections
(BlockGetter pLevel, BlockState pState, 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
BushBlock.getShape
(BlockState p_401432_, BlockGetter p_401175_, BlockPos p_401162_, CollisionContext p_401402_) 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
CactusFlowerBlock.getShape
(BlockState p_401923_, BlockGetter p_401936_, BlockPos p_401926_, CollisionContext p_401860_) 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
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) DriedGhastBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DryVegetationBlock.getShape
(BlockState p_401767_, BlockGetter p_401764_, BlockPos p_401758_, CollisionContext p_401896_) 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) FlowerBedBlock.getShape
(BlockState p_393803_, BlockGetter p_394026_, BlockPos p_394322_, CollisionContext p_394474_) 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
HangingMossBlock.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) LeafLitterBlock.getShape
(BlockState p_393565_, BlockGetter p_393799_, BlockPos p_394123_, CollisionContext p_393894_) 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
MossyCarpetBlock.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_) 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
ShortDryGrassBlock.getShape
(BlockState p_401780_, BlockGetter p_401807_, BlockPos p_401895_, CollisionContext p_401802_) 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
TallDryGrassBlock.getShape
(BlockState p_401857_, BlockGetter p_401866_, BlockPos p_401940_, CollisionContext p_401832_) 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.int
TestBlock.getSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) 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) HangingMossBlock.getTip
(BlockGetter pLevel, BlockPos pPos) private static BlockState
MossyCarpetBlock.getUpdatedState
(BlockState pState, BlockGetter pLevel, BlockPos pPos, boolean pTip) 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
CactusFlowerBlock.mayPlaceOn
(BlockState p_401846_, BlockGetter p_401825_, BlockPos p_401934_) protected boolean
CropBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
DryVegetationBlock.mayPlaceOn
(BlockState p_401820_, BlockGetter p_401945_, BlockPos p_401852_) 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
VegetationBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) 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 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
(BlockGetter level, BlockPos pos, BlockState p_152445_, BlockState p_361252_, Direction p_152448_) 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) protected void
BaseCoralPlantTypeBlock.tryScheduleDieTick
(BlockState pState, BlockGetter pLevel, ScheduledTickAccess pScheduledTickAccess, RandomSource pRandom, BlockPos pPos) void
BedBlock.updateEntityMovementAfterFallOn
(BlockGetter pLevel, Entity pEntity) void
Block.updateEntityMovementAfterFallOn
(BlockGetter pLevel, Entity pEntity) void
SlimeBlock.updateEntityMovementAfterFallOn
(BlockGetter pLevel, Entity pEntity) -
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.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.getEntityInsideCollisionShape
(BlockGetter pLevel, BlockPos pPos, Entity pEntity) protected VoxelShape
BlockBehaviour.getEntityInsideCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Entity pEntity) BlockBehaviour.BlockStateBase.getInteractionShape
(BlockGetter pLevel, BlockPos pPos) protected VoxelShape
BlockBehaviour.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getMapColor
(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) boolean
BlockBehaviour.BlockStateBase.isRedstoneConductor
(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.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 boolean
LightEngine.hasDifferentLightProperties
(BlockGetter level, BlockPos pos, BlockState p_285110_, BlockState p_285372_) 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
Fields in net.minecraft.world.level.material declared as BlockGetterMethods 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 static boolean
FlowingFluid.canHoldFluid
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) private static boolean
FlowingFluid.canHoldSpecificFluid
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) private boolean
FlowingFluid.canMaybePassThrough
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private boolean
FlowingFluid.canPassThrough
(BlockGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private static boolean
FlowingFluid.canPassThroughWall
(Direction pDirection, BlockGetter pLevel, BlockPos pPos, BlockState pState, BlockPos pSpreadPos, BlockState pSpreadState) Fluid.getAABB
(FluidState pState, BlockGetter pLevel, BlockPos pPos) FluidState.getAABB
(BlockGetter pLevel, BlockPos pPos) 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) (package private) boolean
FlowingFluid.isWaterHole
(BlockGetter pLevel, BlockPos pPos, BlockState pState, BlockPos pBelowPos, BlockState pBelowState) boolean
FluidState.shouldRenderBackwardUpFace
(BlockGetter pLevel, BlockPos pPos) Constructors in net.minecraft.world.level.material with parameters of type BlockGetterModifierConstructorDescription(package private)
SpreadContext
(BlockGetter pLevel, BlockPos pOrigin) -
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.portal
Methods in net.minecraft.world.level.portal with parameters of type BlockGetterModifier and TypeMethodDescriptionprivate static BlockPos
PortalShape.calculateBottomLeft
(BlockGetter pLevel, Direction pDirection, BlockPos pPos) private static int
PortalShape.calculateHeight
(BlockGetter p_374198_, BlockPos p_374414_, Direction p_374486_, int p_374126_, org.apache.commons.lang3.mutable.MutableInt p_374165_) private static int
PortalShape.calculateWidth
(BlockGetter pLevel, BlockPos pBottomLeft, Direction pDirection) static PortalShape
PortalShape.findAnyShape
(BlockGetter pLevel, BlockPos pBottomLeft, Direction.Axis pAxis) private static int
PortalShape.getDistanceUntilEdgeAboveFrame
(BlockGetter pLevel, BlockPos pPos, Direction pDirection) private static int
PortalShape.getDistanceUntilTop
(BlockGetter p_374443_, BlockPos p_374231_, Direction p_374062_, BlockPos.MutableBlockPos p_77729_, int p_374313_, org.apache.commons.lang3.mutable.MutableInt p_374330_) private static boolean
PortalShape.hasTopFrame
(BlockGetter pLevel, BlockPos pPos, Direction pDirection, BlockPos.MutableBlockPos pCheckPos, int pWidth, int pDistanceUntilTop) -
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 (seeinvalid reference
Camera#getBlockAtCamera()
default BlockState
IBlockStateExtension.getStateAtViewpoint
(BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeinvalid reference
Camera#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 LivingEntity entity, BlockGetter getter, BlockPos pos, SoundAction action) Returns a sound to play when a certain action is performed at a position.