Uses of Class
net.minecraft.core.BlockPos
Packages that use BlockPos
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client
-only classes.-
Uses of BlockPos in net.minecraft
Fields in net.minecraft declared as BlockPosModifier and TypeFieldDescriptionfinal BlockPos
BlockUtil.FoundRectangle.minCorner
Starting position of the rectangle represented by this resultMethods in net.minecraft that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBlockUtil.getTopConnectedBlock
(BlockGetter pGetter, BlockPos pPos, Block pBaseBlock, Direction pDirection, Block pEndBlock) Methods in net.minecraft with parameters of type BlockPosModifier and TypeMethodDescriptionstatic String
CrashReportCategory.formatLocation
(LevelHeightAccessor pLevelHeightAccessor, BlockPos pPos) static BlockUtil.FoundRectangle
BlockUtil.getLargestRectangleAround
(BlockPos pCenterPos, Direction.Axis pAxis1, int pMax1, Direction.Axis pAxis2, int pMax2, Predicate<BlockPos> pPosPredicate) Finds the rectangle with the largest area containing centerPos within the blocks specified by the predicateBlockUtil.getTopConnectedBlock
(BlockGetter pGetter, BlockPos pPos, Block pBaseBlock, Direction pDirection, Block pEndBlock) static void
CrashReportCategory.populateBlockDetails
(CrashReportCategory pCategory, LevelHeightAccessor pLevelHeightAccessor, BlockPos pPos, BlockState pState) static CrashReportCategory
CrashReportCategory.populateBlockLocationDetails
(CrashReportCategory pCategory, LevelHeightAccessor pLevelHeightAccessor, BlockPos pPos) Method parameters in net.minecraft with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic BlockUtil.FoundRectangle
BlockUtil.getLargestRectangleAround
(BlockPos pCenterPos, Direction.Axis pAxis1, int pMax1, Direction.Axis pAxis2, int pMax2, Predicate<BlockPos> pPosPredicate) Finds the rectangle with the largest area containing centerPos within the blocks specified by the predicateprivate static int
BlockUtil.getLimit
(Predicate<BlockPos> pPosPredicate, BlockPos.MutableBlockPos pCenterPos, Direction pDirection, int pMax) Finds the distance we can travel in the given direction while the predicate returns trueConstructors in net.minecraft with parameters of type BlockPosModifierConstructorDescriptionFoundRectangle
(BlockPos pMinCorner, int pAxis1Size, int pAxis2Size) -
Uses of BlockPos in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
BlockPredicate.matches
(ServerLevel pLevel, BlockPos pPos) boolean
FluidPredicate.matches
(ServerLevel pLevel, BlockPos pPos) boolean
LightPredicate.matches
(ServerLevel pLevel, BlockPos pPos) void
AnyBlockInteractionTrigger.trigger
(ServerPlayer pPlayer, BlockPos pPos, ItemStack pStack) void
DefaultBlockInteractionTrigger.trigger
(ServerPlayer pPlayer, BlockPos pPos) void
ItemUsedOnLocationTrigger.trigger
(ServerPlayer pPlayer, BlockPos pPos, ItemStack pStack) void
UsedEnderEyeTrigger.trigger
(ServerPlayer pPlayer, BlockPos pPos) -
Uses of BlockPos in net.minecraft.client
Methods in net.minecraft.client that return BlockPosMethods in net.minecraft.client with parameters of type BlockPosModifier and TypeMethodDescriptionprivate void
KeyboardHandler.copyCreateBlockCommand
(BlockState pState, BlockPos pPos, CompoundTag pCompound) void
DebugQueryHandler.queryBlockEntityTag
(BlockPos pPos, Consumer<CompoundTag> pTag) -
Uses of BlockPos in net.minecraft.client.color.block
Fields in net.minecraft.client.color.block with type parameters of type BlockPosMethods in net.minecraft.client.color.block with parameters of type BlockPosModifier and TypeMethodDescriptionint
BlockColor.getColor
(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos, int pTintIndex) int
BlockColors.getColor
(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos, int pTintIndex) int
BlockColors.getColor
(BlockState pState, Level pLevel, BlockPos pPos) int
Constructor parameters in net.minecraft.client.color.block with type arguments of type BlockPos -
Uses of BlockPos in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as BlockPos -
Uses of BlockPos in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPos
MultiPlayerGameMode.destroyBlockPos
private BlockPos
ClientLevel.ClientLevelData.spawnPos
Methods in net.minecraft.client.multiplayer that return BlockPosMethods in net.minecraft.client.multiplayer with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
ClientLevel.addDestroyBlockEffect
(BlockPos pPos, BlockState pState) int
ClientLevel.calculateBlockTint
(BlockPos pBlockPos, ColorResolver pColorResolver) boolean
MultiPlayerGameMode.continueDestroyBlock
(BlockPos pPosBlock, Direction pDirectionFacing) boolean
MultiPlayerGameMode.destroyBlock
(BlockPos pPos) void
ClientLevel.destroyBlockProgress
(int pBreakerId, BlockPos pPos, int pProgress) int
ClientLevel.getBlockTint
(BlockPos pBlockPos, ColorResolver pColorResolver) int
ClientLevel.getClientLeafTintColor
(BlockPos pPos) ClientLevel.getModelData
(BlockPos pos) void
ClientLevel.globalLevelEvent
(int pId, BlockPos pPos, int pData) void
MultiPlayerGameMode.handlePickItemFromBlock
(BlockPos pPos, boolean pIncludeData) void
ClientLevel.levelEvent
(Entity pEntity, int pType, BlockPos pPos, int pData) private boolean
MultiPlayerGameMode.sameDestroyTarget
(BlockPos pPos) void
ClientLevel.sendBlockUpdated
(BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) Flags are as in setBlockStateboolean
ClientLevel.setBlock
(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) void
ClientLevel.setBlocksDirty
(BlockPos pBlockPos, BlockState pOldState, BlockState pNewState) void
ClientLevel.setDefaultSpawnPos
(BlockPos pSpawnPos, float pSpawnAngle) void
ClientLevel.setServerVerifiedBlockState
(BlockPos pPos, BlockState pState, int pFlags) void
private void
ClientLevel.spawnParticle
(BlockPos pPos, ParticleOptions pParticleData, VoxelShape pVoxelShape, double pY) boolean
MultiPlayerGameMode.startDestroyBlock
(BlockPos pLoc, Direction pFace) Called when the player is hitting a block with an item.void
ClientLevel.syncBlockState
(BlockPos pPos, BlockState pState, Vec3 pPlayerPos) private void
ClientLevel.trySpawnDripParticles
(BlockPos pBlockPos, BlockState pBlockState, ParticleOptions pParticleData, boolean pShapeDownSolid) -
Uses of BlockPos in net.minecraft.client.multiplayer.prediction
Methods in net.minecraft.client.multiplayer.prediction with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
BlockStatePredictionHandler.retainKnownServerState
(BlockPos pPos, BlockState pState, LocalPlayer pPlayer) void
BlockStatePredictionHandler.retainSnapshot
(BlockPos pos, BlockSnapshot snapshot) Sets the stored BlockSnapshot on the ServerVerifiedState for the given position.boolean
BlockStatePredictionHandler.updateKnownServerState
(BlockPos pPos, BlockState pState) -
Uses of BlockPos in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as BlockPosMethods in net.minecraft.client.particle with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
ParticleEngine.addBlockHitEffects
(BlockPos pos, BlockHitResult target) void
Adds block hit particles for the specified blockvoid
ParticleEngine.destroy
(BlockPos pPos, BlockState pState) TerrainParticle.updateSprite
(BlockState state, BlockPos pos) Constructors in net.minecraft.client.particle with parameters of type BlockPosModifierConstructorDescriptionTerrainParticle
(ClientLevel pLevel, double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, BlockState pState, BlockPos pPos) -
Uses of BlockPos in net.minecraft.client.player
Methods in net.minecraft.client.player with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as BlockPosModifier and TypeFieldDescription(package private) final BlockPos
Octree.cameraSectionCenter
private BlockPos
LevelRenderer.lastTranslucentSortBlockPos
Fields in net.minecraft.client.renderer with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map
<BlockPos, SoundInstance> LevelEventHandler.playingJukeboxSongs
Methods in net.minecraft.client.renderer that return types with arguments of type BlockPosModifier and TypeMethodDescriptionprivate static org.apache.commons.lang3.tuple.Pair
<BlockState, BlockPos> ScreenEffectRenderer.getOverlayBlock
(Player p_110717_) Methods in net.minecraft.client.renderer with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
LevelRenderer.blockChanged
(BlockGetter pLevel, BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) void
LevelRenderer.destroyBlockProgress
(int pBreakerId, BlockPos pPos, int pProgress) private static int
BiomeColors.getAverageColor
(BlockAndTintGetter pLevel, BlockPos pBlockPos, ColorResolver pColorResolver) static int
BiomeColors.getAverageDryFoliageColor
(BlockAndTintGetter pLevel, BlockPos pBlockPos) static int
BiomeColors.getAverageFoliageColor
(BlockAndTintGetter pLevel, BlockPos pBlockPos) static int
BiomeColors.getAverageGrassColor
(BlockAndTintGetter pLevel, BlockPos pBlockPos) static int
BiomeColors.getAverageWaterColor
(BlockAndTintGetter pLevel, BlockPos pBlockPos) static int
LevelRenderer.getLightColor
(LevelRenderer.BrightnessGetter pBrightnessGetter, BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos) static int
LevelRenderer.getLightColor
(BlockAndTintGetter pLevel, BlockPos pPos) private Biome.Precipitation
WeatherEffectRenderer.getPrecipitationAt
(Level pLevel, BlockPos pPos) protected SectionRenderDispatcher.RenderSection
ViewArea.getRenderSectionAt
(BlockPos pPos) void
LevelEventHandler.globalLevelEvent
(int pType, BlockPos pPos, int pData) Handles a global level event.boolean
LevelRenderer.isSectionCompiled
(BlockPos pPos) void
LevelEventHandler.levelEvent
(int pType, BlockPos pPos, int pData) private void
LevelEventHandler.notifyNearbyEntities
(Level pLevel, BlockPos pPos, boolean pPlaying) Notifies living entities in a 3 block range of the specifiedpos
that a record is or isn't playing nearby, dependent on the specifiedplaying
parameter.int
LevelRenderer.BrightnessGetter.packedBrightness
(BlockAndTintGetter pLevel, BlockPos pPos) private void
LevelEventHandler.playJukeboxSong
(Holder<JukeboxSong> pSong, BlockPos pPos) private void
LevelRenderer.renderHitOutline
(PoseStack pPoseStack, VertexConsumer pBuffer, Entity pEntity, double pCamX, double pCamY, double pCamZ, BlockPos pPos, BlockState pState, int pColor) private void
LevelRenderer.setBlockDirty
(BlockPos pPos, boolean pReRenderOnMainThread) void
LevelRenderer.setBlockDirty
(BlockPos pPos, BlockState pOldState, BlockState pNewState) private void
LevelEventHandler.shootParticles
(int pDirection, BlockPos pPos, RandomSource pRandom, SimpleParticleType pParticleType) private void
LevelEventHandler.stopJukeboxSong
(BlockPos pPos) private void
LevelEventHandler.stopJukeboxSongAndNotifyNearby
(BlockPos pPos) -
Uses of BlockPos in net.minecraft.client.renderer.block
Methods in net.minecraft.client.renderer.block with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
ModelBlockRenderer.AmbientOcclusionRenderStorage.calculate
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection, boolean pShade) private float
LiquidBlockRenderer.calculateAverageHeight
(BlockAndTintGetter pLevel, Fluid pFluid, float pCurrentHeight, float pHeight1, float pHeight2, BlockPos pPos) private static void
ModelBlockRenderer.calculateShape
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, int[] pVertices, Direction pDirection, ModelBlockRenderer.CommonRenderStorage pRenderStorage) private float
LiquidBlockRenderer.getHeight
(BlockAndTintGetter pLevel, Fluid pFluid, BlockPos pPos) private float
LiquidBlockRenderer.getHeight
(BlockAndTintGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pBlockState, FluidState pFluidState) private int
LiquidBlockRenderer.getLightColor
(BlockAndTintGetter pLevel, BlockPos pPos) int
ModelBlockRenderer.Cache.getLightColor
(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos) BlockModelShaper.getParticleIcon
(BlockState pState, BlockAndTintGetter level, BlockPos pos) float
ModelBlockRenderer.Cache.getShadeBrightness
(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos) private void
ModelBlockRenderer.putQuadData
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, VertexConsumer pConsumer, PoseStack.Pose pPose, BakedQuad pQuad, ModelBlockRenderer.CommonRenderStorage pRenderStorage, int pPackedOverlay) void
BlockRenderDispatcher.renderBatched
(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, List<BlockModelPart> pParts) Deprecated.void
BlockRenderDispatcher.renderBatched
(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234361_, List<BlockModelPart> p_410643_) void
BlockRenderDispatcher.renderBreakingTexture
(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer) void
BlockRenderDispatcher.renderLiquid
(BlockPos pPos, BlockAndTintGetter pLevel, VertexConsumer pConsumer, BlockState pBlockState, FluidState pFluidState) static void
ModelBlockRenderer.renderModel
(PoseStack.Pose p_111068_, MultiBufferSource bufferSource, BlockStateModel p_405848_, float p_111072_, float p_111073_, float p_111074_, int p_111075_, int p_111076_, BlockAndTintGetter level, BlockPos pos, BlockState state) private void
ModelBlockRenderer.renderModelFaceAO
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, List<BakedQuad> pQuads, ModelBlockRenderer.AmbientOcclusionRenderStorage pRenderStorage, int pPackedOverlay) private void
ModelBlockRenderer.renderModelFaceFlat
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, int pPackedLight, int pPackedOverlay, boolean pRepackLight, PoseStack pPoseStack, VertexConsumer pConsumer, List<BakedQuad> pQuads, ModelBlockRenderer.CommonRenderStorage pRenderStorage) private void
ModelBlockRenderer.renderModelQuadFlat
(BlockAndTintGetter p_111002_, BlockState p_111003_, BlockPos p_111004_, int p_111005_, int p_111006_, boolean p_111007_, PoseStack p_111008_, VertexConsumer p_111009_, BakedQuad bakedquad, ModelBlockRenderer.CommonRenderStorage p_412163_) void
BlockRenderDispatcher.renderSingleBlock
(BlockState pState, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, BlockAndTintGetter level, BlockPos pos) protected static boolean
ModelBlockRenderer.shouldRenderFace
(BlockAndTintGetter p_412640_, BlockPos pos, BlockState p_412168_, boolean p_412054_, Direction p_412130_, BlockPos p_412608_) private static boolean
ModelBlockRenderer.shouldRenderFace
(BlockAndTintGetter pLevel, BlockState pState, boolean pCheckSides, Direction pFace, BlockPos pPos) Deprecated.void
LiquidBlockRenderer.tesselate
(BlockAndTintGetter pLevel, BlockPos pPos, VertexConsumer pBuffer, BlockState pBlockState, FluidState pFluidState) void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter pLevel, List<BlockModelPart> pParts, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter p_234380_, List<BlockModelPart> p_410025_, BlockState p_234382_, BlockPos p_234383_, PoseStack p_234384_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234386_, int p_234389_) void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter pLevel, List<BlockModelPart> pParts, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter p_234391_, List<BlockModelPart> p_410478_, BlockState p_234393_, BlockPos p_234394_, PoseStack p_234395_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234397_, int p_234400_) void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter pLevel, List<BlockModelPart> pParts, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter p_234402_, List<BlockModelPart> p_410604_, BlockState p_234404_, BlockPos p_234405_, PoseStack p_234406_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234408_, int p_234411_) -
Uses of BlockPos in net.minecraft.client.renderer.block.model
Methods in net.minecraft.client.renderer.block.model with parameters of type BlockPosModifier and TypeMethodDescriptionSingleVariant.createGeometryKey
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) -
Uses of BlockPos in net.minecraft.client.renderer.block.model.multipart
Methods in net.minecraft.client.renderer.block.model.multipart with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
MultiPartModel.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource p_410101_, List<BlockModelPart> p_410550_) MultiPartModel.createGeometryKey
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) -
Uses of BlockPos in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static boolean
AbstractSignRenderer.isOutlineVisible
(BlockPos pPos, int pColor) private void
PistonHeadRenderer.renderBlock
(BlockPos pPos, BlockState pState, PoseStack pPoseStack, MultiBufferSource pBufferSource, Level pLevel, boolean pExtended, int pPackedOverlay) private void
BlockEntityWithBoundingBoxRenderer.renderInvisibleBlocks
(T pBlockEntity, BlockGetter pLevel, BlockPos pPos, Vec3i pBoxSize, MultiBufferSource pBufferSource, PoseStack pPoseStack) private void
AbstractSignRenderer.renderSignText
(BlockPos pPos, SignText pText, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pLineHeight, int pMaxLineWidth, boolean pIsFront) private void
BlockEntityWithBoundingBoxRenderer.renderStructureVoids
(T pBlockEntity, BlockPos pPos, Vec3i pBoxSize, VertexConsumer pConsumer, PoseStack pPoseStack) -
Uses of BlockPos in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map
<BlockPos, BlockEntity> SectionCopy.blockEntities
Methods in net.minecraft.client.renderer.chunk that return BlockPosModifier and TypeMethodDescriptionSectionRenderDispatcher.RenderSection.CompileTask.getRenderOrigin()
SectionRenderDispatcher.RenderSection.getRenderOrigin()
Methods in net.minecraft.client.renderer.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionRenderSectionRegion.getBlockEntity
(BlockPos pPos) SectionCopy.getBlockEntity
(BlockPos pPos) RenderSectionRegion.getBlockState
(BlockPos pPos) SectionCopy.getBlockState
(BlockPos pPos) int
RenderSectionRegion.getBlockTint
(BlockPos pBlockPos, ColorResolver pColorResolver) RenderSectionRegion.getFluidState
(BlockPos pPos) private static int
RenderSectionRegion.getModelData
(BlockPos pos) void
-
Uses of BlockPos in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
GoalSelectorDebugRenderer.EntityGoalInfo.entityPos
The field for theentityPos
record component.final BlockPos
BrainDebugRenderer.PoiInfo.pos
Fields in net.minecraft.client.renderer.debug with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map
<BlockPos, BeeDebugRenderer.HiveDebugInfo> BeeDebugRenderer.hives
NeighborsUpdateRenderer.lastUpdate
private final Map
<BlockPos, GameTestDebugRenderer.Marker> GameTestDebugRenderer.markers
private final Map
<BlockPos, BrainDebugRenderer.PoiInfo> BrainDebugRenderer.pois
private Collection
<BlockPos> RaidDebugRenderer.raidCenters
WorldGenAttemptRenderer.toRender
Methods in net.minecraft.client.renderer.debug that return BlockPosModifier and TypeMethodDescriptionGoalSelectorDebugRenderer.EntityGoalInfo.entityPos()
Returns the value of theentityPos
record component.Methods in net.minecraft.client.renderer.debug that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBeeDebugRenderer.createHiveBlacklistMap()
BeeDebugRenderer.getGhostHives()
BrainDebugRenderer.getGhostPois()
Methods in net.minecraft.client.renderer.debug with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
GoalSelectorDebugRenderer.addGoalSelector
(int pMobId, BlockPos pEntityPos, List<GoalDebugPayload.DebugGoal> pGoals) void
void
WorldGenAttemptRenderer.addPos
(BlockPos pPos, float pScale, float pRed, float pGreen, float pBlue, float pAlpha) void
private static float
PathfindingRenderer.distanceToCamera
(BlockPos pPos, double pX, double pY, double pZ) private Collection
<UUID> BeeDebugRenderer.getHiveMembers
(BlockPos pPos) private String
BeeDebugRenderer.getPosDescription
(BeeDebugPayload.BeeInfo pBeeInfo, BlockPos pPos) private Collection
<UUID> BrainDebugRenderer.getPotentialTicketHolders
(BlockPos pPos) private Collection
<UUID> BrainDebugRenderer.getTicketHolders
(BlockPos pPos) private static void
BeeDebugRenderer.highlightHive
(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pHivePos) private static void
BrainDebugRenderer.highlightPoi
(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pPos) private void
SupportBlockRenderer.highlightPosition
(BlockPos pPos, PoseStack pPoseStack, double pCamX, double pCamY, double pCamZ, MultiBufferSource pBuffer, double pBias, float pRed, float pGreen, float pBlue) private static void
RaidDebugRenderer.highlightRaidCenter
(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pPos) void
static void
DebugRenderer.renderFilledBox
(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pPos, float pScale, float pRed, float pGreen, float pBlue, float pAlpha) static void
DebugRenderer.renderFilledBox
(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pStartPos, BlockPos pEndPos, float pRed, float pGreen, float pBlue, float pAlpha) static void
DebugRenderer.renderFilledUnitCube
(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pPos, float pRed, float pGreen, float pBlue, float pAlpha) private void
BeeDebugRenderer.renderGhostHive
(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pHivePos, List<String> pGhostHives) private void
BrainDebugRenderer.renderGhostPoi
(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pPos, List<String> pPoiName) private void
GameTestDebugRenderer.renderMarker
(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pPos, GameTestDebugRenderer.Marker pMarker) private static void
RaidDebugRenderer.renderTextOverBlock
(PoseStack pPoseStack, MultiBufferSource pBuffer, String pText, BlockPos pPos, int pColor) private static void
BeeDebugRenderer.renderTextOverPos
(PoseStack pPoseStack, MultiBufferSource pBuffer, String pText, BlockPos pPos, int pLayer, int pColor) private static void
BrainDebugRenderer.renderTextOverPos
(PoseStack pPoseStack, MultiBufferSource pBuffer, String pText, BlockPos pPos, int pLayer, int pColor) void
BrainDebugRenderer.setFreeTicketCount
(BlockPos pPos, int pFreeTicketCount) Method parameters in net.minecraft.client.renderer.debug with type arguments of type BlockPosModifier and TypeMethodDescriptionvoid
RaidDebugRenderer.setRaidCenters
(Collection<BlockPos> pRaidCenters) Constructors in net.minecraft.client.renderer.debug with parameters of type BlockPosModifierConstructorDescription(package private)
EntityGoalInfo
(BlockPos entityPos, List<GoalDebugPayload.DebugGoal> goals) Creates an instance of aEntityGoalInfo
record class. -
Uses of BlockPos in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type BlockPosModifier and TypeMethodDescriptionprotected int
AllayRenderer.getBlockLightLevel
(Allay p_234560_, BlockPos p_234561_) protected int
BlazeRenderer.getBlockLightLevel
(Blaze pEntity, BlockPos pPos) protected int
DisplayRenderer.getBlockLightLevel
(T pEntity, BlockPos pPos) protected int
DragonFireballRenderer.getBlockLightLevel
(DragonFireball pEntity, BlockPos pPos) protected int
EntityRenderer.getBlockLightLevel
(T pEntity, BlockPos pPos) protected int
ExperienceOrbRenderer.getBlockLightLevel
(ExperienceOrb pEntity, BlockPos pPos) protected int
GlowSquidRenderer.getBlockLightLevel
(GlowSquid p_174146_, BlockPos p_174147_) protected int
ItemFrameRenderer.getBlockLightLevel
(T pEntity, BlockPos pPos) protected int
MagmaCubeRenderer.getBlockLightLevel
(MagmaCube pEntity, BlockPos pPos) protected int
ShulkerBulletRenderer.getBlockLightLevel
(ShulkerBullet pEntity, BlockPos pPos) protected int
ThrownItemRenderer.getBlockLightLevel
(T pEntity, BlockPos pPos) protected int
VexRenderer.getBlockLightLevel
(Vex pEntity, BlockPos pPos) protected int
WitherBossRenderer.getBlockLightLevel
(WitherBoss pEntity, BlockPos pPos) protected int
WitherSkullRenderer.getBlockLightLevel
(WitherSkull pEntity, BlockPos pPos) protected int
DisplayRenderer.getSkyLightLevel
(T pEntity, BlockPos pPos) protected int
EntityRenderer.getSkyLightLevel
(T pEntity, BlockPos pPos) private static void
EntityRenderDispatcher.renderBlockShadow
(PoseStack.Pose pPose, VertexConsumer pConsumer, ChunkAccess pChunk, LevelReader pLevel, BlockPos pPos, double pX, double pY, double pZ, float pSize, float pWeight) -
Uses of BlockPos in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as BlockPosModifier and TypeFieldDescriptionFallingBlockRenderState.blockPos
FallingBlockRenderState.startBlockPos
Methods in net.minecraft.client.renderer.entity.state with parameters of type BlockPosModifier and TypeMethodDescriptionFallingBlockRenderState.getBlockEntity
(BlockPos p_364380_) FallingBlockRenderState.getBlockState
(BlockPos p_365153_) int
FallingBlockRenderState.getBlockTint
(BlockPos p_363218_, ColorResolver p_362552_) FallingBlockRenderState.getFluidState
(BlockPos p_362887_) -
Uses of BlockPos in net.minecraft.client.renderer.fog.environment
Methods in net.minecraft.client.renderer.fog.environment with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
AtmosphericFogEnvironment.setupFog
(FogData p_423515_, Entity p_423566_, BlockPos p_423678_, ClientLevel p_423511_, float p_423456_, DeltaTracker p_423432_) void
BlindnessFogEnvironment.setupFog
(FogData p_423496_, Entity p_423549_, BlockPos p_423480_, ClientLevel p_423609_, float p_423576_, DeltaTracker p_423570_) void
DarknessFogEnvironment.setupFog
(FogData p_423539_, Entity p_423433_, BlockPos p_423453_, ClientLevel p_423550_, float p_423598_, DeltaTracker p_423497_) void
DimensionOrBossFogEnvironment.setupFog
(FogData p_423624_, Entity p_423437_, BlockPos p_423499_, ClientLevel p_423676_, float p_423577_, DeltaTracker p_423458_) abstract void
FogEnvironment.setupFog
(FogData pFogData, Entity pEntity, BlockPos pPos, ClientLevel pLevel, float pRenderDistance, DeltaTracker pDeltaTracker) void
LavaFogEnvironment.setupFog
(FogData p_423517_, Entity p_423438_, BlockPos p_423587_, ClientLevel p_423495_, float p_423631_, DeltaTracker p_423491_) void
PowderedSnowFogEnvironment.setupFog
(FogData p_423470_, Entity p_423599_, BlockPos p_423534_, ClientLevel p_423516_, float p_423481_, DeltaTracker p_423655_) void
WaterFogEnvironment.setupFog
(FogData p_423613_, Entity p_423611_, BlockPos p_423436_, ClientLevel p_423530_, float p_423585_, DeltaTracker p_423472_) -
Uses of BlockPos in net.minecraft.client.renderer.item.properties.numeric
Methods in net.minecraft.client.renderer.item.properties.numeric with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static double
CompassAngleState.getAngleFromEntityToPos
(Entity pEntity, BlockPos pPos) private float
CompassAngleState.getRotationTowardsCompassTarget
(Entity pEntity, long pGameTime, BlockPos pTargetPos) -
Uses of BlockPos in net.minecraft.client.resources.model
Methods in net.minecraft.client.resources.model with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
WeightedVariants.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource p_409649_, List<BlockModelPart> p_410123_) WeightedVariants.createGeometryKey
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) -
Uses of BlockPos in net.minecraft.client.resources.sounds
Constructors in net.minecraft.client.resources.sounds with parameters of type BlockPosModifierConstructorDescriptionSimpleSoundInstance
(SoundEvent pSoundEvent, SoundSource pSource, float pVolume, float pPitch, RandomSource pRandom, BlockPos pEntity) -
Uses of BlockPos in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
PunchTreeTutorialStepInstance.onDestroyBlock
(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) Called when a player hits block to destroy it.void
Tutorial.onDestroyBlock
(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) default void
TutorialStepInstance.onDestroyBlock
(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) Called when a player hits block to destroy it. -
Uses of BlockPos in net.minecraft.commands.arguments.blocks
Methods in net.minecraft.commands.arguments.blocks with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
BlockInput.place
(ServerLevel pLevel, BlockPos pPos, int pFlags) boolean
BlockInput.test
(ServerLevel pLevel, BlockPos pPos) -
Uses of BlockPos in net.minecraft.commands.arguments.coordinates
Methods in net.minecraft.commands.arguments.coordinates that return BlockPosModifier and TypeMethodDescriptionstatic BlockPos
BlockPosArgument.getBlockPos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_265651_, String p_265039_) default BlockPos
Coordinates.getBlockPos
(CommandSourceStack pSource) static BlockPos
BlockPosArgument.getLoadedBlockPos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_118243_, String p_118244_) static BlockPos
BlockPosArgument.getLoadedBlockPos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_265283_, ServerLevel p_265219_, String p_265677_) static BlockPos
BlockPosArgument.getSpawnablePos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_174396_, String p_174397_) -
Uses of BlockPos in net.minecraft.core
Subclasses of BlockPos in net.minecraft.coreFields in net.minecraft.core declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
BlockBox.max
The field for themax
record component.private final BlockPos
BlockBox.min
The field for themin
record component.private final BlockPos
GlobalPos.pos
The field for thepos
record component.static final BlockPos
BlockPos.ZERO
An immutable BlockPos with zero as all coordinates.Fields in net.minecraft.core with type parameters of type BlockPosModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BlockPos> BlockPos.CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, BlockPos> BlockPos.STREAM_CODEC
Methods in net.minecraft.core that return BlockPosModifier and TypeMethodDescriptionBlockPos.above()
BlockPos.above
(int pDistance) Offset this vector upwards by the given distance.BlockPos.atY
(int pY) BlockPos.below()
BlockPos.below
(int pDistance) Offset this vector downwards by the given distance.SectionPos.center()
static BlockPos
BlockPos.containing
(double pX, double pY, double pZ) static BlockPos
BlockPos.containing
(Position pPosition) Calculate the cross product of this and the given VectorBlockPos.east()
BlockPos.east
(int pDistance) BlockPos.immutable()
BlockPos.MutableBlockPos.immutable()
BlockBox.max()
Returns the value of themax
record component.static BlockPos
BlockBox.min()
Returns the value of themin
record component.static BlockPos
BlockPos.multiply
(int pScalar) BlockPos.MutableBlockPos.multiply
(int pScalar) BlockPos.north()
BlockPos.north
(int pDistance) static BlockPos
BlockPos.of
(long pPackedPos) BlockPos.MutableBlockPos.offset
(int pDx, int pDy, int pDz) BlockPos.offset
(int pDx, int pDy, int pDz) SectionPos.origin()
GlobalPos.pos()
Returns the value of thepos
record component.BlockPos.MutableBlockPos.relative
(Direction.Axis pAxis, int pAmount) Offsets this Vector by the given distance in the specified direction.BlockPos.relative
(Direction.Axis pAxis, int pAmount) Offsets this Vector by the given distance in the specified direction.SectionPos.relativeToBlockPos
(short pPos) BlockPos.south()
BlockPos.south
(int pDistance) BlockPos.west()
BlockPos.west
(int pDistance) Methods in net.minecraft.core that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBlockPos.betweenClosed
(int pX1, int pY1, int pZ1, int pX2, int pY2, int pZ2) Creates an Iterable that returns all positions in the box specified by the given corners.BlockPos.betweenClosed
(BlockPos pFirstPos, BlockPos pSecondPos) BlockPos.betweenClosed
(AABB pBox) BlockPos.betweenClosedStream
(int pMinX, int pMinY, int pMinZ, int pMaxX, int pMaxY, int pMaxZ) BlockPos.betweenClosedStream
(BlockPos pFirstPos, BlockPos pSecondPos) BlockPos.betweenClosedStream
(BoundingBox pBox) BlockPos.betweenClosedStream
(AABB pAabb) SectionPos.blocksInside()
BlockPos.findClosestMatch
(BlockPos pPos, int pWidth, int pHeight, Predicate<BlockPos> pPosFilter) BlockBox.iterator()
BlockPos.randomBetweenClosed
(RandomSource pRandom, int pAmount, int pMinX, int pMinY, int pMinZ, int pMaxX, int pMaxY, int pMaxZ) BlockPos.randomInCube
(RandomSource pRandom, int pAmount, BlockPos pCenter, int pRadius) BlockPos.squareOutSouthEast
(BlockPos pPos) Deprecated.BlockPos.withinManhattan
(BlockPos pPos, int pXSize, int pYSize, int pZSize) BlockPos.withinManhattanStream
(BlockPos pPos, int pXSize, int pYSize, int pZSize) Returns a stream of positions in a box shape, ordered by closest to furthest.Methods in net.minecraft.core with parameters of type BlockPosModifier and TypeMethodDescriptionstatic void
SectionPos.aroundAndAtBlockPos
(BlockPos p_194643_, it.unimi.dsi.fastutil.longs.LongConsumer p_194644_) static long
BlockPos.betweenClosed
(BlockPos pFirstPos, BlockPos pSecondPos) BlockPos.betweenClosedStream
(BlockPos pFirstPos, BlockPos pSecondPos) static int
BlockPos.breadthFirstTraversal
(BlockPos pStartPos, int pRadius, int pMaxBlocks, BiConsumer<BlockPos, Consumer<BlockPos>> pChildrenGetter, Function<BlockPos, BlockPos.TraversalNodeStatus> pAction) boolean
BlockPos.findClosestMatch
(BlockPos pPos, int pWidth, int pHeight, Predicate<BlockPos> pPosFilter) boolean
GlobalPos.isCloseEnough
(ResourceKey<Level> pDimension, BlockPos pPos, int pMaxDistance) static BlockPos
static BlockPos
static BlockBox
static BlockBox
static GlobalPos
GlobalPos.of
(ResourceKey<Level> p_122644_, BlockPos p_122645_) static SectionPos
BlockPos.randomInCube
(RandomSource pRandom, int pAmount, BlockPos pCenter, int pRadius) static short
SectionPos.sectionRelativePos
(BlockPos pPos) static Iterable
<BlockPos.MutableBlockPos> BlockPos.spiralAround
(BlockPos pCenter, int pSize, Direction pRotationDirection, Direction pExpansionDirection) BlockPos.squareOutSouthEast
(BlockPos pPos) Deprecated.BlockPos.withinManhattan
(BlockPos pPos, int pXSize, int pYSize, int pZSize) BlockPos.withinManhattanStream
(BlockPos pPos, int pXSize, int pYSize, int pZSize) Returns a stream of positions in a box shape, ordered by closest to furthest.Method parameters in net.minecraft.core with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic int
BlockPos.breadthFirstTraversal
(BlockPos pStartPos, int pRadius, int pMaxBlocks, BiConsumer<BlockPos, Consumer<BlockPos>> pChildrenGetter, Function<BlockPos, BlockPos.TraversalNodeStatus> pAction) static int
BlockPos.breadthFirstTraversal
(BlockPos pStartPos, int pRadius, int pMaxBlocks, BiConsumer<BlockPos, Consumer<BlockPos>> pChildrenGetter, Function<BlockPos, BlockPos.TraversalNodeStatus> pAction) static int
BlockPos.breadthFirstTraversal
(BlockPos pStartPos, int pRadius, int pMaxBlocks, BiConsumer<BlockPos, Consumer<BlockPos>> pChildrenGetter, Function<BlockPos, BlockPos.TraversalNodeStatus> pAction) BlockPos.findClosestMatch
(BlockPos pPos, int pWidth, int pHeight, Predicate<BlockPos> pPosFilter) Constructors in net.minecraft.core with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.core.cauldron
Methods in net.minecraft.core.cauldron with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static InteractionResult
CauldronInteraction.bannerInteraction
(BlockState p_365039_, Level p_360792_, BlockPos p_364354_, Player p_362948_, InteractionHand p_363589_, ItemStack p_365256_) private static InteractionResult
CauldronInteraction.dyedItemIteration
(BlockState p_364488_, Level p_363832_, BlockPos p_363503_, Player p_362213_, InteractionHand p_360757_, ItemStack p_360363_) static InteractionResult
CauldronInteraction.emptyBucket
(Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pFilledStack, BlockState pState, SoundEvent pEmptySound) static InteractionResult
CauldronInteraction.fillBucket
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pEmptyStack, ItemStack pFilledStack, Predicate<BlockState> pStatePredicate, SoundEvent pFillSound) private static InteractionResult
CauldronInteraction.fillLavaInteraction
(BlockState p_360382_, Level p_365170_, BlockPos p_361603_, Player p_365069_, InteractionHand p_360292_, ItemStack p_364835_) private static InteractionResult
CauldronInteraction.fillPowderSnowInteraction
(BlockState p_361682_, Level p_362979_, BlockPos p_361996_, Player p_361273_, InteractionHand p_361726_, ItemStack p_361338_) private static InteractionResult
CauldronInteraction.fillWaterInteraction
(BlockState p_362955_, Level p_363378_, BlockPos p_363149_, Player p_364905_, InteractionHand p_361406_, ItemStack p_361413_) CauldronInteraction.interact
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pStack) private static boolean
CauldronInteraction.isUnderWater
(Level pLevel, BlockPos pPos) private static InteractionResult
CauldronInteraction.shulkerBoxInteraction
(BlockState p_360793_, Level p_365272_, BlockPos p_361319_, Player p_365441_, InteractionHand p_361085_, ItemStack p_365174_) -
Uses of BlockPos in net.minecraft.core.dispenser
Fields in net.minecraft.core.dispenser declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
BlockSource.pos
The field for thepos
record component.Methods in net.minecraft.core.dispenser that return BlockPosModifier and TypeMethodDescriptionBlockSource.pos()
Returns the value of thepos
record component.Methods in net.minecraft.core.dispenser with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static RailShape
MinecartDispenseItemBehavior.getRailShape
(BlockState pState, ServerLevel level, BlockPos pos) private static boolean
ShearsDispenseItemBehavior.tryShearBeehive
(ServerLevel pLevel, BlockPos pPos) private static boolean
ShearsDispenseItemBehavior.tryShearEntity
(ServerLevel pLevel, BlockPos pPos, ItemStack pStack) Constructors in net.minecraft.core.dispenser with parameters of type BlockPosModifierConstructorDescriptionBlockSource
(ServerLevel level, BlockPos pos, BlockState state, DispenserBlockEntity blockEntity) Creates an instance of aBlockSource
record class. -
Uses of BlockPos in net.minecraft.core.particles
Fields in net.minecraft.core.particles declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
BlockParticleOption.pos
Neo: Position of the block this particle was spawned for, if available, to provide model data for the particle texture selectionMethods in net.minecraft.core.particles that return BlockPosModifier and TypeMethodDescriptionBlockParticleOption.getPos()
Neo: returns the position of the block this particle was spawned for, if availableConstructors in net.minecraft.core.particles with parameters of type BlockPosModifierConstructorDescriptionBlockParticleOption
(ParticleType<BlockParticleOption> pType, BlockState pState, BlockPos pos) Neo: construct aBlockParticleOption
for the given type andBlockState
and optionally the position of the block this particle is being spawned for -
Uses of BlockPos in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
GameTestAssertPosException.absolutePos
private final BlockPos
StructureGridSpawner.firstTestNorthWestCorner
private final BlockPos
GameTestAssertPosException.relativePos
private BlockPos
GameTestInfo.testBlockPos
Fields in net.minecraft.gametest.framework with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final UnaryOperator
<Supplier<Stream<BlockPos>>> TestFinder.Builder.structureBlockPosFinderWrapper
Methods in net.minecraft.gametest.framework that return BlockPosModifier and TypeMethodDescriptionGameTestHelper.absolutePos
(BlockPos pPos) private static BlockPos
TestCommand.createTestPositionAround
(CommandSourceStack pSource) private BlockPos
BlockBasedTestInstance.findStartBlock
(GameTestHelper pHelper) GameTestAssertPosException.getAbsolutePos()
GameTestAssertPosException.getRelativePos()
GameTestInfo.getTestBlockPos()
GameTestInfo.getTestOrigin()
static BlockPos
StructureUtils.getTransformedFarCorner
(BlockPos pPos, Vec3i pOffset, Rotation pRotation) GameTestHelper.relativePos
(BlockPos pPos) Methods in net.minecraft.gametest.framework that return types with arguments of type BlockPosModifier and TypeMethodDescriptionStructureUtils.findNearestTest
(BlockPos pPos, int pRadius, ServerLevel pLevel) BlockBasedTestInstance.findTestBlocks
(GameTestHelper pHelper, TestBlockMode pMode) StructureUtils.findTestBlocks
(BlockPos pPos, int pRadius, ServerLevel pLevel) StructureUtils.findTestContainingPos
(BlockPos pPos, int pRadius, ServerLevel pLevel) TestFinder.findTestPos()
TestPosFinder.findTestPos()
StructureUtils.lookedAtTestPos
(BlockPos pPos, Entity pEntity, ServerLevel pLevel) Methods in net.minecraft.gametest.framework with parameters of type BlockPosModifier and TypeMethodDescriptionGameTestHelper.absolutePos
(BlockPos pPos) void
GameTestHelper.assertAtTickTimeContainerContains
(long pTickTime, BlockPos pPos, Item pItem) void
GameTestHelper.assertAtTickTimeContainerEmpty
(long pTickTime, BlockPos pPos) void
GameTestHelper.assertBlock
(BlockPos pPos, Predicate<Block> pPredicate, Function<Block, Component> pMessage) <T extends BlockEntity>
voidGameTestHelper.assertBlockEntityData
(BlockPos pPos, Class<T> pBlockEntityClass, Predicate<T> pPredicate, Supplier<Component> pMessage) void
GameTestHelper.assertBlockNotPresent
(Block pBlock, BlockPos pPos) void
GameTestHelper.assertBlockPresent
(Block pBlock, BlockPos pPos) <T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty
(BlockPos pPos, Property<T> pProperty, Predicate<T> pPredicate, Component pMessage) <T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty
(BlockPos pPos, Property<T> pProperty, T pValue) void
GameTestHelper.assertBlockState
(BlockPos pPos, Predicate<BlockState> pPredicate, Function<BlockState, Component> pMessage) void
GameTestHelper.assertBlockState
(BlockPos pPos, BlockState pState) void
GameTestHelper.assertBlockTag
(TagKey<Block> pTag, BlockPos pPos) void
GameTestHelper.assertContainerContains
(BlockPos pPos, Item pItem) void
GameTestHelper.assertContainerContainsSingle
(BlockPos pPos, Item pItem) void
GameTestHelper.assertContainerEmpty
(BlockPos pPos) void
GameTestHelper.assertEntitiesPresent
(EntityType<?> pEntityType, BlockPos pPos, int pCount, double pRadius) <E extends Entity,
T>
voidGameTestHelper.assertEntityData
(BlockPos pPos, EntityType<E> pType, Function<? super E, T> pEntityDataGetter, T pTestEntityData) <E extends Entity,
T>
voidGameTestHelper.assertEntityData
(BlockPos pPos, EntityType<E> pType, Predicate<E> pPredicate) void
GameTestHelper.assertEntityInstancePresent
(Entity pEntity, BlockPos pPos) <E extends Entity & InventoryCarrier>
voidGameTestHelper.assertEntityInventoryContains
(BlockPos pPos, EntityType<E> pEntityType, Item pItem) <E extends LivingEntity>
voidGameTestHelper.assertEntityIsHolding
(BlockPos pPos, EntityType<E> pEntityType, Item pItem) void
GameTestHelper.assertEntityNotPresent
(EntityType<?> pType, BlockPos pPos) void
GameTestHelper.assertEntityPresent
(EntityType<?> pType, BlockPos pPos) void
GameTestHelper.assertEntityPresent
(EntityType<?> pType, BlockPos pPos, double pExpansionAmount) GameTestHelper.assertionException
(BlockPos pPos, String pMessageKey, Object... pArgs) GameTestHelper.assertionException
(BlockPos pPos, Component pMessage) void
GameTestHelper.assertItemEntityCountIs
(Item pItem, BlockPos pPos, double pExpansionAmount, int pCount) void
GameTestHelper.assertItemEntityNotPresent
(Item pItem, BlockPos pPos, double pRadius) void
GameTestHelper.assertItemEntityPresent
(Item pItem, BlockPos pPos, double pExpansionAmount) void
GameTestHelper.assertRedstoneSignal
(BlockPos pPos, Direction pDirection, IntPredicate pSignalStrengthPredicate, Supplier<Component> pMessage) void
GameTestHelper.assertSameBlockState
(BlockPos pTestPos, BlockPos pComparisonPos) void
GameTestHelper.assertSameBlockStates
(BoundingBox pBoundingBox, BlockPos pPos) private static void
StructureUtils.clearBlock
(int pStructureBlockY, BlockPos pPos, ServerLevel pServerLevel) private static Optional
<GameTestInfo> TestCommand.createGameTestInfo
(BlockPos pPos, CommandSourceStack pSource, RetryOptions pRetryOptions) static TestInstanceBlockEntity
StructureUtils.createNewEmptyTest
(ResourceLocation pId, BlockPos pPos, Vec3i pSize, Rotation pRotation, ServerLevel pLevel) private TestInstanceBlockEntity
GameTestInfo.createTestInstanceBlock
(BlockPos pPos, Rotation pRotation, ServerLevel pLevel) void
GameTestHelper.destroyBlock
(BlockPos pPos) private static boolean
StructureUtils.doesStructureContain
(BlockPos pStructureBlockPos, BlockPos pPosToTest, ServerLevel pServerLevel) void
StructureUtils.findNearestTest
(BlockPos pPos, int pRadius, ServerLevel pLevel) StructureUtils.findTestBlocks
(BlockPos pPos, int pRadius, ServerLevel pLevel) StructureUtils.findTestContainingPos
(BlockPos pPos, int pRadius, ServerLevel pLevel) <T extends BlockEntity>
TGameTestHelper.getBlockEntity
(BlockPos pPos, Class<T> pClazz) GameTestHelper.getBlockState
(BlockPos pPos) GameTestHelper.getEntities
(EntityType<T> pEntityType, BlockPos pPos, double pRadius) static BoundingBox
StructureUtils.getStructureBoundingBox
(BlockPos pPos, Vec3i pOffset, Rotation pRotation) static BlockPos
StructureUtils.getTransformedFarCorner
(BlockPos pPos, Vec3i pOffset, Rotation pRotation) StructureUtils.lookedAtTestPos
(BlockPos pPos, Entity pEntity, ServerLevel pLevel) void
void
GameTestHelper.pressButton
(BlockPos pPos) void
void
GameTestHelper.pulseRedstone
(BlockPos pPos, long pDelay) void
GameTestHelper.randomTick
(BlockPos pPos) GameTestHelper.relativePos
(BlockPos pPos) void
void
GameTestHelper.setBlock
(BlockPos pPos, BlockState pState) void
GameTestInfo.setTestBlockPos
(BlockPos pTestBlockPos) private static void
ReportGameListener.showRedBox
(ServerLevel pServerLevel, BlockPos pPos, String pDisplayMessage) <E extends Entity>
EGameTestHelper.spawn
(EntityType<E> pType, BlockPos pPos) <E extends Mob>
EGameTestHelper.spawnWithNoFreeWill
(EntityType<E> pType, BlockPos pPos) void
GameTestHelper.succeedWhenBlockPresent
(Block pBlock, BlockPos pPos) <E extends Entity,
T>
voidGameTestHelper.succeedWhenEntityData
(BlockPos pPos, EntityType<E> pType, Function<E, T> pEntityDataGetter, T pTestEntityData) void
GameTestHelper.succeedWhenEntityNotPresent
(EntityType<?> pType, BlockPos pPos) void
GameTestHelper.succeedWhenEntityPresent
(EntityType<?> pType, BlockPos pPos) void
void
GameTestHelper.tickPrecipitation
(BlockPos pPos) void
void
void
GameTestHelper.useBlock
(BlockPos pPos, Player pPlayer, BlockHitResult pResult) Method parameters in net.minecraft.gametest.framework with type arguments of type BlockPosModifier and TypeMethodDescriptionvoid
GameTestHelper.forEveryBlockInStructure
(Consumer<BlockPos> pConsumer) Constructors in net.minecraft.gametest.framework with parameters of type BlockPosModifierConstructorDescriptionGameTestAssertPosException
(Component pMessage, BlockPos pAbsolutePos, BlockPos pRelativePos, int pTick) StructureGridSpawner
(BlockPos pNorthTestNorthWestCorner, int pTestsPerRow, boolean pClearOnBatch) -
Uses of BlockPos in net.minecraft.network
Methods in net.minecraft.network that return BlockPosModifier and TypeMethodDescriptionFriendlyByteBuf.readBlockPos()
static BlockPos
FriendlyByteBuf.readBlockPos
(io.netty.buffer.ByteBuf p_320037_) Methods in net.minecraft.network with parameters of type BlockPosModifier and TypeMethodDescriptionstatic void
FriendlyByteBuf.writeBlockPos
(io.netty.buffer.ByteBuf p_320943_, BlockPos p_320546_) FriendlyByteBuf.writeBlockPos
(BlockPos pPos) Writes a BlockPos encoded as a long to the buffer. -
Uses of BlockPos in net.minecraft.network.protocol.common.custom
Fields in net.minecraft.network.protocol.common.custom declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
BeeDebugPayload.BeeInfo.flowerPos
The field for theflowerPos
record component.private final BlockPos
BeeDebugPayload.BeeInfo.hivePos
The field for thehivePos
record component.private final BlockPos
BreezeDebugPayload.BreezeInfo.jumpTarget
The field for thejumpTarget
record component.private final BlockPos
GameTestAddMarkerDebugPayload.pos
The field for thepos
record component.private final BlockPos
GoalDebugPayload.pos
The field for thepos
record component.private final BlockPos
HiveDebugPayload.HiveInfo.pos
The field for thepos
record component.private final BlockPos
NeighborUpdatesDebugPayload.pos
The field for thepos
record component.private final BlockPos
PoiAddedDebugPayload.pos
The field for thepos
record component.private final BlockPos
PoiRemovedDebugPayload.pos
The field for thepos
record component.private final BlockPos
PoiTicketCountDebugPayload.pos
The field for thepos
record component.private final BlockPos
RedstoneWireOrientationsDebugPayload.Wire.pos
The field for thepos
record component.private final BlockPos
WorldGenAttemptDebugPayload.pos
The field for thepos
record component.Fields in net.minecraft.network.protocol.common.custom with type parameters of type BlockPosModifier and TypeFieldDescriptionBeeDebugPayload.BeeInfo.blacklistedHives
The field for theblacklistedHives
record component.BrainDebugPayload.BrainDump.pois
The field for thepois
record component.BrainDebugPayload.BrainDump.potentialPois
The field for thepotentialPois
record component.RaidsDebugPayload.raidCenters
The field for theraidCenters
record component.Methods in net.minecraft.network.protocol.common.custom that return BlockPosModifier and TypeMethodDescriptionBeeDebugPayload.BeeInfo.flowerPos()
Returns the value of theflowerPos
record component.BeeDebugPayload.BeeInfo.hivePos()
Returns the value of thehivePos
record component.BreezeDebugPayload.BreezeInfo.jumpTarget()
Returns the value of thejumpTarget
record component.GameTestAddMarkerDebugPayload.pos()
Returns the value of thepos
record component.GoalDebugPayload.pos()
Returns the value of thepos
record component.HiveDebugPayload.HiveInfo.pos()
Returns the value of thepos
record component.NeighborUpdatesDebugPayload.pos()
Returns the value of thepos
record component.PoiAddedDebugPayload.pos()
Returns the value of thepos
record component.PoiRemovedDebugPayload.pos()
Returns the value of thepos
record component.PoiTicketCountDebugPayload.pos()
Returns the value of thepos
record component.RedstoneWireOrientationsDebugPayload.Wire.pos()
Returns the value of thepos
record component.WorldGenAttemptDebugPayload.pos()
Returns the value of thepos
record component.Methods in net.minecraft.network.protocol.common.custom that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBeeDebugPayload.BeeInfo.blacklistedHives()
Returns the value of theblacklistedHives
record component.BrainDebugPayload.BrainDump.pois()
Returns the value of thepois
record component.BrainDebugPayload.BrainDump.potentialPois()
Returns the value of thepotentialPois
record component.RaidsDebugPayload.raidCenters()
Returns the value of theraidCenters
record component.Methods in net.minecraft.network.protocol.common.custom with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
boolean
boolean
BrainDebugPayload.BrainDump.hasPotentialPoi
(BlockPos pPos) Constructors in net.minecraft.network.protocol.common.custom with parameters of type BlockPosModifierConstructorDescriptionBeeInfo
(UUID uuid, int id, Vec3 pos, Path path, BlockPos hivePos, BlockPos flowerPos, int travelTicks, Set<String> goals, List<BlockPos> blacklistedHives) Creates an instance of aBeeInfo
record class.BreezeInfo
(UUID uuid, int id, Integer attackTarget, BlockPos jumpTarget) Creates an instance of aBreezeInfo
record class.GameTestAddMarkerDebugPayload
(BlockPos pos, int color, String text, int durationMs) Creates an instance of aGameTestAddMarkerDebugPayload
record class.GoalDebugPayload
(int entityId, BlockPos pos, List<GoalDebugPayload.DebugGoal> goals) Creates an instance of aGoalDebugPayload
record class.Creates an instance of aHiveInfo
record class.NeighborUpdatesDebugPayload
(long time, BlockPos pos) Creates an instance of aNeighborUpdatesDebugPayload
record class.PoiAddedDebugPayload
(BlockPos pos, String poiType, int freeTicketCount) Creates an instance of aPoiAddedDebugPayload
record class.Creates an instance of aPoiRemovedDebugPayload
record class.PoiTicketCountDebugPayload
(BlockPos pos, int freeTicketCount) Creates an instance of aPoiTicketCountDebugPayload
record class.Wire
(BlockPos pos, Orientation orientation) Creates an instance of aWire
record class.WorldGenAttemptDebugPayload
(BlockPos pos, float scale, float red, float green, float blue, float alpha) Creates an instance of aWorldGenAttemptDebugPayload
record class.Constructor parameters in net.minecraft.network.protocol.common.custom with type arguments of type BlockPosModifierConstructorDescriptionBeeInfo
(UUID uuid, int id, Vec3 pos, Path path, BlockPos hivePos, BlockPos flowerPos, int travelTicks, Set<String> goals, List<BlockPos> blacklistedHives) Creates an instance of aBeeInfo
record class.BrainDump
(UUID uuid, int id, String name, String profession, int xp, float health, float maxHealth, Vec3 pos, String inventory, Path path, boolean wantsGolem, int angerLevel, List<String> activities, List<String> behaviors, List<String> memories, List<String> gossips, Set<BlockPos> pois, Set<BlockPos> potentialPois) Creates an instance of aBrainDump
record class.RaidsDebugPayload
(List<BlockPos> raidCenters) Creates an instance of aRaidsDebugPayload
record class. -
Uses of BlockPos in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
ServerboundSetStructureBlockPacket.offset
private final BlockPos
ClientboundBlockDestructionPacket.pos
private final BlockPos
ClientboundBlockEntityDataPacket.pos
private final BlockPos
ClientboundBlockEventPacket.pos
private final BlockPos
ClientboundBlockUpdatePacket.pos
private final BlockPos
ClientboundLevelEventPacket.pos
private final BlockPos
ClientboundOpenSignEditorPacket.pos
private final BlockPos
ClientboundSetDefaultSpawnPositionPacket.pos
private final BlockPos
ServerboundBlockEntityTagQueryPacket.pos
private final BlockPos
ServerboundJigsawGeneratePacket.pos
private final BlockPos
ServerboundPickItemFromBlockPacket.pos
The field for thepos
record component.private final BlockPos
ServerboundPlayerActionPacket.pos
private final BlockPos
ServerboundSetCommandBlockPacket.pos
private final BlockPos
ServerboundSetJigsawBlockPacket.pos
private final BlockPos
ServerboundSetStructureBlockPacket.pos
private final BlockPos
ServerboundSignUpdatePacket.pos
private final BlockPos
ServerboundTestInstanceBlockActionPacket.pos
The field for thepos
record component.private final BlockPos
ServerboundSetTestBlockPacket.position
The field for theposition
record component.Methods in net.minecraft.network.protocol.game that return BlockPosModifier and TypeMethodDescriptionServerboundSetStructureBlockPacket.getOffset()
ClientboundBlockDestructionPacket.getPos()
ClientboundBlockEntityDataPacket.getPos()
ClientboundBlockEventPacket.getPos()
ClientboundBlockUpdatePacket.getPos()
ClientboundLevelEventPacket.getPos()
ClientboundOpenSignEditorPacket.getPos()
ClientboundSetDefaultSpawnPositionPacket.getPos()
ServerboundBlockEntityTagQueryPacket.getPos()
ServerboundJigsawGeneratePacket.getPos()
ServerboundPlayerActionPacket.getPos()
ServerboundSetCommandBlockPacket.getPos()
ServerboundSetJigsawBlockPacket.getPos()
ServerboundSetStructureBlockPacket.getPos()
ServerboundSignUpdatePacket.getPos()
ServerboundPickItemFromBlockPacket.pos()
Returns the value of thepos
record component.ServerboundTestInstanceBlockActionPacket.pos()
Returns the value of thepos
record component.ServerboundSetTestBlockPacket.position()
Returns the value of theposition
record component.Methods in net.minecraft.network.protocol.game with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
ClientboundLevelChunkPacketData.BlockEntityTagOutput.accept
(BlockPos pPos, BlockEntityType<?> pType, CompoundTag pNbt) static void
DebugPackets.sendGameTestAddMarker
(ServerLevel pLevel, BlockPos pPos, String pText, int pColor, int pLifetimeMillis) static void
DebugPackets.sendHiveInfo
(Level pLevel, BlockPos pPos, BlockState pBlockState, BeehiveBlockEntity pHiveBlockEntity) static void
DebugPackets.sendNeighborsUpdatePacket
(Level pLevel, BlockPos pPos) static void
DebugPackets.sendPoiAddedPacket
(ServerLevel pLevel, BlockPos pPos) static void
DebugPackets.sendPoiRemovedPacket
(ServerLevel pLevel, BlockPos pPos) static void
DebugPackets.sendPoiTicketCountPacket
(ServerLevel pLevel, BlockPos pPos) private static void
DebugPackets.sendVillageSectionsPacket
(ServerLevel pLevel, BlockPos pPos) Method parameters in net.minecraft.network.protocol.game with type arguments of type BlockPosModifier and TypeMethodDescriptionvoid
ClientboundSectionBlocksUpdatePacket.runUpdates
(BiConsumer<BlockPos, BlockState> pConsumer) Constructors in net.minecraft.network.protocol.game with parameters of type BlockPosModifierConstructorDescriptionClientboundAddEntityPacket
(Entity pEntity, int pData, BlockPos pPos) ClientboundBlockDestructionPacket
(int pId, BlockPos pPos, int pProgress) private
ClientboundBlockEntityDataPacket
(BlockPos p_195637_, BlockEntityType<?> p_195638_, CompoundTag p_195639_) ClientboundBlockEventPacket
(BlockPos pPos, Block pBlock, int pB0, int pB1) ClientboundBlockUpdatePacket
(BlockPos p_131738_, BlockState p_131739_) ClientboundBlockUpdatePacket
(BlockGetter pBlockGetter, BlockPos pPos) ClientboundLevelEventPacket
(int pType, BlockPos pPos, int pData, boolean pGlobalEvent) ClientboundOpenSignEditorPacket
(BlockPos pPos, boolean pIsFrontText) ClientboundSetDefaultSpawnPositionPacket
(BlockPos pPos, float pAngle) ServerboundBlockEntityTagQueryPacket
(int pTransactionId, BlockPos pPos) ServerboundJigsawGeneratePacket
(BlockPos pPos, int pLevels, boolean pKeepJigsaws) ServerboundPickItemFromBlockPacket
(BlockPos pos, boolean includeData) Creates an instance of aServerboundPickItemFromBlockPacket
record class.ServerboundPlayerActionPacket
(ServerboundPlayerActionPacket.Action pAction, BlockPos pPos, Direction pDirection) ServerboundPlayerActionPacket
(ServerboundPlayerActionPacket.Action pAction, BlockPos pPos, Direction pDirection, int pSequence) ServerboundSetCommandBlockPacket
(BlockPos pPos, String pCommand, CommandBlockEntity.Mode pMode, boolean pTrackOutput, boolean pConditional, boolean pAutomatic) ServerboundSetJigsawBlockPacket
(BlockPos pPos, ResourceLocation pName, ResourceLocation pTarget, ResourceLocation pPool, String pFinalState, JigsawBlockEntity.JointType pJoint, int pSelectionPriority, int pPlacementPriority) ServerboundSetStructureBlockPacket
(BlockPos pPos, StructureBlockEntity.UpdateType pUpdateType, StructureMode pMode, String pName, BlockPos pOffset, Vec3i pSize, Mirror pMirror, Rotation pRotation, String pData, boolean pIgnoreEntities, boolean pStrict, boolean pShowAir, boolean pShowBoundingBox, float pIntegrity, long pSeed) ServerboundSetTestBlockPacket
(BlockPos position, TestBlockMode mode, String message) Creates an instance of aServerboundSetTestBlockPacket
record class.ServerboundSignUpdatePacket
(BlockPos pPos, boolean pIsFrontText, String pLine1, String pLine2, String pLine3, String pLine4) ServerboundTestInstanceBlockActionPacket
(BlockPos p_397563_, ServerboundTestInstanceBlockActionPacket.Action p_397686_, Optional<ResourceKey<GameTestInstance>> p_397885_, Vec3i p_397965_, Rotation p_397552_, boolean p_397584_) ServerboundTestInstanceBlockActionPacket
(BlockPos pos, ServerboundTestInstanceBlockActionPacket.Action action, TestInstanceBlockEntity.Data data) Creates an instance of aServerboundTestInstanceBlockActionPacket
record class. -
Uses of BlockPos in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type BlockPosModifier and TypeFieldDescriptionstatic final EntityDataSerializer
<BlockPos> EntityDataSerializers.BLOCK_POS
static final EntityDataSerializer
<Optional<BlockPos>> EntityDataSerializers.OPTIONAL_BLOCK_POS
-
Uses of BlockPos in net.minecraft.server
Methods in net.minecraft.server with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
MinecraftServer.isUnderSpawnProtection
(ServerLevel pLevel, BlockPos pPos, Player pPlayer) -
Uses of BlockPos in net.minecraft.server.commands
Fields in net.minecraft.server.commands declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
CloneCommands.CloneBlockInfo.pos
The field for thepos
record component.private final BlockPos
CloneCommands.DimensionAndPosition.position
The field for theposition
record component.Methods in net.minecraft.server.commands that return BlockPosModifier and TypeMethodDescriptionCloneCommands.CloneBlockInfo.pos()
Returns the value of thepos
record component.CloneCommands.DimensionAndPosition.position()
Returns the value of theposition
record component.private static BlockPos
Methods in net.minecraft.server.commands with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
FillCommand.Affector.affect
(ServerLevel pLevel, BlockPos pPos) private static int
LootCommand.blockDistribute
(CommandSourceStack pSource, BlockPos pPos, List<ItemStack> pItems, LootCommand.Callback pCallback) private static int
LootCommand.blockReplace
(CommandSourceStack pSource, BlockPos pPos, int pSlot, int pNumSlots, List<ItemStack> pItems, LootCommand.Callback pCallback) private static int
ItemCommands.blockToBlock
(CommandSourceStack pSource, BlockPos pSourcePos, int pSourceSlot, BlockPos pPos, int pSlot) private static int
ItemCommands.blockToBlock
(CommandSourceStack pSource, BlockPos pSourcePos, int pSourceSlot, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) private static int
ItemCommands.blockToEntities
(CommandSourceStack pSource, BlockPos pPos, int pSourceSlot, Collection<? extends Entity> pTargets, int pSlot) private static int
ItemCommands.blockToEntities
(CommandSourceStack pSource, BlockPos pPos, int pSourceSlot, Collection<? extends Entity> pTargets, int pSlot, Holder<LootItemFunction> pModifier) private static OptionalInt
ExecuteCommand.checkRegions
(ServerLevel pLevel, BlockPos pBegin, BlockPos pEnd, BlockPos pDestination, boolean pIsMasked) private static int
ExecuteCommand.countItems
(CommandSourceStack pSource, BlockPos pPos, SlotRange pSlotRange, Predicate<ItemStack> pFilter) private static int
LootCommand.dropBlockLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137913_, BlockPos p_137914_, ItemStack p_137915_, LootCommand.DropConsumer p_137916_) private static int
LootCommand.dropFishingLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137927_, Holder<LootTable> p_335944_, BlockPos p_137929_, ItemStack p_137930_, LootCommand.DropConsumer p_137931_) private static int
ItemCommands.entityToBlock
(CommandSourceStack pSource, Entity pSourceEntity, int pSourceSlot, BlockPos pPos, int pSlot) private static int
ItemCommands.entityToBlock
(CommandSourceStack pSource, Entity pSourceEntity, int pSourceSlot, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) private static int
FillBiomeCommand.fill
(CommandSourceStack pSource, BlockPos pFrom, BlockPos pTo, Holder.Reference<Biome> pBiome, Predicate<Holder<Biome>> pFilter) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill
(ServerLevel p_313898_, BlockPos p_313859_, BlockPos p_313868_, Holder<Biome> p_313728_) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill
(ServerLevel p_313779_, BlockPos p_313726_, BlockPos p_313895_, Holder<Biome> p_313905_, Predicate<Holder<Biome>> p_313945_, Consumer<Supplier<Component>> p_313787_) private static int
DebugPathCommand.fillBlocks
(CommandSourceStack pStack, BlockPos pPos) FillCommand.Filter.filter
(BoundingBox pBox, BlockPos pPos, BlockInput pBlock, ServerLevel pLevel) private static ItemStack
ItemCommands.getBlockItem
(CommandSourceStack pSource, BlockPos pPos, int pSlot) (package private) static Container
ItemCommands.getContainer
(CommandSourceStack p_180328_, BlockPos p_180329_, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType p_180330_) private static Container
LootCommand.getContainer
(CommandSourceStack pSource, BlockPos pPos) private static boolean
ExecuteCommand.isChunkLoaded
(ServerLevel pLevel, BlockPos pPos) private static int
ItemCommands.modifyBlockItem
(CommandSourceStack pSource, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) static int
PlaceCommand.placeFeature
(CommandSourceStack pSource, Holder.Reference<ConfiguredFeature<?, ?>> pFeature, BlockPos pPos) static int
PlaceCommand.placeJigsaw
(CommandSourceStack pSource, Holder<StructureTemplatePool> pTemplatePool, ResourceLocation pTarget, int pMaxDepth, BlockPos pPos) static int
PlaceCommand.placeStructure
(CommandSourceStack pSource, Holder.Reference<Structure> pStructure, BlockPos pPos) static int
PlaceCommand.placeTemplate
(CommandSourceStack pSource, ResourceLocation pTemplate, BlockPos pPos, Rotation pRotation, Mirror pMirror, float pIntegrity, int pSeed, boolean pStrict) private static BlockPos
private static int
SetBlockCommand.setBlock
(CommandSourceStack pSource, BlockPos pPos, BlockInput pBlock, SetBlockCommand.Mode pMode, Predicate<BlockInWorld> pFilter, boolean pStrict) private static int
ItemCommands.setBlockItem
(CommandSourceStack pSource, BlockPos pPos, int pSlot, ItemStack pItem) private static int
SetSpawnCommand.setSpawn
(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, BlockPos pPos, float pAngle) private static int
SetWorldSpawnCommand.setSpawn
(CommandSourceStack pSource, BlockPos pPos, float pAngle) static int
LocateCommand.showLocateResult
(CommandSourceStack p_263098_, ResourceOrTagArgument.Result<?> p_262956_, BlockPos p_262917_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_263074_, String p_262937_, boolean p_263051_, Duration p_263028_) static int
LocateCommand.showLocateResult
(CommandSourceStack p_263019_, ResourceOrTagKeyArgument.Result<?> p_263031_, BlockPos p_262989_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_262959_, String p_263045_, boolean p_262934_, Duration p_262960_) private static int
LocateCommand.showLocateResult
(CommandSourceStack p_262983_, BlockPos p_263016_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_262941_, String p_263083_, boolean p_263010_, String p_263048_, Duration p_263040_) private static int
DebugMobSpawningCommand.spawnMobs
(CommandSourceStack pSource, MobCategory pMobCategory, BlockPos pPos) Method parameters in net.minecraft.server.commands with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic int
LocateCommand.showLocateResult
(CommandSourceStack p_263098_, ResourceOrTagArgument.Result<?> p_262956_, BlockPos p_262917_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_263074_, String p_262937_, boolean p_263051_, Duration p_263028_) static int
LocateCommand.showLocateResult
(CommandSourceStack p_263019_, ResourceOrTagKeyArgument.Result<?> p_263031_, BlockPos p_262989_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_262959_, String p_263045_, boolean p_262934_, Duration p_262960_) private static int
LocateCommand.showLocateResult
(CommandSourceStack p_262983_, BlockPos p_263016_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_262941_, String p_263083_, boolean p_263010_, String p_263048_, Duration p_263040_) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> FillCommand.wrapWithMode
(CommandBuildContext p_394423_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_393983_, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> p_397131_, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> p_397847_, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> p_397185_, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> p_394036_) Constructors in net.minecraft.server.commands with parameters of type BlockPosModifierConstructorDescription(package private)
CloneBlockInfo
(BlockPos pos, BlockState state, CloneCommands.CloneBlockEntityInfo blockEntityInfo, BlockState previousStateAtDestination) Creates an instance of aCloneBlockInfo
record class.(package private)
DimensionAndPosition
(ServerLevel dimension, BlockPos position) Creates an instance of aDimensionAndPosition
record class. -
Uses of BlockPos in net.minecraft.server.commands.data
Fields in net.minecraft.server.commands.data declared as BlockPosConstructors in net.minecraft.server.commands.data with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
DedicatedServer.isUnderSpawnProtection
(ServerLevel pLevel, BlockPos pPos, Player pPlayer) -
Uses of BlockPos in net.minecraft.server.level
Fields in net.minecraft.server.level declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPos
ServerPlayerGameMode.delayedDestroyPos
private BlockPos
ServerPlayerGameMode.destroyPos
static final BlockPos
ServerLevel.END_SPAWN_POINT
private final BlockPos
BlockDestructionProgress.pos
private final BlockPos
ServerPlayer.RespawnConfig.pos
The field for thepos
record component.private BlockPos
ServerPlayer.raidOmenPosition
Methods in net.minecraft.server.level that return BlockPosModifier and TypeMethodDescriptionServerPlayer.adjustSpawnLocation
(ServerLevel pLevel, BlockPos pPos) protected BlockPos
ServerLevel.findLightningTargetAround
(BlockPos pPos) ServerLevel.findNearestMapStructure
(TagKey<Structure> pStructureTag, BlockPos pPos, int pRadius, boolean pSkipExistingChunks) protected static BlockPos
PlayerRespawnLogic.getOverworldRespawnPos
(ServerLevel pLevel, int pX, int pZ) BlockDestructionProgress.getPos()
ServerPlayer.getRaidOmenPosition()
static BlockPos
PlayerRespawnLogic.getSpawnPosInChunk
(ServerLevel pLevel, ChunkPos pChunkPos) ServerPlayer.RespawnConfig.pos()
Returns the value of thepos
record component.Methods in net.minecraft.server.level that return types with arguments of type BlockPosModifier and TypeMethodDescriptionServerLevel.findClosestBiome3d
(Predicate<Holder<Biome>> p_215070_, BlockPos p_215071_, int p_215072_, int p_215073_, int p_215074_) ServerLevel.findLightningRod
(BlockPos pPos) Methods in net.minecraft.server.level with parameters of type BlockPosModifier and TypeMethodDescriptionServerPlayer.adjustSpawnLocation
(ServerLevel pLevel, BlockPos pPos) boolean
ServerLevel.anyPlayerCloseEnoughForSpawning
(BlockPos pPos) private boolean
ServerPlayer.bedBlocked
(BlockPos pPos, Direction pDirection) private boolean
ServerPlayer.bedInRange
(BlockPos pPos, Direction pDirection) boolean
ChunkHolder.blockChanged
(BlockPos pPos) void
ServerChunkCache.blockChanged
(BlockPos pPos) void
ServerLevel.blockEvent
(BlockPos pPos, Block pBlock, int pEventID, int pEventParam) private void
ChunkHolder.broadcastBlockEntity
(List<ServerPlayer> pPlayers, Level pLevel, BlockPos pPos) private void
ChunkHolder.broadcastBlockEntityIfNeeded
(List<ServerPlayer> pPlayers, Level pLevel, BlockPos pPos, BlockState pState) private static float
ServerPlayer.RespawnPosAngle.calculateLookAtYaw
(Vec3 pPosition, BlockPos pTowardsPos) void
ThreadedLevelLightEngine.checkBlock
(BlockPos pPos) protected void
ServerPlayer.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) private void
ServerPlayerGameMode.debugLogging
(BlockPos pPos, boolean pTerminate, int pSequence, String pMessage) void
ServerPlayerGameMode.destroyAndAck
(BlockPos pPos, int pSequence, String pMessage) boolean
ServerPlayerGameMode.destroyBlock
(BlockPos pPos) Attempts to harvest a blockboolean
WorldGenRegion.destroyBlock
(BlockPos pPos, boolean pDropBlock, Entity pEntity, int pRecursionLeft) void
ServerLevel.destroyBlockProgress
(int pBreakerId, BlockPos pPos, int pProgress) boolean
WorldGenRegion.ensureCanWrite
(BlockPos pPos) ServerLevel.findClosestBiome3d
(Predicate<Holder<Biome>> p_215070_, BlockPos p_215071_, int p_215072_, int p_215073_, int p_215074_) ServerLevel.findLightningRod
(BlockPos pPos) protected BlockPos
ServerLevel.findLightningTargetAround
(BlockPos pPos) ServerLevel.findNearestMapStructure
(TagKey<Structure> pStructureTag, BlockPos pPos, int pRadius, boolean pSkipExistingChunks) WorldGenRegion.getBlockEntity
(BlockPos pPos) WorldGenRegion.getBlockState
(BlockPos pPos) WorldGenRegion.getCurrentDifficultyAt
(BlockPos pPos) WorldGenRegion.getFluidState
(BlockPos pPos) void
ServerLevel.globalLevelEvent
(int pId, BlockPos pPos, int pData) void
DemoMode.handleBlockBreakAction
(BlockPos pPos, ServerboundPlayerActionPacket.Action pAction, Direction pFace, int pMaxBuildHeight, int pSequence) void
ServerPlayerGameMode.handleBlockBreakAction
(BlockPos pPos, ServerboundPlayerActionPacket.Action pAction, Direction pFace, int pMaxBuildHeight, int pSequence) private float
ServerPlayerGameMode.incrementDestroyProgress
(BlockState pState, BlockPos pPos, int pStartTick) void
ServerLevel.invalidateCapabilities
(BlockPos pos) boolean
ServerLevel.isCloseToVillage
(BlockPos pPos, int pSections) boolean
WorldGenRegion.isFluidAtPosition
(BlockPos pPos, Predicate<FluidState> pPredicate) boolean
ServerLevel.isPositionEntityTicking
(BlockPos pPos) boolean
private boolean
ServerPlayer.isReachableBedBlock
(BlockPos pPos) boolean
WorldGenRegion.isStateAtPosition
(BlockPos pPos, Predicate<BlockState> pState) boolean
void
ServerLevel.levelEvent
(Entity pEntity, int pType, BlockPos pPos, int pData) void
WorldGenRegion.levelEvent
(Entity pEntity, int pType, BlockPos pPos, int pData) private void
WorldGenRegion.markPosForPostprocessing
(BlockPos pPos) boolean
ServerLevel.mayInteract
(Entity pEntity, BlockPos pPos) boolean
ServerPlayer.mayInteract
(ServerLevel pLevel, BlockPos pPos) void
ServerLevel.neighborChanged
(BlockPos pPos, Block pBlock, Orientation pOrientation) void
ServerLevel.neighborChanged
(BlockState pState, BlockPos pPos, Block pBlock, Orientation pOrientation, boolean pMovedByPiston) static ServerPlayer.RespawnPosAngle
protected void
ServerPlayer.onChangedBlock
(ServerLevel pLevel, BlockPos pPos) void
WorldGenRegion.playSound
(Entity pEntity, BlockPos pPos, SoundEvent pSound, SoundSource pSource, float pVolume, float pPitch) void
ServerLevel.registerCapabilityListener
(BlockPos pos, ICapabilityInvalidationListener listener) Register a listener for capability invalidation.private boolean
ServerPlayerGameMode.removeBlock
(BlockPos pos, BlockState state, boolean canHarvest) Patched-in method that handles actual removal of blocks forServerPlayerGameMode.destroyBlock(BlockPos)
.boolean
WorldGenRegion.removeBlock
(BlockPos pPos, boolean pIsMoving) void
ServerLevel.sendBlockUpdated
(BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) Flags are as in setBlockStateboolean
WorldGenRegion.setBlock
(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) void
ServerLevel.setDefaultSpawnPos
(BlockPos pPos, float pAngle) void
ServerPlayer.setRaidOmenPosition
(BlockPos pRaidOmenPosition) com.mojang.datafixers.util.Either
<Player.BedSleepingProblem, Unit> ServerPlayer.startSleepInBed
(BlockPos p_9115_) void
ServerPlayer.startSleeping
(BlockPos pPos) private void
private void
void
ServerLevel.tickPrecipitation
(BlockPos pBlockPos) void
ServerLevel.updateNeighborsAt
(BlockPos pPos, Block pBlock) void
ServerLevel.updateNeighborsAt
(BlockPos pPos, Block pBlock, Orientation pOrientation) void
ServerLevel.updateNeighborsAtExceptFromFacing
(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) void
ServerLevel.updateNeighboursOnBlockSet
(BlockPos pPos, BlockState pState) void
ServerLevel.updatePOIOnBlockStateChange
(BlockPos pPos, BlockState pOldState, BlockState pNewState) Constructors in net.minecraft.server.level with parameters of type BlockPosModifierConstructorDescriptionBlockDestructionProgress
(int pId, BlockPos pPos) RespawnConfig
(ResourceKey<Level> dimension, BlockPos pos, float angle, boolean forced) Creates an instance of aRespawnConfig
record class. -
Uses of BlockPos in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static void
ServerGamePacketListenerImpl.addBlockDataToItem
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack) -
Uses of BlockPos in net.minecraft.util
Methods in net.minecraft.util with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
SpawnUtil.Strategy.canSpawnOn
(ServerLevel pLevel, BlockPos pTargetPos, BlockState pTargetState, BlockPos pAttemptedPos, BlockState pAttemptedState) static void
ParticleUtils.spawnParticleBelow
(Level pLevel, BlockPos pPos, RandomSource pRandom, ParticleOptions pParticle) static void
ParticleUtils.spawnParticleInBlock
(LevelAccessor pLevel, BlockPos pPos, int pCount, ParticleOptions pParticle) static void
ParticleUtils.spawnParticleOnFace
(Level pLevel, BlockPos pPos, Direction pDirection, ParticleOptions pParticle, Vec3 pSpeed, double pSpread) static void
ParticleUtils.spawnParticles
(LevelAccessor pLevel, BlockPos pPos, int pCount, double pXzSpread, double pYSpread, boolean pAllowInAir, ParticleOptions pParticle) static void
ParticleUtils.spawnParticlesAlongAxis
(Direction.Axis pAxis, Level pLevel, BlockPos pPos, double pSpread, ParticleOptions pParticle, UniformInt pCount) static void
ParticleUtils.spawnParticlesOnBlockFace
(Level pLevel, BlockPos pPos, ParticleOptions pParticle, IntProvider pCount, Direction pDirection, Supplier<Vec3> pSpeedSupplier, double pSpread) static void
ParticleUtils.spawnParticlesOnBlockFaces
(Level pLevel, BlockPos pPos, ParticleOptions pParticle, IntProvider pCount) static void
ParticleUtils.spawnSmashAttackParticles
(LevelAccessor pLevel, BlockPos pPos, int pPower) SpawnUtil.trySpawnMob
(EntityType<T> pEntityType, EntitySpawnReason pSpawnReason, ServerLevel pLevel, BlockPos pPos, int pAttempts, int pRange, int pYOffset, SpawnUtil.Strategy pStrategy, boolean pCheckCollision) -
Uses of BlockPos in net.minecraft.world
Methods in net.minecraft.world that return BlockPosMethods in net.minecraft.world with parameters of type BlockPosModifier and TypeMethodDescriptionstatic void
Containers.dropContents
(Level pLevel, BlockPos pPos, NonNullList<ItemStack> pStackList) static void
Containers.dropContents
(Level pLevel, BlockPos pPos, Container pInventory) WorldlyContainerHolder.getContainer
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) static void
RandomizableContainer.setBlockEntityLootTable
(BlockGetter pLevel, RandomSource pRandom, BlockPos pPs, ResourceKey<LootTable> pLootTable) static void
Containers.updateNeighboursAfterDestroy
(BlockState pState, Level pLevel, BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type BlockPosModifier and TypeMethodDescriptionprivate void
WeavingMobEffect.spawnCobwebsRandomlyAround
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPos
Entity.blockPosition
private BlockPos
PortalProcessor.entryPosition
private BlockPos
Mob.homePosition
private BlockPos
LivingEntity.lastPos
Fields in net.minecraft.world.entity with type parameters of type BlockPosModifier and TypeFieldDescriptionLeashable.LeashData.delayedLeashInfo
LivingEntity.lastClimbablePos
Entity.mainSupportingBlockPos
private static final EntityDataAccessor
<Optional<BlockPos>> LivingEntity.SLEEPING_POS_ID
Methods in net.minecraft.world.entity that return BlockPosModifier and TypeMethodDescriptionEntity.adjustSpawnLocation
(ServerLevel pLevel, BlockPos pPos) default BlockPos
SpawnPlacementType.adjustSpawnPosition
(LevelReader pLevel, BlockPos pPos) Entity.blockPosition()
ExperienceOrb.getBlockPosBelowThatAffectsMyMovement()
PortalProcessor.getEntryPosition()
Mob.getHomePosition()
Entity.getOnPos()
protected BlockPos
Entity.getOnPos
(float pYOffset) Entity.getOnPosLegacy()
Deprecated.protected BlockPos
Entity.getPrimaryStepSoundBlockPos
(BlockPos pPos) private BlockPos
LightningBolt.getStrikePosition()
Methods in net.minecraft.world.entity that return types with arguments of type BlockPosModifier and TypeMethodDescriptionLivingEntity.getLastClimbablePos()
LivingEntity.getSleepingPos()
LightningBolt.randomStepCleaningCopper
(Level pLevel, BlockPos pPos) Methods in net.minecraft.world.entity with parameters of type BlockPosModifier and TypeMethodDescriptionEntity.adjustSpawnLocation
(ServerLevel pLevel, BlockPos pPos) default BlockPos
SpawnPlacementType.adjustSpawnPosition
(LevelReader pLevel, BlockPos pPos) private void
Entity.applyMovementEmissionAndPlaySound
(Entity.MovementEmission pMovementEmission, Vec3 pMovement, BlockPos pPos, BlockState pState) private boolean
TamableAnimal.canTeleportTo
(BlockPos pPos) boolean
Entity.canTrample
(ServerLevel level, BlockState state, BlockPos pos, double fallDistance) protected void
Entity.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
LivingEntity.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) static boolean
GlowSquid.checkGlowSquidSpawnRules
(EntityType<? extends LivingEntity> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Mob.checkMobSpawnRules
(EntityType<? extends Mob> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules
(EntityType<T> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) private static void
LightningBolt.clearCopperOnLightningStrike
(Level pLevel, BlockPos pPos) boolean
Entity.collidedWithFluid
(FluidState pFluid, BlockPos pPos, Vec3 pFrom, Vec3 pTo) EntityType.create
(ServerLevel pLevel, Consumer<T> pConsumer, BlockPos pPos, EntitySpawnReason pReason, boolean pShouldOffsetY, boolean pShouldOffsetYMore) private void
Entity.debugBlockIntersection
(BlockPos pPos, boolean pIsBlock, boolean pIsFluid) float
Entity.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entityprotected BlockPos
Entity.getPrimaryStepSoundBlockPos
(BlockPos pPos) float
PathfinderMob.getWalkTargetValue
(BlockPos pPos) float
PathfinderMob.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) protected static double
EntityType.getYOffset
(LevelReader pLevel, BlockPos pPos, boolean pShouldOffsetYMore, AABB pBox) protected static void
Entity.handleOnAboveBubbleColumn
(Entity pEntity, boolean pDownwards, BlockPos pPos) boolean
Entity.isColliding
(BlockPos pPos, BlockState pState) static boolean
SpawnPlacements.isSpawnPositionOk
(EntityType<?> pEntityType, LevelReader pLevel, BlockPos pPos) boolean
SpawnPlacementType.isSpawnPositionOk
(LevelReader pLevel, BlockPos pPos, EntityType<?> pEntityType) boolean
Entity.isSupportedBy
(BlockPos pPos) boolean
Mob.isWithinHome
(BlockPos pPos) boolean
Entity.mayInteract
(ServerLevel pLevel, BlockPos pPos) void
Entity.onAboveBubbleColumn
(boolean pDownwards, BlockPos pPos) protected void
LivingEntity.onChangedBlock
(ServerLevel pLevel, BlockPos pPos) void
Entity.placePortalTicket
(BlockPos pPos) protected void
Entity.playCombinationStepSounds
(BlockState pPrimaryState, BlockState pSecondaryState, BlockPos primaryPos, BlockPos secondaryPos) protected void
Entity.playMuffledStepSound
(BlockState pState, BlockPos pos) protected void
Entity.playStepSound
(BlockPos pPos, BlockState pState) LightningBolt.randomStepCleaningCopper
(Level pLevel, BlockPos pPos) private static void
LightningBolt.randomWalkCleaningCopper
(Level pLevel, BlockPos pPos, BlockPos.MutableBlockPos pMutable, int pSteps) protected static void
Entity.sendBubbleColumnParticles
(Level pLevel, BlockPos pPos) void
Entity.setAsInsidePortal
(Portal pPortal, BlockPos pPos) void
private void
LivingEntity.setPosToBed
(BlockPos p_21081_) Sets entity position to a supplied BlockPos plus a little offsetvoid
LivingEntity.setRecordPlayingNearby
(BlockPos pJukebox, boolean pPartyParrot) Called when a record starts or stops playing.void
LivingEntity.setSleepingPos
(BlockPos pPos) boolean
Entity.shouldBlockExplode
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) void
EntityType.spawn
(ServerLevel pLevel, Consumer<T> pConsumer, BlockPos pPos, EntitySpawnReason pReason, boolean pShouldOffsetY, boolean pShouldOffsetYMore) EntityType.spawn
(ServerLevel pLevel, BlockPos pPos, EntitySpawnReason pReason) EntityType.spawn
(ServerLevel pLevel, ItemStack pSpawnedFrom, LivingEntity pOwner, BlockPos pPos, EntitySpawnReason pReason, boolean pShouldOffsetY, boolean pShouldOffsetYMore) void
LivingEntity.startSleeping
(BlockPos pPos) private void
TamableAnimal.teleportToAroundBlockPos
(BlockPos pPos) boolean
SpawnPlacements.SpawnPredicate.test
(EntityType<T> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) private boolean
LivingEntity.trapdoorUsableAsLadder
(BlockPos pPos, BlockState pState) void
PortalProcessor.updateEntryPosition
(BlockPos pEntryPosition) private boolean
Entity.vibrationAndSoundEffectsFromBlock
(BlockPos pPos, BlockState pState, boolean pPlayStepSound, boolean pBroadcastGameEvent, Vec3 pEntityPos) private void
Entity.walkingStepSound
(BlockPos pPos, BlockState pState) Constructors in net.minecraft.world.entity with parameters of type BlockPosConstructor parameters in net.minecraft.world.entity with type arguments of type BlockPos -
Uses of BlockPos in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPos
HarvestFarmland.aboveFarmlandPos
private final BlockPos
BlockPosTracker.blockPos
private BlockPos
MoveToTargetSink.lastTargetPos
private final BlockPos
PrepareRamNearestTarget.RamCandidate.startPosition
private BlockPos
JumpOnBed.targetBed
private final BlockPos
LongJumpToRandomPos.PossibleJump.targetPos
The field for thetargetPos
record component.private final BlockPos
PrepareRamNearestTarget.RamCandidate.targetPosition
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final BiPredicate
<E, BlockPos> LongJumpToRandomPos.acceptableLandingSpot
UseBonemeal.cropPos
HarvestFarmland.validFarmlandAroundVillager
Methods in net.minecraft.world.entity.ai.behavior that return BlockPosModifier and TypeMethodDescriptionBlockPosTracker.currentBlockPosition()
EntityTracker.currentBlockPosition()
PositionTracker.currentBlockPosition()
private static BlockPos
GoToTargetLocation.getNearbyPos
(Mob pMob, BlockPos pPos) PrepareRamNearestTarget.RamCandidate.getStartPosition()
PrepareRamNearestTarget.RamCandidate.getTargetPosition()
private BlockPos
HarvestFarmland.getValidFarmland
(ServerLevel pServerLevel) LongJumpToRandomPos.PossibleJump.targetPos()
Returns the value of thetargetPos
record component.Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPrepareRamNearestTarget.calculateRammingStartPosition
(PathfinderMob pPathfinder, LivingEntity pEntity) JumpOnBed.getNearestBed
(Mob pMob) AnimalPanic.lookForWater
(BlockGetter pLevel, Entity pEntity) UseBonemeal.pickNextTarget
(ServerLevel pLevel, Villager pVillager) VillagerMakeLove.takeVacantBed
(ServerLevel pLevel, Villager pVillager) Methods in net.minecraft.world.entity.ai.behavior with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static boolean
InteractWithDoor.areOtherMobsComingThroughDoor
(LivingEntity pEntity, BlockPos pPos, Optional<List<LivingEntity>> pNearestLivingEntities) private static boolean
ValidateNearbyPoi.bedIsOccupied
(ServerLevel pLevel, BlockPos pPos, LivingEntity pEntity) private static boolean
ValidateNearbyPoi.bedIsOccupiedByVillager
(ServerLevel pLevel, BlockPos pPos) private boolean
private static boolean
YieldJobSite.canReachPos
(PathfinderMob pMob, BlockPos pPos, PoiType pPoi) static <E extends Mob>
booleanLongJumpToRandomPos.defaultAcceptableLandingSpot
(E p_251540_, BlockPos p_248879_) private Vec3
PrepareRamNearestTarget.getEdgeOfBlock
(BlockPos pPos, BlockPos pOther) private static BlockPos
GoToTargetLocation.getNearbyPos
(Mob pMob, BlockPos pPos) private void
VillagerMakeLove.giveBedToChild
(ServerLevel pLevel, Villager pVillager, BlockPos pPos) static boolean
MoveToSkySeeingSpot.hasNoBlocksAbove
(ServerLevel pLevel, LivingEntity pEntity, BlockPos pPos) private boolean
LongJumpToRandomPos.isAcceptableLandingPosition
(ServerLevel pLevel, E pEntity, BlockPos pPos) private boolean
JumpOnBed.isBed
(ServerLevel pLevel, BlockPos pPos) private static boolean
InteractWithDoor.isMobComingThroughDoor
(Brain<?> pBrain, BlockPos pPos) private boolean
PrepareRamNearestTarget.isWalkableBlock
(PathfinderMob pPathfinder, BlockPos pPos) private static boolean
YieldJobSite.nearbyWantsJobsite
(Holder<PoiType> pPoi, Villager pVillager, BlockPos pPos) InteractWithDoor.rememberDoorToClose
(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> pDoorsToClose, Optional<Set<GlobalPos>> pDoorPositions, ServerLevel pLevel, BlockPos pPos) static void
BehaviorUtils.setWalkAndLookTargetMemories
(LivingEntity pLivingEntity, BlockPos pPos, float pSpeed, int pDistance) private void
WorkAtComposter.spawnComposterFillEffects
(ServerLevel pLevel, BlockState pPreState, BlockPos pPos, BlockState pPostState) private void
JumpOnBed.startWalkingTowardsBed
(Mob pMob, BlockPos pPos) private static boolean
VillagerGoalPackages.validateBedPoi
(ServerLevel p_390592_, BlockPos p_390599_) private boolean
HarvestFarmland.validPos
(BlockPos pPos, ServerLevel pServerLevel) private boolean
UseBonemeal.validPos
(BlockPos pPos, ServerLevel pLevel) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> pAcquirablePois, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId, BiPredicate<ServerLevel, BlockPos> pPredicate) static BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> pAcquirablePois, MemoryModuleType<GlobalPos> pExistingAbsentMemory, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId, BiPredicate<ServerLevel, BlockPos> pPredicate) GoToTargetLocation.create
(MemoryModuleType<BlockPos> pLocationMemory, int pCloseEnoughDist, float pSpeedModifier) static Path
AcquirePoi.findPathToPois
(Mob pMob, Set<com.mojang.datafixers.util.Pair<Holder<PoiType>, BlockPos>> pPoiPositions) static BehaviorControl
<PathfinderMob> SetWalkTargetAwayFrom.pos
(MemoryModuleType<BlockPos> pWalkTargetAwayFromMemory, float pSpeedModifier, int pDesiredDistance, boolean pHasTarget) Constructors in net.minecraft.world.entity.ai.behavior with parameters of type BlockPosModifierConstructorDescriptionBlockPosTracker
(BlockPos pBlockPos) PossibleJump
(BlockPos targetPos, int weight) Creates an instance of aPossibleJump
record class.RamCandidate
(BlockPos pStartPosition, BlockPos pTargetPosition, LivingEntity pTarget) Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type BlockPosModifierConstructorDescriptionLongJumpToPreferredBlock
(UniformInt pTimeBetweenLongJumps, int pMaxLongJumpHeight, int pMaxLongJumpWidth, float pMaxJumpVelocity, Function<E, SoundEvent> pGetJumpSound, TagKey<Block> pPreferredBlockTag, float pPreferredBlocksChance, BiPredicate<E, BlockPos> pAcceptableLandingSpot) LongJumpToRandomPos
(UniformInt pTimeBetweenLongJumps, int pMaxLongJumpHeight, int pMaxLongJumpWidth, float pMaxJumpVelocity, Function<E, SoundEvent> pGetJumpSound, BiPredicate<E, BlockPos> pAcceptableLandingSpot) -
Uses of BlockPos in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal declared as BlockPosModifier and TypeFieldDescriptionprotected BlockPos
MoveToBlockGoal.blockPos
Block to move toprotected BlockPos
DoorInteractGoal.doorPos
private BlockPos
MoveThroughVillageGoal.poiPos
private BlockPos
StrollThroughVillageGoal.wantedPos
Fields in net.minecraft.world.entity.ai.goal with type parameters of type BlockPosMethods in net.minecraft.world.entity.ai.goal that return BlockPosModifier and TypeMethodDescriptionprotected BlockPos
MoveToBlockGoal.getMoveToTarget()
private BlockPos
RemoveBlockGoal.getPosWithBlock
(BlockPos pPos, BlockGetter pLevel) private BlockPos
GolemRandomStrollInVillageGoal.getRandomPoiWithinSection
(SectionPos pSectionPos) protected BlockPos
PanicGoal.lookForWater
(BlockGetter pLevel, Entity pEntity, int pRange) Methods in net.minecraft.world.entity.ai.goal with parameters of type BlockPosModifier and TypeMethodDescriptionprivate BlockPos
RemoveBlockGoal.getPosWithBlock
(BlockPos pPos, BlockGetter pLevel) private boolean
BreathAirGoal.givesAir
(LevelReader pLevel, BlockPos pPos) private boolean
MoveThroughVillageGoal.hasNotVisited
(BlockPos p_25593_) protected boolean
CatLieOnBedGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
CatSitOnBlockGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected abstract boolean
MoveToBlockGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
RemoveBlockGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationvoid
RemoveBlockGoal.playBreakSound
(Level pLevel, BlockPos pPos) void
RemoveBlockGoal.playDestroyProgressSound
(LevelAccessor pLevel, BlockPos pPos) private boolean
DolphinJumpGoal.surfaceIsClear
(BlockPos pPos, int pDx, int pDz, int pScale) private boolean
DolphinJumpGoal.waterIsClear
(BlockPos pPos, int pDx, int pDz, int pScale) -
Uses of BlockPos in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory with type parameters of type BlockPosModifier and TypeFieldDescriptionstatic final MemoryModuleType
<BlockPos> MemoryModuleType.BREEZE_JUMP_TARGET
static final MemoryModuleType
<BlockPos> MemoryModuleType.CELEBRATE_LOCATION
static final MemoryModuleType
<BlockPos> MemoryModuleType.DISTURBANCE_LOCATION
static final MemoryModuleType
<BlockPos> MemoryModuleType.NEAREST_BED
static final MemoryModuleType
<BlockPos> MemoryModuleType.NEAREST_REPELLENT
static final MemoryModuleType
<BlockPos> MemoryModuleType.SNIFFER_SNIFFING_TARGET
Constructors in net.minecraft.world.entity.ai.memory with parameters of type BlockPosModifierConstructorDescriptionWalkTarget
(BlockPos pPos, float pSpeedModifier, int pCloseEnoughDist) Constructs a walk target that tracks a position -
Uses of BlockPos in net.minecraft.world.entity.ai.sensing
Methods in net.minecraft.world.entity.ai.sensing that return types with arguments of type BlockPosModifier and TypeMethodDescriptionHoglinSpecificSensor.findNearestRepellent
(ServerLevel pLevel, Hoglin pHoglin) PiglinSpecificSensor.findNearestRepellent
(ServerLevel pLevel, LivingEntity pLivingEntity) Methods in net.minecraft.world.entity.ai.sensing with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static boolean
PiglinSpecificSensor.isValidRepellent
(ServerLevel pLevel, BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.entity.ai.util
Methods in net.minecraft.world.entity.ai.util that return BlockPosModifier and TypeMethodDescriptionstatic BlockPos
RandomPos.generateRandomDirection
(RandomSource pRandom, int pHorizontalDistance, int pVerticalDistance) Gets a random position within a certain distance.static BlockPos
RandomPos.generateRandomDirectionWithinRadians
(RandomSource pRandom, int pMaxHorizontalDifference, int pYRange, int pY, double pX, double pZ, double pMaxAngleDelta) static BlockPos
AirAndWaterRandomPos.generateRandomPos
(PathfinderMob pMob, int pMaxDistance, int pYRange, int pY, double pX, double pZ, double pAmplifier, boolean pShortCircuit) private static BlockPos
DefaultRandomPos.generateRandomPosTowardDirection
(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPos
LandRandomPos.generateRandomPosTowardDirection
(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPos
RandomPos.generateRandomPosTowardDirection
(PathfinderMob pMob, int pRange, RandomSource pRandom, BlockPos pPos) static BlockPos
LandRandomPos.movePosUpOutOfSolid
(PathfinderMob pMob, BlockPos pPos) static BlockPos
RandomPos.moveUpOutOfSolid
(BlockPos pPos, int pMaxY, Predicate<BlockPos> pPosPredicate) static BlockPos
RandomPos.moveUpToAboveSolid
(BlockPos pPos, int pAboveSolidAmount, int pMaxY, Predicate<BlockPos> pPosPredicate) Finds a position above based on the conditions.Methods in net.minecraft.world.entity.ai.util with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static BlockPos
DefaultRandomPos.generateRandomPosTowardDirection
(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPos
LandRandomPos.generateRandomPosTowardDirection
(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPos
RandomPos.generateRandomPosTowardDirection
(PathfinderMob pMob, int pRange, RandomSource pRandom, BlockPos pPos) static boolean
GoalUtils.hasMalus
(PathfinderMob pMob, BlockPos pPos) static boolean
GoalUtils.isNotStable
(PathNavigation pNavigation, BlockPos pPos) static boolean
GoalUtils.isOutsideLimits
(BlockPos pPos, PathfinderMob pMob) static boolean
GoalUtils.isRestricted
(boolean pShortCircuit, PathfinderMob pMob, BlockPos pPos) static boolean
GoalUtils.isSolid
(PathfinderMob pMob, BlockPos pPos) static boolean
GoalUtils.isWater
(PathfinderMob pMob, BlockPos pPos) static BlockPos
LandRandomPos.movePosUpOutOfSolid
(PathfinderMob pMob, BlockPos pPos) static BlockPos
RandomPos.moveUpOutOfSolid
(BlockPos pPos, int pMaxY, Predicate<BlockPos> pPosPredicate) static BlockPos
RandomPos.moveUpToAboveSolid
(BlockPos pPos, int pAboveSolidAmount, int pMaxY, Predicate<BlockPos> pPosPredicate) Finds a position above based on the conditions.Method parameters in net.minecraft.world.entity.ai.util with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic Vec3
RandomPos.generateRandomPos
(Supplier<BlockPos> pPosSupplier, ToDoubleFunction<BlockPos> pToDoubleFunction) Tries 10 times to maximize the return value of the position to double function based on the supplied positionstatic Vec3
RandomPos.generateRandomPos
(Supplier<BlockPos> pPosSupplier, ToDoubleFunction<BlockPos> pToDoubleFunction) Tries 10 times to maximize the return value of the position to double function based on the supplied positionstatic Vec3
RandomPos.generateRandomPos
(PathfinderMob pMob, Supplier<BlockPos> pPosSupplier) static Vec3
LandRandomPos.getPos
(PathfinderMob pMob, int pRadius, int pYRange, ToDoubleFunction<BlockPos> pToDoubleFunction) static BlockPos
RandomPos.moveUpOutOfSolid
(BlockPos pPos, int pMaxY, Predicate<BlockPos> pPosPredicate) static BlockPos
RandomPos.moveUpToAboveSolid
(BlockPos pPos, int pAboveSolidAmount, int pMaxY, Predicate<BlockPos> pPosPredicate) Finds a position above based on the conditions. -
Uses of BlockPos in net.minecraft.world.entity.ai.village
Methods in net.minecraft.world.entity.ai.village with parameters of type BlockPosModifier and TypeMethodDescriptionprivate Vec3
VillageSiege.findRandomSpawnPos
(ServerLevel pLevel, BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.entity.ai.village.poi
Fields in net.minecraft.world.entity.ai.village.poi declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
PoiRecord.Packed.pos
The field for thepos
record component.private final BlockPos
PoiRecord.pos
Methods in net.minecraft.world.entity.ai.village.poi that return BlockPosModifier and TypeMethodDescriptionPoiRecord.getPos()
PoiRecord.Packed.pos()
Returns the value of thepos
record component.Methods in net.minecraft.world.entity.ai.village.poi that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPoiManager.find
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findAll
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findAllClosestFirstWithType
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findAllWithType
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findClosest
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findClosest
(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findClosestWithType
(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.getRandom
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, PoiManager.Occupancy pStatus, BlockPos pPos, int pDistance, RandomSource pRandom) PoiManager.take
(Predicate<Holder<PoiType>> pTypePredicate, BiPredicate<Holder<PoiType>, BlockPos> pCombinedTypePosPredicate, BlockPos pPos, int pDistance) Methods in net.minecraft.world.entity.ai.village.poi with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
void
void
PoiManager.ensureLoadedAndValid
(LevelReader pLevelReader, BlockPos pPos, int pCoordinateOffset) boolean
boolean
boolean
PoiManager.existsAtPosition
(ResourceKey<PoiType> pType, BlockPos pPos) PoiManager.find
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findAll
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findAllClosestFirstWithType
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findAllWithType
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findClosest
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findClosest
(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.findClosestWithType
(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) long
PoiManager.getCountInRange
(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) int
PoiManager.getFreeTickets
(BlockPos pPos) Deprecated.int
PoiSection.getFreeTickets
(BlockPos pPos) Deprecated.PoiManager.getInRange
(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiManager.getInSquare
(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) PoiSection.getPoiRecord
(BlockPos pPos) PoiManager.getRandom
(Predicate<Holder<PoiType>> pTypePredicate, Predicate<BlockPos> pPosPredicate, PoiManager.Occupancy pStatus, BlockPos pPos, int pDistance, RandomSource pRandom) boolean
boolean
void
void
PoiManager.take
(Predicate<Holder<PoiType>> pTypePredicate, BiPredicate<Holder<PoiType>, BlockPos> pCombinedTypePosPredicate, BlockPos pPos, int pDistance) Method parameters in net.minecraft.world.entity.ai.village.poi with type arguments of type BlockPosModifier and TypeMethodDescriptionvoid
PoiManager.take
(Predicate<Holder<PoiType>> pTypePredicate, BiPredicate<Holder<PoiType>, BlockPos> pCombinedTypePosPredicate, BlockPos pPos, int pDistance) private void
PoiManager.updateFromSection
(LevelChunkSection pSection, SectionPos pSectionPos, BiConsumer<BlockPos, Holder<PoiType>> pPosToTypeConsumer) Constructors in net.minecraft.world.entity.ai.village.poi with parameters of type BlockPosModifierConstructorDescriptionCreates an instance of aPacked
record class.(package private)
-
Uses of BlockPos in net.minecraft.world.entity.ambient
Fields in net.minecraft.world.entity.ambient declared as BlockPosMethods in net.minecraft.world.entity.ambient with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
Bat.checkBatSpawnRules
(EntityType<Bat> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandomSource) protected void
Bat.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPos
Cat.CatRelaxOnOwnerGoal.goalPos
(package private) BlockPos
Bee.hivePos
(package private) BlockPos
Turtle.homePos
private BlockPos
Parrot.jukebox
(package private) BlockPos
Bee.savedFlowerPos
(package private) BlockPos
Turtle.travelPos
(package private) BlockPos
Dolphin.treasurePos
Fields in net.minecraft.world.entity.animal with type parameters of type BlockPosMethods in net.minecraft.world.entity.animal that return BlockPosMethods in net.minecraft.world.entity.animal that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBee.BeePollinateGoal.findNearbyFlower()
Bee.BeeLocateHiveGoal.findNearbyHivesWithSpace()
Bee.getBlacklistedHives()
Methods in net.minecraft.world.entity.animal with parameters of type BlockPosModifier and TypeMethodDescriptionprivate void
Bee.BeeGoToHiveGoal.blacklistTarget
(BlockPos pPos) static boolean
Animal.checkAnimalSpawnRules
(EntityType<? extends Animal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected void
Bee.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
HappyGhast.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
Parrot.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) static boolean
Fox.checkFoxSpawnRules
(EntityType<Fox> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
MushroomCow.checkMushroomSpawnRules
(EntityType<MushroomCow> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Ocelot.checkOcelotSpawnRules
(EntityType<Ocelot> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Parrot.checkParrotSpawnRules
(EntityType<Parrot> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
PolarBear.checkPolarBearSpawnRules
(EntityType<PolarBear> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Rabbit.checkRabbitSpawnRules
(EntityType<Rabbit> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
AgeableWaterCreature.checkSurfaceAgeableWaterCreatureSpawnRules
(EntityType<? extends AgeableWaterCreature> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
WaterAnimal.checkSurfaceWaterAnimalSpawnRules
(EntityType<? extends WaterAnimal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
TropicalFish.checkTropicalFishSpawnRules
(EntityType<TropicalFish> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Turtle.checkTurtleSpawnRules
(EntityType<Turtle> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) (package private) boolean
Bee.closerThan
(BlockPos pPos, int pDistance) private boolean
Bee.doesHiveHaveSpace
(BlockPos pHivePos) private static Rabbit.Variant
Rabbit.getRandomRabbitVariant
(LevelAccessor pLevel, BlockPos pPos) float
Animal.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Bee.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
HappyGhast.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
MushroomCow.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Turtle.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) private boolean
Bee.BeeGoToHiveGoal.hasReachedTarget
(BlockPos pPos) protected static boolean
Animal.isBrightEnoughToSpawn
(BlockAndTintGetter pLevel, BlockPos pPos) private boolean
boolean
Turtle.TurtlePathNavigation.isStableDestination
(BlockPos pPos) (package private) boolean
Bee.BeeGoToHiveGoal.isTargetBlacklisted
(BlockPos pPos) (package private) boolean
Bee.isTooFarAway
(BlockPos pPos) protected boolean
Fox.FoxEatBerriesGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
Rabbit.RaidGardenGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
Turtle.TurtleGoToWaterGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
Turtle.TurtleLayEggGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprivate boolean
Bee.BeeGoToHiveGoal.pathfindDirectlyTowards
(BlockPos pPos) (package private) void
Bee.pathfindRandomlyTowards
(BlockPos pPos) protected void
AbstractCow.playStepSound
(BlockPos p_401406_, BlockState p_401079_) protected void
AbstractFish.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Bee.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Chicken.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
HappyGhast.playStepSound
(BlockPos pPos, BlockState pState) protected void
IronGolem.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Panda.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Parrot.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Pig.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
PolarBear.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Turtle.playStepSound
(BlockPos pPos, BlockState pBlock) void
Bee.setHivePos
(BlockPos pHivePos) void
Turtle.setHomePos
(BlockPos pHomePos) void
Parrot.setRecordPlayingNearby
(BlockPos pPos, boolean pIsPartying) Called when a record starts or stops playing.void
Bee.setSavedFlowerPos
(BlockPos pSavedFlowerPos) -
Uses of BlockPos in net.minecraft.world.entity.animal.allay
Fields in net.minecraft.world.entity.animal.allay declared as BlockPosMethods in net.minecraft.world.entity.animal.allay with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
Allay.VibrationUser.canReceiveVibration
(ServerLevel p_282038_, BlockPos p_283385_, Holder<GameEvent> p_316820_, GameEvent.Context p_282208_) protected void
Allay.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) static void
AllayAi.hearNoteblock
(LivingEntity pEntity, BlockPos pPos) void
Allay.VibrationUser.onReceiveVibration
(ServerLevel p_281422_, BlockPos p_281449_, Holder<GameEvent> p_316630_, Entity p_281794_, Entity p_281864_, float p_281642_) protected void
Allay.playStepSound
(BlockPos pPos, BlockState pState) void
Allay.setJukeboxPlaying
(BlockPos pJukeboxPos, boolean pJukeboxPlaying) -
Uses of BlockPos in net.minecraft.world.entity.animal.armadillo
Methods in net.minecraft.world.entity.animal.armadillo with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
Armadillo.checkArmadilloSpawnRules
(EntityType<Armadillo> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected void
Armadillo.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockPos in net.minecraft.world.entity.animal.axolotl
Methods in net.minecraft.world.entity.animal.axolotl with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
Axolotl.checkAxolotlSpawnRules
(EntityType<? extends LivingEntity> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) float
Axolotl.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) -
Uses of BlockPos in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
Camel.checkCamelSpawnRules
(EntityType<Camel> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected void
Camel.playStepSound
(BlockPos pPos, BlockState pBlock) -
Uses of BlockPos in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
Frog.checkFrogSpawnRules
(EntityType<? extends Animal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) private static <E extends Mob>
booleanFrogAi.isAcceptableLandingSpot
(E p_249699_, BlockPos p_250057_) protected void
Frog.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockPos in net.minecraft.world.entity.animal.goat
Methods in net.minecraft.world.entity.animal.goat with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
Goat.checkGoatSpawnRules
(EntityType<? extends Animal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected void
Goat.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockPos in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
SkeletonHorse.checkSkeletonHorseSpawnRules
(EntityType<? extends Animal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
ZombieHorse.checkZombieHorseSpawnRules
(EntityType<? extends Animal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected void
AbstractHorse.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Llama.playStepSound
(BlockPos pPos, BlockState pBlock) -
Uses of BlockPos in net.minecraft.world.entity.animal.sheep
Methods in net.minecraft.world.entity.animal.sheep with parameters of type BlockPosModifier and TypeMethodDescriptionstatic DyeColor
Sheep.getRandomSheepColor
(ServerLevelAccessor pLevel, BlockPos pPos) protected void
Sheep.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockPos in net.minecraft.world.entity.animal.sniffer
Methods in net.minecraft.world.entity.animal.sniffer that return BlockPosMethods in net.minecraft.world.entity.animal.sniffer that return types with arguments of type BlockPosMethods in net.minecraft.world.entity.animal.sniffer with parameters of type BlockPosModifier and TypeMethodDescriptionprivate boolean
protected void
Sniffer.playStepSound
(BlockPos pPos, BlockState pState) private Sniffer
Sniffer.storeExploredPosition
(BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.entity.animal.wolf
Methods in net.minecraft.world.entity.animal.wolf with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
Wolf.checkWolfSpawnRules
(EntityType<Wolf> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected void
Wolf.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockPos in net.minecraft.world.entity.boss.enderdragon
Fields in net.minecraft.world.entity.boss.enderdragon declared as BlockPosFields in net.minecraft.world.entity.boss.enderdragon with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<Optional<BlockPos>> EndCrystal.DATA_BEAM_TARGET
Methods in net.minecraft.world.entity.boss.enderdragon that return BlockPosMethods in net.minecraft.world.entity.boss.enderdragon with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
EnderDragon.onCrystalDestroyed
(ServerLevel pLevel, EndCrystal pCrystal, BlockPos pPos, DamageSource pDamageSource) void
EndCrystal.setBeamTarget
(BlockPos pBeamTarget) void
EnderDragon.setFightOrigin
(BlockPos pFightOrigin) -
Uses of BlockPos in net.minecraft.world.entity.boss.enderdragon.phases
Methods in net.minecraft.world.entity.boss.enderdragon.phases with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
AbstractDragonPhaseInstance.onCrystalDestroyed
(EndCrystal pCrystal, BlockPos pPos, DamageSource pDmgSrc, Player pPlyr) void
DragonHoldingPatternPhase.onCrystalDestroyed
(EndCrystal pCrystal, BlockPos pPos, DamageSource pDmgSrc, Player pPlyr) void
DragonPhaseInstance.onCrystalDestroyed
(EndCrystal pCrystal, BlockPos pPos, DamageSource pDamageSource, Player pPlayer) -
Uses of BlockPos in net.minecraft.world.entity.decoration
Fields in net.minecraft.world.entity.decoration declared as BlockPosMethods in net.minecraft.world.entity.decoration that return BlockPosMethods in net.minecraft.world.entity.decoration with parameters of type BlockPosModifier and TypeMethodDescriptionprotected abstract AABB
HangingEntity.calculateBoundingBox
(BlockPos pPos, Direction pDirection) protected AABB
ItemFrame.calculateBoundingBox
(BlockPos pPos, Direction pDirection) protected AABB
Painting.calculateBoundingBox
(BlockPos pPos, Direction pDirection) static LeashFenceKnotEntity
LeashFenceKnotEntity.getOrCreateKnot
(Level pLevel, BlockPos pPos) Constructors in net.minecraft.world.entity.decoration with parameters of type BlockPosModifierConstructorDescriptionprotected
BlockAttachedEntity
(EntityType<? extends BlockAttachedEntity> pEntityType, Level pLevel, BlockPos pPos) GlowItemFrame
(Level p_149610_, BlockPos p_149611_, Direction p_149612_) protected
HangingEntity
(EntityType<? extends HangingEntity> pEntityType, Level pLevel, BlockPos pPos) ItemFrame
(EntityType<? extends ItemFrame> pEntityType, Level pLevel, BlockPos pPos, Direction pDirection) LeashFenceKnotEntity
(Level pLevel, BlockPos pPos) private
-
Uses of BlockPos in net.minecraft.world.entity.item
Fields in net.minecraft.world.entity.item with type parameters of type BlockPosModifier and TypeFieldDescriptionprotected static final EntityDataAccessor
<BlockPos> FallingBlockEntity.DATA_START_POS
Methods in net.minecraft.world.entity.item that return BlockPosModifier and TypeMethodDescriptionItemEntity.getBlockPosBelowThatAffectsMyMovement()
FallingBlockEntity.getStartPos()
Methods in net.minecraft.world.entity.item with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
FallingBlockEntity.callOnBrokenAfterFall
(Block pBlock, BlockPos pPos) static FallingBlockEntity
FallingBlockEntity.fall
(Level pLevel, BlockPos pPos, BlockState pBlockState) void
FallingBlockEntity.setStartPos
(BlockPos pStartPos) -
Uses of BlockPos in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as BlockPosModifier and TypeFieldDescription(package private) BlockPos
Phantom.anchorPoint
private BlockPos
Vex.boundOrigin
private BlockPos
Shulker.clientOldAttachPosition
private BlockPos
PatrollingMonster.patrolTarget
Methods in net.minecraft.world.entity.monster that return BlockPosModifier and TypeMethodDescriptionVex.getBoundOrigin()
Strider.StriderGoToLavaGoal.getMoveToTarget()
PatrollingMonster.getPatrolTarget()
Methods in net.minecraft.world.entity.monster with parameters of type BlockPosModifier and TypeMethodDescriptionprivate boolean
Ghast.GhastMoveControl.blockTraversalPossible
(BlockGetter pLevel, Vec3 pFrom, Vec3 pTo, BlockPos pPos, boolean pIsInLava, boolean pIsInWater) private boolean
EnderMan.EndermanLeaveBlockGoal.canPlaceBlock
(Level pLevel, BlockPos pDestinationPos, BlockState pCarriedState, BlockState pDestinationState, BlockState pBelowDestinationState, BlockPos pBelowDestinationPos) (package private) boolean
static boolean
Monster.checkAnyLightMonsterSpawnRules
(EntityType<? extends Monster> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Drowned.checkDrownedSpawnRules
(EntityType<Drowned> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Endermite.checkEndermiteSpawnRules
(EntityType<Endermite> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected void
Ghast.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
Phantom.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
Strider.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) static boolean
Ghast.checkGhastSpawnRules
(EntityType<Ghast> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Guardian.checkGuardianSpawnRules
(EntityType<? extends Guardian> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Husk.checkHuskSpawnRules
(EntityType<Husk> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
MagmaCube.checkMagmaCubeSpawnRules
(EntityType<MagmaCube> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Monster.checkMonsterSpawnRules
(EntityType<? extends Monster> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
PatrollingMonster.checkPatrollingMonsterSpawnRules
(EntityType<? extends PatrollingMonster> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandomSource) static boolean
Silverfish.checkSilverfishSpawnRules
(EntityType<Silverfish> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Slime.checkSlimeSpawnRules
(EntityType<Slime> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Stray.checkStraySpawnRules
(EntityType<Stray> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
Strider.checkStriderSpawnRules
(EntityType<Strider> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static boolean
ZombifiedPiglin.checkZombifiedPiglinSpawnRules
(EntityType<ZombifiedPiglin> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected Direction
Shulker.findAttachableSurface
(BlockPos pPos) float
Giant.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Guardian.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Monster.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Pillager.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Silverfish.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Strider.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) static boolean
Monster.isDarkEnoughToSpawn
(ServerLevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) Static predicate for determining if the current light level and environmental conditions allow for a monster to spawn.private static boolean
Drowned.isDeepEnoughToSpawn
(LevelAccessor pLevel, BlockPos pPos) private boolean
Shulker.isPositionBlocked
(BlockPos pPos) boolean
Strider.StriderPathNavigation.isStableDestination
(BlockPos pPos) protected boolean
Drowned.DrownedGoToBeachGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
Strider.StriderGoToLavaGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationvoid
Zombie.ZombieAttackTurtleEggGoal.playBreakSound
(Level pLevel, BlockPos pPos) void
Zombie.ZombieAttackTurtleEggGoal.playDestroyProgressSound
(LevelAccessor pLevel, BlockPos pPos) protected void
AbstractSkeleton.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Endermite.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Ravager.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Silverfish.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Spider.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Strider.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Zoglin.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Zombie.playStepSound
(BlockPos pPos, BlockState pBlock) void
Vex.setBoundOrigin
(BlockPos pBoundOrigin) void
PatrollingMonster.setPatrolTarget
(BlockPos pPatrolTarget) -
Uses of BlockPos in net.minecraft.world.entity.monster.breeze
Methods in net.minecraft.world.entity.monster.breeze that return BlockPosModifier and TypeMethodDescriptionprivate static BlockPos
LongJump.snapToSurface
(LivingEntity pOwner, Vec3 pTargetPos) -
Uses of BlockPos in net.minecraft.world.entity.monster.creaking
Fields in net.minecraft.world.entity.monster.creaking with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<Optional<BlockPos>> Creaking.HOME_POS
Methods in net.minecraft.world.entity.monster.creaking that return BlockPosMethods in net.minecraft.world.entity.monster.creaking with parameters of type BlockPosModifier and TypeMethodDescriptionfloat
Creaking.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) protected void
Creaking.playStepSound
(BlockPos pPos, BlockState pState) void
Creaking.setHomePos
(BlockPos pHomePos) void
Creaking.setTransient
(BlockPos p_389674_) -
Uses of BlockPos in net.minecraft.world.entity.monster.hoglin
Methods in net.minecraft.world.entity.monster.hoglin with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
Hoglin.checkHoglinSpawnRules
(EntityType<Hoglin> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) float
Hoglin.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) (package private) static boolean
HoglinAi.isPosNearNearestRepellent
(Hoglin pHoglin, BlockPos pPos) protected void
Hoglin.playStepSound
(BlockPos pPos, BlockState pBlock) -
Uses of BlockPos in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
Piglin.checkPiglinSpawnRules
(EntityType<Piglin> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected void
Piglin.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
PiglinBrute.playStepSound
(BlockPos pPos, BlockState pBlock) -
Uses of BlockPos in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
Warden.VibrationUser.canReceiveVibration
(ServerLevel p_282574_, BlockPos p_282323_, Holder<GameEvent> p_316784_, GameEvent.Context p_282515_) private static List
<ServerPlayer> WardenSpawnTracker.getNearbyPlayers
(ServerLevel pLevel, BlockPos pPos) float
Warden.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) private static boolean
WardenSpawnTracker.hasNearbyWarden
(ServerLevel pLevel, BlockPos pPos) void
Warden.VibrationUser.onReceiveVibration
(ServerLevel p_281325_, BlockPos p_282386_, Holder<GameEvent> p_316139_, Entity p_281438_, Entity p_282582_, float p_283699_) protected void
Warden.playStepSound
(BlockPos pPos, BlockState pState) static void
WardenAi.setDisturbanceLocation
(Warden pWarden, BlockPos pDisturbanceLocation) static OptionalInt
WardenSpawnTracker.tryWarn
(ServerLevel pLevel, BlockPos pPos, ServerPlayer pPlayer) -
Uses of BlockPos in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc declared as BlockPosMethods in net.minecraft.world.entity.npc that return BlockPosModifier and TypeMethodDescriptionprivate BlockPos
WanderingTraderSpawner.findSpawnPositionNear
(LevelReader pLevel, BlockPos pPos, int pMaxDistance) (package private) BlockPos
WanderingTrader.getWanderTarget()
Methods in net.minecraft.world.entity.npc with parameters of type BlockPosModifier and TypeMethodDescriptionprivate BlockPos
WanderingTraderSpawner.findSpawnPositionNear
(LevelReader pLevel, BlockPos pPos, int pMaxDistance) private boolean
WanderingTraderSpawner.hasEnoughSpace
(BlockGetter pLevel, BlockPos pPos) private boolean
WanderingTrader.WanderToPositionGoal.isTooFarAway
(BlockPos pPos, double pDistance) void
WanderingTrader.setWanderTarget
(BlockPos pWanderTarget) private void
CatSpawner.spawnCat
(BlockPos pPos, ServerLevel pLevel, boolean pPersistent) private void
CatSpawner.spawnInHut
(ServerLevel pLevel, BlockPos pPos) private void
CatSpawner.spawnInVillage
(ServerLevel pLevel, BlockPos pPos) void
Villager.startSleeping
(BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
Player.blockActionRestricted
(Level pLevel, BlockPos pPos, GameType pGameMode) boolean
Player.canInteractWithBlock
(BlockPos pPos, double pDistance) protected boolean
float
Player.getDestroySpeed
(BlockState pState, BlockPos pos) boolean
Player.hasCorrectToolForDrops
(BlockState pState, Level level, BlockPos pos) boolean
Player.mayUseItemAt
(BlockPos pPos, Direction pFacing, ItemStack pStack) Returns whether this player can modify the block at a certain location with the given stack.void
Player.onAboveBubbleColumn
(boolean pDownwards, BlockPos pPos) protected void
Player.playStepSound
(BlockPos pPos, BlockState pState) com.mojang.datafixers.util.Either
<Player.BedSleepingProblem, Unit> Player.startSleepInBed
(BlockPos p_36203_) -
Uses of BlockPos in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile with parameters of type BlockPosModifier and TypeMethodDescriptionprivate boolean
FishingHook.calculateOpenWater
(BlockPos pPos) private void
FishingHook.catchingFish
(BlockPos pPos) private void
float
WitherSkull.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entityprivate FishingHook.OpenWaterType
FishingHook.getOpenWaterTypeForArea
(BlockPos pFirstPos, BlockPos pSecondPos) private FishingHook.OpenWaterType
FishingHook.getOpenWaterTypeForBlock
(BlockPos p_37164_) boolean
Projectile.mayInteract
(ServerLevel pLevel, BlockPos pPos) void
AbstractArrow.onAboveBubbleColumn
(boolean pDownwards, BlockPos pPos) void
Projectile.onAboveBubbleColumn
(boolean pDownwards, BlockPos pPos) void
ThrownEnderpearl.onAboveBubbleColumn
(boolean pDownwards, BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.entity.raid
Fields in net.minecraft.world.entity.raid declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPos
Raid.center
private BlockPos
Raider.RaiderMoveThroughVillageGoal.poiPos
Fields in net.minecraft.world.entity.raid with type parameters of type BlockPosMethods in net.minecraft.world.entity.raid that return BlockPosModifier and TypeMethodDescriptionprivate BlockPos
Raid.findRandomSpawnPos
(ServerLevel pLevel, int pAttempts) Raid.getCenter()
Methods in net.minecraft.world.entity.raid that return types with arguments of type BlockPosMethods in net.minecraft.world.entity.raid with parameters of type BlockPosModifier and TypeMethodDescriptionRaids.createOrExtendRaid
(ServerPlayer pPlayer, BlockPos pPos) Raids.getNearbyRaid
(BlockPos pPos, int pDistance) private Raid
Raids.getOrCreateRaid
(ServerLevel pServerLevel, BlockPos pPos) private boolean
Raider.RaiderMoveThroughVillageGoal.hasNotVisited
(BlockPos p_37943_) void
Raid.joinRaid
(ServerLevel pLevel, int pWave, Raider pRaider, BlockPos pPos, boolean pIsRecruited) private void
Raid.playSound
(ServerLevel pLevel, BlockPos pPos) private void
private void
Raid.spawnGroup
(ServerLevel pLevel, BlockPos pPos) Constructors in net.minecraft.world.entity.raid with parameters of type BlockPosModifierConstructorDescriptionprivate
Raid
(boolean p_401323_, boolean p_401294_, long p_401064_, int p_37692_, int p_401428_, int p_401382_, int p_401117_, float p_401178_, int p_401042_, Raid.RaidStatus p_401122_, BlockPos p_37694_, Set<UUID> p_401136_) Raid
(BlockPos pCenter, Difficulty pDifficulty) -
Uses of BlockPos in net.minecraft.world.entity.variant
Fields in net.minecraft.world.entity.variant declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
SpawnContext.pos
The field for thepos
record component.Methods in net.minecraft.world.entity.variant that return BlockPosModifier and TypeMethodDescriptionSpawnContext.pos()
Returns the value of thepos
record component.Methods in net.minecraft.world.entity.variant with parameters of type BlockPosModifier and TypeMethodDescriptionstatic SpawnContext
SpawnContext.create
(ServerLevelAccessor pLevel, BlockPos pPos) Constructors in net.minecraft.world.entity.variant with parameters of type BlockPosModifierConstructorDescriptionSpawnContext
(BlockPos pos, ServerLevelAccessor level, Holder<Biome> biome) Creates an instance of aSpawnContext
record class. -
Uses of BlockPos in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return BlockPosMethods in net.minecraft.world.entity.vehicle with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
NewMinecartBehavior.adjustToRails
(BlockPos pPos, BlockState pState, boolean pSnapToStart) private Vec3
NewMinecartBehavior.calculateBoostTrackSpeed
(Vec3 pSpeed, BlockPos pPos, BlockState pState) private Vec3
NewMinecartBehavior.calculateTrackSpeed
(ServerLevel pLevel, Vec3 pSpeed, NewMinecartBehavior.TrackIteration pTrackIteration, BlockPos pPos, BlockState pState, RailShape pRailShape) protected void
AbstractBoat.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) static double
DismountHelper.findCeilingFrom
(BlockPos pPos, int pCeiling, Function<BlockPos, VoxelShape> pShapeForPos) static Vec3
DismountHelper.findSafeDismountLocation
(EntityType<?> pEntityType, CollisionGetter pLevel, BlockPos pPos, boolean pOnlySafePositions) float
MinecartTNT.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entityAbstractMinecart.getRedstoneDirection
(BlockPos pPos) boolean
AbstractMinecart.isRedstoneConductor
(BlockPos pPos) protected double
AbstractMinecart.makeStepAlongTrack
(BlockPos pPos, RailShape pRailShape, double pSpeed) protected double
MinecartHopper.makeStepAlongTrack
(BlockPos pPos, RailShape pRailShape, double pSpeed) static VoxelShape
DismountHelper.nonClimbableShape
(BlockGetter pLevel, BlockPos pPos) void
AbstractBoat.onAboveBubbleColumn
(boolean pDownwards, BlockPos pPos) boolean
MinecartTNT.shouldBlockExplode
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) abstract double
MinecartBehavior.stepAlongTrack
(BlockPos pPos, RailShape pRailShape, double pSpeed) double
NewMinecartBehavior.stepAlongTrack
(BlockPos pPos, RailShape pRailShape, double pSpeed) double
OldMinecartBehavior.stepAlongTrack
(BlockPos pPos, RailShape pRailShape, double pSpeed) Method parameters in net.minecraft.world.entity.vehicle with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic double
DismountHelper.findCeilingFrom
(BlockPos pPos, int pCeiling, Function<BlockPos, VoxelShape> pShapeForPos) -
Uses of BlockPos in net.minecraft.world.inventory
Methods in net.minecraft.world.inventory with parameters of type BlockPosMethod parameters in net.minecraft.world.inventory with type arguments of type BlockPosModifier and TypeMethodDescription<T> Optional
<T> ContainerLevelAccess.evaluate
(BiFunction<Level, BlockPos, T> pLevelPosConsumer) default <T> T
ContainerLevelAccess.evaluate
(BiFunction<Level, BlockPos, T> pLevelPosConsumer, T pDefaultValue) default void
ContainerLevelAccess.execute
(BiConsumer<Level, BlockPos> pLevelPosConsumer) -
Uses of BlockPos in net.minecraft.world.item
Fields in net.minecraft.world.item declared as BlockPosMethods in net.minecraft.world.item with parameters of type BlockPosModifier and TypeMethodDescriptionstatic void
BoneMealItem.addGrowthParticles
(LevelAccessor pLevel, BlockPos pPos, int pData) static boolean
BoneMealItem.applyBonemeal
(ItemStack p_40628_, Level p_40629_, BlockPos p_40630_, Player player) static InteractionResult
LeadItem.bindPlayerMobs
(Player pPlayer, Level pLevel, BlockPos pPos) protected boolean
BucketItem.canBlockContainFluid
(Player player, Level worldIn, BlockPos posIn, BlockState blockstate) boolean
DebugStickItem.canDestroyBlock
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, LivingEntity pEntity) boolean
Item.canDestroyBlock
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, LivingEntity pEntity) boolean
ItemStack.canDestroyBlock
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected boolean
HangingSignItem.canPlace
(LevelReader pLevel, BlockState pState, BlockPos pPos) protected boolean
StandingAndWallBlockItem.canPlace
(LevelReader pLevel, BlockState pState, BlockPos pPos) void
BucketItem.checkExtraContent
(LivingEntity pEntity, Level pLevel, ItemStack pStack, BlockPos pPos) default void
DispensibleContainerItem.checkExtraContent
(LivingEntity pEntity, Level pLevel, ItemStack pStack, BlockPos pPos) void
MobBucketItem.checkExtraContent
(LivingEntity pEntity, Level pLevel, ItemStack pStack, BlockPos pPos) boolean
BucketItem.emptyContents
(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockHitResult pHitResult) Deprecated.boolean
BucketItem.emptyContents
(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockHitResult pHitResult, ItemStack container) boolean
DispensibleContainerItem.emptyContents
(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockHitResult pHitResult) Deprecated.boolean
SolidBucketItem.emptyContents
(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockHitResult pHitResult) private Optional
<BlockState> AxeItem.evaluateNewBlockState
(Level pLevel, BlockPos pPos, Player pPlayer, BlockState pState, UseOnContext p_40529_) private BlockState
MapItem.getCorrectStateForFluidBlock
(Level pLevel, BlockState pState, BlockPos pPos) protected SoundEvent
BlockItem.getPlaceSound
(BlockState pState, Level world, BlockPos pos, Player entity) static boolean
Deprecated.static boolean
BoneMealItem.growWaterPlant
(ItemStack pStack, Level pLevel, BlockPos pPos, Direction pClickedSide) private boolean
DebugStickItem.handleInteraction
(Player pPlayer, BlockState pStateClicked, LevelAccessor pAccessor, BlockPos pPos, boolean pShouldCycleState, ItemStack pDebugStack) protected boolean
HangingEntityItem.mayPlace
(Player pPlayer, Direction pDirection, ItemStack pHangingEntityStack, BlockPos pPos) protected boolean
boolean
Item.mineBlock
(ItemStack pStack, Level pLevel, BlockState pState, BlockPos pPos, LivingEntity pMiningEntity) Called when aBlock
is destroyed using this Item.void
ItemStack.mineBlock
(Level pLevel, BlockState pState, BlockPos pPos, Player pPlayer) Called when a Block is destroyed using this ItemStackboolean
ShearsItem.mineBlock
(ItemStack pStack, Level pLevel, BlockState pState, BlockPos pPos, LivingEntity pEntityLiving) Called when aBlock
is destroyed using this Item.protected void
BucketItem.playEmptySound
(LivingEntity pEntity, LevelAccessor pLevel, BlockPos pPos) protected void
MobBucketItem.playEmptySound
(LivingEntity pEntity, LevelAccessor pLevel, BlockPos pPos) private void
private void
MobBucketItem.spawn
(ServerLevel pServerLevel, ItemStack pBucketedMobStack, BlockPos pPos) private static void
JukeboxSongPlayer.spawnMusicParticles
(LevelAccessor pLevel, BlockPos pPos) static InteractionResult
JukeboxPlayable.tryInsertIntoJukebox
(Level pLevel, BlockPos pPos, ItemStack pStack, Player pPlayer) private static void
BlockItem.updateBlockEntityComponents
(Level pLevel, BlockPos pPoa, ItemStack pStack) private BlockState
BlockItem.updateBlockStateFromTag
(BlockPos pPos, Level pLevel, ItemStack pStack, BlockState pState) protected boolean
BlockItem.updateCustomBlockEntityTag
(BlockPos pPos, Level pLevel, Player pPlayer, ItemStack pStack, BlockState pState) static boolean
BlockItem.updateCustomBlockEntityTag
(Level pLevel, Player pPlayer, BlockPos pPos, ItemStack pStack) protected boolean
SignItem.updateCustomBlockEntityTag
(BlockPos pPos, Level pLevel, Player pPlayer, ItemStack pStack, BlockState pState) Constructors in net.minecraft.world.item with parameters of type BlockPosModifierConstructorDescriptionJukeboxSongPlayer
(JukeboxSongPlayer.OnSongChanged pOnSongChanged, BlockPos pBlockPos) -
Uses of BlockPos in net.minecraft.world.item.context
Fields in net.minecraft.world.item.context declared as BlockPosMethods in net.minecraft.world.item.context that return BlockPosModifier and TypeMethodDescriptionBlockPlaceContext.getClickedPos()
DirectionalPlaceContext.getClickedPos()
UseOnContext.getClickedPos()
Methods in net.minecraft.world.item.context with parameters of type BlockPosModifier and TypeMethodDescriptionstatic BlockPlaceContext
BlockPlaceContext.at
(BlockPlaceContext pContext, BlockPos pPos, Direction pDirection) Constructors in net.minecraft.world.item.context with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.level
Fields in net.minecraft.world.level declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPos
NaturalSpawner.SpawnState.lastCheckedPos
private final BlockPos
BlockEventData.pos
The field for thepos
record component.private final BlockPos
PotentialCalculator.PointCharge.pos
(package private) final BlockPos
ServerExplosion.StackCollector.pos
Fields in net.minecraft.world.level with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final ForcedChunkManager.TicketTracker
<BlockPos> TicketStorage.blockForcedChunks
Methods in net.minecraft.world.level that return BlockPosModifier and TypeMethodDescriptionChunkPos.getBlockAt
(int pXSection, int pY, int pZSection) Level.getBlockRandomPos
(int pX, int pY, int pZ, int pYMask) default BlockPos
CommonLevelAccessor.getHeightmapPos
(Heightmap.Types pHeightmapType, BlockPos pPos) default BlockPos
LevelReader.getHeightmapPos
(Heightmap.Types pHeightmapType, BlockPos pPos) LevelSimulatedReader.getHeightmapPos
(Heightmap.Types pHeightmapType, BlockPos pPos) ChunkPos.getMiddleBlockPosition
(int pY) private static BlockPos
NaturalSpawner.getRandomPosWithin
(Level pLevel, LevelChunk pChunk) Level.getSharedSpawnPos()
private static BlockPos
NaturalSpawner.getTopNonCollidingPos
(LevelReader pLevel, EntityType<?> pEntityType, int pX, int pZ) ChunkPos.getWorldPosition()
BlockEventData.pos()
Returns the value of thepos
record component.Methods in net.minecraft.world.level that return types with arguments of type BlockPosModifier and TypeMethodDescriptionServerExplosion.calculateExplodedPositions()
CollisionGetter.findSupportingBlock
(Entity pEntity, AABB pBox) TicketStorage.getBlockForcedChunks()
Methods in net.minecraft.world.level with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
void
Level.addDestroyBlockEffect
(BlockPos pPos, BlockState pState) private static void
ServerExplosion.addOrAppendStack
(List<ServerExplosion.StackCollector> pStackCollectors, ItemStack pStack, BlockPos pPos) static long
void
Level.blockEntityChanged
(BlockPos pPos) void
Level.blockEvent
(BlockPos pPos, Block pBlock, int pEventID, int pEventParam) abstract void
BaseSpawner.broadcastEvent
(Level pLevel, BlockPos pPos, int pEventId) default boolean
default boolean
LevelReader.canSeeSkyFromBelowWater
(BlockPos pPos) private boolean
NaturalSpawner.SpawnState.canSpawn
(EntityType<?> pEntityType, BlockPos pPos, ChunkAccess pChunk) private static boolean
NaturalSpawner.canSpawnMobAt
(ServerLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, MobCategory pCategory, MobSpawnSettings.SpawnerData pData, BlockPos pPos) void
BaseSpawner.clientTick
(Level pLevel, BlockPos pPos) default BlockHitResult
BlockGetter.clipWithInteractionOverride
(Vec3 pStartVec, Vec3 pEndVec, BlockPos pPos, VoxelShape pShape, BlockState pState) default <T> ScheduledTick
<T> LevelAccessor.createTick
(BlockPos pPos, T pType, int pDelay) default <T> ScheduledTick
<T> LevelAccessor.createTick
(BlockPos pPos, T pType, int pDelay, TickPriority pPriority) <T> ScheduledTick
<T> ScheduledTickAccess.createTick
(BlockPos pPos, T pType, int pDelay) <T> ScheduledTick
<T> ScheduledTickAccess.createTick
(BlockPos pPos, T pType, int pDelay, TickPriority pPriority) private void
boolean
Level.destroyBlock
(BlockPos pPos, boolean pDropBlock, Entity pEntity, int pRecursionLeft) default boolean
LevelWriter.destroyBlock
(BlockPos pPos, boolean pDropBlock) Sets a block to air, but also plays the sound and particles and can spawn dropsdefault boolean
LevelWriter.destroyBlock
(BlockPos pPos, boolean pDropBlock, Entity pEntity) boolean
LevelWriter.destroyBlock
(BlockPos pPos, boolean pDropBlock, Entity pEntity, int pRecursionLeft) abstract void
Level.destroyBlockProgress
(int pBreakerId, BlockPos pPos, int pProgress) default boolean
WorldGenLevel.ensureCanWrite
(BlockPos pPos) default void
LevelAccessor.gameEvent
(Holder<GameEvent> pGameEvent, BlockPos pPos, GameEvent.Context pContext) default void
LevelAccessor.gameEvent
(ResourceKey<GameEvent> pGameEvent, BlockPos pPos, GameEvent.Context pContext) default void
ClipContext.Block.get
(BlockState pState, BlockGetter pBlock, BlockPos pPos, CollisionContext pCollisionContext) ClipContext.ShapeGetter.get
(BlockState pState, BlockGetter pBlock, BlockPos pPos, CollisionContext pCollisionContext) StructureManager.getAllStructuresAt
(BlockPos pPos) default int
SignalGetter.getBestNeighborSignal
(BlockPos pPos) Returns the highest redstone signal the given position receives from neighboring blocks.BlockGetter.getBlockEntity
(BlockPos pPos) default <T extends BlockEntity>
Optional<T> BlockGetter.getBlockEntity
(BlockPos pPos, BlockEntityType<T> pBlockEntityType) default <T extends BlockEntity>
Optional<T> CommonLevelAccessor.getBlockEntity
(BlockPos pPos, BlockEntityType<T> pBlockEntityType) EmptyBlockAndTintGetter.getBlockEntity
(BlockPos p_363675_) EmptyBlockGetter.getBlockEntity
(BlockPos pPos) Level.getBlockEntity
(BlockPos pPos) <T extends BlockEntity>
Optional<T> LevelSimulatedReader.getBlockEntity
(BlockPos pPos, BlockEntityType<T> pType) PathNavigationRegion.getBlockEntity
(BlockPos pPos) 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) default double
BlockGetter.getBlockFloorHeight
(BlockPos pPos) ClipContext.getBlockShape
(BlockState pBlockState, BlockGetter pLevel, BlockPos pPos) BlockGetter.getBlockState
(BlockPos p_45571_) EmptyBlockAndTintGetter.getBlockState
(BlockPos p_364801_) EmptyBlockGetter.getBlockState
(BlockPos pPos) Level.getBlockState
(BlockPos pPos) PathNavigationRegion.getBlockState
(BlockPos pPos) int
BlockAndTintGetter.getBlockTint
(BlockPos pBlockPos, ColorResolver pColorResolver) int
EmptyBlockAndTintGetter.getBlockTint
(BlockPos p_362018_, ColorResolver p_365320_) default int
LevelReader.getBlockTint
(BlockPos pBlockPos, ColorResolver pColorResolver) default int
BlockAndTintGetter.getBrightness
(LightLayer pLightType, BlockPos pBlockPos) default ChunkAccess
private ChunkAccess
Level.getChunkAt
(BlockPos pPos) int
Level.getClientLeafTintColor
(BlockPos pPos) default int
SignalGetter.getControlInputSignal
(BlockPos pPos, Direction pDirection, boolean pDiodesOnly) Returns the control signal emitted from the given position in the given direction.Level.getCurrentDifficultyAt
(BlockPos pPos) LevelAccessor.getCurrentDifficultyAt
(BlockPos pPos) default int
SignalGetter.getDirectSignal
(BlockPos pPos, Direction pDirection) Returns the direct redstone signal emitted from the given position in the given direction.default int
SignalGetter.getDirectSignalTo
(BlockPos pPos) Returns the direct redstone signal the given position receives from neighboring blocks.ClipContext.getFluidShape
(FluidState pState, BlockGetter pLevel, BlockPos pPos) BlockGetter.getFluidState
(BlockPos pPos) EmptyBlockAndTintGetter.getFluidState
(BlockPos p_364619_) EmptyBlockGetter.getFluidState
(BlockPos pPos) Level.getFluidState
(BlockPos pPos) PathNavigationRegion.getFluidState
(BlockPos pPos) default int
LevelReader.getHeight
(Heightmap.Types pHeightmapType, BlockPos pPos) default BlockPos
CommonLevelAccessor.getHeightmapPos
(Heightmap.Types pHeightmapType, BlockPos pPos) default BlockPos
LevelReader.getHeightmapPos
(Heightmap.Types pHeightmapType, BlockPos pPos) LevelSimulatedReader.getHeightmapPos
(Heightmap.Types pHeightmapType, BlockPos pPos) default int
BlockGetter.getLightEmission
(BlockPos pPos) default float
LevelReader.getLightLevelDependentMagicValue
(BlockPos pPos) Deprecated.default int
LevelReader.getMaxLocalRawBrightness
(BlockPos pPos) default int
LevelReader.getMaxLocalRawBrightness
(BlockPos pPos, int pAmount) BaseSpawner.getOrCreateDisplayEntity
(Level pLevel, BlockPos pPos) private SpawnData
BaseSpawner.getOrCreateNextSpawnData
(Level pLevel, RandomSource pRandom, BlockPos pPos) default float
LevelReader.getPathfindingCostFromLightLevels
(BlockPos pPos) double
PotentialCalculator.PointCharge.getPotentialChange
(BlockPos pPos) double
PotentialCalculator.getPotentialEnergyChange
(BlockPos pPos, double pCharge) private static Optional
<MobSpawnSettings.SpawnerData> NaturalSpawner.getRandomSpawnMobAt
(ServerLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, MobCategory pCategory, RandomSource pRandom, BlockPos pPos) default int
BlockAndTintGetter.getRawBrightness
(BlockPos pBlockPos, int pAmount) (package private) static Biome
NaturalSpawner.getRoughBiome
(BlockPos pPos, ChunkAccess pChunk) default int
Returns the redstone signal emitted from the given position in the given direction.StructureManager.getStructureAt
(BlockPos pPos, Structure pStructure) StructureManager.getStructureWithPieceAt
(BlockPos pPos, Predicate<Holder<Structure>> pPredicate) StructureManager.getStructureWithPieceAt
(BlockPos pPos, HolderSet<Structure> pStructures) StructureManager.getStructureWithPieceAt
(BlockPos pPos, TagKey<Structure> pStructureTag) StructureManager.getStructureWithPieceAt
(BlockPos pPos, Structure pStructure) void
Level.globalLevelEvent
(int pId, BlockPos pPos, int pData) boolean
StructureManager.hasAnyStructureAt
(BlockPos pPos) default boolean
LevelReader.hasChunkAt
(BlockPos pPos) Deprecated.default boolean
LevelReader.hasChunksAt
(BlockPos pFrom, BlockPos pTo) Deprecated.default boolean
SignalGetter.hasNeighborSignal
(BlockPos pPos) Returns whether the given position receives any redstone signal from neighboring blocks.default boolean
Returns whether a redstone signal is emitted from the given position in the given direction.default boolean
LevelReader.isEmptyBlock
(BlockPos pPos) Checks to see if an air block exists at the provided location.boolean
Level.isFluidAtPosition
(BlockPos pPos, Predicate<FluidState> pPredicate) boolean
LevelSimulatedReader.isFluidAtPosition
(BlockPos pPos, Predicate<FluidState> pPredicate) static boolean
NaturalSpawner.isInNetherFortressBounds
(BlockPos pPos, ServerLevel pLevel, MobCategory pCategory, StructureManager pStructureManager) static boolean
Level.isInSpawnableBounds
(BlockPos pPos) boolean
Level.isInWorldBounds
(BlockPos pPos) Check if the given BlockPos has valid coordinatesprivate static boolean
Level.isInWorldBoundsHorizontal
(BlockPos pPos) boolean
private boolean
BaseSpawner.isNearPlayer
(Level pLevel, BlockPos pPos) default boolean
LevelHeightAccessor.isOutsideBuildHeight
(BlockPos pPos) boolean
Level.isRainingAt
(BlockPos pPos) Check if precipitation is currently happening at a positionboolean
Level.isStateAtPosition
(BlockPos pPos, Predicate<BlockState> pState) boolean
LevelSimulatedReader.isStateAtPosition
(BlockPos pPos, Predicate<BlockState> pState) default boolean
CollisionGetter.isUnobstructed
(BlockState pState, BlockPos pPos, CollisionContext pContext) static boolean
NaturalSpawner.isValidEmptySpawnBlock
(BlockGetter pBlock, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, EntityType<?> pEntityType) boolean
SpawnData.CustomSpawnRules.isValidPosition
(BlockPos pPos, ServerLevel pLevel) default boolean
default void
LevelAccessor.levelEvent
(int pType, BlockPos pPos, int pData) void
LevelAccessor.levelEvent
(Entity pEntity, int pType, BlockPos pPos, int pData) void
BaseSpawner.load
(Level pLevel, BlockPos pPos, ValueInput pInput) boolean
Level.loadedAndEntityCanStandOn
(BlockPos pPos, Entity pEntity) boolean
Level.loadedAndEntityCanStandOnFace
(BlockPos pPos, Entity pEntity, Direction pDirection) void
Level.markAndNotifyBlock
(BlockPos p_46605_, LevelChunk levelchunk, BlockState blockstate, BlockState p_46606_, int p_46607_, int p_46608_) boolean
Level.mayInteract
(Entity pEntity, BlockPos pPos) private static WeightedList
<MobSpawnSettings.SpawnerData> NaturalSpawner.mobsAt
(ServerLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, MobCategory pCategory, BlockPos pPos, Holder<Biome> pBiome) void
Level.neighborChanged
(BlockPos pPos, Block pBlock, Orientation pOrientation) void
Level.neighborChanged
(BlockState pState, BlockPos pPos, Block pBlock, Orientation pOrientation, boolean pMovedByPiston) void
Level.neighborShapeChanged
(Direction pDirection, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, int pFlags, int pRecursionLeft) default void
LevelAccessor.neighborShapeChanged
(Direction pDirection, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, int pFlags, int pRecursionLeft) void
Level.playLocalSound
(BlockPos pPos, SoundEvent pSound, SoundSource pSource, float pVolume, float pPitch, boolean pDistanceDelay) void
Level.playSound
(Entity pEntity, BlockPos pPos, SoundEvent pSound, SoundSource pCategory, float pVolume, float pPitch) default void
LevelAccessor.playSound
(Entity pEntity, BlockPos pPos, SoundEvent pSound, SoundSource pSource) void
LevelAccessor.playSound
(Entity pEntity, BlockPos pPos, SoundEvent pSound, SoundSource pSource, float pVolume, float pPitch) Level.precipitationAt
(BlockPos pPos) boolean
Level.removeBlock
(BlockPos pPos, boolean pIsMoving) boolean
LevelWriter.removeBlock
(BlockPos pPos, boolean pIsMoving) void
Level.removeBlockEntity
(BlockPos pPos) default void
ScheduledTickAccess.scheduleTick
(BlockPos pPos, Block pBlock, int pDelay) default void
ScheduledTickAccess.scheduleTick
(BlockPos pPos, Block pBlock, int pDelay, TickPriority pPriority) default void
ScheduledTickAccess.scheduleTick
(BlockPos pPos, Fluid pFluid, int pDelay) default void
ScheduledTickAccess.scheduleTick
(BlockPos pPos, Fluid pFluid, int pDelay, TickPriority pPriority) abstract void
Level.sendBlockUpdated
(BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) Flags are as in setBlockStatevoid
BaseSpawner.serverTick
(ServerLevel pServerLevel, BlockPos pPos) boolean
Level.setBlock
(BlockPos pPos, BlockState pNewState, int pFlags) Sets a block state into this world.Flags are as follows: 1 will notify neighboring blocks throughinvalid reference
neighborChanged
boolean
Level.setBlock
(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) default boolean
LevelWriter.setBlock
(BlockPos pPos, BlockState pNewState, int pFlags) Sets a block state into this world.Flags are as follows: 1 will cause a block update. 2 will send the change to clients. 4 will prevent the block from being re-rendered. 8 will force any re-renders to run on the main thread instead 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing). 32 will prevent neighbor reactions from spawning drops. 64 will signify the block is being moved.boolean
LevelWriter.setBlock
(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) boolean
Level.setBlockAndUpdate
(BlockPos pPos, BlockState pState) Convenience method to update the block on both the client and servervoid
Level.setBlocksDirty
(BlockPos pBlockPos, BlockState pOldState, BlockState pNewState) void
BaseSpawner.setEntityId
(EntityType<?> pType, Level pLevel, RandomSource pRandom, BlockPos pPos) protected void
BaseSpawner.setNextSpawnData
(Level pLevel, BlockPos pPos, SpawnData pNextSpawnData) 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) boolean
Level.shouldTickBlocksAt
(BlockPos pPos) static void
NaturalSpawner.spawnCategoryForPosition
(MobCategory pCategory, ServerLevel pLevel, BlockPos pPos) static void
NaturalSpawner.spawnCategoryForPosition
(MobCategory pCategory, ServerLevel pLevel, ChunkAccess pChunk, BlockPos pPos, NaturalSpawner.SpawnPredicate pFilter, NaturalSpawner.AfterSpawnCallback pCallback) boolean
StructureManager.structureHasPieceAt
(BlockPos pPos, StructureStart pStructureStart) boolean
NaturalSpawner.SpawnPredicate.test
(EntityType<?> pEntityType, BlockPos pPos, ChunkAccess pChunk) void
Level.updateNeighborsAt
(BlockPos pPos, Block pBlock, Orientation pOrientation) default void
LevelAccessor.updateNeighborsAt
(BlockPos pPos, Block pBlock) void
Level.updateNeighborsAtExceptFromFacing
(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) void
Level.updateNeighbourForOutputSignal
(BlockPos pPos, Block pBlock) void
Level.updatePOIOnBlockStateChange
(BlockPos pPos, BlockState pOldState, BlockState pNewState) boolean
Method parameters in net.minecraft.world.level with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate void
ServerExplosion.createFire
(List<BlockPos> pBlocks) private void
ServerExplosion.hurtEntities
(List<BlockPos> blocks) private void
ServerExplosion.interactWithBlocks
(List<BlockPos> pBlocks) static <T,
C> T BlockGetter.traverseBlocks
(Vec3 pFrom, Vec3 pTo, C pContext, BiFunction<C, BlockPos, T> pTester, Function<C, T> pOnFail) Constructors in net.minecraft.world.level with parameters of type BlockPosModifierConstructorDescriptionBlockEventData
(BlockPos pos, Block block, int paramA, int paramB) Creates an instance of aBlockEventData
record class.PathNavigationRegion
(Level pLevel, BlockPos pCenterPos, BlockPos pOffsetPos) PointCharge
(BlockPos pPos, double pCharge) (package private)
StackCollector
(BlockPos pPos, ItemStack pStack) -
Uses of BlockPos in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
Climate.SpawnFinder.Result.location
The field for thelocation
record component.Methods in net.minecraft.world.level.biome that return BlockPosModifier and TypeMethodDescriptionstatic BlockPos
Climate.findSpawnPosition
(List<Climate.ParameterPoint> pPoints, Climate.Sampler pSampler) Climate.Sampler.findSpawnPosition()
Climate.SpawnFinder.Result.location()
Returns the value of thelocation
record component.Methods in net.minecraft.world.level.biome that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBiomeSource.findBiomeHorizontal
(int p_220561_, int p_220562_, int p_220563_, int p_220564_, int p_220565_, Predicate<Holder<Biome>> p_220566_, RandomSource p_220567_, boolean p_220568_, Climate.Sampler p_220569_) BiomeSource.findBiomeHorizontal
(int p_220571_, int p_220572_, int p_220573_, int p_220574_, Predicate<Holder<Biome>> p_220575_, RandomSource p_220576_, Climate.Sampler p_220577_) FixedBiomeSource.findBiomeHorizontal
(int p_220640_, int p_220641_, int p_220642_, int p_220643_, int p_220644_, Predicate<Holder<Biome>> p_220645_, RandomSource p_220646_, boolean p_220647_, Climate.Sampler p_220648_) BiomeSource.findClosestBiome3d
(BlockPos p_220578_, int p_220579_, int p_220580_, int p_220581_, Predicate<Holder<Biome>> p_220582_, Climate.Sampler p_220583_, LevelReader p_220584_) FixedBiomeSource.findClosestBiome3d
(BlockPos p_220650_, int p_220651_, int p_220652_, int p_220653_, Predicate<Holder<Biome>> p_220654_, Climate.Sampler p_220655_, LevelReader p_220656_) Methods in net.minecraft.world.level.biome with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
BiomeSource.addDebugInfo
(List<String> pInfo, BlockPos pPos, Climate.Sampler pSampler) void
MultiNoiseBiomeSource.addDebugInfo
(List<String> pInfo, BlockPos pPos, Climate.Sampler pSampler) boolean
Biome.coldEnoughToSnow
(BlockPos pPos, int pSeaLevel) BiomeSource.findClosestBiome3d
(BlockPos p_220578_, int p_220579_, int p_220580_, int p_220581_, Predicate<Holder<Biome>> p_220582_, Climate.Sampler p_220583_, LevelReader p_220584_) FixedBiomeSource.findClosestBiome3d
(BlockPos p_220650_, int p_220651_, int p_220652_, int p_220653_, Predicate<Holder<Biome>> p_220654_, Climate.Sampler p_220655_, LevelReader p_220656_) private float
Biome.getHeightAdjustedTemperature
(BlockPos pPos, int pSeaLevel) BiomeManager.getNoiseBiomeAtPosition
(BlockPos pPos) Biome.getPrecipitationAt
(BlockPos pPos, int pSeaLevel) private float
Biome.getTemperature
(BlockPos pPos, int pSeaLevel) Deprecated.abstract float
Biome.TemperatureModifier.modifyTemperature
(BlockPos pPos, float pTemperature) boolean
Biome.shouldFreeze
(LevelReader pLevel, BlockPos pPos) boolean
Biome.shouldFreeze
(LevelReader pLevel, BlockPos pWater, boolean pMustBeAtEdge) boolean
Biome.shouldMeltFrozenOceanIcebergSlightly
(BlockPos pPos, int pSeaLevel) boolean
Biome.shouldSnow
(LevelReader pLevel, BlockPos pPos) boolean
Biome.warmEnoughToRain
(BlockPos pPos, int pSeaLevel) Constructors in net.minecraft.world.level.biome with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
ComposterBlock.InputContainer.pos
private final BlockPos
ComposterBlock.OutputContainer.pos
private final BlockPos
MultifaceSpreader.SpreadPos.pos
The field for thepos
record component.private final BlockPos
PitcherCropBlock.PosAndState.pos
The field for thepos
record component.private final BlockPos
PointedDripstoneBlock.FluidInfo.pos
The field for thepos
record component.private final BlockPos
RailState.pos
(package private) final BlockPos
RedstoneTorchBlock.Toggle.pos
private BlockPos
SculkSpreader.ChargeCursor.pos
Fields in net.minecraft.world.level.block with type parameters of type BlockPosMethods in net.minecraft.world.level.block that return BlockPosModifier and TypeMethodDescriptionprivate static BlockPos
PointedDripstoneBlock.findFillableCauldronBelowStalactiteTip
(Level pLevel, BlockPos pPos, Fluid pFluid) static BlockPos
PointedDripstoneBlock.findStalactiteTipAboveCauldron
(Level pLevel, BlockPos pPos) private static BlockPos
PointedDripstoneBlock.findTip
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pMaxIterations, boolean pIsTipMerge) default BlockPos
BonemealableBlock.getParticlePos
(BlockPos pPos) MangroveLeavesBlock.getParticlePos
(BlockPos p_316180_) RootedDirtBlock.getParticlePos
(BlockPos p_316883_) SculkSpreader.ChargeCursor.getPos()
HangingMossBlock.getTip
(BlockGetter pLevel, BlockPos pPos) private static BlockPos
SculkSpreader.ChargeCursor.getValidMovementPos
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) MultifaceSpreader.SpreadPos.pos()
Returns the value of thepos
record component.PitcherCropBlock.PosAndState.pos()
Returns the value of thepos
record component.PointedDripstoneBlock.FluidInfo.pos()
Returns the value of thepos
record component.Methods in net.minecraft.world.level.block that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPointedDripstoneBlock.findBlockVertical
(LevelAccessor pLevel, BlockPos pPos, Direction.AxisDirection pAxis, BiPredicate<BlockPos, BlockState> pPositionalStatePredicate, Predicate<BlockState> pStatePredicate, int pMaxIterations) PointedDripstoneBlock.findRootBlock
(Level pLevel, BlockPos pPos, BlockState pState, int pMaxIterations) BonemealableBlock.findSpreadableNeighbourPos
(Level pLevel, BlockPos pPos, BlockState pState) RailState.getConnections()
GrowingPlantBodyBlock.getHeadPos
(BlockGetter pLevel, BlockPos pPos, Block pBlock) BonemealableBlock.getSpreadableNeighbourPos
(List<Direction> pDirections, LevelReader pLevel, BlockPos pPos, BlockState pState) Methods in net.minecraft.world.level.block with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
SculkSensorBlock.activate
(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState, int pPower, int pFrequency) private static void
ChiseledBookShelfBlock.addBook
(Level pLevel, BlockPos pPos, Player pPlayer, ChiseledBookShelfBlockEntity pBlockEntity, ItemStack pBookStack, int pSlot) void
SculkSpreader.addCursors
(BlockPos pPos, int pCharge) (package private) static BlockState
ComposterBlock.addItem
(Entity pEntity, BlockState pState, LevelAccessor pLevel, BlockPos pPos, ItemStack pStack) void
SaplingBlock.advanceTree
(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) protected void
AbstractCauldronBlock.affectNeighborsAfterRemoval
(BlockState p_394424_, ServerLevel p_394241_, BlockPos p_393520_, boolean p_394545_) protected void
AbstractFurnaceBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
BarrelBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
BasePressurePlateBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
BaseRailBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
BrewingStandBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ButtonBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ChestBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ChiseledBookShelfBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ComposterBlock.affectNeighborsAfterRemoval
(BlockState p_394424_, ServerLevel p_394241_, BlockPos p_393520_, boolean p_394545_) protected void
CrafterBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
CreakingHeartBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
DecoratedPotBlock.affectNeighborsAfterRemoval
(BlockState p_394575_, ServerLevel p_393957_, BlockPos p_393972_, boolean p_393685_) protected void
DiodeBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
DispenserBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
HopperBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
JukeboxBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
LecternBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
LeverBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
LightningRodBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ObserverBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
RedstoneTorchBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
RedStoneWireBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
SculkSensorBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ShulkerBoxBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
TripWireBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
TripWireHookBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) private static boolean
ChorusFlowerBlock.allNeighborsEmpty
(LevelReader pLevel, BlockPos pPos, Direction pExcludingSide) private 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 void
BeehiveBlock.angerNearbyBees
(Level pLevel, BlockPos pPos) void
AbstractCandleBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BaseFireBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BeehiveBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BlastFurnaceBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
Block.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BrewingStandBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BrushableBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BubbleColumnBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
CampfireBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
CreakingHeartBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
CryingObsidianBlock.animateTick
(BlockState p_221055_, Level p_221056_, BlockPos p_221057_, RandomSource p_221058_) void
DriedGhastBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
DryVegetationBlock.animateTick
(BlockState p_401875_, Level p_401809_, BlockPos p_401789_, RandomSource p_401918_) void
EnchantingTableBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EnderChestBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndGatewayBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndPortalBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndRodBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EyeblossomBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
FallingBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
FireflyBushBlock.animateTick
(BlockState p_401358_, Level p_401092_, BlockPos p_401110_, RandomSource p_401309_) void
FurnaceBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
HangingMossBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LeavesBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LeverBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LightningRodBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
MyceliumBlock.animateTick
(BlockState p_221789_, Level p_221790_, BlockPos p_221791_, RandomSource p_221792_) void
NetherPortalBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
PointedDripstoneBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedStoneOreBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedstoneTorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedstoneWallTorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedStoneWireBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RepeaterBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RespawnAnchorBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
SandBlock.animateTick
(BlockState p_401157_, Level p_401385_, BlockPos p_401240_, RandomSource p_401370_) void
SculkSensorBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
ShortDryGrassBlock.animateTick
(BlockState p_416439_, Level p_415933_, BlockPos p_416136_, RandomSource p_415976_) void
SmokerBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
SporeBlossomBlock.animateTick
(BlockState p_222503_, Level p_222504_, BlockPos p_222505_, RandomSource p_222506_) void
TallDryGrassBlock.animateTick
(BlockState p_416597_, Level p_416118_, BlockPos p_415677_, RandomSource p_415821_) void
TorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WallTorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WetSpongeBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WitherRoseBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).protected void
DragonEggBlock.attack
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected void
NoteBlock.attack
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected void
RedStoneOreBlock.attack
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) private boolean
SculkVeinBlock.attemptPlaceSculk
(SculkSpreader pSpreader, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) default boolean
SculkBehaviour.attemptSpreadVein
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Collection<Direction> pDirections, boolean pMarkForPostprocessing) boolean
BellBlock.attemptToRing
(Entity pEntity, Level pLevel, BlockPos pPos, Direction pDirection) boolean
BellBlock.attemptToRing
(Level pLevel, BlockPos pPos, Direction pDirection) int
SculkBehaviour.attemptUseCharge
(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) int
SculkBlock.attemptUseCharge
(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) int
SculkVeinBlock.attemptUseCharge
(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) private static DripstoneThickness
PointedDripstoneBlock.calculateDripstoneThickness
(LevelReader pLevel, BlockPos pPos, Direction pDir, boolean pIsTipMerge) private int
ComparatorBlock.calculateOutputSignal
(Level pLevel, BlockPos pPos, BlockState pState) static void
TripWireHookBlock.calculateState
(Level pLevel, BlockPos pPos, BlockState pHookState, boolean pAttaching, boolean pShouldNotifyNeighbours, int pSearchRange, BlockState pState) private static Direction
PointedDripstoneBlock.calculateTipDirection
(LevelReader pLevel, BlockPos pPos, Direction pDir) static boolean
FaceAttachedHorizontalDirectionalBlock.canAttach
(LevelReader pReader, BlockPos pPos, Direction pDirection) 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
WallHangingSignBlock.canAttachTo
(LevelReader pLevel, BlockState pState, BlockPos pPos, Direction pDirection) private static boolean
SpreadingSnowyDirtBlock.canBeGrass
(BlockState pState, LevelReader pLevelReader, BlockPos pPos) private static boolean
NyliumBlock.canBeNylium
(BlockState pState, LevelReader pReader, BlockPos pPos) static boolean
BaseFireBlock.canBePlacedAt
(Level pLevel, BlockPos pPos, Direction pDirection) 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) private static boolean
BigDripleafBlock.canEntityTilt
(BlockPos pPos, Entity pEntity) private boolean
PitcherCropBlock.canGrow
(LevelReader pReader, BlockPos pPos, BlockState pState, int pAge) private static boolean
PitcherCropBlock.canGrowInto
(LevelReader pLevel, BlockPos pPos) private static boolean
ShulkerBoxBlock.canOpen
(BlockState pState, Level pLevel, BlockPos pPos, ShulkerBoxBlockEntity pBlockEntity) boolean
WallHangingSignBlock.canPlace
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected static boolean
BigDripleafBlock.canPlaceAt
(LevelHeightAccessor pLevel, BlockPos pPos, BlockState pState) private static boolean
SculkBlock.canPlaceGrowth
(LevelAccessor pLevel, BlockPos pPos) 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 static boolean
SpreadingSnowyDirtBlock.canPropagate
(BlockState pState, LevelReader pLevel, BlockPos pPos) boolean
CarvedPumpkinBlock.canSpawnGolem
(LevelReader pLevel, BlockPos pPos) static boolean
WitherSkullBlock.canSpawnMob
(Level pLevel, BlockPos pPos, ItemStack pStack) 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.canSupportCenter
(LevelReader pLevel, BlockPos pPos, Direction pDirection) static boolean
Block.canSupportRigidBlock
(BlockGetter pLevel, BlockPos pPos) protected boolean
AmethystClusterBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BambooSaplingBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BambooStalkBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BannerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseCoralPlantTypeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseCoralWallFanBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BasePressurePlateBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseRailBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseTorchBlock.canSurvive
(BlockState p_304413_, LevelReader p_304885_, BlockPos p_304808_) protected boolean
BellBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BigDripleafBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BigDripleafStemBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BubbleColumnBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CactusBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CakeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CandleBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CandleCakeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CarpetBlock.canSurvive
(BlockState p_152922_, LevelReader p_152923_, BlockPos p_152924_) protected boolean
CeilingHangingSignBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
ChorusFlowerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
ChorusPlantBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CocoaBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CropBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
DiodeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
DirtPathBlock.canSurvive
(BlockState p_153148_, LevelReader p_153149_, BlockPos p_153150_) protected boolean
DoorBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
DoublePlantBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FaceAttachedHorizontalDirectionalBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FarmBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FireBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FrogspawnBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
GrindstoneBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
GrowingPlantBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
HangingMossBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
HangingRootsBlock.canSurvive
(BlockState p_153347_, LevelReader p_153348_, BlockPos p_153349_) protected boolean
LadderBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
LanternBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
LeafLitterBlock.canSurvive
(BlockState p_401850_, LevelReader p_401768_, BlockPos p_401902_) protected boolean
MangrovePropaguleBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
MossyCarpetBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
MultifaceBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
MushroomBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) boolean
PitcherCropBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
PointedDripstoneBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
RedstoneWallTorchBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
RedStoneWireBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
ScaffoldingBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SeaPickleBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SmallDripleafBlock.canSurvive
(BlockState p_154615_, LevelReader p_154616_, BlockPos p_154617_) protected boolean
SnowLayerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SoulFireBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SporeBlossomBlock.canSurvive
(BlockState p_154709_, LevelReader p_154710_, BlockPos p_154711_) protected boolean
StandingSignBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SugarCaneBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
TallSeagrassBlock.canSurvive
(BlockState p_154768_, LevelReader p_154769_, BlockPos p_154770_) protected boolean
TripWireHookBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
VegetationBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
VineBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
WallBannerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
WallSignBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
WallTorchBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) static boolean
WallTorchBlock.canSurvive
(LevelReader pLevel, BlockPos pPos, Direction pFacing) protected boolean
DiodeBlock.canSurviveOn
(LevelReader pLevel, BlockPos pPos, BlockState pState) 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 boolean
PointedDripstoneBlock.canTipGrow
(BlockState pState, ServerLevel pLevel, BlockPos pPos) default void
ChangeOverTimeBlock.changeOverTime
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private static void
LecternBlock.changePowered
(Level pLevel, BlockPos pPos, BlockState pState, boolean pPowered) static void
RespawnAnchorBlock.charge
(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState) void
CopperBulbBlock.checkAndFlip
(BlockState pState, ServerLevel pLevel, BlockPos pPos) private void
FireBlock.checkBurnOut
(Level pLevel, BlockPos pPos, int pChance, RandomSource pRandom, int pAge, Direction face) private void
RedStoneWireBlock.checkCornerChangeAt
(Level pLevel, BlockPos pPos) CallsLevel.updateNeighborsAt(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, net.minecraft.world.level.redstone.Orientation)
for all neighboring blocks, but only if the given block is a redstone wire.private void
HopperBlock.checkPoweredState
(Level pLevel, BlockPos pPos, BlockState pState) private void
BasePressurePlateBlock.checkPressed
(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState, int pCurrentSignal) protected void
ButtonBlock.checkPressed
(BlockState pState, Level pLevel, BlockPos pPos) private void
DetectorRailBlock.checkPressed
(Level pLevel, BlockPos pPos, BlockState pState) private void
TripWireBlock.checkPressed
(Level pLevel, BlockPos pPos) private void
TripWireBlock.checkPressed
(Level pLevel, BlockPos pPos, List<? extends Entity> pEntities) static void
WitherSkullBlock.checkSpawn
(Level pLevel, BlockPos pPos) static void
WitherSkullBlock.checkSpawn
(Level pLevel, BlockPos pPos, SkullBlockEntity pBlockEntity) protected void
ComparatorBlock.checkTickOnNeighbor
(Level pLevel, BlockPos pPos, BlockState pState) Check the output signal of this diode and schedule a new block tick if it should change.protected void
DiodeBlock.checkTickOnNeighbor
(Level pLevel, BlockPos pPos, BlockState pState) Check the output signal of this diode and schedule a new block tick if it should change.abstract DoubleBlockCombiner.NeighborCombineResult
<? extends ChestBlockEntity> AbstractChestBlock.combine
(BlockState pState, Level pLevel, BlockPos pPos, boolean pOverride) ChestBlock.combine
(BlockState pState, Level pLevel, BlockPos pPos, boolean pOverride) EnderChestBlock.combine
(BlockState pState, Level pLevel, BlockPos pPos, boolean pOverride) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour
(BlockEntityType<S> pBlockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> pDoubleBlockTypeGetter, Function<BlockState, Direction> pDirectionGetter, Property<Direction> pDirectionProperty, BlockState pState, LevelAccessor pLevel, BlockPos pPos, BiPredicate<LevelAccessor, BlockPos> pBlockedChestTest) static BlockState
DoublePlantBlock.copyWaterloggedFrom
(LevelReader pLevel, BlockPos pPos, BlockState pState) private static void
PointedDripstoneBlock.createDripstone
(LevelAccessor pLevel, BlockPos pPos, Direction pDirection, DripstoneThickness pThickness) private static void
PointedDripstoneBlock.createMergedTips
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) private static BlockState
MossyCarpetBlock.createTopperWithSideChance
(BlockGetter pLevel, BlockPos pPos, BooleanSupplier pPlaceSide) static void
SculkSensorBlock.deactivate
(Level pLevel, BlockPos pPos, BlockState pState) private void
TurtleEggBlock.decreaseEggs
(Level pLevel, BlockPos pPos, BlockState pState) default boolean
SculkBehaviour.depositCharge
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) void
Block.destroy
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) Called after this block has been removed by a player.private void
FrogspawnBlock.destroyBlock
(Level pLevel, BlockPos pPos) private void
TurtleEggBlock.destroyEgg
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, int pChance) protected void
CrafterBlock.dispenseFrom
(BlockState pState, ServerLevel pLevel, BlockPos pPos) protected void
DispenserBlock.dispenseFrom
(ServerLevel pLevel, BlockState pState, BlockPos pPos) protected void
DropperBlock.dispenseFrom
(ServerLevel p_52944_, BlockState p_302455_, BlockPos p_52945_) private void
CrafterBlock.dispenseItem
(ServerLevel pLevel, BlockPos pPos, CrafterBlockEntity pCrafter, ItemStack pStack, BlockState pState, RecipeHolder<?> pRecipe) static void
CampfireBlock.dowse
(Entity pEntity, LevelAccessor pLevel, BlockPos pPos, BlockState pState) static void
BeehiveBlock.dropHoneycomb
(Level pLevel, BlockPos pPos) static void
Block.dropResources
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, BlockEntity pBlockEntity) static void
Block.dropResources
(BlockState pState, Level pLevel, BlockPos pPos) static void
Block.dropResources
(BlockState pState, Level pLevel, BlockPos pPos, BlockEntity pBlockEntity, Entity pEntity, ItemStack pTool) protected static InteractionResult
CakeBlock.eat
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Player pPlayer) private static void
TripWireHookBlock.emitState
(Level pLevel, BlockPos pPos, boolean pAttached, boolean pPowered, boolean pWasAttached, boolean pWasPowered) (package private) static BlockState
ComposterBlock.empty
(Entity pEntity, BlockState pState, LevelAccessor pLevel, BlockPos pPos) protected void
BaseFireBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
BasePressurePlateBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
BigDripleafBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
BubbleColumnBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
ButtonBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
CactusBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
CampfireBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
CropBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
DetectorRailBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
EndGatewayBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
EndPortalBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
EyeblossomBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
FrogspawnBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
HoneyBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
HopperBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
LavaCauldronBlock.entityInside
(BlockState p_153506_, Level p_153507_, BlockPos p_153508_, Entity p_153509_, InsideBlockEffectApplier p_404841_) protected void
LayeredCauldronBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
NetherPortalBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) void
PitcherCropBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
PowderSnowBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
SweetBerryBushBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
TripWireBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
WaterlilyBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
WebBlock.entityInside
(BlockState p_58180_, Level p_58181_, BlockPos p_58182_, Entity p_58183_, InsideBlockEffectApplier p_405438_) protected void
WitherRoseBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) private void
CommandBlock.execute
(BlockState pState, ServerLevel pLevel, BlockPos pPos, BaseCommandBlock pLogic, boolean pCanTrigger) private static void
CommandBlock.executeChain
(ServerLevel pLevel, BlockPos pPos, Direction pDirection) private void
RespawnAnchorBlock.explode
(BlockState pState, Level pLevel, BlockPos pPos2) static void
AbstractCandleBlock.extinguish
(Player pPlayer, BlockState pState, LevelAccessor pLevel, BlockPos pPos) static BlockState
ComposterBlock.extractProduce
(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) void
BedBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
Block.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
FarmBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
HayBlock.fallOn
(Level p_153362_, BlockState p_153363_, BlockPos p_153364_, Entity p_153365_, double p_397598_) void
HoneyBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
PointedDripstoneBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
PowderSnowBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
SlimeBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
TurtleEggBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) private boolean
FrostedIceBlock.fewerNeigboursThan
(BlockGetter pLevel, BlockPos pPos, int pNeighborsRequired) PointedDripstoneBlock.findBlockVertical
(LevelAccessor pLevel, BlockPos pPos, Direction.AxisDirection pAxis, BiPredicate<BlockPos, BlockState> pPositionalStatePredicate, Predicate<BlockState> pStatePredicate, int pMaxIterations) BedBlock.findBunkBedStandUpPosition
(EntityType<?> pEntityType, CollisionGetter pCollisionGetter, BlockPos pPos, Direction pStateFacing, Direction pEntityFacing) private static BlockPos
PointedDripstoneBlock.findFillableCauldronBelowStalactiteTip
(Level pLevel, BlockPos pPos, Fluid pFluid) protected boolean
PoweredRailBlock.findPoweredRailSignal
(Level pLevel, BlockPos pPos, BlockState pState, boolean pSearchForward, int pRecursionCount) PointedDripstoneBlock.findRootBlock
(Level pLevel, BlockPos pPos, BlockState pState, int pMaxIterations) BonemealableBlock.findSpreadableNeighbourPos
(Level pLevel, BlockPos pPos, BlockState pState) static BlockPos
PointedDripstoneBlock.findStalactiteTipAboveCauldron
(Level pLevel, BlockPos pPos) BedBlock.findStandUpPosition
(EntityType<?> pEntityType, CollisionGetter pCollisionGetter, BlockPos pPos, Direction pDirection, float pYRot) RespawnAnchorBlock.findStandUpPosition
(EntityType<?> pEntityType, CollisionGetter pLevel, BlockPos pPos) RespawnAnchorBlock.findStandUpPosition
(EntityType<?> pEntityType, CollisionGetter pLevel, BlockPos pPos, boolean pSimulate) BedBlock.findStandUpPositionAtOffset
(EntityType<?> pEntityType, CollisionGetter pCollisionGetter, BlockPos pPos, int[][] pOffsets, boolean pSimulate) private static BlockPos
PointedDripstoneBlock.findTip
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pMaxIterations, boolean pIsTipMerge) private void
LiquidBlock.fizz
(LevelAccessor pLevel, BlockPos pPos) static void
ChorusFlowerBlock.generatePlant
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, int pMaxHorizontalDistance) protected int
DiodeBlock.getAlternateSignal
(SignalGetter pLevel, BlockPos pPos, BlockState pState) protected int
AbstractFurnaceBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
BarrelBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
BeehiveBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
BrewingStandBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
CakeBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
CandleCakeBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
ChestBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
ChiseledBookShelfBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
CommandBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
ComposterBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
CopperBulbBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
CrafterBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
CreakingHeartBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
DecoratedPotBlock.getAnalogOutputSignal
(BlockState p_306206_, Level p_306113_, BlockPos p_306305_) protected int
DetectorRailBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
DispenserBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
EndPortalFrameBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
HopperBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
JukeboxBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
LavaCauldronBlock.getAnalogOutputSignal
(BlockState p_153502_, Level p_153503_, BlockPos p_153504_) protected int
LayeredCauldronBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
LecternBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
RespawnAnchorBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
SculkSensorBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
ShulkerBoxBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.static Direction
BedBlock.getBedOrientation
(BlockGetter pLevel, BlockPos pPos) int
RedStoneWireBlock.getBlockSignal
(Level 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) static Fluid
PointedDripstoneBlock.getCauldronFillFluidType
(ServerLevel pLevel, BlockPos pPos) protected ItemStack
AbstractBannerBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
AttachedStemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
BambooSaplingBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
BeehiveBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
BigDripleafStemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
CandleCakeBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
CaveVinesBlock.getCloneItemStack
(LevelReader p_304590_, BlockPos p_152967_, BlockState p_152968_, boolean p_386659_) protected ItemStack
CaveVinesPlantBlock.getCloneItemStack
(LevelReader p_304444_, BlockPos p_153008_, BlockState p_153009_, boolean p_387975_) protected ItemStack
CropBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
DecoratedPotBlock.getCloneItemStack
(LevelReader p_304622_, BlockPos p_294412_, BlockState p_294723_, boolean p_387769_) protected ItemStack
EndGatewayBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
EndPortalBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
FlowerPotBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
FrostedIceBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
GrowingPlantBodyBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
LightBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
NetherPortalBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
NetherWartBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
StemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
SweetBerryBushBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
TallSeagrassBlock.getCloneItemStack
(LevelReader p_304988_, BlockPos p_154750_, BlockState p_154751_, boolean p_387662_) protected ItemStack
TestBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) 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) static Container
ChestBlock.getContainer
(ChestBlock pChest, BlockState pState, Level pLevel, BlockPos pPos, boolean pOverride) ComposterBlock.getContainer
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) private ResourceLocation
NoteBlock.getCustomSoundId
(Level pLevel, BlockPos pPos) private static int
SculkBlock.getDecayPenalty
(SculkSpreader pSpreader, BlockPos pCursorPos, BlockPos pRootPos, int pCharge) private static TeleportTransition
NetherPortalBlock.getDimensionTransitionFromExit
(Entity pEntity, BlockPos pPos, BlockUtil.FoundRectangle pRectangle, ServerLevel pLevel, TeleportTransition.PostTeleportTransition pPostTeleportTransition) 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) Block.getDrops
(BlockState pState, ServerLevel pLevel, BlockPos pPos, BlockEntity pBlockEntity) Block.getDrops
(BlockState pState, ServerLevel pLevel, BlockPos pPos, BlockEntity pBlockEntity, Entity pEntity, ItemStack pTool) 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) private TeleportTransition
NetherPortalBlock.getExitPortal
(ServerLevel pLevel, Entity pEntity, BlockPos pPos, BlockPos pExitPos, boolean pIsNether, WorldBorder pWorldBorder) int
DropExperienceBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
RedStoneOreBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkCatalystBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkSensorBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkShriekerBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SpawnerBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) private static Optional
<PointedDripstoneBlock.FluidInfo> PointedDripstoneBlock.getFluidAboveStalactite
(Level pLevel, BlockPos pPos, BlockState pState) 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) private int
FireBlock.getIgniteOdds
(LevelReader pLevel, BlockPos pPos) protected int
ComparatorBlock.getInputSignal
(Level pLevel, BlockPos pPos, BlockState pState) protected int
DiodeBlock.getInputSignal
(Level pLevel, BlockPos pPos, BlockState pState) private <T extends AbstractMinecart>
List<T> DetectorRailBlock.getInteractingMinecartOfType
(Level pLevel, BlockPos pPos, Class<T> pCartType, Predicate<Entity> pFilter) 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 ItemFrame
ComparatorBlock.getItemFrame
(Level pLevel, Direction pFacing, BlockPos pPos) private PitcherCropBlock.PosAndState
PitcherCropBlock.getLowerHalf
(LevelReader pLevel, BlockPos pPos, BlockState pState) protected MenuProvider
AnvilBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
BaseEntityBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
CartographyTableBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
ChestBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
CraftingTableBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
EnchantingTableBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
GrindstoneBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
LecternBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
LoomBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
SmithingTableBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
StonecutterBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) private BlockState
RedStoneWireBlock.getMissingConnections
(BlockGetter pLevel, BlockState pState, BlockPos pPos) default Optional
<BlockState> ChangeOverTimeBlock.getNextState
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected int
ComparatorBlock.getOutputSignal
(BlockGetter pLevel, BlockPos pPos, BlockState pState) protected int
DiodeBlock.getOutputSignal
(BlockGetter pLevel, BlockPos pPos, BlockState pState) default BlockPos
BonemealableBlock.getParticlePos
(BlockPos pPos) MangroveLeavesBlock.getParticlePos
(BlockPos p_316180_) RootedDirtBlock.getParticlePos
(BlockPos p_316883_) EndGatewayBlock.getPortalDestination
(ServerLevel pLevel, Entity pEntity, BlockPos pPos) EndPortalBlock.getPortalDestination
(ServerLevel pLevel, Entity pEntity, BlockPos pPos) NetherPortalBlock.getPortalDestination
(ServerLevel pLevel, Entity pEntity, BlockPos pPos) Portal.getPortalDestination
(ServerLevel pLevel, Entity pEntity, BlockPos pPos) private RailState
BaseRailBlock.getRailDirection
(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart) private BlockState
SculkBlock.getRandomGrowthState
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, boolean pIsWorldGeneration) private AABB
DetectorRailBlock.getSearchBB
(BlockPos pPos) protected long
BedBlock.getSeed
(BlockState pState, BlockPos pPos) Return a random long to be passed toinvalid reference
net.minecraft.client.resources.model.BakedModel#getQuads
protected long
DoorBlock.getSeed
(BlockState pState, BlockPos pPos) Return a random long to be passed toinvalid reference
net.minecraft.client.resources.model.BakedModel#getQuads
protected long
DoublePlantBlock.getSeed
(BlockState pState, BlockPos pPos) Return a random long to be passed toinvalid reference
net.minecraft.client.resources.model.BakedModel#getQuads
private static TestBlockEntity
TestBlock.getServerTestBlockEntity
(Level pLevel, BlockPos pPos) 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.protected abstract int
BasePressurePlateBlock.getSignalStrength
(Level pLevel, BlockPos pPos) Calculates what the signal strength of a pressure plate at the given location should be.protected int
PressurePlateBlock.getSignalStrength
(Level pLevel, BlockPos pPos) Calculates what the signal strength of a pressure plate at the given location should be.protected int
WeightedPressurePlateBlock.getSignalStrength
(Level pLevel, BlockPos pPos) Calculates what the signal strength of a pressure plate at the given location should be.BonemealableBlock.getSpreadableNeighbourPos
(List<Direction> pDirections, LevelReader pLevel, BlockPos pPos, BlockState pState) MultifaceSpreader.getSpreadFromFaceTowardDirection
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pSpreadDirection, Direction pFace, MultifaceSpreader.SpreadPredicate pPredicate) abstract MultifaceSpreader.SpreadPos
MultifaceSpreader.SpreadType.getSpreadPos
(BlockPos pPos, Direction pFace, Direction pSpreadDirection) 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) private BlockState
FireBlock.getStateWithAge
(LevelReader pLevel, BlockPos pPos, int pAge) 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) private static BlockPos
SculkSpreader.ChargeCursor.getValidMovementPos
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) 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_) boolean
ComparatorBlock.getWeakChanges
(BlockState state, LevelReader world, BlockPos pos) private void
PitcherCropBlock.grow
(ServerLevel pLevel, BlockState pState, BlockPos pPos, int pAgeIncrement) private static void
PointedDripstoneBlock.grow
(ServerLevel pServer, BlockPos pPos, Direction pDirection) protected void
BambooSaplingBlock.growBamboo
(Level pLevel, BlockPos pState) protected void
BambooStalkBlock.growBamboo
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom, int pAge) void
CropBlock.growCrops
(Level pLevel, BlockPos pPos, BlockState pState) boolean
MushroomBlock.growMushroom
(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) static void
PointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private static void
PointedDripstoneBlock.growStalagmiteBelow
(ServerLevel pLevel, BlockPos pPos) private static void
ChorusFlowerBlock.growTreeRecursive
(LevelAccessor pLevel, BlockPos pBranchPos, RandomSource pRandom, BlockPos pOriginalBranchPos, int pMaxHorizontalDistance, int pIterations) private void
LayeredCauldronBlock.handleEntityOnFireInside
(BlockState pState, Level pLevel, BlockPos pPos) static void
ComposterBlock.handleFill
(Level pLevel, BlockPos pPos, boolean pSuccess) void
Block.handlePrecipitation
(BlockState pState, Level pLevel, BlockPos pPos, Biome.Precipitation pPrecipitation) void
CauldronBlock.handlePrecipitation
(BlockState pState, Level pLevel, BlockPos pPos, Biome.Precipitation pPrecipitation) void
LayeredCauldronBlock.handlePrecipitation
(BlockState pState, Level pLevel, BlockPos pPos, Biome.Precipitation pPrecipitation) private boolean
RailState.hasConnection
(BlockPos pPos) private boolean
RailState.hasNeighborRail
(BlockPos pPos) protected boolean
RedstoneTorchBlock.hasNeighborSignal
(Level pLevel, BlockPos pPos, BlockState pState) protected boolean
RedstoneWallTorchBlock.hasNeighborSignal
(Level pLevel, BlockPos pPos, BlockState pState) private boolean
static boolean
CreakingHeartBlock.hasRequiredLogs
(BlockState pState, LevelReader pLevel, BlockPos pPos) static boolean
BonemealableBlock.hasSpreadableNeighbourPos
(LevelReader pLevel, BlockPos pPos, BlockState pState) static boolean
SculkVeinBlock.hasSubstrateAccess
(LevelAccessor pLevel, BlockState pState, BlockPos pPos) static boolean
CropBlock.hasSufficientLight
(LevelReader pLevel, BlockPos pPos) static boolean
SnifferEggBlock.hatchBoost
(BlockGetter pLevel, BlockPos pPos) private void
FrogspawnBlock.hatchFrogspawn
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private boolean
BeehiveBlock.hiveContainsBees
(Level pLevel, BlockPos pPos) static BlockState
ComposterBlock.insertItem
(Entity pEntity, BlockState pState, ServerLevel pLevel, ItemStack pStack, BlockPos pPos) private static void
RedStoneOreBlock.interact
(BlockState pState, Level pLevel, BlockPos pPos) static boolean
VineBlock.isAcceptableNeighbour
(BlockGetter pBlockReader, BlockPos pNeighborPos, Direction pAttachedFace) private static boolean
ChestBlock.isBlockedChestByBlock
(BlockGetter pLevel, BlockPos pPos) boolean
AzaleaBlock.isBonemealSuccess
(Level p_220712_, RandomSource p_220713_, BlockPos p_220714_, BlockState p_220715_) boolean
BambooSaplingBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BambooStalkBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BigDripleafBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BigDripleafStemBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BonemealableBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BonemealableFeaturePlacerBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BushBlock.isBonemealSuccess
(Level p_401200_, RandomSource p_401387_, BlockPos p_401374_, BlockState p_401380_) boolean
CaveVinesBlock.isBonemealSuccess
(Level p_220930_, RandomSource p_220931_, BlockPos p_220932_, BlockState p_220933_) boolean
CaveVinesPlantBlock.isBonemealSuccess
(Level p_220943_, RandomSource p_220944_, BlockPos p_220945_, BlockState p_220946_) boolean
CocoaBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
CropBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
FireflyBushBlock.isBonemealSuccess
(Level p_401120_, RandomSource p_401417_, BlockPos p_401298_, BlockState p_401423_) boolean
FlowerBedBlock.isBonemealSuccess
(Level p_393489_, RandomSource p_394493_, BlockPos p_394603_, BlockState p_393700_) boolean
FungusBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
GlowLichenBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
GrassBlock.isBonemealSuccess
(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) boolean
GrowingPlantBodyBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
GrowingPlantHeadBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
HangingMossBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
MangroveLeavesBlock.isBonemealSuccess
(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) boolean
MangrovePropaguleBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
MossyCarpetBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
MushroomBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
NetherrackBlock.isBonemealSuccess
(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) boolean
NyliumBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
PitcherCropBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
RootedDirtBlock.isBonemealSuccess
(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) boolean
SaplingBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
SeagrassBlock.isBonemealSuccess
(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) boolean
SeaPickleBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
ShortDryGrassBlock.isBonemealSuccess
(Level p_401806_, RandomSource p_401772_, BlockPos p_401791_, BlockState p_401942_) boolean
SmallDripleafBlock.isBonemealSuccess
(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) boolean
StemBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
SweetBerryBushBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
TallDryGrassBlock.isBonemealSuccess
(Level p_401931_, RandomSource p_401815_, BlockPos p_401808_, BlockState p_401935_) boolean
TallFlowerBlock.isBonemealSuccess
(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) boolean
TallGrassBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) private boolean
ScaffoldingBlock.isBottom
(BlockGetter pLevel, BlockPos pPos, int pDistance) private static boolean
BedBlock.isBunkBed
(BlockGetter pLevel, BlockPos pPos) private static boolean
ChestBlock.isCatSittingOnChest
(LevelAccessor pLevel, BlockPos pPos) static boolean
ChestBlock.isChestBlockedAt
(LevelAccessor p_51509_, BlockPos p_51510_) 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) boolean
TrapDoorBlock.isLadder
(BlockState state, LevelReader world, BlockPos pos, LivingEntity entity) boolean
DiodeBlock.isLocked
(LevelReader pLevel, BlockPos pPos, BlockState pState) Check if neighboring blocks are locking this diode.boolean
RepeaterBlock.isLocked
(LevelReader pLevel, BlockPos pPos, BlockState pState) Check if neighboring blocks are locking this diode.private static boolean
SculkSpreader.ChargeCursor.isMovementUnobstructed
(LevelAccessor pLevel, BlockPos pFromPos, BlockPos pToPos) protected boolean
FireBlock.isNearRain
(Level pLevel, BlockPos pPos) private static boolean
FarmBlock.isNearWater
(LevelReader pLevel, BlockPos pPos) private static boolean
(package private) boolean
SculkSpreader.ChargeCursor.isPosUnreasonable
(BlockPos pPos) static boolean
protected boolean
PoweredRailBlock.isSameRailWithPower
(Level pLevel, BlockPos pState, boolean pSearchForward, int pRecursionCount, RailShape pShape) static boolean
TurtleEggBlock.isSand
(BlockGetter pReader, BlockPos pPos) private boolean
HoneyBlock.isSlidingDown
(BlockPos pPos, Entity pEntity) static boolean
CampfireBlock.isSmokeyPos
(Level pLevel, BlockPos pPos) private static boolean
PointedDripstoneBlock.isStalactiteStartPos
(BlockState pState, LevelReader pLevel, BlockPos pPos) abstract boolean
SupportType.isSupporting
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pFace) private static boolean
CreakingHeartBlock.isSurroundedByLogs
(LevelAccessor pLevel, BlockPos pPos) private static boolean
RedstoneTorchBlock.isToggledTooFrequently
(Level pLevel, BlockPos pPos, boolean pLogToggle) private static boolean
SculkSpreader.ChargeCursor.isUnobstructed
(LevelAccessor pLevel, BlockPos pPos, Direction pDirection) boolean
AzaleaBlock.isValidBonemealTarget
(LevelReader p_256329_, BlockPos p_256107_, BlockState p_255771_) boolean
BambooSaplingBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BambooStalkBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BigDripleafBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BigDripleafStemBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BonemealableBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BonemealableFeaturePlacerBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BushBlock.isValidBonemealTarget
(LevelReader p_401250_, BlockPos p_401361_, BlockState p_401191_) boolean
CaveVinesBlock.isValidBonemealTarget
(LevelReader p_256026_, BlockPos p_152971_, BlockState p_152972_) boolean
CaveVinesPlantBlock.isValidBonemealTarget
(LevelReader p_255942_, BlockPos p_153012_, BlockState p_153013_) boolean
CocoaBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
CropBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
FireflyBushBlock.isValidBonemealTarget
(LevelReader p_401352_, BlockPos p_401332_, BlockState p_401436_) boolean
FlowerBedBlock.isValidBonemealTarget
(LevelReader p_393585_, BlockPos p_393679_, BlockState p_394653_) boolean
FungusBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
GlowLichenBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
GrassBlock.isValidBonemealTarget
(LevelReader p_256229_, BlockPos p_256432_, BlockState p_255677_) boolean
GrowingPlantBodyBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
GrowingPlantHeadBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
HangingMossBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
MangroveLeavesBlock.isValidBonemealTarget
(LevelReader p_256534_, BlockPos p_256299_, BlockState p_255926_) boolean
MangrovePropaguleBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
MossyCarpetBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
MushroomBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
NetherrackBlock.isValidBonemealTarget
(LevelReader p_256620_, BlockPos p_55003_, BlockState p_55004_) boolean
NyliumBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
PitcherCropBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
RootedDirtBlock.isValidBonemealTarget
(LevelReader p_256100_, BlockPos p_255943_, BlockState p_255655_) boolean
SaplingBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
SeagrassBlock.isValidBonemealTarget
(LevelReader p_295512_, BlockPos p_154506_, BlockState p_154507_) boolean
SeaPickleBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
ShortDryGrassBlock.isValidBonemealTarget
(LevelReader p_401814_, BlockPos p_401760_, BlockState p_401924_) boolean
SmallDripleafBlock.isValidBonemealTarget
(LevelReader p_255772_, BlockPos p_154595_, BlockState p_154596_) boolean
StemBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
SweetBerryBushBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
TallDryGrassBlock.isValidBonemealTarget
(LevelReader p_401899_, BlockPos p_401858_, BlockState p_401909_) boolean
TallFlowerBlock.isValidBonemealTarget
(LevelReader p_256234_, BlockPos p_57304_, BlockState p_57305_) boolean
TallGrassBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) static boolean
EnchantingTableBlock.isValidBookShelf
(Level pLevel, BlockPos pEnchantingTablePos, BlockPos pBookshelfPos) private boolean
FireBlock.isValidFireLocation
(BlockGetter pLevel, BlockPos pPos) private static boolean
PointedDripstoneBlock.isValidPointedDripstonePlacement
(LevelReader pLevel, BlockPos pPos, Direction pDir) boolean
MultifaceBlock.isValidStateForPlacement
(BlockGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection) private static boolean
RespawnAnchorBlock.isWaterThatWouldFlow
(BlockPos pPos, Level pLevel) static boolean
DoorBlock.isWoodenDoor
(Level pLevel, BlockPos pPos) private boolean
BedBlock.kickVillagerOutOfBed
(Level pLevel, BlockPos pPos) static void
LayeredCauldronBlock.lowerFillLevel
(BlockState pState, Level pLevel, BlockPos pPos) private static void
LeavesBlock.makeDrippingWaterParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom, BlockState pBlockBelow, BlockPos pBelowPos) private void
LeavesBlock.makeFallingLeavesParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom, BlockState pBlockBelow, BlockPos pBelowPos) private static void
LeverBlock.makeParticle
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, float pAlpha) static void
CampfireBlock.makeParticles
(Level pLevel, BlockPos pPos, boolean pIsSignalFire, boolean pSpawnExtraSmoke) private void
HoneyBlock.maybeDoSlideAchievement
(Entity pEntity, BlockPos pPos) static void
PointedDripstoneBlock.maybeTransferFluid
(BlockState pState, ServerLevel pLevel, BlockPos pPos, float pRandChance) 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) protected void
IceBlock.melt
(BlockState pState, Level pLevel, BlockPos pPos) protected void
AbstractSkullBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
BaseRailBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
BellBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
BigDripleafBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
CommandBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
CopperBulbBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
CrafterBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
DiodeBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
DispenserBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
DoorBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
FenceGateBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
FrostedIceBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
HopperBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
LiquidBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
NoteBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
RedstoneLampBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
RedstoneTorchBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
RedStoneWireBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
SpongeBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
StructureBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
TestBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
TntBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
TrapDoorBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) 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_) AbstractBannerBlock.newBlockEntity
(BlockPos pPos, BlockState pState) AbstractSkullBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BarrelBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BeaconBlock.newBlockEntity
(BlockPos p_152164_, BlockState p_152165_) BedBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BeehiveBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BellBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BlastFurnaceBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BrewingStandBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BrushableBlock.newBlockEntity
(BlockPos pPos, BlockState pState) CalibratedSculkSensorBlock.newBlockEntity
(BlockPos p_277925_, BlockState p_277938_) CampfireBlock.newBlockEntity
(BlockPos pPos, BlockState pState) CeilingHangingSignBlock.newBlockEntity
(BlockPos pPos, BlockState pState) ChestBlock.newBlockEntity
(BlockPos pPos, BlockState pState) ChiseledBookShelfBlock.newBlockEntity
(BlockPos pPos, BlockState pState) CommandBlock.newBlockEntity
(BlockPos pPos, BlockState pState) ComparatorBlock.newBlockEntity
(BlockPos pPos, BlockState pState) ConduitBlock.newBlockEntity
(BlockPos pPos, BlockState pState) CrafterBlock.newBlockEntity
(BlockPos pPos, BlockState pState) CreakingHeartBlock.newBlockEntity
(BlockPos pPos, BlockState pState) DaylightDetectorBlock.newBlockEntity
(BlockPos pPos, BlockState pState) DecoratedPotBlock.newBlockEntity
(BlockPos p_273396_, BlockState p_272674_) DispenserBlock.newBlockEntity
(BlockPos pPos, BlockState pState) DropperBlock.newBlockEntity
(BlockPos p_153179_, BlockState p_153180_) EnchantingTableBlock.newBlockEntity
(BlockPos pPos, BlockState pState) EnderChestBlock.newBlockEntity
(BlockPos pPos, BlockState pState) EndGatewayBlock.newBlockEntity
(BlockPos pPos, BlockState pState) EndPortalBlock.newBlockEntity
(BlockPos pPos, BlockState pState) EntityBlock.newBlockEntity
(BlockPos pPos, BlockState pState) FurnaceBlock.newBlockEntity
(BlockPos pPos, BlockState pState) HopperBlock.newBlockEntity
(BlockPos pPos, BlockState pState) JigsawBlock.newBlockEntity
(BlockPos pPos, BlockState pState) JukeboxBlock.newBlockEntity
(BlockPos pPos, BlockState pState) LecternBlock.newBlockEntity
(BlockPos pPos, BlockState pState) SculkCatalystBlock.newBlockEntity
(BlockPos p_222117_, BlockState p_222118_) SculkSensorBlock.newBlockEntity
(BlockPos pPos, BlockState pState) SculkShriekerBlock.newBlockEntity
(BlockPos pPos, BlockState pState) ShulkerBoxBlock.newBlockEntity
(BlockPos pPos, BlockState pState) SignBlock.newBlockEntity
(BlockPos pPos, BlockState pState) SmokerBlock.newBlockEntity
(BlockPos pPos, BlockState pState) SpawnerBlock.newBlockEntity
(BlockPos p_154687_, BlockState p_154688_) StructureBlock.newBlockEntity
(BlockPos pPos, BlockState pState) TestBlock.newBlockEntity
(BlockPos pPos, BlockState pState) TestInstanceBlock.newBlockEntity
(BlockPos p_397973_, BlockState p_397522_) TrappedChestBlock.newBlockEntity
(BlockPos pPos, BlockState pState) TrialSpawnerBlock.newBlockEntity
(BlockPos p_311941_, BlockState p_312821_) VaultBlock.newBlockEntity
(BlockPos p_324543_, BlockState p_323652_) WallHangingSignBlock.newBlockEntity
(BlockPos pPos, BlockState pState) private void
RedstoneTorchBlock.notifyNeighbors
(Level pLevel, BlockPos pPos, BlockState pState) private static void
TripWireHookBlock.notifyNeighbors
(Block pBlock, Level pLevel, BlockPos pPos, Direction pDirection) static Boolean
Blocks.ocelotOrParrot
(BlockState p_50822_, BlockGetter p_50823_, BlockPos p_50824_, EntityType<?> p_50825_) void
AnvilBlock.onBrokenAfterFall
(Level pLevel, BlockPos pPos, FallingBlockEntity pFallingBlock) void
BrushableBlock.onBrokenAfterFall
(Level pLevel, BlockPos pPos, FallingBlockEntity pFallingBlock) default void
Fallable.onBrokenAfterFall
(Level pLevel, BlockPos pPos, FallingBlockEntity pFallingBlock) void
PointedDripstoneBlock.onBrokenAfterFall
(Level pLevel, BlockPos pPos, FallingBlockEntity pFallingBlock) boolean
TntBlock.onCaughtFire
(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) default void
SculkBehaviour.onDischarged
(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) void
SculkVeinBlock.onDischarged
(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) protected void
AbstractCandleBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BeehiveBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BellBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
ButtonBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
CreakingHeartBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
DoorBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
FenceGateBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
LeverBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
TrapDoorBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) void
AnvilBlock.onLand
(Level pLevel, BlockPos pPos, BlockState pState, BlockState pReplaceableState, FallingBlockEntity pFallingBlock) void
ConcretePowderBlock.onLand
(Level pLevel, BlockPos pPos, BlockState pState, BlockState pReplaceableState, FallingBlockEntity pFallingBlock) default void
Fallable.onLand
(Level pLevel, BlockPos pPos, BlockState pState, BlockState pReplaceableState, FallingBlockEntity pFallingBlock) void
LightningRodBlock.onLightningStrike
(BlockState pState, Level pLevel, BlockPos pPos) void
ComparatorBlock.onNeighborChange
(BlockState state, LevelReader levelReader, BlockPos pos, BlockPos neighbor) void
AbstractCauldronBlock.onPlace
(BlockState p_51978_, Level p_51979_, BlockPos p_51980_, BlockState p_51981_, boolean p_51982_) protected void
BaseFireBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
BaseRailBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) void
BrushableBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
CarvedPumpkinBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
ComposterBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
CopperBulbBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
CoralFanBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
CoralPlantBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
CoralWallFanBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
DetectorRailBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
DiodeBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
FallingBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
FireBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
FrogspawnBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) void
FrostedIceBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
HopperBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
LightningRodBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
LiquidBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
MagmaBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
ObserverBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
RedstoneTorchBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
RedStoneWireBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
ScaffoldingBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
SculkSensorBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) void
SnifferEggBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
SoulSandBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
SpongeBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
TargetBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
TntBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
TripWireBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
TurtleEggBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
WetSpongeBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) static boolean
TurtleEggBlock.onSand
(BlockGetter pLevel, BlockPos pPos) protected abstract void
AbstractFurnaceBlock.openContainer
(Level pLevel, BlockPos pPos, Player pPlayer) Called to open this furnace's container.protected void
BlastFurnaceBlock.openContainer
(Level pLevel, BlockPos pPos, Player pPlayer) Called to open this furnace's container.protected void
FurnaceBlock.openContainer
(Level pLevel, BlockPos pPos, Player pPlayer) Called to open this furnace's container.protected void
SmokerBlock.openContainer
(Level pLevel, BlockPos pPos, Player pPlayer) Called to open this furnace's container.private void
LecternBlock.openScreen
(Level pLevel, BlockPos pPos, Player pPlayer) void
AzaleaBlock.performBonemeal
(ServerLevel p_220707_, RandomSource p_220708_, BlockPos p_220709_, BlockState p_220710_) void
BambooSaplingBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BambooStalkBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BigDripleafBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BigDripleafStemBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BonemealableBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BonemealableFeaturePlacerBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BushBlock.performBonemeal
(ServerLevel p_401091_, RandomSource p_401012_, BlockPos p_401218_, BlockState p_401130_) void
CaveVinesBlock.performBonemeal
(ServerLevel p_220923_, RandomSource p_220924_, BlockPos p_220925_, BlockState p_220926_) void
CaveVinesPlantBlock.performBonemeal
(ServerLevel p_220938_, RandomSource p_220939_, BlockPos p_220940_, BlockState p_220941_) void
CocoaBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
CropBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
FireflyBushBlock.performBonemeal
(ServerLevel p_401415_, RandomSource p_401124_, BlockPos p_401112_, BlockState p_401260_) void
FlowerBedBlock.performBonemeal
(ServerLevel p_394140_, RandomSource p_394672_, BlockPos p_393771_, BlockState p_394008_) void
FungusBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
GlowLichenBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
GrassBlock.performBonemeal
(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) void
GrowingPlantBodyBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
GrowingPlantHeadBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
HangingMossBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
MangroveLeavesBlock.performBonemeal
(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) void
MangrovePropaguleBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
MossyCarpetBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
MushroomBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
NetherrackBlock.performBonemeal
(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) void
NyliumBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
PitcherCropBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
RootedDirtBlock.performBonemeal
(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) void
SaplingBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
SeagrassBlock.performBonemeal
(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) void
SeaPickleBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
ShortDryGrassBlock.performBonemeal
(ServerLevel p_401950_, RandomSource p_401831_, BlockPos p_401948_, BlockState p_401868_) void
SmallDripleafBlock.performBonemeal
(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) void
StemBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
SweetBerryBushBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
TallDryGrassBlock.performBonemeal
(ServerLevel p_401804_, RandomSource p_401769_, BlockPos p_401777_, BlockState p_401790_) void
TallFlowerBlock.performBonemeal
(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) void
TallGrassBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) BarrierBlock.pickupBlock
(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) BubbleColumnBlock.pickupBlock
(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) BucketPickup.pickupBlock
(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) LiquidBlock.pickupBlock
(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) PowderSnowBlock.pickupBlock
(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) default ItemStack
SimpleWaterloggedBlock.pickupBlock
(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected static boolean
BigDripleafBlock.place
(LevelAccessor pLevel, BlockPos pPos, FluidState pFluidState, Direction pDirection) protected static boolean
BigDripleafStemBlock.place
(LevelAccessor pLevel, BlockPos pPos, FluidState pFluidState, Direction pDirection) private void
NyliumBlock.place
(Registry<ConfiguredFeature<?, ?>> pFeatureRegistry, ResourceKey<ConfiguredFeature<?, ?>> pFeatureKey, ServerLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) static void
DoublePlantBlock.placeAt
(LevelAccessor pLevel, BlockState pState, BlockPos pPos, int pFlags) static void
MossyCarpetBlock.placeAt
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, int pFlags) private static void
LecternBlock.placeBook
(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockState pState, ItemStack pStack) private void
ChorusFlowerBlock.placeDeadFlower
(Level pLevel, BlockPos pPos) private void
ChorusFlowerBlock.placeGrownFlower
(Level pLevel, BlockPos pPos, int pAge) boolean
CampfireBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
CandleBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
DriedGhastBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
KelpBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
KelpPlantBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
LiquidBlockContainer.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
SeagrassBlock.placeLiquid
(LevelAccessor p_154520_, BlockPos p_154521_, BlockState p_154522_, FluidState p_154523_) default boolean
SimpleWaterloggedBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
SlabBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
TallSeagrassBlock.placeLiquid
(LevelAccessor p_154758_, BlockPos p_154759_, BlockState p_154760_, FluidState p_154761_) static void
BigDripleafBlock.placeWithRandomHeight
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, Direction pDirection) void
BeehiveBlock.playerDestroy
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) Called after a player has successfully harvested this block.void
Block.playerDestroy
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pBlockEntity, ItemStack pTool) Called after a player has successfully harvested this block.void
DoublePlantBlock.playerDestroy
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) Called after a player has successfully harvested this block.void
IceBlock.playerDestroy
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) Called after a player has successfully harvested this block.void
TurtleEggBlock.playerDestroy
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) Called after a player has successfully harvested this block.BaseFireBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) BedBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) BeehiveBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) Block.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) CreakingHeartBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) DecoratedPotBlock.playerWillDestroy
(Level p_273590_, BlockPos p_273343_, BlockState p_272869_, Player p_273002_) DoorBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) DoublePlantBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) ShulkerBoxBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) TntBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) TripWireBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) private void
NoteBlock.playNote
(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) protected void
ButtonBlock.playSound
(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, boolean pHitByArrow) private void
protected static void
LeverBlock.playSound
(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected void
private static void
BigDripleafBlock.playTiltSound
(Level pLevel, BlockPos pPos, SoundEvent pSound) void
Block.popExperience
(ServerLevel pLevel, BlockPos pPos, int pAmount) Spawns the given amount of experience into the Level as experience orb entities.static void
Block.popResource
(Level pLevel, BlockPos pPos, ItemStack pStack) Spawns the given stack into the Level at the given position, respecting the doTileDrops gamerulestatic void
Block.popResourceFromFace
(Level pLevel, BlockPos pPos, Direction pDirection, ItemStack pStack) void
ButtonBlock.press
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected static void
DoublePlantBlock.preventDropFromBottomPart
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) static boolean
Deprecated.Neo: use invalid input: '{@link net.neoforged.neoforge.common.extensions.IBlockStateExtension#' onCaughtFire(Level,BlockPos,net.minecraft.core.Direction, LivingEntity)} insteadprivate static boolean
TntBlock.prime
(Level pLevel, BlockPos pPos, LivingEntity pEntity) Deprecated.Neo: use invalid input: '{@link net.neoforged.neoforge.common.extensions.IBlockStateExtension#' onCaughtFire(Level,BlockPos,net.minecraft.core.Direction, LivingEntity)} insteadvoid
LeverBlock.pull
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) static BlockState
Block.pushEntitiesUp
(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos) protected void
BambooSaplingBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
BambooStalkBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
BeetrootBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
BuddingAmethystBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
CactusBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
ChorusFlowerBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
CocoaBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
CropBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
DriedGhastBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
EyeblossomBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
FarmBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
FlowerPotBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
GrowingPlantHeadBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
IceBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
LeavesBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
LiquidBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
MangrovePropaguleBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
MushroomBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
NetherPortalBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
NetherWartBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
NyliumBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.void
PitcherCropBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
PointedDripstoneBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
RedStoneOreBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SaplingBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SnowLayerBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SpreadingSnowyDirtBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
StemBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SugarCaneBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SweetBerryBushBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.void
TorchflowerCropBlock.randomTick
(BlockState p_273361_, ServerLevel p_273515_, BlockPos p_273546_, RandomSource p_273261_) protected void
TurtleEggBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
VineBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperBulbBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperDoorBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperFullBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperGrateBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperSlabBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperStairBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperTrapDoorBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
AbstractCauldronBlock.receiveStalactiteDrip
(BlockState pState, Level pLevel, BlockPos pPos, Fluid pFluid) protected void
CauldronBlock.receiveStalactiteDrip
(BlockState pState, Level pLevel, BlockPos pPos, Fluid pFluid) protected void
LayeredCauldronBlock.receiveStalactiteDrip
(BlockState pState, Level pLevel, BlockPos pPos, Fluid pFluid) private void
ComparatorBlock.refreshOutputState
(Level pLevel, BlockPos pPos, BlockState pState) static boolean
SculkVeinBlock.regrow
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Collection<Direction> pDirections) void
BeehiveBlock.releaseBeesAndResetHoneyLevel
(Level pLevel, BlockState pState, BlockPos pPos, Player pPlayer, BeehiveBlockEntity.BeeReleaseStatus pBeeReleaseStatus) private static void
ChiseledBookShelfBlock.removeBook
(Level pLevel, BlockPos pPos, Player pPlayer, ChiseledBookShelfBlockEntity pBlockEntity, int pSlot) private boolean
SpongeBlock.removeWaterBreadthFirstSearch
(Level pLevel, BlockPos pPos) static void
LecternBlock.resetBookState
(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState, boolean pHasBook) void
BeehiveBlock.resetHoneyLevel
(Level pLevel, BlockState pState, BlockPos pPos) private static void
BigDripleafBlock.resetTilt
(BlockState pState, Level pLevel, BlockPos pPos) protected static boolean
BaseCoralPlantTypeBlock.scanForWater
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
CoralBlock.scanForWater
(BlockGetter pLevel, BlockPos pPos) private BlockState
NoteBlock.setInstrument
(LevelReader pLevel, BlockPos pPos, BlockState pState) private static void
AbstractCandleBlock.setLit
(LevelAccessor pLevel, BlockState pState, BlockPos pPos, boolean pLit) void
DoorBlock.setOpen
(Entity pEntity, Level pLevel, BlockState pState, BlockPos pPos, boolean pOpen) private static void
TargetBlock.setOutputPower
(LevelAccessor pLevel, BlockState pState, int pPower, BlockPos pPos, int pWaitTime) void
BedBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
Block.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
CommandBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
CrafterBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
DiodeBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
DoorBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
DoublePlantBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
DriedGhastBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
JukeboxBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
MossyCarpetBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
PitcherCropBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
SmallDripleafBlock.setPlacedBy
(Level p_154599_, BlockPos p_154600_, BlockState p_154601_, LivingEntity p_154602_, ItemStack p_154603_) void
StructureBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
TripWireHookBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
WitherSkullBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
WitherWallSkullBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by ItemBlocks after a block is set in the world, to allow post-place logicprivate void
CommandBlock.setPoweredAndUpdate
(Level pLevel, BlockPos pPos, CommandBlockEntity pBlockEntity, boolean pPowered) private static void
BigDripleafBlock.setTilt
(BlockState pState, Level pLevel, BlockPos pPos, Tilt pTilt) private void
BigDripleafBlock.setTiltAndScheduleTick
(BlockState pState, Level pLevel, BlockPos pPos, Tilt pTilt, SoundEvent pSound) private static boolean
BaseRailBlock.shouldBeRemoved
(BlockPos pPos, Level pLevel, RailShape pShape) 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) private boolean
LiquidBlock.shouldSpreadLiquid
(Level pLevel, BlockPos pPos, BlockState pState) Deprecated.protected boolean
ComparatorBlock.shouldTurnOn
(Level pLevel, BlockPos pPos, BlockState pState) protected boolean
DiodeBlock.shouldTurnOn
(Level pLevel, BlockPos pPos, BlockState pState) private boolean
SculkSpreader.ChargeCursor.shouldUpdate
(LevelAccessor pLevel, BlockPos pPos, boolean pIsWorldGeneration) private BlockState
WallBlock.sideUpdate
(LevelReader pLevel, BlockPos pFirstPos, BlockState pFirstState, BlockPos pSecondPos, BlockState pSecondState, Direction pDir) static void
LecternBlock.signalPageChange
(Level pLevel, BlockPos pPos, BlockState pState) private boolean
FrostedIceBlock.slightlyMelt
(BlockState pState, Level pLevel, BlockPos pPos) protected void
DropExperienceBlock.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
InfestedBlock.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
RedStoneOreBlock.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
SculkCatalystBlock.spawnAfterBreak
(BlockState p_222109_, ServerLevel p_222110_, BlockPos p_222111_, ItemStack p_222112_, boolean p_222113_) protected void
SculkSensorBlock.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
SculkShriekerBlock.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
SpawnerBlock.spawnAfterBreak
(BlockState p_222477_, ServerLevel p_222478_, BlockPos p_222479_, ItemStack p_222480_, boolean p_222481_) protected void
BaseFireBlock.spawnDestroyParticles
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState) protected void
Block.spawnDestroyParticles
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState) static void
PointedDripstoneBlock.spawnDripParticle
(Level pLevel, BlockPos pPos, BlockState pState) private static void
PointedDripstoneBlock.spawnDripParticle
(Level pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) protected abstract void
LeavesBlock.spawnFallingLeavesParticle
(Level pLevel, BlockPos pPos, RandomSource pRandom) protected void
TintedParticleLeavesBlock.spawnFallingLeavesParticle
(Level p_399553_, BlockPos p_400280_, RandomSource p_400310_) protected void
UntintedParticleLeavesBlock.spawnFallingLeavesParticle
(Level pLevel, BlockPos pPos, RandomSource pRandom) private static void
PointedDripstoneBlock.spawnFallingStalactite
(BlockState pState, ServerLevel pLevel, BlockPos pPos) private void
DriedGhastBlock.spawnGhastling
(ServerLevel pLevel, BlockPos pPos, BlockState pState) private static void
CarvedPumpkinBlock.spawnGolemInWorld
(Level pLevel, BlockPattern.BlockPatternMatch pPatternMatch, Entity pGolem, BlockPos pPos) private void
InfestedBlock.spawnInfestation
(ServerLevel pLevel, BlockPos pPos) private void
BeehiveBlock.spawnParticle
(Level pLevel, BlockPos pPos, VoxelShape pShape, double pY) private static void
RedStoneOreBlock.spawnParticles
(Level pLevel, BlockPos pPos) private static void
RedStoneWireBlock.spawnParticlesAlongLine
(Level pLevel, RandomSource pRandom, BlockPos pPos, int pColor, Direction pDirection, Direction pPerpendicularDirection, float pStart, float pEnd) private void
FrogspawnBlock.spawnTadpoles
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) void
EyeblossomBlock.Type.spawnTransformParticle
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) long
MultifaceSpreader.spreadAll
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, boolean pMarkForPostprocessing) private long
MultifaceSpreader.spreadFromFaceTowardAllDirections
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromFaceTowardDirection
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, Direction pFace, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromFaceTowardRandomDirection
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, RandomSource pRandom, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) private void
ObserverBlock.startSignal
(LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos) 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) void
Block.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
MagmaBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
RedStoneOreBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
SculkSensorBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
SculkShriekerBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
SlimeBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
TurtleEggBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) private static boolean
PitcherCropBlock.sufficientLight
(LevelReader pLevel, BlockPos pPos) private void
DragonEggBlock.teleport
(BlockState pState, Level pLevel, BlockPos pPos) boolean
MultifaceSpreader.SpreadPredicate.test
(BlockGetter pLevel, BlockPos pPos, MultifaceSpreader.SpreadPos pSpreadPos) protected void
AbstractCauldronBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BambooStalkBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BarrelBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BasePressurePlateBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BigDripleafBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BigDripleafStemBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) void
BrushableBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BubbleColumnBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ButtonBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CactusBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ChestBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ChorusFlowerBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ChorusPlantBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CommandBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ComparatorBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ComposterBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralFanBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralPlantBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralWallFanBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CrafterBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CreakingHeartBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
DetectorRailBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
DiodeBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
DirtPathBlock.tick
(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) protected void
DispenserBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
DriedGhastBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
EnderChestBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
EyeblossomBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FallingBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FarmBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FireBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FrogspawnBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FrostedIceBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
GrowingPlantBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
HangingMossBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
LeavesBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
LecternBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
LightningRodBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
MagmaBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ObserverBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
PointedDripstoneBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
RedstoneLampBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
RedstoneTorchBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ScaffoldingBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SculkCatalystBlock.tick
(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) protected void
SculkSensorBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SculkShriekerBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) void
SnifferEggBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SoulSandBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SugarCaneBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
TargetBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
TestBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
TripWireBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
TripWireHookBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private static void
DaylightDetectorBlock.tickEntity
(Level p_153113_, BlockPos p_153114_, BlockState p_153115_, DaylightDetectorBlockEntity p_153116_) private void
DriedGhastBlock.tickWaterlogged
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private void
TrapDoorBlock.toggle
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) private BlockState
WallBlock.topUpdate
(LevelReader pLevel, BlockState pState, BlockPos pPos, BlockState pSecondState) private static boolean
ConcretePowderBlock.touchesLiquid
(BlockGetter pLevel, BlockPos pPos, BlockState state) protected boolean
BaseEntityBlock.triggerEvent
(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected boolean
ComparatorBlock.triggerEvent
(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected boolean
NoteBlock.triggerEvent
(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected void
SpongeBlock.tryAbsorbWater
(Level pLevel, BlockPos pPos) private void
CreakingHeartBlock.tryAwardExperience
(Player pPlayer, BlockState pState, Level pLevel, BlockPos pPos) private boolean
EyeblossomBlock.tryChangingState
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
Block.tryDropExperience
(ServerLevel pLevel, BlockPos pPos, ItemStack pHeldItem, IntProvider pAmount) static boolean
LecternBlock.tryPlaceBook
(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockState pState, ItemStack pStack) static void
SculkSensorBlock.tryResonateVibration
(Entity pEntity, Level pLevel, BlockPos pPos, int pFrequency) protected void
BaseCoralPlantTypeBlock.tryScheduleDieTick
(BlockState pState, BlockGetter pLevel, ScheduledTickAccess pScheduledTickAccess, RandomSource pRandom, BlockPos pPos) private void
BeehiveBlock.trySpawnDripParticles
(Level pLevel, BlockPos pPos, BlockState pState) private void
CarvedPumpkinBlock.trySpawnGolem
(Level pLevel, BlockPos pPos) static void
FarmBlock.turnToDirt
(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) void
SculkSpreader.ChargeCursor.update
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) private static void
LecternBlock.updateBelow
(Level pLevel, BlockPos pPos, BlockState pState) static void
BubbleColumnBlock.updateColumn
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) static void
BubbleColumnBlock.updateColumn
(LevelAccessor pLevel, BlockPos pPos, BlockState pFluid, BlockState pState) void
SculkSpreader.updateCursors
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, boolean pShouldConvertBlocks) protected BlockState
BaseRailBlock.updateDir
(Level pLevel, BlockPos pPos, BlockState pState, boolean pAlwaysPlace) private static BlockState
LeavesBlock.updateDistance
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) static BlockState
Block.updateFromNeighbourShapes
(BlockState pCurrentState, LevelAccessor pLevel, BlockPos pPos) With the provided block state, performs neighbor checks for all neighboring blocks to get an "adjusted" blockstate for placement in the world, if the current state is not valid.protected void
RedStoneWireBlock.updateIndirectNeighbourShapes
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) Updates the shapes of indirect neighbors of this block.protected void
DiodeBlock.updateNeighborsInFront
(Level pLevel, BlockPos pPos, BlockState pState) protected void
ObserverBlock.updateNeighborsInFront
(Level pLevel, BlockPos pPos, BlockState pState) private void
RedStoneWireBlock.updateNeighborsOfNeighboringWires
(Level pLevel, BlockPos pPos) protected void
BasePressurePlateBlock.updateNeighbours
(Level pLevel, BlockPos pPos) Notify block and block below of changesprivate void
ButtonBlock.updateNeighbours
(BlockState pState, Level pLevel, BlockPos pPos) private void
LeverBlock.updateNeighbours
(BlockState pState, Level pLevel, BlockPos pPos) private void
LightningRodBlock.updateNeighbours
(BlockState pState, Level pLevel, BlockPos pPos) private static void
SculkSensorBlock.updateNeighbours
(Level pLevel, BlockPos pPos, BlockState pState) static void
Block.updateOrDestroy
(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos, int pFlags) Replaces oldState with newState, possibly playing effects and creating drops.static void
Block.updateOrDestroy
(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) private void
RedStoneWireBlock.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) protected void
DetectorRailBlock.updatePowerToConnected
(Level pLevel, BlockPos pPos, BlockState pState, boolean pPowered) protected BlockState
AmethystClusterBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
AttachedStemBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BambooSaplingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BambooStalkBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BannerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BarrierBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseCoralPlantTypeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseCoralWallFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BasePressurePlateBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseRailBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseTorchBlock.updateShape
(BlockState p_304418_, LevelReader p_374159_, ScheduledTickAccess p_374152_, BlockPos p_304633_, Direction p_304475_, BlockPos p_304603_, BlockState p_304669_, RandomSource p_374111_) protected BlockState
BedBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BeehiveBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BellBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BigDripleafBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BigDripleafStemBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) BrushableBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BubbleColumnBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CactusBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CakeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CampfireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CandleBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CandleCakeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CarpetBlock.updateShape
(BlockState p_152926_, LevelReader p_374550_, ScheduledTickAccess p_374188_, BlockPos p_152930_, Direction p_152927_, BlockPos p_152931_, BlockState p_152928_, RandomSource p_374375_) protected BlockState
CeilingHangingSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChainBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChestBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChorusFlowerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChorusPlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CocoaBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) ComparatorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ConcretePowderBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ConduitBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralPlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralWallFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CreakingHeartBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
DecoratedPotBlock.updateShape
(BlockState p_276307_, LevelReader p_374037_, ScheduledTickAccess p_374267_, BlockPos p_276270_, Direction p_276322_, BlockPos p_276312_, BlockState p_276280_, RandomSource p_374464_) protected BlockState
DirtPathBlock.updateShape
(BlockState p_153152_, LevelReader p_374225_, ScheduledTickAccess p_374127_, BlockPos p_153156_, Direction p_153153_, BlockPos p_153157_, BlockState p_153154_, RandomSource p_374236_) protected BlockState
DoorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
DoublePlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
DriedGhastBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
EnderChestBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FallingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FarmBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FenceBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FenceGateBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FlowerPotBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FrogspawnBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
GrowingPlantBodyBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
GrowingPlantHeadBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
HangingMossBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
HangingRootsBlock.updateShape
(BlockState p_153351_, LevelReader p_374138_, ScheduledTickAccess p_374229_, BlockPos p_153355_, Direction p_153352_, BlockPos p_153356_, BlockState p_153353_, RandomSource p_374467_) protected BlockState
HeavyCoreBlock.updateShape
(BlockState p_338756_, LevelReader p_374371_, ScheduledTickAccess p_374063_, BlockPos p_338346_, Direction p_338189_, BlockPos p_338401_, BlockState p_338723_, RandomSource p_374262_) protected BlockState
HugeMushroomBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
IronBarsBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LadderBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LanternBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LeavesBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LightBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LightningRodBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LiquidBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MagmaBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MangrovePropaguleBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MangroveRootsBlock.updateShape
(BlockState p_221514_, LevelReader p_374345_, ScheduledTickAccess p_374139_, BlockPos p_221518_, Direction p_221515_, BlockPos p_221519_, BlockState p_221516_, RandomSource p_374100_) protected BlockState
MossyCarpetBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MultifaceBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
NetherPortalBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
NoteBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ObserverBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) PitcherCropBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
PointedDripstoneBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RedstoneWallTorchBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RedStoneWireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RepeaterBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ScaffoldingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SculkSensorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SculkShriekerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SeagrassBlock.updateShape
(BlockState p_154530_, LevelReader p_374421_, ScheduledTickAccess p_374071_, BlockPos p_154534_, Direction p_154531_, BlockPos p_154535_, BlockState p_154532_, RandomSource p_374406_) protected BlockState
SeaPickleBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SlabBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SmallDripleafBlock.updateShape
(BlockState p_154625_, LevelReader p_374488_, ScheduledTickAccess p_374525_, BlockPos p_154629_, Direction p_154626_, BlockPos p_154630_, BlockState p_154627_, RandomSource p_374277_) protected BlockState
SnowLayerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SnowyDirtBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SoulFireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SoulSandBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SporeBlossomBlock.updateShape
(BlockState p_154713_, LevelReader p_374047_, ScheduledTickAccess p_374543_, BlockPos p_154717_, Direction p_154714_, BlockPos p_154718_, BlockState p_154715_, RandomSource p_374461_) protected BlockState
StairBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
StandingSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SugarCaneBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TrapDoorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TripWireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TripWireHookBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
VegetationBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
VineBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallBannerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) private BlockState
WallBlock.updateShape
(LevelReader pLevel, BlockState pState, BlockPos pPos, BlockState pNeighbour, boolean pNorthConnection, boolean pEastConnection, boolean pSouthConnection, boolean pWestConnection) protected BlockState
WallHangingSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallTorchBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WaterloggedTransparentBlock.updateShape
(BlockState p_313906_, LevelReader p_374178_, ScheduledTickAccess p_374293_, BlockPos p_313842_, Direction p_313739_, BlockPos p_313843_, BlockState p_313829_, RandomSource p_374433_) private static void
DaylightDetectorBlock.updateSignalStrength
(BlockState pState, Level pLevel, BlockPos pPos) private void
RedStoneWireBlock.updatesOnShapeChange
(Level pLevel, BlockPos pPos, BlockState pOldState, BlockState pNewState) private void
TripWireBlock.updateSource
(Level pLevel, BlockPos pPos, BlockState pState) protected BlockState
BaseRailBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
BaseRailBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock) private static BlockState
CreakingHeartBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos) protected void
PoweredRailBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock) protected void
RailBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock) static InteractionResult
CaveVines.use
(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) protected InteractionResult
AbstractCauldronBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
BeehiveBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
CakeBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
CampfireBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
CandleBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
CandleCakeBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
CeilingHangingSignBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
ChiseledBookShelfBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
ComposterBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
DecoratedPotBlock.useItemOn
(ItemStack p_316569_, BlockState p_316562_, Level p_316177_, BlockPos p_316898_, Player p_316632_, InteractionHand p_316424_, BlockHitResult p_316345_) protected InteractionResult
FlowerPotBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
JukeboxBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
LecternBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
NoteBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
PumpkinBlock.useItemOn
(ItemStack p_316383_, BlockState p_316676_, Level p_316272_, BlockPos p_316484_, Player p_316367_, InteractionHand p_316216_, BlockHitResult p_316827_) protected InteractionResult
RedStoneOreBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
RespawnAnchorBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
SignBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
SweetBerryBushBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
TntBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) VaultBlock.useItemOn
(ItemStack p_324161_, BlockState p_323816_, Level p_324403_, BlockPos p_324623_, Player p_324219_, InteractionHand p_324416_, BlockHitResult p_324261_) protected InteractionResult
WallHangingSignBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
AbstractFurnaceBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
AnvilBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
BarrelBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
BeaconBlock.useWithoutItem
(BlockState p_49432_, Level p_49433_, BlockPos p_49434_, Player p_49435_, BlockHitResult p_49437_) protected InteractionResult
BedBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
BellBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
BrewingStandBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
ButtonBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CakeBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CandleCakeBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CartographyTableBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CaveVinesBlock.useWithoutItem
(BlockState p_152980_, Level p_152981_, BlockPos p_152982_, Player p_152983_, BlockHitResult p_152985_) protected InteractionResult
CaveVinesPlantBlock.useWithoutItem
(BlockState p_153021_, Level p_153022_, BlockPos p_153023_, Player p_153024_, BlockHitResult p_153026_) protected InteractionResult
ChestBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
ChiseledBookShelfBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CommandBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
ComparatorBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
ComposterBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CrafterBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CraftingTableBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
DaylightDetectorBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
DecoratedPotBlock.useWithoutItem
(BlockState p_316866_, Level p_316544_, BlockPos p_316541_, Player p_316732_, BlockHitResult p_316860_) protected InteractionResult
DispenserBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
DoorBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
DragonEggBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
EnchantingTableBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
EnderChestBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
FenceBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
FenceGateBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
FletchingTableBlock.useWithoutItem
(BlockState p_53501_, Level p_53502_, BlockPos p_53503_, Player p_53504_, BlockHitResult p_53506_) protected InteractionResult
FlowerPotBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
GrindstoneBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
HopperBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
JigsawBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
JukeboxBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
LecternBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
LeverBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
LightBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
LoomBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
NoteBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
RedStoneWireBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
RepeaterBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
RespawnAnchorBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
ShulkerBoxBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
SignBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
SmithingTableBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
StonecutterBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
StructureBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
SweetBerryBushBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
TestBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
TestInstanceBlock.useWithoutItem
(BlockState p_397015_, Level p_397062_, BlockPos p_397232_, Player p_397809_, BlockHitResult p_397307_) protected InteractionResult
TrapDoorBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) void
Block.wasExploded
(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion) void
TntBlock.wasExploded
(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion) Method parameters in net.minecraft.world.level.block with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour
(BlockEntityType<S> pBlockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> pDoubleBlockTypeGetter, Function<BlockState, Direction> pDirectionGetter, Property<Direction> pDirectionProperty, BlockState pState, LevelAccessor pLevel, BlockPos pPos, BiPredicate<LevelAccessor, BlockPos> pBlockedChestTest) PointedDripstoneBlock.findBlockVertical
(LevelAccessor pLevel, BlockPos pPos, Direction.AxisDirection pAxis, BiPredicate<BlockPos, BlockState> pPositionalStatePredicate, Predicate<BlockState> pStatePredicate, int pMaxIterations) protected void
AbstractCandleBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BeehiveBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BellBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
ButtonBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
CreakingHeartBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
DoorBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
FenceGateBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
LeverBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
TrapDoorBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) Constructors in net.minecraft.world.level.block with parameters of type BlockPosModifierConstructorDescriptionChargeCursor
(BlockPos pPos, int pCharge) private
ChargeCursor
(BlockPos pPos, int pCharge, int p_222301_, int p_222302_, Optional<Set<Direction>> p_222303_) (package private)
FluidInfo
(BlockPos pos, Fluid fluid, BlockState sourceState) Creates an instance of aFluidInfo
record class.InputContainer
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) OutputContainer
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, ItemStack pStack) (package private)
PosAndState
(BlockPos pos, BlockState state) Creates an instance of aPosAndState
record class.RailState
(Level pLevel, BlockPos pPos, BlockState pState) Creates an instance of aSpreadPos
record class. -
Uses of BlockPos in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as BlockPosModifier and TypeFieldDescriptionprotected final BlockPos
SculkSensorBlockEntity.VibrationUser.blockPos
private static final BlockPos
StructureBlockEntity.DEFAULT_POS
private BlockPos
TheEndGatewayBlockEntity.exitPortal
private final BlockPos
BoundingBoxRenderable.RenderableBox.localPos
The field for thelocalPos
record component.private BlockPos
BeehiveBlockEntity.savedFlowerPos
private BlockPos
StructureBlockEntity.structurePos
protected final BlockPos
BlockEntity.worldPosition
Fields in net.minecraft.world.level.block.entity with type parameters of type BlockPosMethods in net.minecraft.world.level.block.entity that return BlockPosModifier and TypeMethodDescriptionprivate static BlockPos
TheEndGatewayBlockEntity.findExitPosition
(Level pLevel, BlockPos pPos) private static BlockPos
TheEndGatewayBlockEntity.findOrCreateValidTeleportPos
(ServerLevel pLevel, BlockPos pPos) private static BlockPos
TheEndGatewayBlockEntity.findTallestBlock
(BlockGetter pLevel, BlockPos pPos, int pRadius, boolean pAllowBedrock) private static BlockPos
TheEndGatewayBlockEntity.findValidSpawnInChunk
(LevelChunk pChunk) BlockEntity.getBlockPos()
TickingBlockEntity.getPos()
static BlockPos
BlockEntity.getPosFromTag
(ChunkPos pChunkPos, CompoundTag pTag) TestInstanceBlockEntity.getStartCorner()
StructureBlockEntity.getStructurePos()
TestInstanceBlockEntity.getStructurePos()
static BlockPos
TestInstanceBlockEntity.getStructurePos
(BlockPos pPos) BoundingBoxRenderable.RenderableBox.localPos()
Returns the value of thelocalPos
record component.Methods in net.minecraft.world.level.block.entity that return types with arguments of type BlockPosModifier and TypeMethodDescriptionStructureBlockEntity.getRelatedCorners
(BlockPos pMinPos, BlockPos pMaxPos) CreakingHeartBlockEntity.spreadResin()
Methods in net.minecraft.world.level.block.entity with parameters of type BlockPosModifier and TypeMethodDescriptionstatic void
SkullBlockEntity.animation
(Level pLevel, BlockPos pPos, BlockState pState, SkullBlockEntity pBlockEntity) private static void
ConduitBlockEntity.animationTick
(Level pLevel, BlockPos pPos, List<BlockPos> pPositions, Entity pEntity, int pTickCount) private static void
BeaconBlockEntity.applyEffects
(Level pLevel, BlockPos pPos, int pBeaconLevel, Holder<MobEffect> pPrimaryEffect, Holder<MobEffect> pSecondaryEffect) private static void
ConduitBlockEntity.applyEffects
(Level pLevel, BlockPos pPos, List<BlockPos> pPositions) private static boolean
BellBlockEntity.areRaidersNearby
(BlockPos pPos, List<LivingEntity> pRaiders) static void
TheEndGatewayBlockEntity.beamAnimationTick
(Level pLevel, BlockPos pPos, BlockState pState, TheEndGatewayBlockEntity pBlockEntity) private void
SculkCatalystBlockEntity.CatalystListener.bloom
(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) static void
EnchantingTableBlockEntity.bookAnimationTick
(Level pLevel, BlockPos pPos, BlockState pState, EnchantingTableBlockEntity pEnchantingTable) private static Optional
<BoundingBox> StructureBlockEntity.calculateEnclosingBoundingBox
(BlockPos pPos, Stream<BlockPos> pRelatedCorners) boolean
CalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, GameEvent.Context pContext) boolean
SculkSensorBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, GameEvent.Context pContext) boolean
SculkShriekerBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_281256_, BlockPos p_281528_, Holder<GameEvent> p_316788_, GameEvent.Context p_282914_) static void
BellBlockEntity.clientTick
(Level pLevel, BlockPos pPos, BlockState pState, BellBlockEntity pBlockEntity) static void
ConduitBlockEntity.clientTick
(Level pLevel, BlockPos pPos, BlockState pState, ConduitBlockEntity pBlockEntity) static void
SpawnerBlockEntity.clientTick
(Level pLevel, BlockPos pPos, BlockState pState, SpawnerBlockEntity pBlockEntity) static void
CampfireBlockEntity.cookTick
(ServerLevel pLevel, BlockPos pPos, BlockState pState, CampfireBlockEntity pCampfire, RecipeManager.CachedCheck<SingleRecipeInput, CampfireCookingRecipe> pCheck) static void
CampfireBlockEntity.cooldownTick
(Level pLevel, BlockPos pPos, BlockState pState, CampfireBlockEntity pBlockEntity) BlockEntityType.BlockEntitySupplier.create
(BlockPos pPos, BlockState pState) BlockEntityType.create
(BlockPos pPos, BlockState pState) private static CommandSourceStack
SignBlockEntity.createCommandSourceStack
(Player pPlayer, ServerLevel pLevel, BlockPos pPos) BeehiveBlockEntity.Occupant.createEntity
(Level pLevel, BlockPos pPos) void
ContainerOpenersCounter.decrementOpeners
(Player pPlayer, Level pLevel, BlockPos pPos, BlockState pState) private static void
BrewingStandBlockEntity.doBrew
(Level pLevel, BlockPos pPos, NonNullList<ItemStack> pItems) private static void
ShulkerBoxBlockEntity.doNeighborUpdates
(Level pLevel, BlockPos pPos, BlockState pState) private static boolean
HopperBlockEntity.ejectItems
(Level pLevel, BlockPos pPos, HopperBlockEntity pBlockEntity) static void
HopperBlockEntity.entityInside
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity, HopperBlockEntity pBlockEntity) boolean
SignBlockEntity.executeClickCommandsIfPresent
(ServerLevel pLevel, Player pPlayer, BlockPos pPos, boolean pIsFrontText) private static Vec3
TheEndGatewayBlockEntity.findExitPortalXZPosTentative
(ServerLevel pLevel, BlockPos pPos) private static BlockPos
TheEndGatewayBlockEntity.findExitPosition
(Level pLevel, BlockPos pPos) private static BlockPos
TheEndGatewayBlockEntity.findOrCreateValidTeleportPos
(ServerLevel pLevel, BlockPos pPos) private static BlockPos
TheEndGatewayBlockEntity.findTallestBlock
(BlockGetter pLevel, BlockPos pPos, int pRadius, boolean pAllowBedrock) private static Container
HopperBlockEntity.getAttachedContainer
(Level pLevel, BlockPos pPos, HopperBlockEntity pBlockEntity) private int
CalibratedSculkSensorBlockEntity.VibrationUser.getBackSignal
(Level pLevel, BlockPos pPos, BlockState pState) private static Container
HopperBlockEntity.getBlockContainer
(Level pLevel, BlockPos pPos, BlockState pState) BlockEntityType.getBlockEntity
(BlockGetter pLevel, BlockPos pPos) static Container
HopperBlockEntity.getContainerAt
(Level pLevel, BlockPos pPos) Deprecated.Use IItemHandler capability instead.private static Container
HopperBlockEntity.getContainerAt
(Level pLevel, BlockPos pPos, BlockState pState, double pX, double pY, double pZ) static ContainerOrHandler
HopperBlockEntity.getContainerOrHandlerAt
(Level level, BlockPos pos, Direction side) private static ContainerOrHandler
HopperBlockEntity.getContainerOrHandlerAt
(Level level, BlockPos pos, BlockState state, double x, double y, double z, Direction side) private static AABB
ConduitBlockEntity.getDestroyRangeAABB
(BlockPos pPos) static int
ChestBlockEntity.getOpenCount
(BlockGetter pLevel, BlockPos pPos) ContainerOpenersCounter.getPlayersWithContainerOpen
(Level pLevel, BlockPos pPos) TheEndGatewayBlockEntity.getPortalPosition
(ServerLevel pLevel, BlockPos pPos) StructureBlockEntity.getRelatedCorners
(BlockPos pMinPos, BlockPos pMaxPos) private static Container
HopperBlockEntity.getSourceContainer
(Level pLevel, Hopper pHopper, BlockPos pPos, BlockState pState) private static ContainerOrHandler
HopperBlockEntity.getSourceContainerOrHandler
(Level p_155597_, Hopper p_155598_, BlockPos p_326315_, BlockState p_326093_) static BlockPos
TestInstanceBlockEntity.getStructurePos
(BlockPos pPos) void
ContainerOpenersCounter.incrementOpeners
(Player pPlayer, Level pLevel, BlockPos pPos, BlockState pState) private static boolean
BellBlockEntity.isRaiderWithinRange
(BlockPos pPos, LivingEntity pRaider) static void
ChestBlockEntity.lidAnimateTick
(Level pLevel, BlockPos pPos, BlockState pState, ChestBlockEntity pBlockEntity) static void
EnderChestBlockEntity.lidAnimateTick
(Level pLevel, BlockPos pPos, BlockState pState, EnderChestBlockEntity pBlockEntity) static BlockEntity
BlockEntity.loadStatic
(BlockPos pPos, BlockState pState, CompoundTag pTag, HolderLookup.Provider pRegistries) private static void
BellBlockEntity.makeRaidersGlow
(Level p_155187_, BlockPos p_155188_, List<LivingEntity> p_155189_) private void
ShulkerBoxBlockEntity.moveCollidedEntities
(Level pLevel, BlockPos pPos, BlockState pState) protected abstract void
ContainerOpenersCounter.onClose
(Level pLevel, BlockPos pPos, BlockState pState) protected abstract void
ContainerOpenersCounter.onOpen
(Level pLevel, BlockPos pPos, BlockState pState) void
SculkSensorBlockEntity.VibrationUser.onReceiveVibration
(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, Entity pEntity, Entity pPlayerEntity, float pDistance) void
SculkShriekerBlockEntity.VibrationUser.onReceiveVibration
(ServerLevel p_283372_, BlockPos p_281679_, Holder<GameEvent> p_316155_, Entity p_282286_, Entity p_281384_, float p_283119_) protected abstract void
ContainerOpenersCounter.openerCountChanged
(Level pLevel, BlockPos pPos, BlockState pState, int pCount, int pOpenCount) static void
CampfireBlockEntity.particleTick
(Level pLevel, BlockPos pPos, BlockState pState, CampfireBlockEntity pBlockEntity) static void
BeaconBlockEntity.playSound
(Level pLevel, BlockPos pPos, SoundEvent pSound) (package private) static void
ChestBlockEntity.playSound
(Level pLevel, BlockPos pPos, BlockState pState, SoundEvent pSound) static void
TheEndGatewayBlockEntity.portalTick
(Level pLevel, BlockPos pPos, BlockState pState, TheEndGatewayBlockEntity pBlockEntity) void
AbstractFurnaceBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
BlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
CampfireBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
CreakingHeartBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
JukeboxBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
LecternBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
SculkShriekerBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
ShulkerBoxBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) static void
HopperBlockEntity.pushItemsTick
(Level pLevel, BlockPos pPos, BlockState pState, HopperBlockEntity pBlockEntity) void
ContainerOpenersCounter.recheckOpeners
(Level pLevel, BlockPos pPos, BlockState pState) private static boolean
BeehiveBlockEntity.releaseOccupant
(Level pLevel, BlockPos pPos, BlockState pState, BeehiveBlockEntity.Occupant pOccupant, List<Entity> pStoredInHives, BeehiveBlockEntity.BeeReleaseStatus pReleaseStatus, BlockPos pStoredFlowerPos) void
BellBlockEntity.ResonationEndAction.run
(Level pLevel, BlockPos pPos, List<LivingEntity> pRaiders) static boolean
StructureBlockEntity.saveStructure
(ServerLevel pLevel, ResourceLocation pStructureName, BlockPos pPos, Vec3i pSize, boolean pIgnoreEntities, String pAuthor, boolean pWriteToDisk, List<Block> pIgnoredBlocks) private static void
ContainerOpenersCounter.scheduleRecheck
(Level pLevel, BlockPos pPos, BlockState pState) private static EntityReference
<LivingEntity> ConduitBlockEntity.selectNewTarget
(ServerLevel pLevel, BlockPos pPos) static void
AbstractFurnaceBlockEntity.serverTick
(ServerLevel pLevel, BlockPos pPos, BlockState pState, AbstractFurnaceBlockEntity pFurnace) static void
BeehiveBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, BeehiveBlockEntity pBeehive) static void
BellBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, BellBlockEntity pBlockEntity) static void
BrewingStandBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, BrewingStandBlockEntity pBlockEntity) static void
ConduitBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, ConduitBlockEntity pBlockEntity) static void
CrafterBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, CrafterBlockEntity pCrafter) static void
CreakingHeartBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, CreakingHeartBlockEntity pCreakingHeart) static void
SculkCatalystBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, SculkCatalystBlockEntity pSculkCatalyst) static void
SpawnerBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, SpawnerBlockEntity pBlockEntity) protected static void
BlockEntity.setChanged
(Level pLevel, BlockPos pPos, BlockState pState) void
TheEndGatewayBlockEntity.setExitPosition
(BlockPos pExitPortal, boolean pExactTeleport) void
StructureBlockEntity.setStructurePos
(BlockPos pStructurePos) private static void
BellBlockEntity.showBellParticles
(Level p_155208_, BlockPos p_155209_, List<LivingEntity> p_155210_) protected void
ChestBlockEntity.signalOpenCount
(Level pLevel, BlockPos pPos, BlockState pState, int pEventId, int pEventParam) protected void
TrappedChestBlockEntity.signalOpenCount
(Level p_155865_, BlockPos p_155866_, BlockState p_155867_, int p_155868_, int p_155869_) private static void
TheEndGatewayBlockEntity.spawnGatewayPortal
(ServerLevel pLevel, BlockPos pPos, EndGatewayConfiguration pConfig) static void
BeaconBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, BeaconBlockEntity pBlockEntity) private static void
BellBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, BellBlockEntity pBlockEntity, BellBlockEntity.ResonationEndAction pResonationEndAction) void
BlockEntityTicker.tick
(Level pLevel, BlockPos pPos, BlockState pState, T pBlockEntity) static void
JukeboxBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, JukeboxBlockEntity pJukebox) static void
ShulkerBoxBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, ShulkerBoxBlockEntity pBlockEntity) static void
SignBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, SignBlockEntity pSign) private static void
BeehiveBlockEntity.tickOccupants
(Level pLevel, BlockPos pPos, BlockState pState, List<BeehiveBlockEntity.BeeData> pData, BlockPos pSavedFlowerPos) static void
TheEndGatewayBlockEntity.triggerCooldown
(Level pLevel, BlockPos pPos, BlockState pState, TheEndGatewayBlockEntity pBlockEntity) private static boolean
HopperBlockEntity.tryMoveItems
(Level pLevel, BlockPos pPos, BlockState pState, HopperBlockEntity pBlockEntity, BooleanSupplier pValidator) private static void
ConduitBlockEntity.updateAndAttackTarget
(ServerLevel pLevel, BlockPos pPos, BlockState pState, ConduitBlockEntity pBlockEntity, boolean pCanDestroy) private void
ShulkerBoxBlockEntity.updateAnimation
(Level pLevel, BlockPos pPos, BlockState pState) private static BlockState
CreakingHeartBlockEntity.updateCreakingState
(Level pLevel, BlockState pState, BlockPos pPos, CreakingHeartBlockEntity pCreakingHeart) private static EntityReference
<LivingEntity> ConduitBlockEntity.updateDestroyTarget
(EntityReference<LivingEntity> pDestroyTarget, ServerLevel pLevel, BlockPos pPos, boolean pCanDestroy) private static boolean
ConduitBlockEntity.updateShape
(Level pLevel, BlockPos pPos, List<BlockPos> pPositions) Method parameters in net.minecraft.world.level.block.entity with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate static void
ConduitBlockEntity.animationTick
(Level pLevel, BlockPos pPos, List<BlockPos> pPositions, Entity pEntity, int pTickCount) private static void
ConduitBlockEntity.applyEffects
(Level pLevel, BlockPos pPos, List<BlockPos> pPositions) private static Optional
<BoundingBox> StructureBlockEntity.calculateEnclosingBoundingBox
(BlockPos pPos, Stream<BlockPos> pRelatedCorners) void
TestInstanceBlockEntity.processStructureBoundary
(Consumer<BlockPos> pProcessor) private static void
ConduitBlockEntity.updateHunting
(ConduitBlockEntity pBlockEntity, List<BlockPos> pPositions) private static boolean
ConduitBlockEntity.updateShape
(Level pLevel, BlockPos pPos, List<BlockPos> pPositions) Constructors in net.minecraft.world.level.block.entity with parameters of type BlockPosModifierConstructorDescriptionprotected
AbstractFurnaceBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState, RecipeType<? extends AbstractCookingRecipe> pRecipeType) BannerBlockEntity
(BlockPos pPos, BlockState pBlockState) BannerBlockEntity
(BlockPos pPos, BlockState pBlockState, DyeColor pBaseColor) BarrelBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
BaseContainerBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) BeaconBlockEntity
(BlockPos pPos, BlockState pBlockState) BedBlockEntity
(BlockPos pPos, BlockState pBlockState) BedBlockEntity
(BlockPos pPos, BlockState pBlockState, DyeColor pColor) BeehiveBlockEntity
(BlockPos pPos, BlockState pBlockState) BellBlockEntity
(BlockPos pPos, BlockState pBlockState) BlastFurnaceBlockEntity
(BlockPos pPos, BlockState pBlockState) BlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) BrewingStandBlockEntity
(BlockPos pPos, BlockState pState) BrushableBlockEntity
(BlockPos pPos, BlockState pBlockState) CalibratedSculkSensorBlockEntity
(BlockPos pPos, BlockState pBlockState) CampfireBlockEntity
(BlockPos pPos, BlockState pBlockState) ChestBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
ChestBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) ChiseledBookShelfBlockEntity
(BlockPos pPos, BlockState pState) CommandBlockEntity
(BlockPos pPos, BlockState pBlockState) ComparatorBlockEntity
(BlockPos pPos, BlockState pBlockState) ConduitBlockEntity
(BlockPos pPos, BlockState pBlockState) CrafterBlockEntity
(BlockPos pPos, BlockState pState) CreakingHeartBlockEntity
(BlockPos pPos, BlockState pState) DaylightDetectorBlockEntity
(BlockPos pPos, BlockState pBlockState) DecoratedPotBlockEntity
(BlockPos pPos, BlockState pState) DispenserBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
DispenserBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) DropperBlockEntity
(BlockPos p_155498_, BlockState p_155499_) EnchantingTableBlockEntity
(BlockPos pPos, BlockState pState) EnderChestBlockEntity
(BlockPos pPos, BlockState pBlockState) FurnaceBlockEntity
(BlockPos pPos, BlockState pBlockState) HangingSignBlockEntity
(BlockPos p_250603_, BlockState p_251674_) HopperBlockEntity
(BlockPos pPos, BlockState pBlockState) JigsawBlockEntity
(BlockPos pPos, BlockState pBlockState) JukeboxBlockEntity
(BlockPos pPos, BlockState pBlockState) LecternBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
RandomizableContainerBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) RenderableBox
(BlockPos localPos, Vec3i size) Creates an instance of aRenderableBox
record class.SculkCatalystBlockEntity
(BlockPos pPos, BlockState pBlockState) SculkSensorBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
SculkSensorBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) SculkShriekerBlockEntity
(BlockPos pPos, BlockState pBlockState) ShulkerBoxBlockEntity
(BlockPos pPos, BlockState pBlockState) ShulkerBoxBlockEntity
(DyeColor pColor, BlockPos pPos, BlockState pBlockState) SignBlockEntity
(BlockPos pPos, BlockState pBlockState) SignBlockEntity
(BlockEntityType pType, BlockPos pPos, BlockState pBlockState) SkullBlockEntity
(BlockPos pPos, BlockState pBlockState) SmokerBlockEntity
(BlockPos pPos, BlockState pBlockState) SpawnerBlockEntity
(BlockPos pPos, BlockState pBlockState) StructureBlockEntity
(BlockPos pPos, BlockState pBlockState) TestBlockEntity
(BlockPos pPos, BlockState pState) TestInstanceBlockEntity
(BlockPos pPos, BlockState pState) TheEndGatewayBlockEntity
(BlockPos pPos, BlockState pBlockState) TheEndPortalBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
TheEndPortalBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) TrappedChestBlockEntity
(BlockPos p_155862_, BlockState p_155863_) TrialSpawnerBlockEntity
(BlockPos pPos, BlockState pState) VibrationUser
(BlockPos pPos) VibrationUser
(BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner with parameters of type BlockPosModifier and TypeMethodDescriptionstatic void
TrialSpawner.addBecomeOminousParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom) static void
TrialSpawner.addDetectPlayerParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom, int pType, ParticleOptions pParticle) static void
TrialSpawner.addEjectItemParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom) static void
TrialSpawner.addSpawnParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom, SimpleParticleType pParticleType) void
TrialSpawner.applyOminous
(ServerLevel pLevel, BlockPos pPos) TrialSpawnerState.calculatePositionToSpawnSpawner
(ServerLevel pLevel, BlockPos pPos, TrialSpawner pSpawner, TrialSpawnerStateData pData) int
TrialSpawnerStateData.countAdditionalPlayers
(BlockPos pPos) PlayerDetector.detect
(ServerLevel pLevel, PlayerDetector.EntitySelector pEntitySelector, BlockPos pPos, double pMaxDistance, boolean pRequireLineOfSight) void
TrialSpawner.ejectReward
(ServerLevel pLevel, BlockPos pPos, ResourceKey<LootTable> pLootTable) void
TrialSpawnerState.ParticleEmission.emit
(Level pLevel, RandomSource pRandom, BlockPos pPos, boolean pIsOminous) void
TrialSpawnerState.emitParticles
(Level pLevel, BlockPos pPos, boolean pIsOminous) (package private) WeightedList
<ItemStack> TrialSpawnerStateData.getDispensingItems
(ServerLevel pLevel, TrialSpawnerConfig pConfig, BlockPos pPos) private static long
TrialSpawnerStateData.lowResolutionPosition
(ServerLevel pLevel, BlockPos pPos) void
TrialSpawner.removeOminous
(ServerLevel pLevel, BlockPos pPos) private static Entity
TrialSpawnerState.selectEntityToSpawnItemAbove
(List<Player> pPlayer, Set<UUID> pCurrentMobs, TrialSpawner pSpawner, BlockPos pPos, ServerLevel pLevel) private static boolean
TrialSpawner.shouldMobBeUntracked
(ServerLevel pLevel, BlockPos pPos, UUID pUuid) TrialSpawner.spawnMob
(ServerLevel pLevel, BlockPos pPos) private void
TrialSpawnerState.spawnOminousOminousItemSpawner
(ServerLevel pLevel, BlockPos pPos, TrialSpawner pSpawner) (package private) TrialSpawnerState
TrialSpawnerState.tickAndGetNext
(BlockPos pPos, TrialSpawner pSpawner, ServerLevel pLevel) void
TrialSpawner.tickClient
(Level pLevel, BlockPos pPos, boolean pIsOminous) void
TrialSpawner.tickServer
(ServerLevel pLevel, BlockPos pPos, boolean pIsOminous) void
TrialSpawnerStateData.tryDetectPlayers
(ServerLevel pLevel, BlockPos pPos, TrialSpawner pSpawner) -
Uses of BlockPos in net.minecraft.world.level.block.entity.vault
Methods in net.minecraft.world.level.block.entity.vault with parameters of type BlockPosModifier and TypeMethodDescription(package private) static void
VaultBlockEntity.Server.cycleDisplayItemFromLootTable
(ServerLevel pLevel, VaultState pState, VaultConfig pConfig, VaultSharedData pSharedData, BlockPos pPos) private void
VaultState.ejectResultItem
(ServerLevel pLevel, BlockPos pPos, ItemStack pStack, float pEjectionProgress) static void
VaultBlockEntity.Client.emitActivationParticles
(Level pLevel, BlockPos pPos, BlockState pState, VaultSharedData pSharedData, ParticleOptions pParticle) private static void
VaultBlockEntity.Client.emitConnectionParticlesForNearbyPlayers
(Level pLevel, BlockPos pPos, BlockState pState, VaultSharedData pSharedData) static void
VaultBlockEntity.Client.emitDeactivationParticles
(Level pLevel, BlockPos pPos, ParticleOptions pParticle) private static void
VaultBlockEntity.Client.emitIdleParticles
(Level pLevel, BlockPos pPos, VaultSharedData pSharedData, ParticleOptions pParticle) private static ItemStack
VaultBlockEntity.Server.getRandomDisplayItemFromLootTable
(ServerLevel pLevel, BlockPos pPos, ResourceKey<LootTable> pLootTable) private static boolean
VaultBlockEntity.Client.isWithinConnectionRange
(BlockPos pPos, VaultSharedData pSharedData, Player pPlayer) private static Vec3
VaultBlockEntity.Client.keyholePos
(BlockPos pPos, Direction pFacing) protected void
VaultState.onEnter
(ServerLevel pLevel, BlockPos pPos, VaultConfig pConfig, VaultSharedData pSharedData, boolean pIsOminous) protected void
VaultState.onExit
(ServerLevel pLevel, BlockPos pPos, VaultConfig pConfig, VaultSharedData pSharedData) void
VaultState.onTransition
(ServerLevel pLevel, BlockPos pPos, VaultState pState, VaultConfig pConfig, VaultSharedData pSharedData, boolean pIsOminous) private static void
VaultBlockEntity.Client.playIdleSounds
(Level pLevel, BlockPos pPos, VaultSharedData pSharedData) private static void
VaultBlockEntity.Server.playInsertFailSound
(ServerLevel pLevel, VaultServerData pServerData, BlockPos pPos, SoundEvent pSound) private static Vec3
VaultBlockEntity.Client.randomPosCenterOfCage
(BlockPos pPos, RandomSource pRandom) private static Vec3
VaultBlockEntity.Client.randomPosInsideCage
(BlockPos pPos, RandomSource pRandom) VaultBlockEntity.Server.resolveItemsToEject
(ServerLevel pLevel, VaultConfig pConfig, BlockPos pPos, Player pPlayer, ItemStack pKey) (package private) static void
VaultBlockEntity.Server.setVaultState
(ServerLevel pLevel, BlockPos pPos, BlockState pOldState, BlockState pNewState, VaultConfig pConfig, VaultSharedData pSharedData) static void
VaultBlockEntity.Client.tick
(Level pLevel, BlockPos pPos, BlockState pState, VaultClientData pClientData, VaultSharedData pSharedData) static void
VaultBlockEntity.Server.tick
(ServerLevel pLevel, BlockPos pPos, BlockState pState, VaultConfig pConfig, VaultServerData pServerData, VaultSharedData pSharedData) VaultState.tickAndGetNext
(ServerLevel pLevel, BlockPos pPos, VaultConfig pConfig, VaultServerData pServerData, VaultSharedData pSharedData) static void
VaultBlockEntity.Server.tryInsertKey
(ServerLevel pLevel, BlockPos pPos, BlockState pState, VaultConfig pConfig, VaultServerData pServerData, VaultSharedData pSharedData, Player pPlayer, ItemStack pStack) private static void
VaultBlockEntity.Server.unlock
(ServerLevel pLevel, BlockState pState, BlockPos pPos, VaultConfig pConfig, VaultServerData pServerData, VaultSharedData pSharedData, List<ItemStack> pItemsToEject) (package private) void
VaultSharedData.updateConnectedPlayersWithinRange
(ServerLevel pLevel, BlockPos pPos, VaultServerData pServerData, VaultConfig pConfig, double pDeactivationRange) private static VaultState
VaultState.updateStateForConnectedPlayers
(ServerLevel pLevel, BlockPos pPos, VaultConfig pConfig, VaultServerData pSeverData, VaultSharedData pSharedData, double pDeactivationRange) Constructors in net.minecraft.world.level.block.entity.vault with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.level.block.grower
Methods in net.minecraft.world.level.block.grower with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
TreeGrower.growTree
(ServerLevel pLevel, ChunkGenerator pChunkGenerator, BlockPos pPos, BlockState pState, RandomSource pRandom) private boolean
TreeGrower.hasFlowers
(LevelAccessor pLevel, BlockPos pPos) private static boolean
TreeGrower.isTwoByTwoSapling
(BlockState pState, BlockGetter pLevel, BlockPos pPos, int pXOffset, int pYOffset) -
Uses of BlockPos in net.minecraft.world.level.block.piston
Fields in net.minecraft.world.level.block.piston declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
PistonStructureResolver.pistonPos
private final BlockPos
PistonStructureResolver.startPos
Fields in net.minecraft.world.level.block.piston with type parameters of type BlockPosModifier and TypeFieldDescriptionPistonStructureResolver.toDestroy
All blocks to be destroyed by the pistonPistonStructureResolver.toPush
All block positions to be moved by the pistonMethods in net.minecraft.world.level.block.piston that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPistonStructureResolver.getToDestroy()
PistonStructureResolver.getToPush()
Methods in net.minecraft.world.level.block.piston with parameters of type BlockPosModifier and TypeMethodDescriptionprivate boolean
PistonStructureResolver.addBlockLine
(BlockPos pOriginPos, Direction pDirection) private boolean
PistonStructureResolver.addBranchingBlocks
(BlockPos pFromPos) protected void
PistonHeadBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected boolean
PistonHeadBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) private void
PistonBaseBlock.checkIfExtend
(Level pLevel, BlockPos pPos, BlockState pState) void
MovingPistonBlock.destroy
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) Called after this block has been removed by a player.private static void
PistonMovingBlockEntity.fixEntityWithinPistonBase
(BlockPos pPos, Entity pEntity, Direction pDir, double pProgress) private PistonMovingBlockEntity
MovingPistonBlock.getBlockEntity
(BlockGetter pBlockReader, BlockPos pPos) protected ItemStack
MovingPistonBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
PistonHeadBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected VoxelShape
MovingPistonBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) PistonMovingBlockEntity.getCollisionShape
(BlockGetter pLevel, BlockPos pPos) private boolean
PistonBaseBlock.getNeighborSignal
(SignalGetter pSignalGetter, BlockPos pPos, Direction pDirection) 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) static boolean
PistonBaseBlock.isPushable
(BlockState pState, Level pLevel, BlockPos pPos, Direction pMovementDirection, boolean pAllowDestroy, Direction pPistonFacing) Checks if the piston can push the given BlockState.private static boolean
PistonMovingBlockEntity.matchesStickyCritera
(AABB pBox, Entity pEntity, BlockPos pPos) private boolean
PistonBaseBlock.moveBlocks
(Level pLevel, BlockPos pPos, Direction pFacing, boolean pExtending) private static AABB
PistonMovingBlockEntity.moveByPositionAndProgress
(BlockPos pPos, AABB pAabb, PistonMovingBlockEntity pPistonMovingBlockEntity) private static void
PistonMovingBlockEntity.moveCollidedEntities
(Level pLevel, BlockPos pPos, float pPartialTick, PistonMovingBlockEntity pPiston) private static void
PistonMovingBlockEntity.moveStuckEntities
(Level pLevel, BlockPos pPos, float pPartialTick, PistonMovingBlockEntity pPiston) protected void
PistonBaseBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
PistonHeadBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) MovingPistonBlock.newBlockEntity
(BlockPos pPos, BlockState pState) static BlockEntity
MovingPistonBlock.newMovingBlockEntity
(BlockPos pPos, BlockState pBlockState, BlockState pMovedState, Direction pDirection, boolean pExtending, boolean pIsSourcePiston) protected void
PistonBaseBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) PistonHeadBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) void
PistonMovingBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) PistonBaseBlock.rotate
(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) void
PistonBaseBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.static void
PistonMovingBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, PistonMovingBlockEntity pBlockEntity) protected boolean
PistonBaseBlock.triggerEvent
(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected BlockState
PistonHeadBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected InteractionResult
MovingPistonBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) Constructors in net.minecraft.world.level.block.piston with parameters of type BlockPosModifierConstructorDescriptionPistonMovingBlockEntity
(BlockPos pPos, BlockState pBlockState) PistonMovingBlockEntity
(BlockPos pPos, BlockState pBlockState, BlockState pMovedState, Direction pDirection, boolean pExtending, boolean pIsSourcePiston) PistonStructureResolver
(Level pLevel, BlockPos pPistonPos, Direction pPistonDirection, boolean pExtending) -
Uses of BlockPos in net.minecraft.world.level.block.sounds
Methods in net.minecraft.world.level.block.sounds with parameters of type BlockPosModifier and TypeMethodDescriptionstatic void
AmbientDesertBlockSoundsPlayer.playAmbientDeadBushSounds
(Level pLevel, BlockPos pPos, RandomSource pRandom) static void
AmbientDesertBlockSoundsPlayer.playAmbientDryGrassSounds
(Level pLevel, BlockPos pPos, RandomSource pRandom) static void
AmbientDesertBlockSoundsPlayer.playAmbientSandSounds
(Level pLevel, BlockPos pPos, RandomSource pRandom) private static boolean
AmbientDesertBlockSoundsPlayer.shouldPlayAmbientSandSound
(Level pLevel, BlockPos pPos) static boolean
AmbientDesertBlockSoundsPlayer.shouldPlayDesertDryVegetationBlockSounds
(Level pLevel, BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type BlockPosModifier and TypeMethodDescriptionprotected void
BlockBehaviour.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) void
BlockBehaviour.BlockStateBase.affectNeighborsAfterRemoval
(ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
BlockBehaviour.attack
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) void
boolean
BlockBehaviour.BlockStateBase.canSurvive
(LevelReader pLevel, BlockPos pPos) protected boolean
BlockBehaviour.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) boolean
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) void
BlockBehaviour.BlockStateBase.entityInside
(Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
BlockBehaviour.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) BlockBehaviour.OffsetFunction.evaluate
(BlockState pState, BlockPos pPos) int
BlockBehaviour.BlockStateBase.getAnalogOutputSignal
(Level pLevel, BlockPos pPos) protected int
BlockBehaviour.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.BlockBehaviour.BlockStateBase.getBlockSupportShape
(BlockGetter pLevel, BlockPos pPos) protected VoxelShape
BlockBehaviour.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, boolean pIncludeData) protected ItemStack
BlockBehaviour.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) Deprecated.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) BlockBehaviour.BlockStateBase.getMenuProvider
(Level pLevel, BlockPos pPos) protected MenuProvider
BlockBehaviour.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) long
protected long
BlockBehaviour.getSeed
(BlockState pState, BlockPos pPos) Return a random long to be passed toinvalid reference
net.minecraft.client.resources.model.BakedModel#getQuads
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) void
BlockBehaviour.BlockStateBase.handleNeighborChanged
(Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) 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) protected void
BlockBehaviour.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) void
BlockBehaviour.BlockStateBase.onExplosionHit
(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BlockBehaviour.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) void
BlockBehaviour.BlockStateBase.onPlace
(Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
BlockBehaviour.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) void
BlockBehaviour.BlockStateBase.randomTick
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BlockBehaviour.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.void
BlockBehaviour.BlockStateBase.spawnAfterBreak
(ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) protected void
BlockBehaviour.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishboolean
BlockBehaviour.StateArgumentPredicate.test
(BlockState pState, BlockGetter pLevel, BlockPos pPos, A pValue) boolean
BlockBehaviour.StatePredicate.test
(BlockState pState, BlockGetter pLevel, BlockPos pPos) void
BlockBehaviour.BlockStateBase.tick
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BlockBehaviour.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) boolean
BlockBehaviour.BlockStateBase.triggerEvent
(Level pLevel, BlockPos pPos, int pId, int pParam) protected boolean
BlockBehaviour.triggerEvent
(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.final void
BlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes
(LevelAccessor pLevel, BlockPos pPos, int pFlags) void
BlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes
(LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) protected void
BlockBehaviour.updateIndirectNeighbourShapes
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) Updates the shapes of indirect neighbors of this block.final void
BlockBehaviour.BlockStateBase.updateNeighbourShapes
(LevelAccessor pLevel, BlockPos pPos, int pFlags) final void
BlockBehaviour.BlockStateBase.updateNeighbourShapes
(LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) BlockBehaviour.BlockStateBase.updateShape
(LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BlockBehaviour.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected InteractionResult
BlockBehaviour.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
BlockBehaviour.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) Method parameters in net.minecraft.world.level.block.state with type arguments of type BlockPosModifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.onExplosionHit
(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BlockBehaviour.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) -
Uses of BlockPos in net.minecraft.world.level.block.state.pattern
Fields in net.minecraft.world.level.block.state.pattern declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
BlockPattern.BlockPatternMatch.frontTopLeft
private final BlockPos
BlockInWorld.pos
Fields in net.minecraft.world.level.block.state.pattern with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final com.google.common.cache.LoadingCache
<BlockPos, BlockInWorld> BlockPattern.BlockPatternMatch.cache
Methods in net.minecraft.world.level.block.state.pattern that return BlockPosModifier and TypeMethodDescriptionBlockPattern.BlockPatternMatch.getFrontTopLeft()
BlockInWorld.getPos()
protected static BlockPos
BlockPattern.translateAndRotate
(BlockPos pPos, Direction pFinger, Direction pThumb, int pPalmOffset, int pThumbOffset, int pFingerOffset) Offsets the position of pos in the direction of finger and thumb facing by offset amounts, follows the right-hand rule for cross products (finger, thumb, palm)Methods in net.minecraft.world.level.block.state.pattern that return types with arguments of type BlockPosModifier and TypeMethodDescriptionstatic com.google.common.cache.LoadingCache
<BlockPos, BlockInWorld> BlockPattern.createLevelCache
(LevelReader p_61188_, boolean p_61189_) Methods in net.minecraft.world.level.block.state.pattern with parameters of type BlockPosModifier and TypeMethodDescriptionBlockPattern.find
(LevelReader pLevel, BlockPos pPos) Calculates whether the given world position matches the pattern.private BlockPattern.BlockPatternMatch
BlockPattern.matches
(BlockPos p_61198_, Direction p_61199_, Direction p_61200_, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> p_61201_) BlockPattern.matches
(LevelReader pLevel, BlockPos pPos, Direction pFinger, Direction pThumb) protected static BlockPos
BlockPattern.translateAndRotate
(BlockPos pPos, Direction pFinger, Direction pThumb, int pPalmOffset, int pThumbOffset, int pFingerOffset) Offsets the position of pos in the direction of finger and thumb facing by offset amounts, follows the right-hand rule for cross products (finger, thumb, palm)Method parameters in net.minecraft.world.level.block.state.pattern with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate BlockPattern.BlockPatternMatch
BlockPattern.matches
(BlockPos p_61198_, Direction p_61199_, Direction p_61200_, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> p_61201_) Constructors in net.minecraft.world.level.block.state.pattern with parameters of type BlockPosModifierConstructorDescriptionBlockInWorld
(LevelReader pLevel, BlockPos pPos, boolean pLoadChunks) BlockPatternMatch
(BlockPos p_61221_, Direction p_61222_, Direction p_61223_, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> p_61224_, int p_61225_, int p_61226_, int p_61227_) Constructor parameters in net.minecraft.world.level.block.state.pattern with type arguments of type BlockPosModifierConstructorDescriptionBlockPatternMatch
(BlockPos p_61221_, Direction p_61222_, Direction p_61223_, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> p_61224_, int p_61225_, int p_61226_, int p_61227_) -
Uses of BlockPos in net.minecraft.world.level.border
Methods in net.minecraft.world.level.border that return BlockPosModifier and TypeMethodDescriptionWorldBorder.clampToBounds
(double pX, double pY, double pZ) WorldBorder.clampToBounds
(BlockPos pPos) WorldBorder.clampToBounds
(Vec3 pPos) Methods in net.minecraft.world.level.border with parameters of type BlockPosModifier and TypeMethodDescriptionWorldBorder.clampToBounds
(BlockPos pPos) boolean
WorldBorder.isWithinBounds
(BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk with type parameters of type BlockPosModifier and TypeFieldDescriptionprotected final Map
<BlockPos, BlockEntity> ChunkAccess.blockEntities
protected final Map
<BlockPos, CompoundTag> ChunkAccess.pendingBlockEntities
private final Map
<BlockPos, LevelChunk.RebindableTickingBlockEntityWrapper> LevelChunk.tickersInLevel
Methods in net.minecraft.world.level.chunk that return BlockPosModifier and TypeMethodDescriptionLevelChunk.BoundTickingBlockEntity.getPos()
LevelChunk.RebindableTickingBlockEntityWrapper.getPos()
static BlockPos
ProtoChunk.unpackOffsetCoordinates
(short pPackedPos, int pYOffset, ChunkPos pChunkPos) Methods in net.minecraft.world.level.chunk that return types with arguments of type BlockPosModifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure
(ServerLevel p_223038_, HolderSet<Structure> p_223039_, BlockPos p_223040_, int p_223041_, boolean p_223042_) LevelChunk.getBlockEntities()
ProtoChunk.getBlockEntities()
ChunkAccess.getBlockEntitiesPos()
ProtoChunk.getBlockEntityNbts()
ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223182_, ServerLevel p_223183_, StructureManager p_223184_, BlockPos p_223185_, boolean p_223186_, ConcentricRingsStructurePlacement p_223187_) ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223189_, LevelReader p_223190_, StructureManager p_223191_, int p_223192_, int p_223193_, int p_223194_, boolean p_223195_, long p_223196_, RandomSpreadStructurePlacement p_223197_) ChunkGenerator.getStructureGeneratingAt
(Set<Holder<Structure>> p_223199_, LevelReader p_223200_, StructureManager p_223201_, boolean p_223202_, StructurePlacement p_223203_, ChunkPos p_223204_) Methods in net.minecraft.world.level.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionabstract void
ChunkGenerator.addDebugScreenInfo
(List<String> pInfo, RandomState pRandom, BlockPos pPos) private BlockEntity
LevelChunk.createBlockEntity
(BlockPos pPos) ChunkGenerator.findNearestMapStructure
(ServerLevel p_223038_, HolderSet<Structure> p_223039_, BlockPos p_223040_, int p_223041_, boolean p_223042_) EmptyLevelChunk.getBlockEntity
(BlockPos pPos, LevelChunk.EntityCreationType pCreationType) ImposterProtoChunk.getBlockEntity
(BlockPos pPos) LevelChunk.getBlockEntity
(BlockPos pPos) LevelChunk.getBlockEntity
(BlockPos pPos, LevelChunk.EntityCreationType pCreationType) ProtoChunk.getBlockEntity
(BlockPos pPos) ChunkAccess.getBlockEntityNbt
(BlockPos pPos) ImposterProtoChunk.getBlockEntityNbt
(BlockPos pPos) abstract CompoundTag
ChunkAccess.getBlockEntityNbtForSaving
(BlockPos pPos, HolderLookup.Provider pRegistries) ImposterProtoChunk.getBlockEntityNbtForSaving
(BlockPos pPos, HolderLookup.Provider pRegistries) LevelChunk.getBlockEntityNbtForSaving
(BlockPos pPos, HolderLookup.Provider pRegistries) ProtoChunk.getBlockEntityNbtForSaving
(BlockPos pPos, HolderLookup.Provider pRegistries) BulkSectionAccess.getBlockState
(BlockPos pPos) EmptyLevelChunk.getBlockState
(BlockPos pPos) ImposterProtoChunk.getBlockState
(BlockPos pPos) LevelChunk.getBlockState
(BlockPos pPos) ProtoChunk.getBlockState
(BlockPos pPos) EmptyLevelChunk.getFluidState
(BlockPos pPos) ImposterProtoChunk.getFluidState
(BlockPos pPos) LevelChunk.getFluidState
(BlockPos pPos) ProtoChunk.getFluidState
(BlockPos pPos) int
EmptyLevelChunk.getLightEmission
(BlockPos pPos) ChunkGenerator.getMobsAt
(Holder<Biome> pBiome, StructureManager pStructureManager, MobCategory pCategory, BlockPos pPos) ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223182_, ServerLevel p_223183_, StructureManager p_223184_, BlockPos p_223185_, boolean p_223186_, ConcentricRingsStructurePlacement p_223187_) BulkSectionAccess.getSection
(BlockPos pPos) (package private) boolean
void
ChunkAccess.markPosForPostprocessing
(BlockPos pPos) void
ImposterProtoChunk.markPosForPostprocessing
(BlockPos pPos) void
ProtoChunk.markPosForPostprocessing
(BlockPos pPos) static short
ProtoChunk.packOffsetCoordinates
(BlockPos pPos) private BlockEntity
LevelChunk.promotePendingBlockEntity
(BlockPos pPos, CompoundTag pTag) abstract void
ChunkAccess.removeBlockEntity
(BlockPos pPos) void
EmptyLevelChunk.removeBlockEntity
(BlockPos pPos) void
ImposterProtoChunk.removeBlockEntity
(BlockPos pPos) void
LevelChunk.removeBlockEntity
(BlockPos pPos) void
ProtoChunk.removeBlockEntity
(BlockPos pPos) private void
LevelChunk.removeBlockEntityTicker
(BlockPos pPos) ChunkAccess.setBlockState
(BlockPos pPos, BlockState pState) abstract BlockState
ChunkAccess.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) EmptyLevelChunk.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) ImposterProtoChunk.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) LevelChunk.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) ProtoChunk.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) UpgradeData.BlockFixer.updateShape
(BlockState pState, Direction pDirection, BlockState pOffsetState, LevelAccessor pLevel, BlockPos pPos, BlockPos pOffsetPos) private static BlockState
UpgradeData.updateState
(BlockState pState, Direction pDirection, LevelAccessor pLevel, BlockPos pPos, BlockPos pOffsetPos) Method parameters in net.minecraft.world.level.chunk with type arguments of type BlockPosModifier and TypeMethodDescriptionfinal void
ChunkAccess.findBlockLightSources
(BiConsumer<BlockPos, BlockState> pOutput) void
LightChunk.findBlockLightSources
(BiConsumer<BlockPos, BlockState> pOutput) void
ChunkAccess.findBlocks
(Predicate<BlockState> pPredicate, BiConsumer<BlockPos, BlockState> pOutput) void
ChunkAccess.findBlocks
(Predicate<BlockState> p_285343_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) void
ChunkAccess.findBlocks
(Predicate<BlockState> p_285343_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) void
ImposterProtoChunk.findBlocks
(Predicate<BlockState> pPredicate, BiConsumer<BlockPos, BlockState> pOutput) void
ImposterProtoChunk.findBlocks
(Predicate<BlockState> p_285465_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) void
ImposterProtoChunk.findBlocks
(Predicate<BlockState> p_285465_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) -
Uses of BlockPos in net.minecraft.world.level.dimension.end
Fields in net.minecraft.world.level.dimension.end declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
EndDragonFight.origin
private BlockPos
EndDragonFight.portalLocation
Fields in net.minecraft.world.level.dimension.end with type parameters of type BlockPosModifier and TypeFieldDescriptionEndDragonFight.Data.exitPortalLocation
The field for theexitPortalLocation
record component.Methods in net.minecraft.world.level.dimension.end that return types with arguments of type BlockPosModifier and TypeMethodDescriptionEndDragonFight.Data.exitPortalLocation()
Returns the value of theexitPortalLocation
record component.Methods in net.minecraft.world.level.dimension.end with parameters of type BlockPosModifier and TypeMethodDescriptionprivate void
EndDragonFight.spawnNewGateway
(BlockPos pPos) abstract void
DragonRespawnAnimation.tick
(ServerLevel pLevel, EndDragonFight pManager, List<EndCrystal> pCrystals, int pTicks, BlockPos pPos) Constructors in net.minecraft.world.level.dimension.end with parameters of type BlockPosModifierConstructorDescriptionEndDragonFight
(ServerLevel pLevel, long pSeed, EndDragonFight.Data pData, BlockPos pOrigin) -
Uses of BlockPos in net.minecraft.world.level.entity
Methods in net.minecraft.world.level.entity that return BlockPosMethods in net.minecraft.world.level.entity with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
PersistentEntitySectionManager.canPositionTick
(BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as BlockPosConstructors in net.minecraft.world.level.gameevent with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.level.gameevent.vibrations
Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static boolean
VibrationSystem.Ticker.areAdjacentChunksTicking
(Level pLevel, BlockPos pPos) boolean
VibrationSystem.User.canReceiveVibration
(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, GameEvent.Context pContext) static float
VibrationSystem.Listener.distanceBetweenInBlocks
(BlockPos pPos1, BlockPos pPos2) void
VibrationSystem.User.onReceiveVibration
(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, Entity pEntity, Entity pPlayerEntity, float pDistance) -
Uses of BlockPos in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen with type parameters of type BlockPosMethods in net.minecraft.world.level.levelgen with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
DebugLevelSource.addDebugScreenInfo
(List<String> pInfo, RandomState pRandom, BlockPos pPos) void
FlatLevelSource.addDebugScreenInfo
(List<String> pInfo, RandomState pRandom, BlockPos pPos) void
NoiseBasedChunkGenerator.addDebugScreenInfo
(List<String> pInfo, RandomState pRandom, BlockPos pPos) default RandomSource
Column.scan
(LevelSimulatedReader pLevel, BlockPos pPos, int pMaxDistance, Predicate<BlockState> pColumnPredicate, Predicate<BlockState> pTipPredicate) Scans for a column of states satisfyingcolumnPredicate
, up to a length ofmaxDistance
from the origin, and ending with a state which satisfiestipPredicate
.private boolean
PatrolSpawner.spawnPatrolMember
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom, boolean pLeader) SurfaceSystem.topMaterial
(SurfaceRules.RuleSource pRule, CarvingContext pContext, Function<BlockPos, Holder<Biome>> pBiomeGetter, ChunkAccess pChunk, NoiseChunk pNoiseChunk, BlockPos pPos, boolean pHasFluid) Deprecated.Method parameters in net.minecraft.world.level.levelgen with type arguments of type BlockPosModifier and TypeMethodDescriptionSurfaceSystem.topMaterial
(SurfaceRules.RuleSource pRule, CarvingContext pContext, Function<BlockPos, Holder<Biome>> pBiomeGetter, ChunkAccess pChunk, NoiseChunk pNoiseChunk, BlockPos pPos, boolean pHasFluid) Deprecated.Constructor parameters in net.minecraft.world.level.levelgen with type arguments of type BlockPosModifierConstructorDescriptionprotected
Context
(SurfaceSystem pSystem, RandomState pRandomState, ChunkAccess pChunk, NoiseChunk pNoiseChunk, Function<BlockPos, Holder<Biome>> pBiomeGetter, Registry<Biome> pBiomeRegistry, WorldGenerationContext pContext) -
Uses of BlockPos in net.minecraft.world.level.levelgen.blending
Methods in net.minecraft.world.level.levelgen.blending with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static void
Blender.generateBorderTick
(ChunkAccess pChunk, BlockPos pPos) private static boolean
BlendingData.isGround
(ChunkAccess pChunk, BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.level.levelgen.blockpredicates
Methods in net.minecraft.world.level.levelgen.blockpredicates with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
AllOfPredicate.test
(WorldGenLevel pLevel, BlockPos pPos) boolean
AnyOfPredicate.test
(WorldGenLevel p_190387_, BlockPos p_190388_) boolean
HasSturdyFacePredicate.test
(WorldGenLevel pLevel, BlockPos pPos) boolean
InsideWorldBoundsPredicate.test
(WorldGenLevel pLevel, BlockPos pPos) boolean
NotPredicate.test
(WorldGenLevel pLevel, BlockPos pPos) final boolean
StateTestingPredicate.test
(WorldGenLevel pLevel, BlockPos pPos) boolean
TrueBlockPredicate.test
(WorldGenLevel pLevel, BlockPos pPos) boolean
UnobstructedPredicate.test
(WorldGenLevel pLevel, BlockPos pPos) boolean
WouldSurvivePredicate.test
(WorldGenLevel pLevel, BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.level.levelgen.carver
Methods in net.minecraft.world.level.levelgen.carver with parameters of type BlockPosModifier and TypeMethodDescriptionprivate BlockState
WorldCarver.getCarveState
(CarvingContext pContext, C pConfig, BlockPos pPos, Aquifer pAquifer) CarvingContext.topMaterial
(Function<BlockPos, Holder<Biome>> pBiomeMapper, ChunkAccess pAccess, BlockPos pPos, boolean pHasFluid) Deprecated.Method parameters in net.minecraft.world.level.levelgen.carver with type arguments of type BlockPosModifier and TypeMethodDescriptionboolean
CanyonWorldCarver.carve
(CarvingContext pContext, CanyonCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) Carves the given chunk with caves that originate from the givenchunkPos
.boolean
CaveWorldCarver.carve
(CarvingContext pContext, CaveCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) Carves the given chunk with caves that originate from the givenchunkPos
.boolean
ConfiguredWorldCarver.carve
(CarvingContext pContext, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) abstract boolean
WorldCarver.carve
(CarvingContext pContext, C pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) Carves the given chunk with caves that originate from the givenchunkPos
.protected boolean
NetherWorldCarver.carveBlock
(CarvingContext p_190731_, CaveCarverConfiguration p_190732_, ChunkAccess p_190733_, Function<BlockPos, Holder<Biome>> p_190734_, CarvingMask p_190735_, BlockPos.MutableBlockPos p_190736_, BlockPos.MutableBlockPos p_190737_, Aquifer p_190738_, org.apache.commons.lang3.mutable.MutableBoolean p_190739_) protected boolean
WorldCarver.carveBlock
(CarvingContext p_190744_, C p_190745_, ChunkAccess p_190746_, Function<BlockPos, Holder<Biome>> p_190747_, CarvingMask p_190748_, BlockPos.MutableBlockPos p_190749_, BlockPos.MutableBlockPos p_190750_, Aquifer p_190751_, org.apache.commons.lang3.mutable.MutableBoolean p_190752_) protected boolean
WorldCarver.carveEllipsoid
(CarvingContext pContext, C pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, Aquifer pAquifer, double pX, double pY, double pZ, double pHorizontalRadius, double pVerticalRadius, CarvingMask pCarvingMask, WorldCarver.CarveSkipChecker pSkipChecker) Carves blocks in an ellipsoid (more accurately a spheroid), defined by a center (x, y, z) position, with a horizontal and vertical radius (the semi-axes)protected void
CaveWorldCarver.createRoom
(CarvingContext pContext, CaveCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, Aquifer pAquifer, double pX, double pY, double pZ, float pRadius, double pHorizontalVerticalRatio, CarvingMask pCarvingMask, WorldCarver.CarveSkipChecker pSkipChecker) protected void
CaveWorldCarver.createTunnel
(CarvingContext pContext, CaveCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, long pSeed, Aquifer pAquifer, double pX, double pY, double pZ, double pHorizontalRadiusMultiplier, double pVerticalRadiusMultiplier, float pThickness, float pYaw, float pPitch, int pBranchIndex, int pBranchCount, double pHorizontalVerticalRatio, CarvingMask pCarvingMask, WorldCarver.CarveSkipChecker pSkipChecker) private void
CanyonWorldCarver.doCarve
(CarvingContext pContext, CanyonCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, long pSeed, Aquifer pAquifer, double pX, double pY, double pZ, float pThickness, float pYaw, float pPitch, int pBranchIndex, int pBranchCount, double pHorizontalVerticalRatio, CarvingMask pCarvingMask) CarvingContext.topMaterial
(Function<BlockPos, Holder<Biome>> pBiomeMapper, ChunkAccess pAccess, BlockPos pPos, boolean pHasFluid) Deprecated. -
Uses of BlockPos in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as BlockPosModifier and TypeFieldDescriptionprivate static final BlockPos
EndPodiumFeature.END_PODIUM_LOCATION
private final BlockPos
FeaturePlaceContext.origin
private static final BlockPos
VoidStartPlatformFeature.PLATFORM_OFFSET
private BlockPos
LargeDripstoneFeature.LargeDripstone.root
Methods in net.minecraft.world.level.levelgen.feature that return BlockPosModifier and TypeMethodDescriptionprivate static BlockPos
BasaltColumnsFeature.findAir
(LevelAccessor pLevel, BlockPos.MutableBlockPos pPos, int pDistance) private static BlockPos
BasaltColumnsFeature.findSurface
(LevelAccessor pLevel, int pSeaLevel, BlockPos.MutableBlockPos pPos, int pDistance) private static BlockPos
ReplaceBlobsFeature.findTarget
(LevelAccessor pLevel, BlockPos.MutableBlockPos pTopPos, Block pBlock) static BlockPos
EndPodiumFeature.getLocation
(BlockPos pPos) (package private) BlockPos
FeaturePlaceContext.origin()
private BlockPos
FallenTreeFeature.placeLogBlock
(FallenTreeConfiguration pConfig, WorldGenLevel pLevel, RandomSource pRandom, BlockPos.MutableBlockPos pPos, Function<BlockState, BlockState> pStateModifier) Methods in net.minecraft.world.level.levelgen.feature that return types with arguments of type BlockPosModifier and TypeMethodDescriptionprivate BiConsumer
<BlockPos, BlockState> FallenTreeFeature.getDecorationSetter
(WorldGenLevel pLevel) TreeFeature.getLowestTrunkOrRootOfTree
(TreeDecorator.Context pContext) VegetationPatchFeature.placeGroundPatch
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, BlockPos pPos, Predicate<BlockState> pState, int pXRadius, int pZRadius) WaterloggedVegetationPatchFeature.placeGroundPatch
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, BlockPos pPos, Predicate<BlockState> pState, int pXRadius, int pZRadius) Methods in net.minecraft.world.level.levelgen.feature with parameters of type BlockPosModifier and TypeMethodDescriptionprivate boolean
IcebergFeature.belowIsAir
(BlockGetter pLevel, BlockPos pPos) private boolean
DripstoneClusterFeature.canBeAdjacentToWater
(LevelAccessor pLevel, BlockPos pPos) private boolean
DripstoneClusterFeature.canPlacePool
(WorldGenLevel pLevel, BlockPos pPos) private boolean
SculkPatchFeature.canSpreadFrom
(LevelAccessor pLevel, BlockPos pPos) private void
IcebergFeature.carve
(int pRadius, int pLocalY, BlockPos pPos, LevelAccessor pLevel, boolean pPlaceWater, double pPerpendicularAngle, BlockPos pEllipseOrigin, int pMajorRadius, int pMinorRadius) static boolean
Feature.checkNeighbors
(Function<BlockPos, BlockState> pAdjacentStateAccessor, BlockPos pPos, Predicate<BlockState> pFilter) static void
EndPlatformFeature.createEndPlatform
(ServerLevelAccessor pLevel, BlockPos pPos, boolean pDropBlocks) private static void
PointedDripstoneFeature.createPatchOfDripstoneBlocks
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, PointedDripstoneConfiguration pConfig) private boolean
TreeFeature.doPlace
(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos, BiConsumer<BlockPos, BlockState> pRootBlockSetter, BiConsumer<BlockPos, BlockState> pTrunkBlockSetter, FoliagePlacer.FoliageSetter pFoliageBlockSetter, TreeConfiguration pConfig) private void
EndPodiumFeature.dropPreviousAndSetBlock
(WorldGenLevel pLevel, BlockPos pPos, Block pBlock) private void
IcebergFeature.generateCutOut
(RandomSource pRandom, LevelAccessor pLevel, int pMajorAxis, int pHeight, BlockPos pPos, boolean pElliptical, int pEllipseRadius, double pAngle, int pMinorAxis) private void
IcebergFeature.generateIcebergBlock
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, int pHeight, int pLocalX, int pLocalY, int pLocalZ, int pRadius, int pMajorRadius, boolean pElliptical, int pMinorRadius, double pAngle, boolean pPlaceSnow, BlockState pState) private static OptionalInt
UnderwaterMagmaFeature.getFloorY
(WorldGenLevel pLevel, BlockPos pPos, UnderwaterMagmaConfiguration pConfig) static BlockPos
EndPodiumFeature.getLocation
(BlockPos pPos) private int
TreeFeature.getMaxFreeTreeHeight
(LevelSimulatedReader pLevel, int pTrunkHeight, BlockPos pTopPosition, TreeConfiguration pConfig) PointedDripstoneFeature.getTipDirection
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) protected static void
DripstoneUtils.growPointedDripstone
(LevelAccessor pLevel, BlockPos pPos, Direction pDirection, int pHeight, boolean pMergeTip) static boolean
Feature.isAdjacentToAir
(Function<BlockPos, BlockState> pAdjacentStateAccessor, BlockPos pPos) private static boolean
BasaltColumnsFeature.isAirOrLavaOcean
(LevelAccessor pLevel, int pSeaLevel, BlockPos pPos) static boolean
TreeFeature.isAirOrLeaves
(LevelSimulatedReader pLevel, BlockPos pPos) boolean
SpikeFeature.EndSpike.isCenterWithinChunk
(BlockPos pPos) protected static boolean
DripstoneUtils.isCircleMostlyEmbeddedInStone
(WorldGenLevel pLevel, BlockPos pPos, int pRadius) private static boolean
DeltaFeature.isClear
(LevelAccessor pLevel, BlockPos pPos, DeltaFeatureConfiguration pConfig) protected static boolean
DripstoneUtils.isEmptyOrWater
(LevelAccessor pLevel, BlockPos pPos) protected static boolean
DripstoneUtils.isEmptyOrWaterOrLava
(LevelAccessor pLevel, BlockPos pPos) private static boolean
WaterloggedVegetationPatchFeature.isExposed
(WorldGenLevel pLevel, Set<BlockPos> pPositions, BlockPos pPos, BlockPos.MutableBlockPos pMutablePos) private static boolean
WaterloggedVegetationPatchFeature.isExposedDirection
(WorldGenLevel pLevel, BlockPos pPos, BlockPos.MutableBlockPos pMutablePos, Direction pDirection) static boolean
Feature.isGrassOrDirt
(LevelSimulatedReader pLevel, BlockPos pPos) private static boolean
TwistingVinesFeature.isInvalidPlacementLocation
(LevelAccessor pLevel, BlockPos pPos) private boolean
DripstoneClusterFeature.isLava
(LevelReader pLevel, BlockPos pPos) private boolean
FallenTreeFeature.isOverSolidGround
(LevelAccessor pLevel, BlockPos pPos) private static boolean
HugeFungusFeature.isReplaceable
(WorldGenLevel pLevel, BlockPos pPos, HugeFungusConfiguration pConfig, boolean pCheckConfig) private boolean
UnderwaterMagmaFeature.isValidPlacement
(WorldGenLevel pLevel, BlockPos pPos) protected boolean
AbstractHugeMushroomFeature.isValidPosition
(LevelAccessor pLevel, BlockPos pPos, int pMaxHeight, BlockPos.MutableBlockPos pMutablePos, HugeMushroomFeatureConfiguration pConfig) static boolean
TreeFeature.isVine
(LevelSimulatedReader pLevel, BlockPos pPos) private boolean
UnderwaterMagmaFeature.isWaterOrAir
(LevelAccessor pLevel, BlockPos pPos) protected abstract void
AbstractHugeMushroomFeature.makeCap
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, int pTreeHeight, BlockPos.MutableBlockPos pMutablePos, HugeMushroomFeatureConfiguration pConfig) protected void
HugeBrownMushroomFeature.makeCap
(LevelAccessor p_225043_, RandomSource p_225044_, BlockPos p_225045_, int p_225046_, BlockPos.MutableBlockPos p_225047_, HugeMushroomFeatureConfiguration p_225048_) protected void
HugeRedMushroomFeature.makeCap
(LevelAccessor p_225082_, RandomSource p_225083_, BlockPos p_225084_, int p_225085_, BlockPos.MutableBlockPos p_225086_, HugeMushroomFeatureConfiguration p_225087_) private static LargeDripstoneFeature.LargeDripstone
LargeDripstoneFeature.makeDripstone
(BlockPos pRoot, boolean pPointingUp, RandomSource pRandom, int pRadius, FloatProvider pBluntnessBase, FloatProvider pScaleBase) protected void
Feature.markAboveForPostProcessing
(WorldGenLevel pLevel, BlockPos pBasePos) If the above two blocks are not air, marks them for post-processing.private boolean
BlockPileFeature.mayPlaceOn
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) private boolean
FallenTreeFeature.mayPlaceOn
(LevelAccessor pLevel, BlockPos pPos) (package private) BlockPos
private void
ScatteredOreFeature.offsetTargetPos
(BlockPos.MutableBlockPos pMutablePos, RandomSource pRandom, BlockPos pPos, int pMagnitude) boolean
ConfiguredFeature.place
(WorldGenLevel pReader, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) boolean
Feature.place
(FC pConfig, WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pOrigin) boolean
WeightedPlacedFeature.place
(WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) private void
BasaltPillarFeature.placeBaseHangOff
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private boolean
BasaltColumnsFeature.placeColumn
(LevelAccessor pLevel, int pSeaLevel, BlockPos pPos, int pDistance, int pReach) private void
DripstoneClusterFeature.placeColumn
(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos, int pX, int pZ, float pWetness, double pChance, int pHeight, float pDensity, DripstoneClusterConfiguration pConfig) protected boolean
CoralFeature.placeCoralBlock
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) private void
LargeDripstoneFeature.placeDebugMarkers
(WorldGenLevel pLevel, BlockPos pPos, Column.Range pRange, LargeDripstoneFeature.WindOffsetter pWindOffsetter) private static void
RootSystemFeature.placeDirt
(BlockPos pPos, int pMaxY, WorldGenLevel pLevel, RootSystemConfiguration pConfig, RandomSource pRandom) private static boolean
RootSystemFeature.placeDirtAndTree
(WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RootSystemConfiguration pConfig, RandomSource pRandom, BlockPos.MutableBlockPos pMutablePos, BlockPos pBasePos) protected static boolean
DripstoneUtils.placeDripstoneBlockIfPossible
(LevelAccessor pLevel, BlockPos pPos) private void
FallenTreeFeature.placeFallenTree
(FallenTreeConfiguration pConfig, BlockPos pOrigin, WorldGenLevel pLevel, RandomSource pRandom) protected boolean
CoralClawFeature.placeFeature
(LevelAccessor p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract boolean
CoralFeature.placeFeature
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) protected boolean
CoralMushroomFeature.placeFeature
(LevelAccessor p_224982_, RandomSource p_224983_, BlockPos p_224984_, BlockState p_224985_) protected boolean
CoralTreeFeature.placeFeature
(LevelAccessor p_224987_, RandomSource p_224988_, BlockPos p_224989_, BlockState p_224990_) VegetationPatchFeature.placeGroundPatch
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, BlockPos pPos, Predicate<BlockState> pState, int pXRadius, int pZRadius) WaterloggedVegetationPatchFeature.placeGroundPatch
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, BlockPos pPos, Predicate<BlockState> pState, int pXRadius, int pZRadius) static boolean
MultifaceGrowthFeature.placeGrowthIfPossible
(WorldGenLevel pLevel, BlockPos pPos, BlockState pState, MultifaceGrowthConfiguration pConfig, RandomSource pRandom, List<Direction> pDirections) private boolean
BasaltPillarFeature.placeHangOff
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private void
HugeFungusFeature.placeHat
(WorldGenLevel pLevel, RandomSource pRandom, HugeFungusConfiguration pConfig, BlockPos pPos, int pHeight, boolean pHuge) private void
HugeFungusFeature.placeHatDropBlock
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState, boolean pWeepingVines) private void
WeepingVinesFeature.placeRoofNetherWart
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private void
WeepingVinesFeature.placeRoofWeepingVines
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private static void
RootSystemFeature.placeRoots
(WorldGenLevel pLevel, RootSystemConfiguration pConfig, RandomSource pRandom, BlockPos pBasePos, BlockPos.MutableBlockPos pMutablePos) private void
HugeFungusFeature.placeStem
(WorldGenLevel pLevel, RandomSource pRandom, HugeFungusConfiguration pConfig, BlockPos pPos, int pHeight, boolean pHuge) private static void
DesertWellFeature.placeSusSand
(WorldGenLevel pLevel, BlockPos pPos) protected void
AbstractHugeMushroomFeature.placeTrunk
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, HugeMushroomFeatureConfiguration pConfig, int pMaxHeight, BlockPos.MutableBlockPos pMutablePos) protected boolean
VegetationPatchFeature.placeVegetation
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) protected boolean
WaterloggedVegetationPatchFeature.placeVegetation
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) private void
IcebergFeature.removeFloatingSnowLayer
(LevelAccessor pLevel, BlockPos pPos) private void
DripstoneClusterFeature.replaceBlocksWithDripstoneBlocks
(WorldGenLevel pLevel, BlockPos pPos, int pThickness, Direction pDirection) protected void
Feature.safeSetBlock
(WorldGenLevel pLevel, BlockPos pPos, BlockState pState, Predicate<BlockState> pOldState) protected void
Feature.setBlock
(LevelWriter pLevel, BlockPos pPos, BlockState pState) protected void
TreeFeature.setBlock
(LevelWriter pLevel, BlockPos pPos, BlockState pState) private static void
TreeFeature.setBlockKnownShape
(LevelWriter pLevel, BlockPos pPos, BlockState pState) private void
IcebergFeature.setIcebergBlock
(BlockPos pPos, LevelAccessor pLevel, RandomSource pRandom, int pHeightRemaining, int pHeight, boolean pElliptical, boolean pPlaceSnow, BlockState pState) private double
IcebergFeature.signedDistanceCircle
(int pX, int pZ, BlockPos pCenter, int pRadius, RandomSource pRandom) private double
IcebergFeature.signedDistanceEllipse
(int pX, int pZ, BlockPos pCenter, int pMajorRadius, int pMinorRadius, double pAngle) Given an ellipse defined by the equation(x/a)^2 + (y/b)^2 = 1
, wherea
andb
are the semi-major and semi-minor axes respectively, this computes the distance between an arbitrary point and the ellipse.private void
IcebergFeature.smooth
(LevelAccessor pLevel, BlockPos pPos, int pMajorRadius, int pHeight, boolean pElliptical, int pMinorRadius) Smooths out an iceberg by removing blocks which either have air below, or non-iceberg blocks on three or more horizontal sides, with air.private static boolean
RootSystemFeature.spaceForTree
(WorldGenLevel pLevel, RootSystemConfiguration pConfig, BlockPos pPos) private void
BlockPileFeature.tryPlaceBlock
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, BlockPileConfiguration pConfig) private static void
HugeFungusFeature.tryPlaceWeepingVines
(BlockPos pPos, LevelAccessor pLevel, RandomSource pRandom) static boolean
TreeFeature.validTreePos
(LevelSimulatedReader pLevel, BlockPos pPos) Method parameters in net.minecraft.world.level.levelgen.feature with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic boolean
OreFeature.canPlaceOre
(BlockState pState, Function<BlockPos, BlockState> pAdjacentStateAccessor, RandomSource pRandom, OreConfiguration pConfig, OreConfiguration.TargetBlockState pTargetState, BlockPos.MutableBlockPos pMutablePos) static boolean
Feature.checkNeighbors
(Function<BlockPos, BlockState> pAdjacentStateAccessor, BlockPos pPos, Predicate<BlockState> pFilter) private void
FallenTreeFeature.decorateLogs
(WorldGenLevel pLevel, RandomSource pRandom, Set<BlockPos> pLogPositions, List<TreeDecorator> pDecorators) protected void
VegetationPatchFeature.distributeVegetation
(FeaturePlaceContext<VegetationPatchConfiguration> pContext, WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, Set<BlockPos> pPossiblePositions, int pXRadius, int pZRadius) private boolean
TreeFeature.doPlace
(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos, BiConsumer<BlockPos, BlockState> pRootBlockSetter, BiConsumer<BlockPos, BlockState> pTrunkBlockSetter, FoliagePlacer.FoliageSetter pFoliageBlockSetter, TreeConfiguration pConfig) static boolean
Feature.isAdjacentToAir
(Function<BlockPos, BlockState> pAdjacentStateAccessor, BlockPos pPos) private static boolean
WaterloggedVegetationPatchFeature.isExposed
(WorldGenLevel pLevel, Set<BlockPos> pPositions, BlockPos pPos, BlockPos.MutableBlockPos pMutablePos) private static DiscreteVoxelShape
TreeFeature.updateLeaves
(LevelAccessor pLevel, BoundingBox pBox, Set<BlockPos> pRootPositions, Set<BlockPos> pTrunkPositions, Set<BlockPos> pFoliagePositions) Constructors in net.minecraft.world.level.levelgen.feature with parameters of type BlockPosModifierConstructorDescriptionFeaturePlaceContext
(Optional<ConfiguredFeature<?, ?>> pTopFeature, WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pOrigin, FC pConfig) (package private)
LargeDripstone
(BlockPos pRoot, boolean pPointingUp, int pRadius, double pBluntness, double pScale) -
Uses of BlockPos in net.minecraft.world.level.levelgen.feature.configurations
Fields in net.minecraft.world.level.levelgen.feature.configurations declared as BlockPosFields in net.minecraft.world.level.levelgen.feature.configurations with type parameters of type BlockPosMethods in net.minecraft.world.level.levelgen.feature.configurations that return BlockPosMethods in net.minecraft.world.level.levelgen.feature.configurations that return types with arguments of type BlockPosMethods in net.minecraft.world.level.levelgen.feature.configurations with parameters of type BlockPosConstructors in net.minecraft.world.level.levelgen.feature.configurations with parameters of type BlockPosModifierConstructorDescriptionSpikeConfiguration
(boolean pCrystalInvulnerable, List<SpikeFeature.EndSpike> pSpikes, BlockPos pCrystalBeamTarget) Constructor parameters in net.minecraft.world.level.levelgen.feature.configurations with type arguments of type BlockPosModifierConstructorDescriptionprivate
EndGatewayConfiguration
(Optional<BlockPos> p_67644_, boolean p_67645_) private
SpikeConfiguration
(boolean p_68109_, List<SpikeFeature.EndSpike> p_68110_, Optional<BlockPos> p_68111_) -
Uses of BlockPos in net.minecraft.world.level.levelgen.feature.foliageplacers
Fields in net.minecraft.world.level.levelgen.feature.foliageplacers declared as BlockPosMethods in net.minecraft.world.level.levelgen.feature.foliageplacers that return BlockPosMethods in net.minecraft.world.level.levelgen.feature.foliageplacers with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
protected void
FoliagePlacer.placeLeavesRow
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, BlockPos pPos, int pRange, int pLocalY, boolean pLarge) protected final void
FoliagePlacer.placeLeavesRowWithHangingLeavesBelow
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, BlockPos pPos, int pRange, int pLocalY, boolean pLarge, float pHangingLeavesChance, float pHangingLeavesExtensionChance) void
FoliagePlacer.FoliageSetter.set
(BlockPos pPos, BlockState pState) private static boolean
FoliagePlacer.tryPlaceExtension
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, float pExtensionChance, BlockPos pLogPos, BlockPos.MutableBlockPos pPos) protected static boolean
FoliagePlacer.tryPlaceLeaf
(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, BlockPos pPos) Constructors in net.minecraft.world.level.levelgen.feature.foliageplacers with parameters of type BlockPosModifierConstructorDescriptionFoliageAttachment
(BlockPos pPos, int pRadiusOffset, boolean pDoubleTrunk) -
Uses of BlockPos in net.minecraft.world.level.levelgen.feature.rootplacers
Methods in net.minecraft.world.level.levelgen.feature.rootplacers that return BlockPosMethods in net.minecraft.world.level.levelgen.feature.rootplacers that return types with arguments of type BlockPosModifier and TypeMethodDescriptionMangroveRootPlacer.potentialRootPositions
(BlockPos pPos, Direction pDirection, RandomSource pRandom, BlockPos pTrunkOrigin) Methods in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type BlockPosModifier and TypeMethodDescriptionprotected boolean
MangroveRootPlacer.canPlaceRoot
(LevelSimulatedReader pLevel, BlockPos pPos) protected boolean
RootPlacer.canPlaceRoot
(LevelSimulatedReader pLevel, BlockPos pPos) protected BlockState
RootPlacer.getPotentiallyWaterloggedState
(LevelSimulatedReader pLevel, BlockPos pPos, BlockState pState) RootPlacer.getTrunkOrigin
(BlockPos pPos, RandomSource pRandom) protected void
MangroveRootPlacer.placeRoot
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) protected void
RootPlacer.placeRoot
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) boolean
MangroveRootPlacer.placeRoots
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) abstract boolean
RootPlacer.placeRoots
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) MangroveRootPlacer.potentialRootPositions
(BlockPos pPos, Direction pDirection, RandomSource pRandom, BlockPos pTrunkOrigin) private boolean
MangroveRootPlacer.simulateRoots
(LevelSimulatedReader pLevel, RandomSource pRandom, BlockPos pPos, Direction pDirection, BlockPos pTrunkOrigin, List<BlockPos> pRoots, int pLength) Method parameters in net.minecraft.world.level.levelgen.feature.rootplacers with type arguments of type BlockPosModifier and TypeMethodDescriptionprotected void
MangroveRootPlacer.placeRoot
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) protected void
RootPlacer.placeRoot
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) boolean
MangroveRootPlacer.placeRoots
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) abstract boolean
RootPlacer.placeRoots
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) private boolean
MangroveRootPlacer.simulateRoots
(LevelSimulatedReader pLevel, RandomSource pRandom, BlockPos pPos, Direction pDirection, BlockPos pTrunkOrigin, List<BlockPos> pRoots, int pLength) -
Uses of BlockPos in net.minecraft.world.level.levelgen.feature.stateproviders
Methods in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type BlockPosModifier and TypeMethodDescriptionprotected double
NoiseBasedStateProvider.getNoiseValue
(BlockPos pPos, double pDelta) protected BlockState
NoiseProvider.getRandomState
(List<BlockState> pPossibleStates, BlockPos pPos, double pDelta) protected double
DualNoiseProvider.getSlowNoiseValue
(BlockPos pPos) abstract BlockState
BlockStateProvider.getState
(RandomSource pRandom, BlockPos pPos) DualNoiseProvider.getState
(RandomSource pRandom, BlockPos pPos) NoiseProvider.getState
(RandomSource pRandom, BlockPos pPos) NoiseThresholdProvider.getState
(RandomSource pRandom, BlockPos pPos) RandomizedIntStateProvider.getState
(RandomSource pRandom, BlockPos pPos) RotatedBlockProvider.getState
(RandomSource pRandom, BlockPos pPos) RuleBasedBlockStateProvider.getState
(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos) SimpleStateProvider.getState
(RandomSource pRandom, BlockPos pPos) WeightedStateProvider.getState
(RandomSource pRandom, BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.level.levelgen.feature.treedecorators
Fields in net.minecraft.world.level.levelgen.feature.treedecorators with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final BiConsumer
<BlockPos, BlockState> TreeDecorator.Context.decorationSetter
private final it.unimi.dsi.fastutil.objects.ObjectArrayList
<BlockPos> TreeDecorator.Context.leaves
private final it.unimi.dsi.fastutil.objects.ObjectArrayList
<BlockPos> TreeDecorator.Context.logs
private final it.unimi.dsi.fastutil.objects.ObjectArrayList
<BlockPos> TreeDecorator.Context.roots
Methods in net.minecraft.world.level.levelgen.feature.treedecorators that return types with arguments of type BlockPosModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.objects.ObjectArrayList
<BlockPos> TreeDecorator.Context.leaves()
it.unimi.dsi.fastutil.objects.ObjectArrayList
<BlockPos> TreeDecorator.Context.logs()
it.unimi.dsi.fastutil.objects.ObjectArrayList
<BlockPos> TreeDecorator.Context.roots()
Methods in net.minecraft.world.level.levelgen.feature.treedecorators with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static void
LeaveVineDecorator.addHangingVine
(BlockPos pPos, BooleanProperty pSideProperty, TreeDecorator.Context pContext) private static void
PaleMossDecorator.addMossHanger
(BlockPos pPos, TreeDecorator.Context pContext) private void
PlaceOnGroundDecorator.attemptToPlaceBlockAbove
(TreeDecorator.Context pContext, BlockPos pPos) boolean
TreeDecorator.Context.checkBlock
(BlockPos pPos, Predicate<BlockState> pPredicate) private boolean
AttachedToLeavesDecorator.hasRequiredEmptyBlocks
(TreeDecorator.Context pContext, BlockPos pPos, Direction pDirection) boolean
private void
AlterGroundDecorator.placeBlockAt
(TreeDecorator.Context pContext, BlockPos pPos) private void
AlterGroundDecorator.placeBlockAt
(TreeDecorator.Context pContext, BlockPos pPos, AlterGroundEvent.StateProvider eventProvider) private void
AlterGroundDecorator.placeCircle
(TreeDecorator.Context pContext, BlockPos pPos) private void
AlterGroundDecorator.placeCircle
(TreeDecorator.Context pContext, BlockPos pPos, AlterGroundEvent.StateProvider eventProvider) void
TreeDecorator.Context.placeVine
(BlockPos pPos, BooleanProperty pSideProperty) void
TreeDecorator.Context.setBlock
(BlockPos pPos, BlockState pState) Constructor parameters in net.minecraft.world.level.levelgen.feature.treedecorators with type arguments of type BlockPosModifierConstructorDescriptionContext
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pDecorationSetter, RandomSource pRandom, Set<BlockPos> pLogs, Set<BlockPos> pLeaves, Set<BlockPos> pRoots) Context
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pDecorationSetter, RandomSource pRandom, Set<BlockPos> pLogs, Set<BlockPos> pLeaves, Set<BlockPos> pRoots) -
Uses of BlockPos in net.minecraft.world.level.levelgen.feature.trunkplacers
Methods in net.minecraft.world.level.levelgen.feature.trunkplacers with parameters of type BlockPosModifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter, Direction pDirection, int pSecondBranchStartOffsetFromTop, boolean pDoubleBranch, BlockPos.MutableBlockPos pCurrentPos) private Direction.Axis
FancyTrunkPlacer.getLogAxis
(BlockPos pPos, BlockPos pOtherPos) private int
private static boolean
TrunkPlacer.isDirt
(LevelSimulatedReader pLevel, BlockPos pPos) boolean
TrunkPlacer.isFree
(LevelSimulatedReader pLevel, BlockPos pPos) private void
FancyTrunkPlacer.makeBranches
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pMaxHeight, BlockPos pPos, List<FancyTrunkPlacer.FoliageCoords> pFoliageCoords, TreeConfiguration pConfig) private boolean
FancyTrunkPlacer.makeLimb
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pBasePos, BlockPos pOffsetPos, boolean pModifyWorld, TreeConfiguration pConfig) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter) private void
GiantTrunkPlacer.placeLogIfFreeWithOffset
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos.MutableBlockPos pPos, TreeConfiguration pConfig, BlockPos pOffsetPos, int pOffsetX, int pOffsetY, int pOffsetZ) BendingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) CherryTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) DarkOakTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) FancyTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) ForkingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) GiantTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) MegaJungleTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) StraightTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) abstract List
<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) UpwardsBranchingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) protected static void
TrunkPlacer.setDirtAt
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) protected boolean
TrunkPlacer.validTreePos
(LevelSimulatedReader pLevel, BlockPos pPos) protected boolean
UpwardsBranchingTrunkPlacer.validTreePos
(LevelSimulatedReader pLevel, BlockPos pPos) Method parameters in net.minecraft.world.level.levelgen.feature.trunkplacers with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter, Direction pDirection, int pSecondBranchStartOffsetFromTop, boolean pDoubleBranch, BlockPos.MutableBlockPos pCurrentPos) private void
FancyTrunkPlacer.makeBranches
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pMaxHeight, BlockPos pPos, List<FancyTrunkPlacer.FoliageCoords> pFoliageCoords, TreeConfiguration pConfig) private boolean
FancyTrunkPlacer.makeLimb
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pBasePos, BlockPos pOffsetPos, boolean pModifyWorld, TreeConfiguration pConfig) private void
UpwardsBranchingTrunkPlacer.placeBranch
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, TreeConfiguration pTreeConfig, List<FoliagePlacer.FoliageAttachment> pFoliageAttachments, BlockPos.MutableBlockPos pPos, int pY, Direction pDirection, int pExtraBranchLength, int pExtraBranchSteps) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter) protected void
TrunkPlacer.placeLogIfFree
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos.MutableBlockPos pPos, TreeConfiguration pConfig) private void
GiantTrunkPlacer.placeLogIfFreeWithOffset
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos.MutableBlockPos pPos, TreeConfiguration pConfig, BlockPos pOffsetPos, int pOffsetX, int pOffsetY, int pOffsetZ) BendingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) CherryTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) DarkOakTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) FancyTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) ForkingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) GiantTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) MegaJungleTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) StraightTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) abstract List
<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) UpwardsBranchingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) protected static void
TrunkPlacer.setDirtAt
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) Constructors in net.minecraft.world.level.levelgen.feature.trunkplacers with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.level.levelgen.placement
Fields in net.minecraft.world.level.levelgen.placement with type parameters of type BlockPosMethods in net.minecraft.world.level.levelgen.placement that return types with arguments of type BlockPosModifier and TypeMethodDescriptionCountOnEveryLayerPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) Deprecated.EnvironmentScanPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) FixedPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) HeightmapPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) HeightRangePlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) InSquarePlacement.getPositions
(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) PlacementModifier.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RandomOffsetPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RepeatingPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) Methods in net.minecraft.world.level.levelgen.placement with parameters of type BlockPosModifier and TypeMethodDescriptionprotected int
CountPlacement.count
(RandomSource pRandom, BlockPos pPos) protected int
NoiseBasedCountPlacement.count
(RandomSource pRandom, BlockPos pPos) protected int
NoiseThresholdCountPlacement.count
(RandomSource pRandom, BlockPos pPos) protected abstract int
RepeatingPlacement.count
(RandomSource pRandom, BlockPos pPos) PlacementContext.getBlockState
(BlockPos pPos) CountOnEveryLayerPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) Deprecated.EnvironmentScanPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) FixedPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) HeightmapPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) HeightRangePlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) InSquarePlacement.getPositions
(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) PlacementModifier.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RandomOffsetPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RepeatingPlacement.getPositions
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) private static boolean
FixedPlacement.isSameChunk
(int pX, int pZ, BlockPos pPos) static FixedPlacement
boolean
PlacedFeature.place
(WorldGenLevel pLevel, ChunkGenerator pGenerator, RandomSource pRandom, BlockPos pPos) boolean
PlacedFeature.placeWithBiomeCheck
(WorldGenLevel pLevel, ChunkGenerator pGenerator, RandomSource pRandom, BlockPos pPos) private boolean
PlacedFeature.placeWithContext
(PlacementContext pContext, RandomSource pSource, BlockPos pPos) protected boolean
BiomeFilter.shouldPlace
(PlacementContext p_226317_, RandomSource p_226318_, BlockPos p_226319_) protected boolean
BlockPredicateFilter.shouldPlace
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected abstract boolean
PlacementFilter.shouldPlace
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected boolean
RarityFilter.shouldPlace
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected boolean
SurfaceRelativeThresholdFilter.shouldPlace
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected boolean
SurfaceWaterDepthFilter.shouldPlace
(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) Constructor parameters in net.minecraft.world.level.levelgen.placement with type arguments of type BlockPos -
Uses of BlockPos in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as BlockPosModifier and TypeFieldDescriptionprotected BlockPos
PoolElementStructurePiece.position
private final BlockPos
Structure.GenerationStub.position
The field for theposition
record component.protected BlockPos
TemplateStructurePiece.templatePosition
Methods in net.minecraft.world.level.levelgen.structure that return BlockPosModifier and TypeMethodDescriptionBoundingBox.getCenter()
StructurePiece.getLocatorPosition()
protected BlockPos
Structure.getLowestYIn5by5BoxOffset7Blocks
(Structure.GenerationContext pContext, Rotation pRotation) Deprecated.PoolElementStructurePiece.getPosition()
Structure.GenerationStub.position()
Returns the value of theposition
record component.TemplateStructurePiece.templatePosition()
Methods in net.minecraft.world.level.levelgen.structure with parameters of type BlockPosModifier and TypeMethodDescriptionprotected boolean
StructurePiece.createChest
(ServerLevelAccessor pLevel, BoundingBox pBox, RandomSource pRandom, BlockPos pPos, ResourceKey<LootTable> pLootTable, BlockState pState) BoundingBox.encapsulate
(BlockPos p_162372_) Deprecated.protected abstract void
TemplateStructurePiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) void
PoolElementStructurePiece.place
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, BlockPos pPos, boolean pKeepJigsaws) void
PoolElementStructurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) abstract void
StructurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
TemplateStructurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) static BlockState
StructurePiece.reorient
(BlockGetter pLevel, BlockPos pPos, BlockState pState) Method parameters in net.minecraft.world.level.levelgen.structure with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic Optional
<BoundingBox> BoundingBox.encapsulatingPositions
(Iterable<BlockPos> pPositions) void
BoundingBox.forAllCorners
(Consumer<BlockPos> pPos) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type BlockPosModifierConstructorDescriptionBoundingBox
(BlockPos pPos) GenerationStub
(BlockPos position, com.mojang.datafixers.util.Either<Consumer<StructurePiecesBuilder>, StructurePiecesBuilder> generator) Creates an instance of aGenerationStub
record class.GenerationStub
(BlockPos p_226675_, Consumer<StructurePiecesBuilder> p_226676_) PoolElementStructurePiece
(StructureTemplateManager pStructureTemplateManager, StructurePoolElement pElement, BlockPos pPosition, int pGroundLevelDelta, Rotation pRotation, BoundingBox pBoundingBox, LiquidSettings pLiquidSettings) TemplateStructurePiece
(StructurePieceType pType, int pGenDepth, StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, String pTemplateName, StructurePlaceSettings pPlaceSettings, BlockPos pTemplatePosition) -
Uses of BlockPos in net.minecraft.world.level.levelgen.structure.pieces
Methods in net.minecraft.world.level.levelgen.structure.pieces with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.level.levelgen.structure.placement
Methods in net.minecraft.world.level.levelgen.structure.placement that return BlockPos -
Uses of BlockPos in net.minecraft.world.level.levelgen.structure.pools
Methods in net.minecraft.world.level.levelgen.structure.pools that return types with arguments of type BlockPosModifier and TypeMethodDescriptionJigsawPlacement.getRandomNamedJigsaw
(StructurePoolElement pElement, ResourceLocation pStartJigsawName, BlockPos pPos, Rotation pRotation, StructureTemplateManager pStructureTemplateManager, WorldgenRandom pRandom) Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type BlockPosModifier and TypeMethodDescriptionstatic Optional
<Structure.GenerationStub> JigsawPlacement.addPieces
(Structure.GenerationContext pContext, Holder<StructureTemplatePool> pStartPool, Optional<ResourceLocation> pStartJigsawName, int pMaxDepth, BlockPos pPos, boolean pUseExpansionHack, Optional<Heightmap.Types> pProjectStartToHeightmap, int pMaxDistanceFromCenter, PoolAliasLookup pAliasLookup, DimensionPadding pDimensionPadding, LiquidSettings pLiquidSettings) static boolean
JigsawPlacement.generateJigsaw
(ServerLevel pLevel, Holder<StructureTemplatePool> pStartPool, ResourceLocation pStartJigsawName, int pMaxDepth, BlockPos pPos, boolean pKeepJigsaws) EmptyPoolElement.getBoundingBox
(StructureTemplateManager p_227172_, BlockPos p_227173_, Rotation p_227174_) FeaturePoolElement.getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) ListPoolElement.getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) SinglePoolElement.getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) abstract BoundingBox
StructurePoolElement.getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) SinglePoolElement.getDataMarkers
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, boolean pRelativePosition) JigsawPlacement.getRandomNamedJigsaw
(StructurePoolElement pElement, ResourceLocation pStartJigsawName, BlockPos pPos, Rotation pRotation, StructureTemplateManager pStructureTemplateManager, WorldgenRandom pRandom) EmptyPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager p_227176_, BlockPos p_227177_, Rotation p_227178_, RandomSource p_227179_) FeaturePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) ListPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) SinglePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) abstract List
<StructureTemplate.JigsawBlockInfo> StructurePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) void
StructurePoolElement.handleDataMarker
(LevelAccessor pLevel, StructureTemplate.StructureBlockInfo pBlockInfo, BlockPos pPos, Rotation pRotation, RandomSource pRandom, BoundingBox pBox) boolean
EmptyPoolElement.place
(StructureTemplateManager p_227158_, WorldGenLevel p_227159_, StructureManager p_227160_, ChunkGenerator p_227161_, BlockPos p_227162_, BlockPos p_227163_, Rotation p_227164_, BoundingBox p_227165_, RandomSource p_227166_, LiquidSettings p_352245_, boolean p_227167_) boolean
FeaturePoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) boolean
ListPoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) boolean
SinglePoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) abstract boolean
StructurePoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) -
Uses of BlockPos in net.minecraft.world.level.levelgen.structure.pools.alias
Methods in net.minecraft.world.level.levelgen.structure.pools.alias with parameters of type BlockPosModifier and TypeMethodDescriptionstatic PoolAliasLookup
PoolAliasLookup.create
(List<PoolAliasBinding> pAliases, BlockPos pPos, long pSeed) -
Uses of BlockPos in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures declared as BlockPosModifier and TypeFieldDescription(package private) static final BlockPos
ShipwreckPieces.PIVOT
WoodlandMansionPieces.PlacementData.position
private BlockPos
DesertPyramidPiece.randomCollapsedRoofPos
Fields in net.minecraft.world.level.levelgen.structure.structures with type parameters of type BlockPosModifier and TypeFieldDescriptionEndCityPieces.FAT_TOWER_BRIDGES
(package private) static final Map
<ResourceLocation, BlockPos> IglooPieces.OFFSETS
(package private) static final Map
<ResourceLocation, BlockPos> IglooPieces.PIVOTS
DesertPyramidPiece.potentialSuspiciousSandWorldPositions
EndCityPieces.TOWER_BRIDGES
Methods in net.minecraft.world.level.levelgen.structure.structures that return BlockPosModifier and TypeMethodDescriptionStrongholdPieces.StartPiece.getLocatorPosition()
DesertPyramidPiece.getRandomCollapsedRoofPos()
private static BlockPos
IglooPieces.IglooPiece.makePosition
(ResourceLocation pLocation, BlockPos pPos, int pDown) Methods in net.minecraft.world.level.levelgen.structure.structures that return types with arguments of type BlockPosModifier and TypeMethodDescriptionOceanRuinPieces.allPositions
(RandomSource pRandom, BlockPos pPos) DesertPyramidPiece.getPotentialSuspiciousSandWorldPositions()
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type BlockPosModifier and TypeMethodDescriptionprivate void
DesertPyramidPiece.addCellarRoom
(BlockPos pPos, WorldGenLevel pLevel, BoundingBox pBox) private void
DesertPyramidPiece.addCellarStairs
(BlockPos pPos, WorldGenLevel pLevel, BoundingBox pBox) private static void
OceanRuinPieces.addClusterRuins
(StructureTemplateManager pStructureTemplateManager, RandomSource pRandom, Rotation pRotation, BlockPos pPos, OceanRuinStructure pStructure, StructurePieceAccessor pStructurePieceAccessor) private void
RuinedPortalPiece.addNetherrackDripColumn
(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) (package private) static EndCityPieces.EndCityPiece
EndCityPieces.addPiece
(StructureTemplateManager pStructureTemplateManager, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, String pName, Rotation pRotation, boolean pOverwrite) private static void
OceanRuinPieces.addPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pStructurePieceAccessor, RandomSource pRandom, OceanRuinStructure pStructure, boolean pIsLarge, float pIntegrity) static void
IglooPieces.addPieces
(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, StructurePieceAccessor pPieces, RandomSource pRandom) static void
NetherFossilPieces.addPieces
(StructureTemplateManager pStructureManager, StructurePieceAccessor pPieces, RandomSource pRandom, BlockPos pPos) static void
OceanRuinPieces.addPieces
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pStructurePieceAccessor, RandomSource pRandom, OceanRuinStructure pStructure) ShipwreckPieces.addRandomPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pPieces, RandomSource pRandom, boolean pIsBeached) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x1
(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pFrontDirection, Direction pSideDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms, boolean pIsStairs) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom2x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pFrontDirection, Direction pSideDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom2x2Secret
(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) OceanRuinPieces.allPositions
(RandomSource pRandom, BlockPos pPos) private boolean
RuinedPortalPiece.canBlockBeReplacedByNetherrackOrMagma
(LevelAccessor pLevel, BlockPos pPos) private boolean
MineshaftPieces.MineShaftCorridor.canHangChainBelow
(LevelReader pLevel, BlockPos pPos, BlockState pState) private boolean
MineshaftPieces.MineShaftCorridor.canPlaceColumnOnTopOf
(LevelReader pLevel, BlockPos pPos, BlockState pState) void
WoodlandMansionPieces.MansionPiecePlacer.createMansion
(BlockPos pPos, Rotation pRotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, WoodlandMansionPieces.MansionGrid pGrid) private void
WoodlandMansionPieces.MansionPiecePlacer.createRoof
(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, WoodlandMansionPieces.SimpleGrid pLayout, WoodlandMansionPieces.SimpleGrid pNextFloorLayout) boolean
EndCityPieces.SectionGenerator.generate
(StructureTemplateManager pStructureTemplateManager, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) static void
WoodlandMansionPieces.generateMansion
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, RandomSource pRandom) private void
EndCityStructure.generatePieces
(StructurePiecesBuilder pBuilder, BlockPos pStartPos, Rotation pRotation, Structure.GenerationContext pContext) private void
WoodlandMansionStructure.generatePieces
(StructurePiecesBuilder pBuilder, Structure.GenerationContext pContext, BlockPos pPos, Rotation pRotation) private int
OceanRuinPieces.OceanRuinPiece.getHeight
(BlockPos pTemplatePos, BlockGetter pLevel, BlockPos pPos) protected void
EndCityPieces.EndCityPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
IglooPieces.IglooPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
NetherFossilPieces.NetherFossilPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
OceanRuinPieces.OceanRuinPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
RuinedPortalPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
ShipwreckPieces.ShipwreckPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected void
WoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker
(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) private static boolean
private static BlockPos
IglooPieces.IglooPiece.makePosition
(ResourceLocation pLocation, BlockPos pPos, int pDown) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(Mirror pMirror, Rotation pRotation, RuinedPortalPiece.VerticalPlacement pVerticalPlacement, BlockPos pPos, RuinedPortalPiece.Properties pProperties) private void
RuinedPortalPiece.maybeAddLeavesAbove
(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private void
RuinedPortalPiece.maybeAddVines
(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private void
RuinedPortalPiece.placeNetherrackOrMagma
(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private static void
DesertPyramidStructure.placeSuspiciousSand
(BoundingBox pBoundingBox, WorldGenLevel pWorldGenLevel, BlockPos pPos) void
BuriedTreasurePieces.BuriedTreasurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
DesertPyramidPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
IglooPieces.IglooPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
JungleTemplePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftCorridor.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftStairs.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.BridgeCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.BridgeEndFiller.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.BridgeStraight.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleCorridorStairsPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleCorridorTBalconyPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleEntrance.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleStalkRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.MonsterThrone.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.RoomCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.StairsRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFossilPieces.NetherFossilPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.MonumentBuilding.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentCoreRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentEntryRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentPenthouse.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentSimpleRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentWingRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanRuinPieces.OceanRuinPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
RuinedPortalPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
ShipwreckPieces.ShipwreckPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.ChestCorridor.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.FillerCorridor.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.FiveCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.LeftTurn.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.Library.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.PortalRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.PrisonHall.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.RightTurn.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.RoomCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.StairsDown.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.Straight.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.StraightStairsDown.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
SwampHutPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) (package private) static boolean
EndCityPieces.recursiveChildren
(StructureTemplateManager pStructureTemplateManager, EndCityPieces.SectionGenerator pSectionGenerator, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) static void
EndCityPieces.startHouseTower
(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, List<StructurePiece> pPieces, RandomSource pRandom) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type BlockPosModifierConstructorDescriptionBuriedTreasurePiece
(BlockPos pPos) EndCityPiece
(StructureTemplateManager pStructureTemplateManager, String pName, BlockPos pStartPos, Rotation pRotation, boolean pOverwrite) IglooPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pStartPos, Rotation pRotation, int pDown) NetherFossilPiece
(StructureTemplateManager pStructureManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation) OceanRuinPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation, float pIntegrity, OceanRuinStructure.Type pBiomeType, boolean pIsLarge) RuinedPortalPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pTemplatePosition, RuinedPortalPiece.VerticalPlacement pVerticalPlacement, RuinedPortalPiece.Properties pProperties, ResourceLocation pLocation, StructureTemplate pTemplate, Rotation pRotation, Mirror pMirror, BlockPos pPivotPos) ShipwreckPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation, boolean pIsBeached) WoodlandMansionPiece
(StructureTemplateManager pStructureTemplateManager, String pTemplateName, BlockPos pTemplatePosition, Rotation pRotation) WoodlandMansionPiece
(StructureTemplateManager pStructureTemplateManager, String pTemplateName, BlockPos pTemplatePosition, Rotation pRotation, Mirror pMirror) -
Uses of BlockPos in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as BlockPosModifier and TypeFieldDescriptionfinal BlockPos
StructureTemplate.StructureEntityInfo.blockPos
private final BlockPos
StructureTemplate.StructureBlockInfo.pos
The field for thepos
record component.private BlockPos
StructurePlaceSettings.rotationPivot
Methods in net.minecraft.world.level.levelgen.structure.templatesystem that return BlockPosModifier and TypeMethodDescriptionStructureTemplate.calculateConnectedPosition
(StructurePlaceSettings pDecorator, BlockPos pStart, StructurePlaceSettings pSettings, BlockPos pEnd) static BlockPos
StructureTemplate.calculateRelativePosition
(StructurePlaceSettings pDecorator, BlockPos pPos) StructurePlaceSettings.getRotationPivot()
StructureTemplate.getZeroPositionWithTransform
(BlockPos pTargetPos, Mirror pMirror, Rotation pRotation) static BlockPos
StructureTemplate.getZeroPositionWithTransform
(BlockPos pPos, Mirror pMirror, Rotation pRotation, int pSizeX, int pSizeZ) StructureTemplate.StructureBlockInfo.pos()
Returns the value of thepos
record component.static BlockPos
StructureTemplate.transform
(BlockPos pTargetPos, Mirror pMirror, Rotation pRotation, BlockPos pOffset) Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type BlockPosModifier and TypeMethodDescriptionprivate void
StructureTemplate.addEntitiesToWorld
(ServerLevelAccessor p_74524_, BlockPos p_74525_, StructurePlaceSettings placementIn, ProblemReporter p_421857_) StructureTemplate.calculateConnectedPosition
(StructurePlaceSettings pDecorator, BlockPos pStart, StructurePlaceSettings pSettings, BlockPos pEnd) static BlockPos
StructureTemplate.calculateRelativePosition
(StructurePlaceSettings pDecorator, BlockPos pPos) private void
StructureTemplate.fillEntityList
(Level pLevel, BlockPos pPos1, BlockPos pPos2, ProblemReporter pProblemReporter) void
StructureTemplate.fillFromWorld
(Level pLevel, BlockPos pPos, Vec3i pSize, boolean pIncludeEntities, List<Block> pIgnoredBlocks) StructureTemplate.filterBlocks
(BlockPos pPos, StructurePlaceSettings pSettings, Block pBlock) it.unimi.dsi.fastutil.objects.ObjectArrayList
<StructureTemplate.StructureBlockInfo> StructureTemplate.filterBlocks
(BlockPos p_230336_, StructurePlaceSettings p_230337_, Block p_230338_, boolean p_230339_) CappedProcessor.finalizeProcessing
(ServerLevelAccessor pServerLevel, BlockPos pOffset, BlockPos pPos, List<StructureTemplate.StructureBlockInfo> pOriginalBlockInfos, List<StructureTemplate.StructureBlockInfo> pProcessedBlockInfos, StructurePlaceSettings pSettings) StructureProcessor.finalizeProcessing
(ServerLevelAccessor pServerLevel, BlockPos pOffset, BlockPos pPos, List<StructureTemplate.StructureBlockInfo> pOriginalBlockInfos, List<StructureTemplate.StructureBlockInfo> pProcessedBlockInfos, StructurePlaceSettings pSettings) StructureTemplate.getBoundingBox
(BlockPos pStartPos, Rotation pRotation, BlockPos pPivotPos, Mirror pMirror) protected static BoundingBox
StructureTemplate.getBoundingBox
(BlockPos pStartPos, Rotation pRotation, BlockPos pPivotPos, Mirror pMirror, Vec3i pSize) StructureTemplate.getBoundingBox
(StructurePlaceSettings pSettings, BlockPos pStartPos) StructureTemplate.getJigsaws
(BlockPos pPos, Rotation pRotation) StructurePlaceSettings.getRandomPalette
(List<StructureTemplate.Palette> pPalettes, BlockPos pPos) StructureTemplate.getZeroPositionWithTransform
(BlockPos pTargetPos, Mirror pMirror, Rotation pRotation) static BlockPos
StructureTemplate.getZeroPositionWithTransform
(BlockPos pPos, Mirror pMirror, Rotation pRotation, int pSizeX, int pSizeZ) boolean
StructureTemplate.placeInWorld
(ServerLevelAccessor pServerLevel, BlockPos pOffset, BlockPos pPos, StructurePlaceSettings pSettings, RandomSource pRandom, int pFlags) StructureProcessor.process
(LevelReader p_74140_, BlockPos p_74141_, BlockPos p_74142_, StructureTemplate.StructureBlockInfo p_74143_, StructureTemplate.StructureBlockInfo p_74144_, StructurePlaceSettings p_74145_, StructureTemplate template) BlackstoneReplaceProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) BlockAgeProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) BlockIgnoreProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) BlockRotProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) GravityProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) JigsawReplacementProcessor.processBlock
(LevelReader p_74127_, BlockPos p_74128_, BlockPos p_74129_, StructureTemplate.StructureBlockInfo p_74130_, StructureTemplate.StructureBlockInfo p_74131_, StructurePlaceSettings p_74132_) LavaSubmergedBlockProcessor.processBlock
(LevelReader p_74140_, BlockPos p_74141_, BlockPos p_74142_, StructureTemplate.StructureBlockInfo p_74143_, StructureTemplate.StructureBlockInfo p_74144_, StructurePlaceSettings p_74145_) ProtectedBlockProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) RuleProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) StructureProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) StructureTemplate.processBlockInfos
(ServerLevelAccessor pServerLevel, BlockPos pOffset, BlockPos pPos, StructurePlaceSettings pSettings, List<StructureTemplate.StructureBlockInfo> pBlockInfos) Deprecated.StructureTemplate.processBlockInfos
(ServerLevelAccessor pServerLevel, BlockPos pOffset, BlockPos pPos, StructurePlaceSettings pSettings, List<StructureTemplate.StructureBlockInfo> pBlockInfos, StructureTemplate template) StructureProcessor.processEntity
(LevelReader world, BlockPos seedPos, StructureTemplate.StructureEntityInfo rawEntityInfo, StructureTemplate.StructureEntityInfo entityInfo, StructurePlaceSettings placementSettings, StructureTemplate template) FORGE: Add entity processing.StructureTemplate.processEntityInfos
(StructureTemplate template, LevelAccessor p_215387_0_, BlockPos p_215387_1_, StructurePlaceSettings p_215387_2_, List<StructureTemplate.StructureEntityInfo> p_215387_3_) StructurePlaceSettings.setRotationPivot
(BlockPos pRotationPivot) boolean
AxisAlignedLinearPosTest.test
(BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) boolean
LinearPosTest.test
(BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) boolean
PosAlwaysTrueTest.test
(BlockPos p_230301_, BlockPos p_230302_, BlockPos p_230303_, RandomSource p_230304_) abstract boolean
PosRuleTest.test
(BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) boolean
ProcessorRule.test
(BlockState pInputState, BlockState pExistingState, BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) static BlockPos
StructureTemplate.transform
(BlockPos pTargetPos, Mirror pMirror, Rotation pRotation, BlockPos pOffset) static Vec3
StructureTemplate.transform
(Vec3 pTarget, Mirror pMirror, Rotation pRotation, BlockPos pCenterOffset) static void
StructureTemplate.updateShapeAtEdge
(LevelAccessor pLevel, int pFlags, DiscreteVoxelShape pShape, BlockPos pPos) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type BlockPosModifierConstructorDescriptionStructureBlockInfo
(BlockPos pos, BlockState state, CompoundTag nbt) Creates an instance of aStructureBlockInfo
record class.StructureEntityInfo
(Vec3 pPos, BlockPos pBlockPos, CompoundTag pNbt) -
Uses of BlockPos in net.minecraft.world.level.lighting
Methods in net.minecraft.world.level.lighting with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
LayerLightEventListener.DummyLightLayerEventListener.checkBlock
(BlockPos pPos) void
LevelLightEngine.checkBlock
(BlockPos pPos) void
LightEngine.checkBlock
(BlockPos pPos) void
LightEventListener.checkBlock
(BlockPos pPos) private int
ChunkSkyLightSources.findLowestSourceBelow
(BlockGetter pLevel, BlockPos pPos, BlockState pState) int
LayerLightEventListener.DummyLightLayerEventListener.getLightValue
(BlockPos pLevelPos) int
LayerLightEventListener.getLightValue
(BlockPos pLevelPos) int
LightEngine.getLightValue
(BlockPos pLevelPos) int
LevelLightEngine.getRawBrightness
(BlockPos pBlockPos, int pAmount) protected BlockState
static boolean
LightEngine.hasDifferentLightProperties
(BlockGetter level, BlockPos pos, BlockState p_285110_, BlockState p_285372_) private boolean
ChunkSkyLightSources.updateEdge
(BlockGetter pLevel, int pIndex, int pMinY, BlockPos pPos1, BlockState pState1, BlockPos pPos2, BlockState pState2) default void
LightEventListener.updateSectionStatus
(BlockPos pPos, boolean pIsQueueEmpty) -
Uses of BlockPos in net.minecraft.world.level.material
Fields in net.minecraft.world.level.material declared as BlockPosMethods in net.minecraft.world.level.material with parameters of type BlockPosModifier and TypeMethodDescriptionprotected void
Fluid.animateTick
(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) void
FluidState.animateTick
(Level pLevel, BlockPos pPos, RandomSource pRandom) void
LavaFluid.animateTick
(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) void
WaterFluid.animateTick
(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) protected abstract void
FlowingFluid.beforeDestroyingBlock
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected void
LavaFluid.beforeDestroyingBlock
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected void
WaterFluid.beforeDestroyingBlock
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) boolean
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) boolean
FlowingFluid.canConvertToSource
(FluidState state, ServerLevel level, BlockPos pos) 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) protected void
Fluid.entityInside
(Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) void
FluidState.entityInside
(Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
LavaFluid.entityInside
(Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
WaterFluid.entityInside
(Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) private void
LavaFluid.fizz
(LevelAccessor pLevel, BlockPos pPos) Fluid.getAABB
(FluidState pState, BlockGetter pLevel, BlockPos pPos) FluidState.getAABB
(BlockGetter pLevel, BlockPos pPos) FlowingFluid.SpreadContext.getBlockState
(BlockPos pPos) private BlockState
FlowingFluid.SpreadContext.getBlockState
(BlockPos pPos, short pCacheKey) private short
FlowingFluid.SpreadContext.getCacheKey
(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) protected FluidState
FlowingFluid.getNewLiquid
(ServerLevel pLevel, BlockPos pPos, BlockState pState) 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) protected int
FlowingFluid.getSlopeDistance
(LevelReader pLevel, BlockPos pPos, int pDepth, Direction pDirection, BlockState pState, FlowingFluid.SpreadContext pSpreadContext) protected Map
<Direction, FluidState> FlowingFluid.getSpread
(ServerLevel pLevel, BlockPos pPos, BlockState pState) protected int
FlowingFluid.getSpreadDelay
(Level pLevel, BlockPos pPos, FluidState pCurrentState, FluidState pNewState) int
LavaFluid.getSpreadDelay
(Level pLevel, BlockPos pPos, FluidState pCurrentState, FluidState pNewState) private boolean
LavaFluid.hasFlammableNeighbours
(LevelReader pLevel, BlockPos pPos) private static boolean
FlowingFluid.hasSameAbove
(FluidState pFluidState, BlockGetter pLevel, BlockPos pPos) private boolean
LavaFluid.isFlammable
(LevelReader pLevel, BlockPos pPos) Deprecated.Forge: useLavaFluid.isFlammable(LevelReader,BlockPos, Direction)
insteadprivate boolean
LavaFluid.isFlammable
(LevelReader pLevel, BlockPos pPos, Direction face) boolean
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) protected void
Fluid.randomTick
(ServerLevel pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) void
FluidState.randomTick
(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) void
LavaFluid.randomTick
(ServerLevel pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) boolean
FluidState.shouldRenderBackwardUpFace
(BlockGetter pLevel, BlockPos pPos) private int
FlowingFluid.sourceNeighborCount
(LevelReader pLevel, BlockPos pPos) Returns the number of immediately adjacent source blocks of the same fluid that lie on the horizontal plane.protected void
FlowingFluid.spread
(ServerLevel pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState) protected void
FlowingFluid.spreadTo
(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) protected void
LavaFluid.spreadTo
(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) private void
FlowingFluid.spreadToSides
(ServerLevel pLevel, BlockPos pPos, FluidState pFluidState, BlockState pBlockState) void
FlowingFluid.tick
(ServerLevel pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState) protected void
Fluid.tick
(ServerLevel pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState) void
FluidState.tick
(ServerLevel pLevel, BlockPos pPos, BlockState pState) Constructors in net.minecraft.world.level.material with parameters of type BlockPosModifierConstructorDescription(package private)
SpreadContext
(BlockGetter pLevel, BlockPos pOrigin) -
Uses of BlockPos in net.minecraft.world.level.pathfinder
Fields in net.minecraft.world.level.pathfinder declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
PathfindingContext.mobPosition
private final BlockPos
Path.target
Methods in net.minecraft.world.level.pathfinder that return BlockPosModifier and TypeMethodDescriptionNode.asBlockPos()
(package private) BlockPos
PathfindingContext.currentEvalPos()
Path.getNextNodePos()
Path.getNodePos
(int pIndex) Path.getTarget()
PathfindingContext.mobPosition()
Methods in net.minecraft.world.level.pathfinder that return types with arguments of type BlockPosModifier and TypeMethodDescriptionFlyNodeEvaluator.iteratePathfindingStartNodeCandidatePositions
(Mob pMob) Methods in net.minecraft.world.level.pathfinder with parameters of type BlockPosModifier and TypeMethodDescriptionprotected boolean
FlyNodeEvaluator.canStartAt
(BlockPos pPos) protected boolean
WalkNodeEvaluator.canStartAt
(BlockPos pPos) private PathType
PathTypeCache.compute
(BlockGetter pLevel, BlockPos pPos, int pIndex, long pPackedPos) float
Node.distanceManhattan
(BlockPos pPos) float
Node.distanceTo
(BlockPos pPos) float
Node.distanceToSqr
(BlockPos pPos) PathfindingContext.getBlockState
(BlockPos pPos) protected double
WalkNodeEvaluator.getFloorLevel
(BlockPos pPos) static double
WalkNodeEvaluator.getFloorLevel
(BlockGetter pLevel, BlockPos pPos) protected Node
PathTypeCache.getOrCompute
(BlockGetter pLevel, BlockPos pPos) NodeEvaluator.getPathType
(Mob pMob, BlockPos pPos) protected static PathType
WalkNodeEvaluator.getPathTypeFromState
(BlockGetter pLevel, BlockPos pPos) static PathType
WalkNodeEvaluator.getPathTypeStatic
(Mob pMob, BlockPos pPos) protected Node
WalkNodeEvaluator.getStartNode
(BlockPos pPos) void
PathTypeCache.invalidate
(BlockPos pPos) private Path
PathFinder.reconstructPath
(Node pPoint, BlockPos pTargetPos, boolean pReachesTarget) Converts a recursive path point structure into a pathMethod parameters in net.minecraft.world.level.pathfinder with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate Path
PathFinder.findPath
(Node pNode, Map<Target, BlockPos> pTargetPositions, float pMaxRange, int pAccuracy, float pSearchDepthMultiplier) Finds a path to one of the specified positions and post-processes it or returns null if no path could be found within given accuracyPathFinder.findPath
(PathNavigationRegion pRegion, Mob pMob, Set<BlockPos> pTargetPositions, float pMaxRange, int pAccuracy, float pSearchDepthMultiplier) Finds a path to one of the specified positions and post-processes it or returns null if no path could be found within given accuracyConstructors in net.minecraft.world.level.pathfinder with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.level.portal
Fields in net.minecraft.world.level.portal declared as BlockPosMethods in net.minecraft.world.level.portal that return BlockPosModifier and TypeMethodDescriptionprivate static BlockPos
PortalShape.calculateBottomLeft
(BlockGetter pLevel, Direction pDirection, BlockPos pPos) Methods in net.minecraft.world.level.portal that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPortalForcer.findClosestPortalPosition
(BlockPos pExitPos, boolean pIsNether, WorldBorder pWorldBorder) Methods in net.minecraft.world.level.portal with parameters of type BlockPosModifier 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) private boolean
PortalForcer.canHostFrame
(BlockPos pOriginalPos, BlockPos.MutableBlockPos pOffsetPos, Direction pDirection, int pOffsetScale) PortalForcer.createPortal
(BlockPos pPos, Direction.Axis pAxis) static PortalShape
PortalShape.findAnyShape
(BlockGetter pLevel, BlockPos pBottomLeft, Direction.Axis pAxis) PortalForcer.findClosestPortalPosition
(BlockPos pExitPos, boolean pIsNether, WorldBorder pWorldBorder) static Optional
<PortalShape> PortalShape.findEmptyPortalShape
(LevelAccessor pLevel, BlockPos pBottomLeft, Direction.Axis pAxis) static Optional
<PortalShape> PortalShape.findPortalShape
(LevelAccessor pLevel, BlockPos pBottomLeft, Predicate<PortalShape> pPredicate, 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) Constructors in net.minecraft.world.level.portal with parameters of type BlockPosModifierConstructorDescriptionprivate
PortalShape
(Direction.Axis pAxis, int pNumPortalBlocks, Direction pRightDir, BlockPos pBottomLeft, int pWidth, int pHeight) -
Uses of BlockPos in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
CollectingNeighborUpdater.ShapeUpdate.neighborPos
The field for theneighborPos
record component.private final BlockPos
CollectingNeighborUpdater.FullNeighborUpdate.pos
The field for thepos
record component.private final BlockPos
CollectingNeighborUpdater.ShapeUpdate.pos
The field for thepos
record component.private final BlockPos
CollectingNeighborUpdater.SimpleNeighborUpdate.pos
The field for thepos
record component.private final BlockPos
CollectingNeighborUpdater.MultiNeighborUpdate.sourcePos
Fields in net.minecraft.world.level.redstone with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockPos> ExperimentalRedstoneWireEvaluator.updatedWires
ExperimentalRedstoneWireEvaluator.wiresToTurnOff
ExperimentalRedstoneWireEvaluator.wiresToTurnOn
Methods in net.minecraft.world.level.redstone that return BlockPosModifier and TypeMethodDescriptionCollectingNeighborUpdater.ShapeUpdate.neighborPos()
Returns the value of theneighborPos
record component.CollectingNeighborUpdater.FullNeighborUpdate.pos()
Returns the value of thepos
record component.CollectingNeighborUpdater.ShapeUpdate.pos()
Returns the value of thepos
record component.CollectingNeighborUpdater.SimpleNeighborUpdate.pos()
Returns the value of thepos
record component.Methods in net.minecraft.world.level.redstone with parameters of type BlockPosModifier and TypeMethodDescriptionprivate void
CollectingNeighborUpdater.addAndRun
(BlockPos pPos, CollectingNeighborUpdater.NeighborUpdates pUpdates) private void
ExperimentalRedstoneWireEvaluator.calculateCurrentChanges
(Level pLevel, BlockPos pPos, Orientation pOrientation) private int
DefaultRedstoneWireEvaluator.calculateTargetStrength
(Level pLevel, BlockPos pPos) private void
ExperimentalRedstoneWireEvaluator.enqueueNeighborWire
(Level pLevel, BlockPos pPos, int pPower, Orientation pOrientation, boolean pCanTurnOff) static void
NeighborUpdater.executeShapeUpdate
(LevelAccessor pLevel, Direction pDirection, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, int pFlags, int pRecursionLeft) static void
NeighborUpdater.executeUpdate
(Level pLevel, BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected int
RedstoneWireEvaluator.getBlockSignal
(Level pLevel, BlockPos pPos) protected int
RedstoneWireEvaluator.getIncomingWireSignal
(Level pLevel, BlockPos pPos) protected int
ExperimentalRedstoneWireEvaluator.getWireSignal
(BlockPos pPos, BlockState pState) protected int
RedstoneWireEvaluator.getWireSignal
(BlockPos pPos, BlockState pState) void
CollectingNeighborUpdater.neighborChanged
(BlockPos pPos, Block pNeighborBlock, Orientation pOrientation) void
CollectingNeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) void
InstantNeighborUpdater.neighborChanged
(BlockPos pPos, Block pNeighborBlock, Orientation pOrientation) void
InstantNeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) void
NeighborUpdater.neighborChanged
(BlockPos pPos, Block pNeighborBlock, Orientation pOrientation) void
NeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) private void
ExperimentalRedstoneWireEvaluator.propagateChangeToNeighbors
(Level pLevel, BlockPos pPos, int pPower, Orientation pOrientation, boolean pCanTurnOff) private void
ExperimentalRedstoneWireEvaluator.setPower
(BlockPos pPos, int pPower, Orientation pOrientation) void
CollectingNeighborUpdater.shapeUpdate
(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) void
InstantNeighborUpdater.shapeUpdate
(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) void
NeighborUpdater.shapeUpdate
(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) void
CollectingNeighborUpdater.updateNeighborsAtExceptFromFacing
(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) default void
NeighborUpdater.updateNeighborsAtExceptFromFacing
(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) void
DefaultRedstoneWireEvaluator.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) void
ExperimentalRedstoneWireEvaluator.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) abstract void
RedstoneWireEvaluator.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) Constructors in net.minecraft.world.level.redstone with parameters of type BlockPosModifierConstructorDescription(package private)
FullNeighborUpdate
(BlockState state, BlockPos pos, Block block, Orientation orientation, boolean movedByPiston) Creates an instance of aFullNeighborUpdate
record class.(package private)
MultiNeighborUpdate
(BlockPos pSourcePos, Block pSourceBlock, Orientation pOrientation, Direction pSkipDirection) (package private)
ShapeUpdate
(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) Creates an instance of aShapeUpdate
record class.(package private)
SimpleNeighborUpdate
(BlockPos pos, Block block, Orientation orientation) Creates an instance of aSimpleNeighborUpdate
record class. -
Uses of BlockPos in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
MapBanner.pos
The field for thepos
record component.private final BlockPos
MapFrame.pos
The field for thepos
record component.Methods in net.minecraft.world.level.saveddata.maps that return BlockPosModifier and TypeMethodDescriptionMapBanner.pos()
Returns the value of thepos
record component.MapFrame.pos()
Returns the value of thepos
record component.Methods in net.minecraft.world.level.saveddata.maps with parameters of type BlockPosModifier and TypeMethodDescriptionstatic void
MapItemSavedData.addTargetDecoration
(ItemStack pStack, BlockPos pPos, String pType, Holder<MapDecorationType> pMapDecorationType) static String
static MapBanner
MapBanner.fromWorld
(BlockGetter pLevel, BlockPos pPos) void
MapItemSavedData.removedFromFrame
(BlockPos pPos, int pEntityId) boolean
MapItemSavedData.toggleBanner
(LevelAccessor pAccessor, BlockPos pPos) Constructors in net.minecraft.world.level.saveddata.maps with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as BlockPosMethods in net.minecraft.world.level.storage that return BlockPosModifier and TypeMethodDescriptionDerivedLevelData.getSpawnPos()
LevelData.getSpawnPos()
PrimaryLevelData.getSpawnPos()
Methods in net.minecraft.world.level.storage with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
void
void
Constructors in net.minecraft.world.level.storage with parameters of type BlockPosModifierConstructorDescriptionprivate
PrimaryLevelData
(CompoundTag p_277888_, boolean p_278109_, BlockPos p_320000_, float p_277542_, long p_277414_, long p_277635_, int p_277672_, int p_277714_, int p_278088_, boolean p_277943_, int p_278037_, boolean p_277644_, boolean p_277749_, boolean p_278004_, WorldBorder.Settings p_277729_, int p_277595_, int p_277794_, UUID p_277341_, Set<String> p_277989_, Set<String> p_277399_, TimerQueue<MinecraftServer> p_277860_, CompoundTag p_277936_, EndDragonFight.Data p_289764_, LevelSettings p_278064_, WorldOptions p_278072_, PrimaryLevelData.SpecialWorldProperty p_277548_, com.mojang.serialization.Lifecycle p_277915_) -
Uses of BlockPos in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
LocationCheck.offset
The field for theoffset
record component.Fields in net.minecraft.world.level.storage.loot.predicates with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.MapCodec
<BlockPos> LocationCheck.OFFSET_CODEC
Methods in net.minecraft.world.level.storage.loot.predicates that return BlockPosModifier and TypeMethodDescriptionLocationCheck.offset()
Returns the value of theoffset
record component.Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type BlockPosModifier and TypeMethodDescriptionstatic LootItemCondition.Builder
LocationCheck.checkLocation
(LocationPredicate.Builder pLocationPredicateBuilder, BlockPos pOffset) Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type BlockPosModifierConstructorDescriptionLocationCheck
(Optional<LocationPredicate> predicate, BlockPos offset) Creates an instance of aLocationCheck
record class. -
Uses of BlockPos in net.minecraft.world.phys
Fields in net.minecraft.world.phys declared as BlockPosMethods in net.minecraft.world.phys that return BlockPosMethods in net.minecraft.world.phys with parameters of type BlockPosModifier and TypeMethodDescriptionstatic BlockHitResult
static AABB
AABB.encapsulatingFullBlocks
(BlockPos pStartPos, BlockPos pEndPos) boolean
AABB.intersects
(BlockPos pPos) static BlockHitResult
Creates a new BlockRayTraceResult marked as a miss.BlockHitResult.withPosition
(BlockPos pPos) Constructors in net.minecraft.world.phys with parameters of type BlockPosModifierConstructorDescriptionprivate
BlockHitResult
(boolean pMiss, Vec3 pLocation, Direction pDirection, BlockPos pBlockPos, boolean pInside, boolean pWorldBorderHit) BlockHitResult
(Vec3 pLocation, Direction pDirection, BlockPos pBlockPos, boolean pInside) BlockHitResult
(Vec3 pLocation, Direction pDirection, BlockPos pBlockPos, boolean pInside, boolean pWorldBorderHit) -
Uses of BlockPos in net.minecraft.world.phys.shapes
Fields in net.minecraft.world.phys.shapes declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPos
MinecartCollisionContext.ingoreBelow
private BlockPos
MinecartCollisionContext.slopeIgnore
Methods in net.minecraft.world.phys.shapes with parameters of type BlockPosModifier and TypeMethodDescriptionCollisionContext.getCollisionShape
(BlockState pState, CollisionGetter pCollisionGetter, BlockPos pPos) EntityCollisionContext.getCollisionShape
(BlockState pState, CollisionGetter pCollisionGetter, BlockPos pPos) MinecartCollisionContext.getCollisionShape
(BlockState pState, CollisionGetter pCollisionGetter, BlockPos pPos) boolean
CollisionContext.isAbove
(VoxelShape pShape, BlockPos pPos, boolean pCanAscend) boolean
EntityCollisionContext.isAbove
(VoxelShape pShape, BlockPos pPos, boolean pCanAscend) -
Uses of BlockPos in net.minecraft.world.ticks
Fields in net.minecraft.world.ticks declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
SavedTick.pos
The field for thepos
record component.private final BlockPos
ScheduledTick.pos
The field for thepos
record component.Fields in net.minecraft.world.ticks with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Function
<BlockPos, TickContainerAccess<T>> WorldGenTickAccess.containerGetter
Methods in net.minecraft.world.ticks that return BlockPosModifier and TypeMethodDescriptionSavedTick.pos()
Returns the value of thepos
record component.ScheduledTick.pos()
Returns the value of thepos
record component.Methods in net.minecraft.world.ticks with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
LevelChunkTicks.hasScheduledTick
(BlockPos pPos, T pType) boolean
LevelTicks.hasScheduledTick
(BlockPos pPos, T pType) boolean
ProtoChunkTicks.hasScheduledTick
(BlockPos pPos, T pType) boolean
TickAccess.hasScheduledTick
(BlockPos pPos, T pType) boolean
WorldGenTickAccess.hasScheduledTick
(BlockPos pPos, T pType) static <T> SavedTick
<T> static <T> ScheduledTick
<T> boolean
LevelTickAccess.willTickThisTick
(BlockPos pPos, T pType) boolean
LevelTicks.willTickThisTick
(BlockPos pPos, T pType) boolean
WorldGenTickAccess.willTickThisTick
(BlockPos pPos, T pType) Method parameters in net.minecraft.world.ticks with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate void
LevelTicks.runCollectedTicks
(BiConsumer<BlockPos, T> pTicker) void
LevelTicks.tick
(long pGameTime, int pMaxAllowedTicks, BiConsumer<BlockPos, T> pTicker) Constructors in net.minecraft.world.ticks with parameters of type BlockPosModifierConstructorDescriptionSavedTick
(T type, BlockPos pos, int delay, TickPriority priority) Creates an instance of aSavedTick
record class.ScheduledTick
(T p_193383_, BlockPos p_193384_, long p_193385_, long p_193386_) ScheduledTick
(T type, BlockPos pos, long triggerTick, TickPriority priority, long subTickOrder) Creates an instance of aScheduledTick
record class.Constructor parameters in net.minecraft.world.ticks with type arguments of type BlockPosModifierConstructorDescriptionWorldGenTickAccess
(Function<BlockPos, TickContainerAccess<T>> pContainerGetter) -
Uses of BlockPos in net.minecraft.world.waypoints
Fields in net.minecraft.world.waypoints declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPos
WaypointTransmitter.EntityBlockConnection.lastPosition
-
Uses of BlockPos in net.neoforged.neoforge.capabilities
Fields in net.neoforged.neoforge.capabilities declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
BlockCapabilityCache.pos
private final BlockPos
CapabilityListenerHolder.ListenerReference.pos
Methods in net.neoforged.neoforge.capabilities that return BlockPosMethods in net.neoforged.neoforge.capabilities with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
CapabilityListenerHolder.addListener
(BlockPos pos, ICapabilityInvalidationListener listener) Adds a listener.static <T,
C extends @Nullable Object>
BlockCapabilityCache<T, C> BlockCapabilityCache.create
(BlockCapability<T, C> capability, ServerLevel level, BlockPos pos, C context) Creates a new cache instance and registers it to the level.static <T,
C extends @Nullable Object>
BlockCapabilityCache<T, C> BlockCapabilityCache.create
(BlockCapability<T, C> capability, ServerLevel level, BlockPos pos, C context, BooleanSupplier isValid, Runnable invalidationListener) Creates a new cache instance with an invalidation listener, and registers it to the level.BlockCapability.getCapability
(Level level, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity, C context) IBlockCapabilityProvider.getCapability
(Level level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, C context) Returns the capability, ornull
if not available.void
CapabilityListenerHolder.invalidatePos
(BlockPos pos) Invalidates listeners at a specific block position.Constructors in net.neoforged.neoforge.capabilities with parameters of type BlockPosModifierConstructorDescriptionprivate
BlockCapabilityCache
(BlockCapability<T, C> capability, ServerLevel level, BlockPos pos, C context, BooleanSupplier isValid, Runnable invalidationListener) private
ListenerReference
(ReferenceQueue<ICapabilityInvalidationListener> queue, BlockPos pos, ICapabilityInvalidationListener listener) -
Uses of BlockPos in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return BlockPosModifier and TypeMethodDescriptionIRenderableSection.getRenderOrigin()
Returns the block position at the origin of the section.Methods in net.neoforged.neoforge.client with parameters of type BlockPosModifier and TypeMethodDescriptionClientHooks.gatherAdditionalRenderers
(BlockPos sectionOrigin, Level level) static boolean
ClientHooks.isInTranslucentBlockOutlinePass
(Level level, BlockPos pos, BlockState state) static boolean
ClientHooks.renderBlockOverlay
(Player player, PoseStack mat, RenderBlockScreenEffectEvent.OverlayType type, BlockState block, BlockPos pos) -
Uses of BlockPos in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
RenderBlockScreenEffectEvent.blockPos
private final BlockPos
AddSectionGeometryEvent.sectionOrigin
Methods in net.neoforged.neoforge.client.event that return BlockPosModifier and TypeMethodDescriptionRenderBlockScreenEffectEvent.getBlockPos()
Returns the position of the block which the overlay is gotten from.AddSectionGeometryEvent.getSectionOrigin()
Constructors in net.neoforged.neoforge.client.event with parameters of type BlockPosModifierConstructorDescriptionAddSectionGeometryEvent
(BlockPos sectionOrigin, Level level) RenderBlockScreenEffectEvent
(Player player, PoseStack poseStack, RenderBlockScreenEffectEvent.OverlayType type, BlockState block, BlockPos blockPos) -
Uses of BlockPos in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type BlockPosModifier and TypeMethodDescriptiondefault List
<BlockModelPart> BlockStateModelExtension.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) Helper to collects the parts of the model into a new list.default void
BlockStateModelExtension.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) Collects the parts of the model that should be rendered.default @Nullable Object
BlockStateModelExtension.createGeometryKey
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) Collects all the data used by the model to produce renderable geometry.default TextureAtlasSprite
BlockStateModelExtension.particleIcon
(BlockAndTintGetter level, BlockPos pos, BlockState state) Returns the particle icon. -
Uses of BlockPos in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type BlockPosModifier and TypeMethodDescriptiondefault boolean
IClientBlockExtensions.addDestroyEffects
(BlockState state, Level Level, BlockPos pos, ParticleEngine manager) Spawn particles for when the block is destroyed.default boolean
IClientBlockExtensions.areBreakingParticlesTinted
(BlockState state, ClientLevel level, BlockPos pos) Returns true if the breaking particles created from theBlockState
passed should be tinted with biome colors.default ResourceLocation
IClientFluidTypeExtensions.getFlowingTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a flowing fluid.default org.joml.Vector3d
IClientBlockExtensions.getFogColor
(BlockState state, LevelReader level, BlockPos pos, Entity entity, org.joml.Vector3d originalColor, float partialTick) NOT CURRENTLY IMPLEMENTEDdefault ResourceLocation
IClientFluidTypeExtensions.getOverlayTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.default ResourceLocation
IClientFluidTypeExtensions.getStillTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a source fluid.default int
IClientFluidTypeExtensions.getTintColor
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the tint applied to the fluid's textures.default boolean
IClientBlockExtensions.playBreakSound
(BlockState state, Level level, BlockPos pos) Play breaking sound(s) when the block is destroyed.default boolean
IClientBlockExtensions.playHitSound
(BlockState state, Level level, BlockPos pos, Direction face, SoundManager soundManager) Play hit sound(s) when the block is punched.default boolean
IClientFluidTypeExtensions.renderFluid
(FluidState fluidState, BlockAndTintGetter getter, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState) Called to allow rendering custom quads for a fluid during chunk meshing. -
Uses of BlockPos in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
DelegateBlockStateModel.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) void
DynamicBlockStateModel.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) DelegateBlockStateModel.particleIcon
(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of BlockPos in net.neoforged.neoforge.client.model.ao
Methods in net.neoforged.neoforge.client.model.ao with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
EnhancedAoRenderStorage.calculate
(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) private void
EnhancedAoRenderStorage.calculateAxisAligned
(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) Computes AO for an axis-aligned quad.(package private) AoCalculatedFace
FullFaceCalculator.calculateFace
(BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) private void
FullFaceCalculator.calculateFaceUncached
(AoCalculatedFace out, BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) Computes the AO for a full face.private void
EnhancedAoRenderStorage.calculateIrregular
(BlockAndTintGetter level, BlockState state, BlockPos pos, boolean shade) Computes AO for a general quad. -
Uses of BlockPos in net.neoforged.neoforge.client.model.block
Methods in net.neoforged.neoforge.client.model.block with parameters of type BlockPosModifier and TypeMethodDescriptionvoid
CompositeBlockModel.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) @Nullable Object
CompositeBlockModel.createGeometryKey
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) -
Uses of BlockPos in net.neoforged.neoforge.client.textures
Methods in net.neoforged.neoforge.client.textures with parameters of type BlockPosModifier and TypeMethodDescriptionstatic TextureAtlasSprite[]
FluidSpriteCache.getFluidSprites
(BlockAndTintGetter level, BlockPos pos, FluidState fluid) Returns an array holding the still sprite, the flowing sprite and the overlay sprite (if specified, otherwise null) of the given fluid at the given position. -
Uses of BlockPos in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common that return types with arguments of type BlockPosModifier and TypeMethodDescriptionCommonHooks.isLivingOnLadder
(BlockState state, Level level, BlockPos pos, LivingEntity entity) Methods in net.neoforged.neoforge.common with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
CommonHooks.canCropGrow
(Level level, BlockPos pos, BlockState state, boolean def) Checks if a crop can grow by firingCropGrowEvent.Pre
.static boolean
CommonHooks.canEntityDestroy
(ServerLevel level, BlockPos pos, LivingEntity entity) boolean
SpecialPlantable.canPlacePlantAtPosition
(ItemStack itemStack, LevelReader level, BlockPos pos, @Nullable Direction direction) Checks location if this item can spawn a plant with the given direction attachment point.static BlockEvent.BreakEvent
CommonHooks.fireBlockBreak
(Level level, GameType gameType, ServerPlayer player, BlockPos pos, BlockState state) FiresBlockEvent.BreakEvent
, pre-emptively canceling the event based on the conditions that will cause the block to not be broken anyway.static void
CommonHooks.fireCropGrowPost
(Level level, BlockPos pos, BlockState state) static void
CommonHooks.handleBlockDrops
(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Fires theBlockDropsEvent
when block drops (items and experience) are determined.static boolean
FarmlandWaterManager.hasBlockWaterTicket
(LevelReader level, BlockPos pos) Tests if a block is in a region that is watered by blocks.CommonHooks.isLivingOnLadder
(BlockState state, Level level, BlockPos pos, LivingEntity entity) default boolean
IShearable.isShearable
(@Nullable Player player, ItemStack item, Level level, BlockPos pos) Checks if this object can be sheared.CommonHooks.onClientMineHold
(Player player, BlockPos pos, Direction face) static boolean
CommonHooks.onFarmlandTrample
(ServerLevel level, BlockPos pos, BlockState state, double fallDistance, Entity entity) CommonHooks.onLeftClickBlock
(Player player, BlockPos pos, Direction face, ServerboundPlayerActionPacket.Action action) static int
CommonHooks.onNoteChange
(Level level, BlockPos pos, BlockState state, int old, int _new) CommonHooks.onRightClickBlock
(Player player, InteractionHand hand, BlockPos pos, BlockHitResult hitVec) Shears this object.void
SpecialPlantable.spawnPlantAtPosition
(ItemStack itemStack, LevelAccessor level, BlockPos pos, @Nullable Direction direction) Spawns the plant with the given direction attachment point at location.default void
IShearable.spawnShearedDrop
(ServerLevel level, BlockPos pos, ItemStack drop) Performs the logic used to drop a shear result into the world at the correct position and with the proper movement.static boolean
CommonHooks.tryDispenseShearsHarvestBlock
(BlockSource source, ItemStack stack, ServerLevel level, BlockPos pos) Attempts to modify target block usingItemAbilities.SHEARS_HARVEST
inShearsDispenseItemBehavior
, consistent with vanilla beehive harvest behavior (also controlled byItemAbilities.SHEARS_HARVEST
). -
Uses of BlockPos in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type BlockPosModifier and TypeMethodDescriptiondefault boolean
IBlockExtension.addLandingEffects
(BlockState state1, ServerLevel level, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default boolean
IBlockStateExtension.addLandingEffects
(ServerLevel level, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default boolean
IBlockExtension.addRunningEffects
(BlockState state, Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default boolean
IBlockStateExtension.addRunningEffects
(Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default 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
IFluidExtension.canConvertToSource
(FluidState state, ServerLevel level, BlockPos pos) Returns whether the fluid can create a source.default boolean
IFluidStateExtension.canConvertToSource
(ServerLevel level, BlockPos pos) Returns whether the fluid can create a source.default 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.boolean
IEntityExtension.canTrample
(ServerLevel level, BlockState state, BlockPos pos, double fallDistance) 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 boolean
IItemExtension.doesSneakBypassUse
(ItemStack stack, LevelReader level, BlockPos pos, Player player) Should this item, when held, allow sneak-clicks to pass through to the underlying block?default boolean
IItemStackExtension.doesSneakBypassUse
(LevelReader level, BlockPos pos, Player player) Should this item, when held, allow sneak-clicks to pass through to the underlying block?default boolean
IDispensibleContainerItemExtension.emptyContents
(@Nullable LivingEntity entity, Level level, BlockPos pos, @Nullable BlockHitResult hitResult, @Nullable ItemStack container) Empties the contents of the container and returns whether it was successful.default void
IFallableExtension.fallingTick
(Level level, BlockPos currentPosition, FallingBlockEntity entity) Called inFallingBlockEntity.tick()
after vanilla processing on both server and client.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 BlockState
IBlockExtension.getAppearance
(BlockState state, BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this block reports to look like on the given side, for querying by other mods.default BlockState
IBlockStateExtension.getAppearance
(BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this state reports to look like on the given side for querying by other mods.default @Nullable AuxiliaryLightManager
IBlockGetterExtension.getAuxLightManager
(BlockPos pos) Get theAuxiliaryLightManager
of the chunk containing the givenBlockPos
.default @Nullable Integer
IBlockExtension.getBeaconColorMultiplier
(BlockState state, LevelReader level, BlockPos pos, BlockPos beaconPos) default @Nullable Integer
IBlockStateExtension.getBeaconColorMultiplier
(LevelReader level, BlockPos pos, BlockPos beacon) default Direction
IBlockExtension.getBedDirection
(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default Direction
IBlockStateExtension.getBedDirection
(LevelReader level, BlockPos pos) Returns the direction of the block.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 <T,
C extends @Nullable Object>
TILevelExtension.getCapability
(BlockCapability<T, C> cap, BlockPos pos, C context) Retrieve a block capability.default <T,
C extends @Nullable Object>
TILevelExtension.getCapability
(BlockCapability<T, C> cap, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity, C context) Retrieve a block capability.default <T> T
ILevelExtension.getCapability
(BlockCapability<T, @Nullable Void> cap, BlockPos pos) Retrieve a block capability with no context.default <T> T
ILevelExtension.getCapability
(BlockCapability<T, @Nullable Void> cap, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity) Retrieve a block capability with no context.default ItemStack
IBlockExtension.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state, boolean includeData, Player player) Called when A user uses the creative pick block button on this blockdefault ItemStack
IBlockStateExtension.getCloneItemStack
(BlockPos pos, LevelReader level, boolean includeData, Player player) Called when A user uses the creative pick block button on this blockdefault float
IBlockExtension.getEnchantPowerBonus
(BlockState state, LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default float
IBlockStateExtension.getEnchantPowerBonus
(LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default int
IBlockExtension.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.default int
IBlockStateExtension.getExpDrop
(LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.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 float
IBlockExtension.getFriction
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default float
IBlockStateExtension.getFriction
(LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.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.default ModelData
IBlockGetterExtension.getModelData
(BlockPos pos) Retrieves model data for a block at the given position.IBaseRailBlockExtension.getRailDirection
(BlockState state, BlockGetter level, BlockPos pos, @Nullable AbstractMinecart cart) Return the rail's direction.default float
IBaseRailBlockExtension.getRailMaxSpeed
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) Returns the max speed of the rail at the specified position.default Optional
<ServerPlayer.RespawnPosAngle> IBlockExtension.getRespawnPosition
(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation) Returns the position that the entity is moved to upon respawning at this block.default Optional
<ServerPlayer.RespawnPosAngle> IBlockStateExtension.getRespawnPosition
(EntityType<?> type, LevelReader level, BlockPos pos, float orientation) Returns the position that the entity is moved to upon respawning at this block.default SoundType
IBlockExtension.getSoundType
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault SoundType
IBlockStateExtension.getSoundType
(LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault 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.getWeakChanges
(BlockState state, LevelReader level, BlockPos pos) If this block should be notified of weak changes.default boolean
IBlockStateExtension.getWeakChanges
(LevelReader level, BlockPos pos) If this block should be notified of weak changes.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 void
ILevelExtension.invalidateCapabilities
(BlockPos pos) Notify all listeners that the capabilities at a specific position might have changed.default boolean
ILevelReaderExtension.isAreaLoaded
(BlockPos center, int range) 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.isConduitFrame
(BlockState state, LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default boolean
IBlockStateExtension.isConduitFrame
(LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.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.isFireSource
(BlockState state, LevelReader level, BlockPos pos, Direction direction) Currently only called by fire when it is on top of this block.default boolean
IBlockStateExtension.isFireSource
(LevelReader level, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.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.isLadder
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IBlockStateExtension.isLadder
(LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.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.default boolean
IBlockExtension.isScaffolding
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IBlockExtension.makesOpenTrapdoorAboveClimbable
(BlockState state, LevelReader level, BlockPos pos, BlockState trapdoorState) Checks if this block makes an open trapdoor above it climbable.default void
IBlockExtension.onBlockExploded
(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default void
IBlockStateExtension.onBlockExploded
(ServerLevel level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default void
IBlockExtension.onBlockStateChange
(LevelReader level, BlockPos pos, BlockState oldState, BlockState newState) Called after theBlockState
at the givenBlockPos
was changed and neighbors were updated.default void
IBlockStateExtension.onBlockStateChange
(LevelReader level, BlockPos pos, BlockState oldState) Called after theBlockState
at the givenBlockPos
was changed and neighbors were updated.default boolean
IBlockExtension.onCaughtFire
(BlockState state, Level level, BlockPos pos, @Nullable Direction direction, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default boolean
IBlockStateExtension.onCaughtFire
(Level level, BlockPos pos, @Nullable Direction face, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default boolean
IBlockExtension.onDestroyedByPlayer
(BlockState state, Level level, BlockPos pos, Player player, boolean willHarvest, FluidState fluid) Called when a player removes a block.default boolean
IBlockStateExtension.onDestroyedByPlayer
(Level level, BlockPos pos, Player player, boolean willHarvest, FluidState fluid) Called when a player removes a block.default void
IBlockExtension.onDestroyedByPushReaction
(BlockState state, Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY
.default void
IBlockStateExtension.onDestroyedByPushReaction
(Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY
.default void
IBaseRailBlockExtension.onMinecartPass
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) This function is called by any minecart that passes over this rail.default void
IBlockExtension.onNeighborChange
(BlockState state, LevelReader level, BlockPos pos, BlockPos neighbor) Called when a block entity on a side of this block changes, is created, or is destroyed.default void
IBlockStateExtension.onNeighborChange
(LevelReader level, BlockPos pos, BlockPos neighbor) Called when a block entity on a side of this block changes, is created, or is destroyed.default boolean
IBlockExtension.onTreeGrow
(BlockState state, LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default boolean
IBlockStateExtension.onTreeGrow
(LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default OptionalInt
IPlayerExtension.openMenu
(MenuProvider menuProvider, BlockPos pos) Request to open a GUI on the client, from the serverdefault void
IBlockExtension.playFallSound
(BlockState state, Level level, BlockPos pos, LivingEntity entity) Allows a block to override the standard fall sound played inLivingEntity.playBlockFallSound()
.default void
IBlockStateExtension.playFallSound
(Level level, BlockPos pos, LivingEntity entity) Allows a block to override the standard fall sound played inLivingEntity.playBlockFallSound()
.default void
IBlockExtension.playStepSound
(BlockState state, Level level, BlockPos pos, Entity entity, float volumeMultiplier, float pitchMultiplier) Allows a block to override the standard step sound played in:Entity.playCombinationStepSounds(BlockState, BlockState, BlockPos, BlockPos)
(primary step sound only)Entity.playMuffledStepSound(BlockState, BlockPos)
(usually the secondary sound in a call to the above method)Entity.playStepSound(BlockPos, BlockState)
(simple step sound) The volume and pitch of any sound played in this method should be multiplied with the provided multipliers to replicate the behaviour of the callers.default void
IBlockStateExtension.playStepSound
(Level level, BlockPos pos, Entity entity, float volumeMultiplier, float pitchMultiplier) Allows a block to override the standard step sound played in:Entity.playCombinationStepSounds(BlockState, BlockState, BlockPos, BlockPos)
(primary step sound only)Entity.playMuffledStepSound(BlockState, BlockPos)
(usually the secondary sound in a call to the above method)Entity.playStepSound(BlockPos, BlockState)
(simple step sound) The volume and pitch of any sound played in this method should be multiplied with the provided multipliers to replicate the behaviour of the callers.default BlockState
IBlockExtension.rotate
(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default BlockState
IBlockStateExtension.rotate
(LevelAccessor level, BlockPos pos, Rotation direction) default void
IBlockExtension.setBedOccupied
(BlockState state, Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default void
IBlockStateExtension.setBedOccupied
(Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default boolean
IBlockExtension.shouldCheckWeakPower
(BlockState state, SignalGetter level, BlockPos pos, Direction side) Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.default boolean
IBlockStateExtension.shouldCheckWeakPower
(SignalGetter level, BlockPos pos, Direction side) Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.default boolean
IBlockExtension.shouldDisplayFluidOverlay
(BlockState state, BlockAndTintGetter level, BlockPos pos, FluidState fluidState) Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid.default boolean
IBlockStateExtension.shouldDisplayFluidOverlay
(BlockAndTintGetter level, BlockPos pos, FluidState fluidState) Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid.Method parameters in net.neoforged.neoforge.common.extensions with type arguments of type BlockPosModifier and TypeMethodDescriptiondefault boolean
IBlockExtension.onTreeGrow
(BlockState state, LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default boolean
IBlockStateExtension.onTreeGrow
(LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer. -
Uses of BlockPos in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util declared as BlockPosMethods in net.neoforged.neoforge.common.util that return BlockPosMethods in net.neoforged.neoforge.common.util with parameters of type BlockPosModifier and TypeMethodDescriptionstatic BlockSnapshot
BlockSnapshot.create
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos) Creates a new snapshot with the default block flags (and Block#UPDATE_CLIENTS
.static BlockSnapshot
BlockSnapshot.create
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, int flag) Creates a new snapshot of the data at the given position.private static @Nullable CompoundTag
BlockSnapshot.getBlockEntityTag
(LevelAccessor level, BlockPos pos) Checks for a block entity at a given position, and saves it to NBT with full metadata if it exists.boolean
BlockSnapshot.restoreBlockEntity
(LevelAccessor level, BlockPos pos) Loads the storedBlockEntity
data if one exists at the given position.boolean
BlockSnapshot.restoreToLocation
(LevelAccessor level, BlockPos pos, int flags) Restores this block snapshot to the target level and position with the specified flags.Constructors in net.neoforged.neoforge.common.util with parameters of type BlockPosModifierConstructorDescriptionprivate
BlockSnapshot
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags) -
Uses of BlockPos in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world with type parameters of type BlockPosMethods in net.neoforged.neoforge.common.world with parameters of type BlockPosModifier and TypeMethodDescriptionint
AuxiliaryLightManager.getLightAt
(BlockPos pos) Returns the light value at the given position or 0 if none is present.int
LevelChunkAuxiliaryLightManager.getLightAt
(BlockPos pos) default void
AuxiliaryLightManager.removeLightAt
(BlockPos pos) Remove the light value at the given positionvoid
AuxiliaryLightManager.setLightAt
(BlockPos pos, int value) Set the light value at the given position to the given valuevoid
LevelChunkAuxiliaryLightManager.setLightAt
(BlockPos pos, int value) Method parameters in net.neoforged.neoforge.common.world with type arguments of type BlockPosModifier and TypeMethodDescriptionvoid
LevelChunkAuxiliaryLightManager.handleLightDataSync
(Map<BlockPos, Byte> lights) -
Uses of BlockPos in net.neoforged.neoforge.common.world.chunk
Fields in net.neoforged.neoforge.common.world.chunk with type parameters of type BlockPosModifier and TypeFieldDescriptionForcedChunkManager.OwnedChunks.BLOCK_CHUNK_CODEC
ForcedChunkManager.OwnedChunks.blockChunks
The field for theblockChunks
record component.TicketHelper.blockTickets
Methods in net.neoforged.neoforge.common.world.chunk that return types with arguments of type BlockPosModifier and TypeMethodDescriptionForcedChunkManager.OwnedChunks.blockChunks()
Returns the value of theblockChunks
record component.TicketHelper.getBlockTickets()
Returns all "BLOCK" tickets this controller had registered and which block positions are forcing which chunks.Methods in net.neoforged.neoforge.common.world.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
TicketController.forceChunk
(ServerLevel level, BlockPos owner, int chunkX, int chunkZ, boolean add, boolean forceNaturalSpawning) Forces a chunk to be loaded with the "owner" of the ticket being a given block position.void
TicketHelper.removeAllTickets
(BlockPos owner) Removes all tickets that a given block was responsible for; both normal and ones forcing natural spawning.void
TicketHelper.removeTicket
(BlockPos owner, long chunk, boolean forceNaturalSpawning) Removes the ticket for the given chunk that a given block was responsible for.Constructor parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type BlockPosModifierConstructorDescriptionOwnedChunks
(ResourceLocation controller, Map<BlockPos, TicketSet> blockChunks, Map<UUID, TicketSet> entityChunks) Creates an instance of aOwnedChunks
record class.(package private)
TicketHelper
(TicketStorage saveData, ResourceLocation controllerId, Map<BlockPos, TicketSet> blockTickets, Map<UUID, TicketSet> entityTickets) -
Uses of BlockPos in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type BlockPosModifier and TypeMethodDescriptionstatic boolean
EventHooks.canCreateFluidSource
(ServerLevel level, BlockPos pos, BlockState state) Checks if a fluid is allowed to create a fluid source.static com.mojang.datafixers.util.Either
<Player.BedSleepingProblem, Unit> EventHooks.canPlayerStartSleeping
(ServerPlayer player, BlockPos pos, com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> vanillaResult) static boolean
EventHooks.checkSpawnPlacements
(EntityType<?> entityType, ServerLevelAccessor level, EntitySpawnReason spawnType, BlockPos pos, RandomSource random, boolean defaultResult) static boolean
EventHooks.doPlayerHarvestCheck
(Player player, BlockState state, BlockGetter level, BlockPos pos) static BlockGrowFeatureEvent
EventHooks.fireBlockGrowFeature
(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> holder) Fires theBlockGrowFeatureEvent
and returns the event object.static BonemealEvent
EventHooks.fireBonemealEvent
(@Nullable Player player, Level level, BlockPos pos, BlockState state, ItemStack stack) Called when bone meal (or equivalent) is used on a block.static BlockState
EventHooks.fireFluidPlaceBlockEvent
(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) static PlayerSpawnPhantomsEvent
EventHooks.firePlayerSpawnPhantoms
(ServerPlayer player, ServerLevel level, BlockPos pos) Called fromPhantomSpawner.tick(net.minecraft.server.level.ServerLevel, boolean, boolean)
just before the spawn conditions for phantoms are evaluated.static float
EventHooks.getBreakSpeed
(Player player, BlockState state, float original, BlockPos pos) EventHooks.getPotentialSpawns
(LevelAccessor level, MobCategory category, BlockPos pos, WeightedList<MobSpawnSettings.SpawnerData> oldList) static int
EventHooks.onEnchantmentLevelSet
(Level level, BlockPos pos, int enchantRow, int power, ItemStack itemStack, int enchantmentLevel) static boolean
EventHooks.onEntityDestroyBlock
(LivingEntity entity, BlockPos pos, BlockState state) EventHooks.onNeighborNotify
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) static void
EventHooks.onPistonMovePost
(Level level, BlockPos pos, Direction direction, boolean extending) static boolean
EventHooks.onPistonMovePre
(Level level, BlockPos pos, Direction direction, boolean extending) static Optional
<PortalShape> EventHooks.onTrySpawnPortal
(LevelAccessor level, BlockPos pos, Optional<PortalShape> size) Method parameters in net.neoforged.neoforge.event with type arguments of type BlockPosModifier and TypeMethodDescriptionEventHooks.alterGround
(TreeDecorator.Context ctx, List<BlockPos> positions, AlterGroundEvent.StateProvider provider) Fires theAlterGroundEvent
and retrieves the resultingAlterGroundEvent.StateProvider
.static Vec3
EventHooks.getExplosionKnockback
(Level level, ServerExplosion explosion, Entity entity, Vec3 initialVelocity, List<BlockPos> blocks) To be called when an explosion has calculated the knockback velocity but has not yet added the knockback to the entity caught in blast. -
Uses of BlockPos in net.neoforged.neoforge.event.enchanting
Fields in net.neoforged.neoforge.event.enchanting declared as BlockPosMethods in net.neoforged.neoforge.event.enchanting that return BlockPosModifier and TypeMethodDescriptionEnchantmentLevelSetEvent.getPos()
Get the pos of the enchantment tableConstructors in net.neoforged.neoforge.event.enchanting with parameters of type BlockPosModifierConstructorDescriptionEnchantmentLevelSetEvent
(Level level, BlockPos pos, int enchantRow, int power, ItemStack itemStack, int enchantLevel) -
Uses of BlockPos in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
LivingDestroyBlockEvent.pos
private final BlockPos
MobSpawnEvent.SpawnPlacementCheck.pos
Methods in net.neoforged.neoforge.event.entity.living that return BlockPosModifier and TypeMethodDescriptionLivingDestroyBlockEvent.getPos()
MobSpawnEvent.SpawnPlacementCheck.getPos()
Constructors in net.neoforged.neoforge.event.entity.living with parameters of type BlockPosModifierConstructorDescriptionLivingDestroyBlockEvent
(LivingEntity entity, BlockPos pos, BlockState state) SpawnPlacementCheck
(EntityType<?> entityType, ServerLevelAccessor level, EntitySpawnReason spawnType, BlockPos pos, RandomSource random, boolean defaultResult) Internal. -
Uses of BlockPos in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as BlockPosModifier and TypeFieldDescriptionprivate static final BlockPos
PlayerEvent.BreakSpeed.LEGACY_UNKNOWN
private final @Nullable BlockPos
PlayerSetSpawnEvent.newSpawn
private final BlockPos
BonemealEvent.pos
private final BlockPos
CanPlayerSleepEvent.pos
private final BlockPos
PlayerEvent.HarvestCheck.pos
private final BlockPos
PlayerInteractEvent.pos
private final BlockPos
UseItemOnBlockEvent.pos
Fields in net.neoforged.neoforge.event.entity.player with type parameters of type BlockPosMethods in net.neoforged.neoforge.event.entity.player that return BlockPosModifier and TypeMethodDescription@Nullable BlockPos
PlayerSetSpawnEvent.getNewSpawn()
The new spawn position, or null if the spawn position is being reset.BonemealEvent.getPos()
Returns the position of the bone mealed block.CanPlayerSleepEvent.getPos()
PlayerEvent.HarvestCheck.getPos()
PlayerInteractEvent.getPos()
If the interaction was on an entity, will be a BlockPos centered on the entity.UseItemOnBlockEvent.getPos()
If the interaction was on an entity, will be a BlockPos centered on the entity.Methods in net.neoforged.neoforge.event.entity.player that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPlayerEvent.BreakSpeed.getPosition()
CanContinueSleepingEvent.getSleepingPos()
Returns the sleeping position of the sleeping entity.Methods in net.neoforged.neoforge.event.entity.player with parameters of type BlockPosModifier and TypeMethodDescriptionboolean
PlayerSpawnPhantomsEvent.shouldSpawnPhantoms
(ServerLevel level, BlockPos pos) Checks if a spawn attempt should be made by checking the current result and evaluating the vanilla conditions if necessary.Constructors in net.neoforged.neoforge.event.entity.player with parameters of type BlockPosModifierConstructorDescriptionBonemealEvent
(@Nullable Player player, Level level, BlockPos pos, BlockState state, ItemStack stack) BreakSpeed
(Player player, BlockState state, float original, @Nullable BlockPos pos) CanPlayerSleepEvent
(ServerPlayer player, BlockPos pos, @Nullable Player.BedSleepingProblem problem) HarvestCheck
(Player player, BlockState state, BlockGetter level, BlockPos pos, boolean success) LeftClickBlock
(Player player, BlockPos pos, Direction face, PlayerInteractEvent.LeftClickBlock.Action action) protected
PlayerInteractEvent
(Player player, InteractionHand hand, BlockPos pos, @Nullable Direction face) RightClickBlock
(Player player, InteractionHand hand, BlockPos pos, BlockHitResult hitVec) -
Uses of BlockPos in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPos
BlockEvent.FluidPlaceBlockEvent.liquidPos
private final BlockPos
BlockEvent.pos
private final BlockPos
BlockGrowFeatureEvent.pos
private final BlockPos
LevelEvent.PotentialSpawns.pos
Fields in net.neoforged.neoforge.event.level with type parameters of type BlockPosModifier and TypeFieldDescriptionExplosionEvent.Detonate.blockList
ExplosionKnockbackEvent.blockList
AlterGroundEvent.positions
Methods in net.neoforged.neoforge.event.level that return BlockPosModifier and TypeMethodDescriptionPistonEvent.getFaceOffsetPos()
Helper method that gets the piston position offset by its facingBlockEvent.FluidPlaceBlockEvent.getLiquidPos()
BlockEvent.getPos()
BlockGrowFeatureEvent.getPos()
Returns the coordinates of the sapling attempting to grow.LevelEvent.PotentialSpawns.getPos()
Returns the block position where the chosen mob will be spawned..Methods in net.neoforged.neoforge.event.level that return types with arguments of type BlockPosModifier and TypeMethodDescriptionExplosionEvent.Detonate.getAffectedBlocks()
return the list of blocks affected by the explosion.ExplosionKnockbackEvent.getAffectedBlocks()
return the list of blocks affected by the explosion.AlterGroundEvent.getPositions()
The list of positions that are considered roots is different depending on if the context has roots, logs, or both.Methods in net.neoforged.neoforge.event.level with parameters of type BlockPosModifier and TypeMethodDescriptionAlterGroundEvent.StateProvider.getState
(RandomSource random, BlockPos state) Gets the BlockState that will be placed at the passed position.Constructors in net.neoforged.neoforge.event.level with parameters of type BlockPosModifierConstructorDescriptionBlockDropsEvent
(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Constructs a new BlockDropsEventBlockEvent
(LevelAccessor level, BlockPos pos, BlockState state) BlockGrowFeatureEvent
(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> feature) BreakEvent
(Level level, BlockPos pos, BlockState state, Player player) Change
(Level world, BlockPos pos, BlockState state, int oldNote, int newNote) FarmlandTrampleEvent
(Level level, BlockPos pos, BlockState state, double fallDistance, Entity entity) FluidPlaceBlockEvent
(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) NeighborNotifyEvent
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) protected
NoteBlockEvent
(Level world, BlockPos pos, BlockState state, int note) PistonEvent
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Play
(Level world, BlockPos pos, BlockState state, int note, NoteBlockInstrument instrument) PortalSpawnEvent
(LevelAccessor level, BlockPos pos, BlockState state, PortalShape size) Post
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) PotentialSpawns
(LevelAccessor level, MobCategory category, BlockPos pos, WeightedList<MobSpawnSettings.SpawnerData> oldList) Pre
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Constructor parameters in net.neoforged.neoforge.event.level with type arguments of type BlockPosModifierConstructorDescriptionAlterGroundEvent
(TreeDecorator.Context ctx, List<BlockPos> positions, AlterGroundEvent.StateProvider provider) ExplosionKnockbackEvent
(Level level, ServerExplosion explosion, Entity entity, Vec3 knockbackVelocity, List<BlockPos> blockList) -
Uses of BlockPos in net.neoforged.neoforge.event.level.block
Constructors in net.neoforged.neoforge.event.level.block with parameters of type BlockPosModifierConstructorDescriptionCreateFluidSourceEvent
(ServerLevel level, BlockPos pos, BlockState state) CropGrowEvent
(Level level, BlockPos pos, BlockState state) Post
(Level level, BlockPos pos, BlockState original, BlockState state) Pre
(Level level, BlockPos pos, BlockState state) -
Uses of BlockPos in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type BlockPosModifier and TypeMethodDescriptionprotected void
BaseFlowingFluid.beforeDestroyingBlock
(LevelAccessor worldIn, BlockPos pos, BlockState state) final boolean
FluidType.canBePlacedInLevel
(BlockAndTintGetter getter, BlockPos pos, FluidState state) Returns whether the fluid can be placed in the level.final boolean
FluidType.canBePlacedInLevel
(BlockAndTintGetter getter, BlockPos pos, FluidStack stack) Returns whether the fluid can be placed in the level.protected boolean
BaseFlowingFluid.canBeReplacedWith
(FluidState state, BlockGetter level, BlockPos pos, Fluid fluidIn, Direction direction) boolean
BaseFlowingFluid.canConvertToSource
(FluidState state, ServerLevel level, BlockPos pos) boolean
FluidType.canConvertToSource
(FluidState state, LevelReader reader, BlockPos pos) Returns whether the fluid can create a source.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.static boolean
FluidInteractionRegistry.canInteract
(Level level, BlockPos pos) Performs all potential fluid interactions at a given position.static void
FluidUtil.destroyBlockOnFluidPlacement
(Level level, BlockPos pos) Destroys a block when a fluid is placed in the same position.@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.FluidType.getBlockForFluidState
(BlockAndTintGetter getter, BlockPos pos, FluidState state) Returns the associatedBlockState
for aFluidState
.@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.int
FluidType.getDensity
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the density of the fluid.private static IFluidHandler
FluidUtil.getFluidBlockHandler
(Fluid fluid, Level level, BlockPos pos) Internal method for getting a fluid block handler for placing a fluid.static Optional
<IFluidHandler> FluidUtil.getFluidHandler
(Level level, BlockPos blockPos, @Nullable Direction side) Helper method to get an IFluidHandler for at a block position.int
FluidType.getLightLevel
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the light level emitted by the fluid.@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.FluidType.getStateForPlacement
(BlockAndTintGetter getter, BlockPos pos, FluidStack stack) Returns theFluidState
when aFluidStack
is trying to place it.int
FluidType.getTemperature
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the temperature of the fluid.int
FluidType.getViscosity
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the viscosity, or thickness, of the fluid.boolean
FluidType.handleCauldronDrip
(Fluid fluid, Level level, BlockPos cauldronPos) Returns whether a fluid above a pointed dripstone block can successfully fill a cauldron below.void
FluidInteractionRegistry.FluidInteraction.interact
(Level level, BlockPos currentPos, BlockPos relativePos, FluidState currentState) Performs the interaction between the source and the surrounding data.static boolean
FluidUtil.interactWithFluidHandler
(Player player, InteractionHand hand, Level level, BlockPos pos, @Nullable Direction side) Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler block.boolean
FluidType.isVaporizedOnPlacement
(Level level, BlockPos pos, FluidStack stack) Determines if this fluid should be vaporized when placed into a level.void
FluidType.onVaporize
(@Nullable LivingEntity entity, Level level, BlockPos pos, FluidStack stack) Performs an action when a fluid can be vaporized when placed into a level.boolean
FluidInteractionRegistry.HasFluidInteraction.test
(Level level, BlockPos currentPos, BlockPos relativePos, FluidState currentState) Returns whether the interaction can occur.static FluidActionResult
FluidUtil.tryPickUpFluid
(ItemStack emptyContainer, @Nullable Player playerIn, Level level, BlockPos pos, Direction side) Attempts to pick up a fluid in the level and put it in an empty container item.static FluidActionResult
FluidUtil.tryPlaceFluid
(@Nullable Player player, Level level, InteractionHand hand, BlockPos pos, ItemStack container, FluidStack resource) static boolean
FluidUtil.tryPlaceFluid
(@Nullable Player player, Level level, InteractionHand hand, BlockPos pos, IFluidHandler fluidSource, FluidStack resource) Tries to place a fluid resource into the level as a block and drains the fluidSource. -
Uses of BlockPos in net.neoforged.neoforge.fluids.capability.wrappers
Fields in net.neoforged.neoforge.fluids.capability.wrappers declared as BlockPosModifier and TypeFieldDescriptionprotected final BlockPos
BlockWrapper.blockPos
protected final BlockPos
BlockWrapper.LiquidContainerBlockWrapper.blockPos
protected final BlockPos
BucketPickupHandlerWrapper.blockPos
private final BlockPos
CauldronWrapper.pos
Constructors in net.neoforged.neoforge.fluids.capability.wrappers with parameters of type BlockPosModifierConstructorDescriptionBlockWrapper
(BlockState state, Level world, BlockPos blockPos) BucketPickupHandlerWrapper
(Player player, BucketPickup bucketPickupHandler, Level world, BlockPos blockPos) CauldronWrapper
(Level level, BlockPos pos) LiquidContainerBlockWrapper
(LiquidBlockContainer liquidContainer, Level world, BlockPos blockPos) -
Uses of BlockPos in net.neoforged.neoforge.gametest
Methods in net.neoforged.neoforge.gametest that return BlockPosMethods in net.neoforged.neoforge.gametest that return types with arguments of type BlockPos -
Uses of BlockPos in net.neoforged.neoforge.model.data
Fields in net.neoforged.neoforge.model.data with type parameters of type BlockPosMethods in net.neoforged.neoforge.model.data with parameters of type BlockPos -
Uses of BlockPos in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload with type parameters of type BlockPosModifier and TypeFieldDescriptionAuxiliaryLightDataPayload.entries
The field for theentries
record component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type BlockPosModifier and TypeMethodDescriptionAuxiliaryLightDataPayload.entries()
Returns the value of theentries
record component.Constructor parameters in net.neoforged.neoforge.network.payload with type arguments of type BlockPosModifierConstructorDescriptionAuxiliaryLightDataPayload
(ChunkPos pos, Map<BlockPos, Byte> entries) Creates an instance of aAuxiliaryLightDataPayload
record class. -
Uses of BlockPos in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static int
GenerateCommand.executeGeneration
(CommandSourceStack source, BlockPos pos, int chunkRadius, boolean progressBar)
ModelBlockRenderer.shouldRenderFace(BlockAndTintGetter, BlockPos, BlockState, boolean, Direction, BlockPos)
instead