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.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 p_45714_, BlockGetter p_45715_, BlockPos p_45716_, CollisionContext p_45717_) 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 p_346109_, BlockGetter p_345381_, BlockPos p_344921_, BlockState p_346239_, FluidState p_345105_) 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 p_345994_, BlockGetter p_345042_, BlockPos p_345057_, BlockState p_345932_, float p_345776_) -
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 pState, BlockGetter pBlockGetter, BlockPos pPos) static Boolean
Blocks.always
(BlockState pState, BlockGetter pLevel, BlockPos pPos, EntityType<?> pEntity) 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 p_394532_, BlockGetter p_295048_, BlockPos p_295143_, BlockState p_294224_, Fluid p_294851_) boolean
KelpBlock.canPlaceLiquid
(LivingEntity p_393686_, BlockGetter p_54304_, BlockPos p_54305_, BlockState p_54306_, Fluid p_54307_) boolean
KelpPlantBlock.canPlaceLiquid
(LivingEntity p_394660_, BlockGetter p_54325_, BlockPos p_54326_, BlockState p_54327_, Fluid p_54328_) 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 p_393688_, BlockGetter p_56301_, BlockPos p_56302_, BlockState p_56303_, Fluid p_56304_) boolean
SlabBlock.canPlaceLiquid
(LivingEntity p_394277_, BlockGetter p_56363_, BlockPos p_56364_, BlockState p_56365_, Fluid p_56366_) 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 p_221685_, BlockPos p_221686_, MultifaceSpreader.SpreadPos p_221687_) 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 p_254482_, BlockGetter p_253669_, BlockPos p_253916_) ChorusFlowerBlock.getBlockSupportShape
(BlockState p_294099_, BlockGetter p_294531_, BlockPos p_295431_) protected VoxelShape
FenceGateBlock.getBlockSupportShape
(BlockState p_253862_, BlockGetter p_254569_, BlockPos p_254197_) 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 p_259177_, BlockGetter p_260305_, BlockPos p_259168_) 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 p_253927_, BlockGetter p_254149_, BlockPos p_253805_) protected VoxelShape
BambooStalkBlock.getCollisionShape
(BlockState p_261560_, BlockGetter p_261965_, BlockPos p_261950_, CollisionContext p_261571_) protected VoxelShape
BellBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BigDripleafBlock.getCollisionShape
(BlockState p_152307_, BlockGetter p_152308_, BlockPos p_152309_, CollisionContext p_152310_) 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 p_380336_, BlockGetter p_380068_, BlockPos p_379717_, CollisionContext p_379651_) protected VoxelShape
MudBlock.getCollisionShape
(BlockState p_221561_, BlockGetter p_221562_, BlockPos p_221563_, CollisionContext p_221564_) PitcherCropBlock.getCollisionShape
(BlockState p_277609_, BlockGetter p_277398_, BlockPos p_278042_, CollisionContext p_277995_) protected VoxelShape
PowderSnowBlock.getCollisionShape
(BlockState p_154285_, BlockGetter p_154286_, BlockPos p_154287_, CollisionContext p_154288_) protected VoxelShape
ScaffoldingBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SculkShriekerBlock.getCollisionShape
(BlockState p_222225_, BlockGetter p_222226_, BlockPos p_222227_, CollisionContext p_222228_) 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 p_249963_, BlockGetter p_248542_, BlockPos p_252224_, CollisionContext p_251891_) 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) protected int
ButtonBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
DetectorRailBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
DiodeBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
LecternBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
LeverBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
LightningRodBlock.getDirectSignal
(BlockState p_153748_, BlockGetter p_153749_, BlockPos p_153750_, Direction p_153751_) protected int
ObserverBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
RedstoneTorchBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
RedStoneWireBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) int
SculkSensorBlock.getDirectSignal
(BlockState p_279407_, BlockGetter p_279217_, BlockPos p_279190_, Direction p_279273_) protected int
TrappedChestBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
TripWireHookBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) static int
ScaffoldingBlock.getDistance
(BlockGetter pLevel, BlockPos pPos) int
AnvilBlock.getDustColor
(BlockState pState, BlockGetter pReader, BlockPos pPos) int
ColoredFallingBlock.getDustColor
(BlockState p_304891_, BlockGetter p_304551_, BlockPos p_304702_) int
ConcretePowderBlock.getDustColor
(BlockState pState, BlockGetter pReader, BlockPos pPos) int
DragonEggBlock.getDustColor
(BlockState p_399914_, BlockGetter p_399493_, BlockPos p_399689_) abstract int
FallingBlock.getDustColor
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
EndPortalBlock.getEntityInsideCollisionShape
(BlockState p_371319_, BlockGetter p_399758_, BlockPos p_371244_, Entity p_399952_) protected VoxelShape
NetherPortalBlock.getEntityInsideCollisionShape
(BlockState p_400288_, BlockGetter p_400305_, BlockPos p_400030_, Entity p_399514_) protected VoxelShape
PowderSnowBlock.getEntityInsideCollisionShape
(BlockState p_399731_, BlockGetter p_399744_, BlockPos p_400088_, Entity p_399982_) protected VoxelShape
TripWireBlock.getEntityInsideCollisionShape
(BlockState p_371595_, BlockGetter p_400245_, BlockPos p_371231_, Entity p_399588_) 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 p_151955_, BlockGetter p_151956_, BlockPos p_151957_) 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 p_153689_, BlockGetter p_153690_, BlockPos p_153691_) protected float
MudBlock.getShadeBrightness
(BlockState p_221552_, BlockGetter p_221553_, BlockPos p_221554_) protected float
SnowLayerBlock.getShadeBrightness
(BlockState p_222453_, BlockGetter p_222454_, BlockPos p_222455_) protected float
SoulSandBlock.getShadeBrightness
(BlockState p_222462_, BlockGetter p_222463_, BlockPos p_222464_) 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 p_151964_, BlockGetter p_151965_, BlockPos p_151966_, CollisionContext p_151967_) protected VoxelShape
AirBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
AmethystClusterBlock.getShape
(BlockState p_152021_, BlockGetter p_152022_, BlockPos p_152023_, CollisionContext p_152024_) 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 p_261515_, BlockGetter p_261586_, BlockPos p_261526_, CollisionContext p_261930_) 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 p_152261_, BlockGetter p_152262_, BlockPos p_152263_, CollisionContext p_152264_) protected VoxelShape
BigDripleafStemBlock.getShape
(BlockState p_152360_, BlockGetter p_152361_, BlockPos p_152362_, CollisionContext p_152363_) 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 p_152817_, BlockGetter p_152818_, BlockPos p_152819_, CollisionContext p_152820_) protected VoxelShape
CandleCakeBlock.getShape
(BlockState p_152875_, BlockGetter p_152876_, BlockPos p_152877_, CollisionContext p_152878_) 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 p_250564_, BlockGetter p_248998_, BlockPos p_249501_, CollisionContext p_248978_) 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) protected VoxelShape
DryVegetationBlock.getShape
(BlockState p_401767_, BlockGetter p_401764_, BlockPos p_401758_, CollisionContext p_401896_) protected VoxelShape
EnchantingTableBlock.getShape
(BlockState p_340823_, BlockGetter p_340890_, BlockPos p_340839_, CollisionContext p_341114_) 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 p_221199_, BlockGetter p_221200_, BlockPos p_221201_, CollisionContext p_221202_) 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 p_379697_, BlockGetter p_380282_, BlockPos p_379821_, CollisionContext p_379644_) 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 p_153474_, BlockGetter p_153475_, BlockPos p_153476_, CollisionContext p_153477_) 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 p_153668_, BlockGetter p_153669_, BlockPos p_153670_, CollisionContext p_153671_) protected VoxelShape
LiquidBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
MangrovePropaguleBlock.getShape
(BlockState p_221468_, BlockGetter p_221469_, BlockPos p_221470_, CollisionContext p_221471_) protected VoxelShape
MossyCarpetBlock.getShape
(BlockState p_380262_, BlockGetter p_379532_, BlockPos p_379586_, CollisionContext p_380281_) protected VoxelShape
MultifaceBlock.getShape
(BlockState p_153851_, BlockGetter p_153852_, BlockPos p_153853_, CollisionContext p_153854_) 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 p_277602_, BlockGetter p_277617_, BlockPos p_278005_, CollisionContext p_277514_) protected VoxelShape
PointedDripstoneBlock.getShape
(BlockState p_154117_, BlockGetter p_154118_, BlockPos p_154119_, CollisionContext p_154120_) 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 p_154432_, BlockGetter p_154433_, BlockPos p_154434_, CollisionContext p_154435_) 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 p_277872_, BlockGetter p_278090_, BlockPos p_277364_, CollisionContext p_278016_) 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 p_250980_, BlockGetter p_251012_, BlockPos p_251391_, CollisionContext p_251875_) 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) protected int
ButtonBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) 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) protected int
DetectorRailBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
DiodeBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) int
JukeboxBlock.getSignal
(BlockState p_272942_, BlockGetter p_273232_, BlockPos p_273524_, Direction p_272902_) protected int
LecternBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
LeverBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
LightningRodBlock.getSignal
(BlockState p_153723_, BlockGetter p_153724_, BlockPos p_153725_, Direction p_153726_) protected int
ObserverBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
PoweredBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
RedstoneTorchBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
RedstoneWallTorchBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
RedStoneWireBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
SculkSensorBlock.getSignal
(BlockState p_154437_, BlockGetter p_154438_, BlockPos p_154439_, Direction p_154440_) protected int
TargetBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) int
TestBlock.getSignal
(BlockState p_397637_, BlockGetter p_397297_, BlockPos p_397948_, Direction p_397493_) protected int
TrappedChestBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected int
TripWireHookBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) 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 p_221694_, BlockGetter p_221695_, BlockPos p_221696_, Direction p_221697_) 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 p_154276_, BlockGetter p_154277_, BlockPos p_154278_, CollisionContext p_154279_) 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 p_262062_, BlockGetter p_261848_, BlockPos p_261466_) protected boolean
PointedDripstoneBlock.isCollisionShapeFullBlock
(BlockState p_181235_, BlockGetter p_181236_, BlockPos p_181237_) 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 p_221496_, BlockGetter p_221497_, BlockPos p_221498_) 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 p_277418_, BlockGetter p_277461_, BlockPos p_277608_) 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 pState, BlockGetter pBlockGetter, BlockPos pPos) static Boolean
Blocks.never
(BlockState pState, BlockGetter pLevel, BlockPos pPos, EntityType<?> pEntity) static Boolean
Blocks.ocelotOrParrot
(BlockState pState, BlockGetter pLevel, BlockPos pPos, EntityType<?> pEntity) 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 p_222405_, BlockPos p_222406_, BlockPos p_222407_, Direction p_222408_, BlockState p_222409_) 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 p_49483_, Entity p_49484_) void
Block.updateEntityMovementAfterFallOn
(BlockGetter pLevel, Entity pEntity) void
SlimeBlock.updateEntityMovementAfterFallOn
(BlockGetter p_56406_, Entity p_56407_) -
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 pLevel, BlockPos pPos, BlockState pState1, 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
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 p_75926_, BlockGetter p_75927_, BlockPos p_75928_) float
FlowingFluid.getHeight
(FluidState p_76050_, BlockGetter p_76051_, BlockPos p_76052_) abstract float
Fluid.getHeight
(FluidState pState, BlockGetter pLevel, BlockPos pPos) float
FluidState.getHeight
(BlockGetter pLevel, BlockPos pPos) EmptyFluid.getShape
(FluidState p_75939_, BlockGetter p_75940_, BlockPos p_75941_) FlowingFluid.getShape
(FluidState p_76084_, BlockGetter p_76085_, BlockPos p_76086_) 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 pLevel, BlockPos pPos, Direction pDirection, int pWidth, org.apache.commons.lang3.mutable.MutableInt pPortalBlocks) 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 pLevel, BlockPos pPos, Direction pDirection, BlockPos.MutableBlockPos pCheckPos, int pWidth, org.apache.commons.lang3.mutable.MutableInt pPortalBlocks) 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.