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 BlockPosBlockUtil.FoundRectangle.minCornerStarting 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 StringCrashReportCategory.formatLocation(LevelHeightAccessor pLevelHeightAccessor, BlockPos pPos) static BlockUtil.FoundRectangleBlockUtil.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 voidCrashReportCategory.populateBlockDetails(CrashReportCategory pCategory, LevelHeightAccessor pLevelHeightAccessor, BlockPos pPos, BlockState pState) static CrashReportCategoryCrashReportCategory.populateBlockLocationDetails(CrashReportCategory pCategory, LevelHeightAccessor pLevelHeightAccessor, BlockPos pPos) Method parameters in net.minecraft with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic BlockUtil.FoundRectangleBlockUtil.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 intBlockUtil.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 TypeMethodDescriptionbooleanBlockPredicate.matches(ServerLevel pLevel, BlockPos pPos) booleanFluidPredicate.matches(ServerLevel pLevel, BlockPos pPos) booleanLightPredicate.matches(ServerLevel pLevel, BlockPos pPos) voidAnyBlockInteractionTrigger.trigger(ServerPlayer pPlayer, BlockPos pPos, ItemStack pStack) voidDefaultBlockInteractionTrigger.trigger(ServerPlayer pPlayer, BlockPos pPos) voidItemUsedOnLocationTrigger.trigger(ServerPlayer pPlayer, BlockPos pPos, ItemStack pStack) voidUsedEnderEyeTrigger.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 voidKeyboardHandler.copyCreateBlockCommand(BlockState pState, BlockPos pPos, CompoundTag pCompound) voidDebugQueryHandler.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 TypeMethodDescriptionintBlockColor.getColor(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos, int pTintIndex) intBlockColors.getColor(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos, int pTintIndex) intBlockColors.getColor(BlockState pState, Level pLevel, BlockPos pPos) intConstructor 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 BlockPosMultiPlayerGameMode.destroyBlockPosprivate BlockPosClientLevel.ClientLevelData.spawnPosMethods in net.minecraft.client.multiplayer that return BlockPosMethods in net.minecraft.client.multiplayer with parameters of type BlockPosModifier and TypeMethodDescriptionvoidClientLevel.addDestroyBlockEffect(BlockPos p_171667_, BlockState p_171668_) intClientLevel.calculateBlockTint(BlockPos pBlockPos, ColorResolver pColorResolver) booleanMultiPlayerGameMode.continueDestroyBlock(BlockPos pPosBlock, Direction pDirectionFacing) booleanMultiPlayerGameMode.destroyBlock(BlockPos pPos) voidClientLevel.destroyBlockProgress(int pBreakerId, BlockPos pPos, int pProgress) intClientLevel.getBlockTint(BlockPos pBlockPos, ColorResolver pColorResolver) intClientLevel.getClientLeafTintColor(BlockPos p_400248_) ClientLevel.getModelData(BlockPos pos) voidClientLevel.globalLevelEvent(int pId, BlockPos pPos, int pData) voidMultiPlayerGameMode.handlePickItemFromBlock(BlockPos pPos, boolean pIncludeData) voidClientLevel.levelEvent(Entity p_394519_, int p_104655_, BlockPos p_104656_, int p_104657_) private booleanMultiPlayerGameMode.sameDestroyTarget(BlockPos pPos) voidClientLevel.sendBlockUpdated(BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) Flags are as in setBlockStatebooleanClientLevel.setBlock(BlockPos p_233643_, BlockState p_233644_, int p_233645_, int p_233646_) voidClientLevel.setBlocksDirty(BlockPos pBlockPos, BlockState pOldState, BlockState pNewState) voidClientLevel.setDefaultSpawnPos(BlockPos pSpawnPos, float pSpawnAngle) voidClientLevel.setServerVerifiedBlockState(BlockPos pPos, BlockState pState, int pFlags) voidprivate voidClientLevel.spawnParticle(BlockPos pPos, ParticleOptions pParticleData, VoxelShape pVoxelShape, double pY) booleanMultiPlayerGameMode.startDestroyBlock(BlockPos pLoc, Direction pFace) Called when the player is hitting a block with an item.voidClientLevel.syncBlockState(BlockPos pPos, BlockState pState, Vec3 pPlayerPos) private voidClientLevel.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 TypeMethodDescriptionvoidBlockStatePredictionHandler.retainKnownServerState(BlockPos pPos, BlockState pState, LocalPlayer pPlayer) voidBlockStatePredictionHandler.retainSnapshot(BlockPos pos, BlockSnapshot snapshot) Sets the stored BlockSnapshot on the ServerVerifiedState for the given position.booleanBlockStatePredictionHandler.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 TypeMethodDescriptionvoidParticleEngine.addBlockHitEffects(BlockPos pos, BlockHitResult target) voidAdds block hit particles for the specified blockvoidParticleEngine.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 BlockPosOctree.cameraSectionCenterprivate BlockPosLevelRenderer.lastTranslucentSortBlockPosFields in net.minecraft.client.renderer with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map<BlockPos, SoundInstance> LevelEventHandler.playingJukeboxSongsMethods 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 TypeMethodDescriptionvoidLevelRenderer.blockChanged(BlockGetter pLevel, BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) voidLevelRenderer.destroyBlockProgress(int pBreakerId, BlockPos pPos, int pProgress) private static intBiomeColors.getAverageColor(BlockAndTintGetter pLevel, BlockPos pBlockPos, ColorResolver pColorResolver) static intBiomeColors.getAverageDryFoliageColor(BlockAndTintGetter pLevel, BlockPos pBlockPos) static intBiomeColors.getAverageFoliageColor(BlockAndTintGetter pLevel, BlockPos pBlockPos) static intBiomeColors.getAverageGrassColor(BlockAndTintGetter pLevel, BlockPos pBlockPos) static intBiomeColors.getAverageWaterColor(BlockAndTintGetter pLevel, BlockPos pBlockPos) static intLevelRenderer.getLightColor(LevelRenderer.BrightnessGetter pBrightnessGetter, BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos) static intLevelRenderer.getLightColor(BlockAndTintGetter pLevel, BlockPos pPos) private Biome.PrecipitationWeatherEffectRenderer.getPrecipitationAt(Level pLevel, BlockPos pPos) protected SectionRenderDispatcher.RenderSectionViewArea.getRenderSectionAt(BlockPos pPos) voidLevelEventHandler.globalLevelEvent(int pType, BlockPos pPos, int pData) Handles a global level event.booleanLevelRenderer.isSectionCompiled(BlockPos pPos) voidLevelEventHandler.levelEvent(int pType, BlockPos pPos, int pData) private voidLevelEventHandler.notifyNearbyEntities(Level pLevel, BlockPos pPos, boolean pPlaying) Notifies living entities in a 3 block range of the specifiedposthat a record is or isn't playing nearby, dependent on the specifiedplayingparameter.intLevelRenderer.BrightnessGetter.packedBrightness(BlockAndTintGetter pLevel, BlockPos pPos) private voidLevelEventHandler.playJukeboxSong(Holder<JukeboxSong> pSong, BlockPos pPos) private voidLevelRenderer.renderHitOutline(PoseStack pPoseStack, VertexConsumer pBuffer, Entity pEntity, double pCamX, double pCamY, double pCamZ, BlockPos pPos, BlockState pState, int pColor) private voidLevelRenderer.setBlockDirty(BlockPos pPos, boolean pReRenderOnMainThread) voidLevelRenderer.setBlockDirty(BlockPos pPos, BlockState pOldState, BlockState pNewState) private voidLevelEventHandler.shootParticles(int pDirection, BlockPos pPos, RandomSource pRandom, SimpleParticleType pParticleType) private voidLevelEventHandler.stopJukeboxSong(BlockPos pPos) private voidLevelEventHandler.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 TypeMethodDescriptionvoidModelBlockRenderer.AmbientOcclusionRenderStorage.calculate(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection, boolean pShade) private floatLiquidBlockRenderer.calculateAverageHeight(BlockAndTintGetter pLevel, Fluid pFluid, float pCurrentHeight, float pHeight1, float pHeight2, BlockPos pPos) private static voidModelBlockRenderer.calculateShape(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, int[] pVerticies, Direction pDirection, ModelBlockRenderer.CommonRenderStorage pRenderStorage) private floatLiquidBlockRenderer.getHeight(BlockAndTintGetter pLevel, Fluid pFluid, BlockPos pPos) private floatLiquidBlockRenderer.getHeight(BlockAndTintGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pBlockState, FluidState pFluidState) private intLiquidBlockRenderer.getLightColor(BlockAndTintGetter pLevel, BlockPos pPos) intModelBlockRenderer.Cache.getLightColor(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos) BlockModelShaper.getParticleIcon(BlockState pState, BlockAndTintGetter level, BlockPos pos) floatModelBlockRenderer.Cache.getShadeBrightness(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos) private voidModelBlockRenderer.putQuadData(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, VertexConsumer pConsumer, PoseStack.Pose pPose, BakedQuad pQuad, ModelBlockRenderer.CommonRenderStorage pRenderStorage, int pPackedOverlay) voidBlockRenderDispatcher.renderBatched(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, List<BlockModelPart> pParts) Deprecated.voidBlockRenderDispatcher.renderBatched(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, Function<RenderType, VertexConsumer> bufferLookup, boolean p_234361_, List<BlockModelPart> p_410643_) voidBlockRenderDispatcher.renderBreakingTexture(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer) voidBlockRenderDispatcher.renderLiquid(BlockPos pPos, BlockAndTintGetter pLevel, VertexConsumer pConsumer, BlockState pBlockState, FluidState pFluidState) static voidModelBlockRenderer.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 voidModelBlockRenderer.renderModelFaceAO(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, List<BakedQuad> pQuads, ModelBlockRenderer.AmbientOcclusionRenderStorage pRenderStorage, int pPackedOverlay) private voidModelBlockRenderer.renderModelFaceFlat(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, int pPackedLight, int pPackedOverlay, boolean pRepackLight, PoseStack pPoseStack, VertexConsumer pConsumer, List<BakedQuad> pQuads, ModelBlockRenderer.CommonRenderStorage pRenderStorage) private voidModelBlockRenderer.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_) voidBlockRenderDispatcher.renderSingleBlock(BlockState pState, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, BlockAndTintGetter level, BlockPos pos) protected static booleanModelBlockRenderer.shouldRenderFace(BlockAndTintGetter p_412640_, BlockPos pos, BlockState p_412168_, boolean p_412054_, Direction p_412130_, BlockPos p_412608_) private static booleanModelBlockRenderer.shouldRenderFace(BlockAndTintGetter pLevel, BlockState pState, boolean pCheckSides, Direction pFace, BlockPos pPos) Deprecated.voidLiquidBlockRenderer.tesselate(BlockAndTintGetter pLevel, BlockPos pPos, VertexConsumer pBuffer, BlockState pBlockState, FluidState pFluidState) voidModelBlockRenderer.tesselateBlock(BlockAndTintGetter pLevel, List<BlockModelPart> pParts, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, int pPackedOverlay) Deprecated.voidModelBlockRenderer.tesselateBlock(BlockAndTintGetter p_234380_, List<BlockModelPart> p_410025_, BlockState p_234382_, BlockPos p_234383_, PoseStack p_234384_, Function<RenderType, VertexConsumer> bufferLookup, boolean p_234386_, int p_234389_) voidModelBlockRenderer.tesselateWithAO(BlockAndTintGetter pLevel, List<BlockModelPart> pParts, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, int pPackedOverlay) Deprecated.voidModelBlockRenderer.tesselateWithAO(BlockAndTintGetter p_234391_, List<BlockModelPart> p_410478_, BlockState p_234393_, BlockPos p_234394_, PoseStack p_234395_, Function<RenderType, VertexConsumer> bufferLookup, boolean p_234397_, int p_234400_) voidModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter pLevel, List<BlockModelPart> pParts, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, int pPackedOverlay) Deprecated.voidModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter p_234402_, List<BlockModelPart> p_410604_, BlockState p_234404_, BlockPos p_234405_, PoseStack p_234406_, Function<RenderType, 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 TypeMethodDescriptionvoidMultiPartModel.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 booleanAbstractSignRenderer.isOutlineVisible(BlockPos pPos, int pColor) private voidPistonHeadRenderer.renderBlock(BlockPos pPos, BlockState pState, PoseStack pPoseStack, MultiBufferSource pBufferSource, Level pLevel, boolean pExtended, int pPackedOverlay) private voidBlockEntityWithBoundingBoxRenderer.renderInvisibleBlocks(T pBlockEntity, BlockGetter pLevel, BlockPos pPos, Vec3i pBoxSize, MultiBufferSource pBufferSource, PoseStack pPoseStack) private voidAbstractSignRenderer.renderSignText(BlockPos pPos, SignText pText, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pLineHeight, int pMaxLineWidth, boolean pIsFront) private voidBlockEntityWithBoundingBoxRenderer.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> RenderChunk.blockEntitiesMethods 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 TypeMethodDescriptionRenderChunk.getBlockEntity(BlockPos pPos) RenderChunkRegion.getBlockEntity(BlockPos pPos) RenderChunk.getBlockState(BlockPos pPos) RenderChunkRegion.getBlockState(BlockPos pPos) intRenderChunkRegion.getBlockTint(BlockPos pPos, ColorResolver pColorResolver) RenderChunkRegion.getFluidState(BlockPos pPos) private static intRenderChunkRegion.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 BlockPosGoalSelectorDebugRenderer.EntityGoalInfo.entityPosThe field for theentityPosrecord component.final BlockPosBrainDebugRenderer.PoiInfo.posFields in net.minecraft.client.renderer.debug with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map<BlockPos, BeeDebugRenderer.HiveDebugInfo> BeeDebugRenderer.hivesNeighborsUpdateRenderer.lastUpdateprivate final Map<BlockPos, GameTestDebugRenderer.Marker> GameTestDebugRenderer.markersprivate final Map<BlockPos, BrainDebugRenderer.PoiInfo> BrainDebugRenderer.poisprivate Collection<BlockPos> RaidDebugRenderer.raidCentersWorldGenAttemptRenderer.toRenderMethods in net.minecraft.client.renderer.debug that return BlockPosModifier and TypeMethodDescriptionGoalSelectorDebugRenderer.EntityGoalInfo.entityPos()Returns the value of theentityPosrecord 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 TypeMethodDescriptionvoidGoalSelectorDebugRenderer.addGoalSelector(int pMobId, BlockPos pEntityPos, List<GoalDebugPayload.DebugGoal> pGoals) voidvoidWorldGenAttemptRenderer.addPos(BlockPos pPos, float pScale, float pRed, float pGreen, float pBlue, float pAlpha) voidprivate static floatPathfindingRenderer.distanceToCamera(BlockPos pPos, double pX, double pY, double pZ) private Collection<UUID> BeeDebugRenderer.getHiveMembers(BlockPos pPos) private StringBeeDebugRenderer.getPosDescription(BeeDebugPayload.BeeInfo pBeeInfo, BlockPos pPos) private Collection<UUID> BrainDebugRenderer.getPotentialTicketHolders(BlockPos pPos) private Collection<UUID> BrainDebugRenderer.getTicketHolders(BlockPos pPos) private static voidBeeDebugRenderer.highlightHive(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pHivePos) private static voidBrainDebugRenderer.highlightPoi(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pPos) private voidSupportBlockRenderer.highlightPosition(BlockPos pPos, PoseStack pPoseStack, double pCamX, double pCamY, double pCamZ, MultiBufferSource pBuffer, double pBias, float pRed, float pGreen, float pBlue) private static voidRaidDebugRenderer.highlightRaidCenter(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pPos) voidstatic voidDebugRenderer.renderFilledBox(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pPos, float pScale, float pRed, float pGreen, float pBlue, float pAlpha) static voidDebugRenderer.renderFilledBox(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pStartPos, BlockPos pEndPos, float pRed, float pGreen, float pBlue, float pAlpha) static voidDebugRenderer.renderFilledUnitCube(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pPos, float pRed, float pGreen, float pBlue, float pAlpha) private voidBeeDebugRenderer.renderGhostHive(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pHivePos, List<String> pGhostHives) private voidBrainDebugRenderer.renderGhostPoi(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pPos, List<String> pPoiName) private voidGameTestDebugRenderer.renderMarker(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pPos, GameTestDebugRenderer.Marker pMarker) private static voidRaidDebugRenderer.renderTextOverBlock(PoseStack pPoseStack, MultiBufferSource pBuffer, String pText, BlockPos pPos, int pColor) private static voidBeeDebugRenderer.renderTextOverPos(PoseStack pPoseStack, MultiBufferSource pBuffer, String pText, BlockPos pPos, int pLayer, int pColor) private static voidBrainDebugRenderer.renderTextOverPos(PoseStack pPoseStack, MultiBufferSource pBuffer, String pText, BlockPos pPos, int pLayer, int pColor) voidBrainDebugRenderer.setFreeTicketCount(BlockPos pPos, int pFreeTicketCount) Method parameters in net.minecraft.client.renderer.debug with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidRaidDebugRenderer.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 aEntityGoalInforecord class. -
Uses of BlockPos in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type BlockPosModifier and TypeMethodDescriptionprotected intAllayRenderer.getBlockLightLevel(Allay p_234560_, BlockPos p_234561_) protected intBlazeRenderer.getBlockLightLevel(Blaze pEntity, BlockPos pPos) protected intDisplayRenderer.getBlockLightLevel(T p_368656_, BlockPos p_368591_) protected intDragonFireballRenderer.getBlockLightLevel(DragonFireball pEntity, BlockPos pPos) protected intEntityRenderer.getBlockLightLevel(T pEntity, BlockPos pPos) protected intExperienceOrbRenderer.getBlockLightLevel(ExperienceOrb pEntity, BlockPos pPos) protected intGlowSquidRenderer.getBlockLightLevel(GlowSquid p_174146_, BlockPos p_174147_) protected intItemFrameRenderer.getBlockLightLevel(T p_174216_, BlockPos p_174217_) protected intMagmaCubeRenderer.getBlockLightLevel(MagmaCube pEntity, BlockPos pPos) protected intShulkerBulletRenderer.getBlockLightLevel(ShulkerBullet pEntity, BlockPos pPos) protected intThrownItemRenderer.getBlockLightLevel(T pEntity, BlockPos pPos) protected intVexRenderer.getBlockLightLevel(Vex pEntity, BlockPos pPos) protected intWitherBossRenderer.getBlockLightLevel(WitherBoss pEntity, BlockPos pPos) protected intWitherSkullRenderer.getBlockLightLevel(WitherSkull pEntity, BlockPos pPos) protected intDisplayRenderer.getSkyLightLevel(T p_368549_, BlockPos p_368562_) protected intEntityRenderer.getSkyLightLevel(T pEntity, BlockPos pPos) private static voidEntityRenderDispatcher.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.blockPosFallingBlockRenderState.startBlockPosMethods in net.minecraft.client.renderer.entity.state with parameters of type BlockPosModifier and TypeMethodDescriptionFallingBlockRenderState.getBlockEntity(BlockPos p_364380_) FallingBlockRenderState.getBlockState(BlockPos p_365153_) intFallingBlockRenderState.getBlockTint(BlockPos p_363218_, ColorResolver p_362552_) FallingBlockRenderState.getFluidState(BlockPos p_362887_) -
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 doubleCompassAngleState.getAngleFromEntityToPos(Entity pEntity, BlockPos pPos) private floatCompassAngleState.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 TypeMethodDescriptionvoidWeightedVariants.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 TypeMethodDescriptionvoidPunchTreeTutorialStepInstance.onDestroyBlock(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) Called when a player hits block to destroy it.voidTutorial.onDestroyBlock(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) default voidTutorialStepInstance.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 TypeMethodDescriptionbooleanBlockInput.place(ServerLevel pLevel, BlockPos pPos, int pFlags) booleanBlockInput.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 BlockPosBlockPosArgument.getBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) default BlockPosCoordinates.getBlockPos(CommandSourceStack pSource) static BlockPosBlockPosArgument.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static BlockPosBlockPosArgument.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, ServerLevel pLevel, String pName) static BlockPosBlockPosArgument.getSpawnablePos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) -
Uses of BlockPos in net.minecraft.core
Subclasses of BlockPos in net.minecraft.coreFields in net.minecraft.core declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosBlockBox.maxThe field for themaxrecord component.private final BlockPosBlockBox.minThe field for theminrecord component.private final BlockPosGlobalPos.posThe field for theposrecord component.static final BlockPosBlockPos.ZEROAn 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.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, BlockPos> BlockPos.STREAM_CODECMethods in net.minecraft.core that return BlockPosModifier and TypeMethodDescriptionBlockPos.above()BlockPos.above(int p_121972_) BlockPos.atY(int pY) BlockPos.below()BlockPos.below(int p_122000_) SectionPos.center()static BlockPosBlockPos.containing(double pX, double pY, double pZ) static BlockPosBlockPos.containing(Position pPosition) BlockPos.east()BlockPos.east(int p_122031_) BlockPos.immutable()BlockPos.MutableBlockPos.immutable()BlockBox.max()Returns the value of themaxrecord component.static BlockPosBlockBox.min()Returns the value of theminrecord component.static BlockPosBlockPos.multiply(int p_175263_) BlockPos.MutableBlockPos.multiply(int p_175305_) BlockPos.north()BlockPos.north(int p_122014_) static BlockPosBlockPos.of(long pPackedPos) BlockPos.MutableBlockPos.offset(int p_122163_, int p_122164_, int p_122165_) BlockPos.offset(int p_121973_, int p_121974_, int p_121975_) SectionPos.origin()GlobalPos.pos()Returns the value of theposrecord component.BlockPos.MutableBlockPos.relative(Direction.Axis p_122145_, int p_122146_) BlockPos.relative(Direction.Axis p_121943_, int p_121944_) SectionPos.relativeToBlockPos(short pPos) BlockPos.south()BlockPos.south(int pDistance) BlockPos.west()BlockPos.west(int p_122026_) 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 voidSectionPos.aroundAndAtBlockPos(BlockPos pPos, it.unimi.dsi.fastutil.longs.LongConsumer pConsumer) static longBlockPos.betweenClosed(BlockPos pFirstPos, BlockPos pSecondPos) BlockPos.betweenClosedStream(BlockPos pFirstPos, BlockPos pSecondPos) static intBlockPos.breadthFirstTraversal(BlockPos pStartPos, int pRadius, int pMaxBlocks, BiConsumer<BlockPos, Consumer<BlockPos>> pChildrenGetter, Function<BlockPos, BlockPos.TraversalNodeStatus> pAction) booleanBlockPos.findClosestMatch(BlockPos pPos, int pWidth, int pHeight, Predicate<BlockPos> pPosFilter) booleanGlobalPos.isCloseEnough(ResourceKey<Level> pDimension, BlockPos pPos, int pMaxDistance) static BlockPosstatic BlockPosstatic BlockBoxstatic BlockBoxstatic GlobalPosGlobalPos.of(ResourceKey<Level> pDimension, BlockPos pPos) static SectionPosBlockPos.randomInCube(RandomSource pRandom, int pAmount, BlockPos pCenter, int pRadius) static shortSectionPos.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 intBlockPos.breadthFirstTraversal(BlockPos pStartPos, int pRadius, int pMaxBlocks, BiConsumer<BlockPos, Consumer<BlockPos>> pChildrenGetter, Function<BlockPos, BlockPos.TraversalNodeStatus> pAction) static intBlockPos.breadthFirstTraversal(BlockPos pStartPos, int pRadius, int pMaxBlocks, BiConsumer<BlockPos, Consumer<BlockPos>> pChildrenGetter, Function<BlockPos, BlockPos.TraversalNodeStatus> pAction) static intBlockPos.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 InteractionResultCauldronInteraction.bannerInteraction(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pStack) private static InteractionResultCauldronInteraction.dyedItemIteration(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pStack) static InteractionResultCauldronInteraction.emptyBucket(Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pFilledStackl, BlockState pState, SoundEvent pEmptySound) static InteractionResultCauldronInteraction.fillBucket(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pEmptyStack, ItemStack pFilledStack, Predicate<BlockState> pStatePredicate, SoundEvent pFillSound) private static InteractionResultCauldronInteraction.fillLavaInteraction(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pFilledStack) private static InteractionResultCauldronInteraction.fillPowderSnowInteraction(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pFilledStack) private static InteractionResultCauldronInteraction.fillWaterInteraction(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pFilledStack) CauldronInteraction.interact(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pStack) private static booleanCauldronInteraction.isUnderWater(Level pLevel, BlockPos pPos) private static InteractionResultCauldronInteraction.shulkerBoxInteraction(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pStack) -
Uses of BlockPos in net.minecraft.core.dispenser
Fields in net.minecraft.core.dispenser declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosBlockSource.posThe field for theposrecord component.Methods in net.minecraft.core.dispenser that return BlockPosModifier and TypeMethodDescriptionBlockSource.pos()Returns the value of theposrecord component.Methods in net.minecraft.core.dispenser with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static RailShapeMinecartDispenseItemBehavior.getRailShape(BlockState pState, ServerLevel level, BlockPos pos) private static booleanShearsDispenseItemBehavior.tryShearBeehive(ServerLevel pLevel, BlockPos pPos) private static booleanShearsDispenseItemBehavior.tryShearLivingEntity(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 aBlockSourcerecord class. -
Uses of BlockPos in net.minecraft.core.particles
Fields in net.minecraft.core.particles declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosBlockParticleOption.posNeo: 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 aBlockParticleOptionfor the given type andBlockStateand 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 BlockPosGameTestAssertPosException.absolutePosprivate final BlockPosStructureGridSpawner.firstTestNorthWestCornerprivate final BlockPosGameTestAssertPosException.relativePosprivate BlockPosGameTestInfo.testBlockPosFields in net.minecraft.gametest.framework with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final UnaryOperator<Supplier<Stream<BlockPos>>> TestFinder.Builder.structureBlockPosFinderWrapperMethods in net.minecraft.gametest.framework that return BlockPosModifier and TypeMethodDescriptionGameTestHelper.absolutePos(BlockPos pPos) private static BlockPosTestCommand.createTestPositionAround(CommandSourceStack pSource) private BlockPosBlockBasedTestInstance.findStartBlock(GameTestHelper pHelper) GameTestAssertPosException.getAbsolutePos()GameTestAssertPosException.getRelativePos()GameTestInfo.getTestBlockPos()GameTestInfo.getTestOrigin()static BlockPosStructureUtils.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) voidGameTestHelper.assertAtTickTimeContainerContains(long pTickTime, BlockPos pPos, Item pItem) voidGameTestHelper.assertAtTickTimeContainerEmpty(long pTickTime, BlockPos pPos) voidGameTestHelper.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) voidGameTestHelper.assertBlockNotPresent(Block pBlock, BlockPos pPos) voidGameTestHelper.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) voidGameTestHelper.assertBlockState(BlockPos pPos, Predicate<BlockState> pPredicate, Function<BlockState, Component> pMessage) voidGameTestHelper.assertBlockState(BlockPos pPos, BlockState pState) voidGameTestHelper.assertBlockTag(TagKey<Block> pTag, BlockPos pPos) voidGameTestHelper.assertContainerContains(BlockPos pPos, Item pItem) voidGameTestHelper.assertContainerContainsSingle(BlockPos pPos, Item pItem) voidGameTestHelper.assertContainerEmpty(BlockPos pPos) voidGameTestHelper.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) voidGameTestHelper.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) voidGameTestHelper.assertEntityNotPresent(EntityType<?> pType, BlockPos pPos) voidGameTestHelper.assertEntityPresent(EntityType<?> pType, BlockPos pPos) voidGameTestHelper.assertEntityPresent(EntityType<?> pType, BlockPos pPos, double pExpansionAmount) GameTestHelper.assertionException(BlockPos pPos, String pMessageKey, Object... pArgs) GameTestHelper.assertionException(BlockPos pPos, Component pMessage) voidGameTestHelper.assertItemEntityCountIs(Item pItem, BlockPos pPos, double pExpansionAmount, int pCount) voidGameTestHelper.assertItemEntityNotPresent(Item pItem, BlockPos pPos, double pRadius) voidGameTestHelper.assertItemEntityPresent(Item pItem, BlockPos pPos, double pExpansionAmount) voidGameTestHelper.assertRedstoneSignal(BlockPos pPos, Direction pDirection, IntPredicate pSignalStrengthPredicate, Supplier<Component> pMessage) voidGameTestHelper.assertSameBlockState(BlockPos pTestPos, BlockPos pComparisonPos) voidGameTestHelper.assertSameBlockStates(BoundingBox pBoundingBox, BlockPos pPos) private static voidStructureUtils.clearBlock(int pStructureBlockY, BlockPos pPos, ServerLevel pServerLevel) private static Optional<GameTestInfo> TestCommand.createGameTestInfo(BlockPos pPos, CommandSourceStack pSource, RetryOptions pRetryOptions) static TestInstanceBlockEntityStructureUtils.createNewEmptyTest(ResourceLocation pId, BlockPos pPos, Vec3i pSize, Rotation pRotation, ServerLevel pLevel) private TestInstanceBlockEntityGameTestInfo.createTestInstanceBlock(BlockPos pPos, Rotation pRotation, ServerLevel pLevel) voidGameTestHelper.destroyBlock(BlockPos pPos) private static booleanStructureUtils.doesStructureContain(BlockPos pStructureBlockPos, BlockPos pPosToTest, ServerLevel pServerLevel) voidStructureUtils.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) private static BoundingBoxStructureUtils.getBoundingBoxAtGround(BlockPos pPos, int pRadius, ServerLevel pLevel) GameTestHelper.getEntities(EntityType<T> pEntityType, BlockPos pPos, double pRadius) static BoundingBoxStructureUtils.getStructureBoundingBox(BlockPos pPos, Vec3i pOffset, Rotation pRotation) static BlockPosStructureUtils.getTransformedFarCorner(BlockPos pPos, Vec3i pOffset, Rotation pRotation) StructureUtils.lookedAtTestPos(BlockPos pPos, Entity pEntity, ServerLevel pLevel) voidvoidGameTestHelper.pressButton(BlockPos pPos) voidvoidGameTestHelper.pulseRedstone(BlockPos pPos, long pDelay) voidGameTestHelper.randomTick(BlockPos pPos) GameTestHelper.relativePos(BlockPos pPos) voidvoidGameTestHelper.setBlock(BlockPos pPos, BlockState pState) voidGameTestInfo.setTestBlockPos(BlockPos pTestBlockPos) private static voidReportGameListener.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) voidGameTestHelper.succeedWhenBlockPresent(Block pBlock, BlockPos pPos) <E extends Entity,T>
voidGameTestHelper.succeedWhenEntityData(BlockPos pPos, EntityType<E> pType, Function<E, T> pEntityDataGetter, T pTestEntityData) voidGameTestHelper.succeedWhenEntityNotPresent(EntityType<?> pType, BlockPos pPos) voidGameTestHelper.succeedWhenEntityPresent(EntityType<?> pType, BlockPos pPos) voidvoidGameTestHelper.tickPrecipitation(BlockPos pPos) voidvoidvoidGameTestHelper.useBlock(BlockPos pPos, Player pPlayer, BlockHitResult pResult) Method parameters in net.minecraft.gametest.framework with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidGameTestHelper.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 BlockPosFriendlyByteBuf.readBlockPos(io.netty.buffer.ByteBuf pBuffer) Methods in net.minecraft.network with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidFriendlyByteBuf.writeBlockPos(io.netty.buffer.ByteBuf pBuffer, BlockPos pPos) 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 BlockPosBeeDebugPayload.BeeInfo.flowerPosThe field for theflowerPosrecord component.private final BlockPosBeeDebugPayload.BeeInfo.hivePosThe field for thehivePosrecord component.private final BlockPosBreezeDebugPayload.BreezeInfo.jumpTargetThe field for thejumpTargetrecord component.private final BlockPosGameTestAddMarkerDebugPayload.posThe field for theposrecord component.private final BlockPosGoalDebugPayload.posThe field for theposrecord component.private final BlockPosHiveDebugPayload.HiveInfo.posThe field for theposrecord component.private final BlockPosNeighborUpdatesDebugPayload.posThe field for theposrecord component.private final BlockPosPoiAddedDebugPayload.posThe field for theposrecord component.private final BlockPosPoiRemovedDebugPayload.posThe field for theposrecord component.private final BlockPosPoiTicketCountDebugPayload.posThe field for theposrecord component.private final BlockPosRedstoneWireOrientationsDebugPayload.Wire.posThe field for theposrecord component.private final BlockPosWorldGenAttemptDebugPayload.posThe field for theposrecord component.Fields in net.minecraft.network.protocol.common.custom with type parameters of type BlockPosModifier and TypeFieldDescriptionBeeDebugPayload.BeeInfo.blacklistedHivesThe field for theblacklistedHivesrecord component.BrainDebugPayload.BrainDump.poisThe field for thepoisrecord component.BrainDebugPayload.BrainDump.potentialPoisThe field for thepotentialPoisrecord component.RaidsDebugPayload.raidCentersThe field for theraidCentersrecord component.Methods in net.minecraft.network.protocol.common.custom that return BlockPosModifier and TypeMethodDescriptionBeeDebugPayload.BeeInfo.flowerPos()Returns the value of theflowerPosrecord component.BeeDebugPayload.BeeInfo.hivePos()Returns the value of thehivePosrecord component.BreezeDebugPayload.BreezeInfo.jumpTarget()Returns the value of thejumpTargetrecord component.GameTestAddMarkerDebugPayload.pos()Returns the value of theposrecord component.GoalDebugPayload.pos()Returns the value of theposrecord component.HiveDebugPayload.HiveInfo.pos()Returns the value of theposrecord component.NeighborUpdatesDebugPayload.pos()Returns the value of theposrecord component.PoiAddedDebugPayload.pos()Returns the value of theposrecord component.PoiRemovedDebugPayload.pos()Returns the value of theposrecord component.PoiTicketCountDebugPayload.pos()Returns the value of theposrecord component.RedstoneWireOrientationsDebugPayload.Wire.pos()Returns the value of theposrecord component.WorldGenAttemptDebugPayload.pos()Returns the value of theposrecord 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 theblacklistedHivesrecord component.BrainDebugPayload.BrainDump.pois()Returns the value of thepoisrecord component.BrainDebugPayload.BrainDump.potentialPois()Returns the value of thepotentialPoisrecord component.RaidsDebugPayload.raidCenters()Returns the value of theraidCentersrecord component.Methods in net.minecraft.network.protocol.common.custom with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanbooleanbooleanBrainDebugPayload.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 aBeeInforecord class.BreezeInfo(UUID uuid, int id, Integer attackTarget, BlockPos jumpTarget) Creates an instance of aBreezeInforecord class.GameTestAddMarkerDebugPayload(BlockPos pos, int color, String text, int durationMs) Creates an instance of aGameTestAddMarkerDebugPayloadrecord class.GoalDebugPayload(int entityId, BlockPos pos, List<GoalDebugPayload.DebugGoal> goals) Creates an instance of aGoalDebugPayloadrecord class.Creates an instance of aHiveInforecord class.NeighborUpdatesDebugPayload(long time, BlockPos pos) Creates an instance of aNeighborUpdatesDebugPayloadrecord class.PoiAddedDebugPayload(BlockPos pos, String poiType, int freeTicketCount) Creates an instance of aPoiAddedDebugPayloadrecord class.Creates an instance of aPoiRemovedDebugPayloadrecord class.PoiTicketCountDebugPayload(BlockPos pos, int freeTicketCount) Creates an instance of aPoiTicketCountDebugPayloadrecord class.Wire(BlockPos pos, Orientation orientation) Creates an instance of aWirerecord class.WorldGenAttemptDebugPayload(BlockPos pos, float scale, float red, float green, float blue, float alpha) Creates an instance of aWorldGenAttemptDebugPayloadrecord 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 aBeeInforecord 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 aBrainDumprecord class.RaidsDebugPayload(List<BlockPos> raidCenters) Creates an instance of aRaidsDebugPayloadrecord class. -
Uses of BlockPos in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosServerboundSetStructureBlockPacket.offsetprivate final BlockPosClientboundBlockDestructionPacket.posprivate final BlockPosClientboundBlockEntityDataPacket.posprivate final BlockPosClientboundBlockEventPacket.posprivate final BlockPosClientboundBlockUpdatePacket.posprivate final BlockPosClientboundLevelEventPacket.posprivate final BlockPosClientboundOpenSignEditorPacket.posprivate final BlockPosClientboundSetDefaultSpawnPositionPacket.posprivate final BlockPosServerboundBlockEntityTagQueryPacket.posprivate final BlockPosServerboundJigsawGeneratePacket.posprivate final BlockPosServerboundPickItemFromBlockPacket.posThe field for theposrecord component.private final BlockPosServerboundPlayerActionPacket.posprivate final BlockPosServerboundSetCommandBlockPacket.posprivate final BlockPosServerboundSetJigsawBlockPacket.posprivate final BlockPosServerboundSetStructureBlockPacket.posprivate final BlockPosServerboundSignUpdatePacket.posprivate final BlockPosServerboundTestInstanceBlockActionPacket.posThe field for theposrecord component.private final BlockPosServerboundSetTestBlockPacket.positionThe field for thepositionrecord 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 theposrecord component.ServerboundTestInstanceBlockActionPacket.pos()Returns the value of theposrecord component.ServerboundSetTestBlockPacket.position()Returns the value of thepositionrecord component.Methods in net.minecraft.network.protocol.game with parameters of type BlockPosModifier and TypeMethodDescriptionvoidClientboundLevelChunkPacketData.BlockEntityTagOutput.accept(BlockPos pPos, BlockEntityType<?> pType, CompoundTag pNbt) static voidDebugPackets.sendGameTestAddMarker(ServerLevel pLevel, BlockPos pPos, String pText, int pColor, int pLifetimeMillis) static voidDebugPackets.sendHiveInfo(Level pLevel, BlockPos pPos, BlockState pBlockState, BeehiveBlockEntity pHiveBlockEntity) static voidDebugPackets.sendNeighborsUpdatePacket(Level pLevel, BlockPos pPos) static voidDebugPackets.sendPoiAddedPacket(ServerLevel pLevel, BlockPos pPos) static voidDebugPackets.sendPoiRemovedPacket(ServerLevel pLevel, BlockPos pPos) static voidDebugPackets.sendPoiTicketCountPacket(ServerLevel pLevel, BlockPos pPos) private static voidDebugPackets.sendVillageSectionsPacket(ServerLevel pLevel, BlockPos pPos) Method parameters in net.minecraft.network.protocol.game with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidClientboundSectionBlocksUpdatePacket.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) privateClientboundBlockEntityDataPacket(BlockPos pPos, BlockEntityType<?> pType, CompoundTag pTag) ClientboundBlockEventPacket(BlockPos pPos, Block pBlock, int pB0, int pB1) ClientboundBlockUpdatePacket(BlockPos pPos, BlockState pBlockState) 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 aServerboundPickItemFromBlockPacketrecord 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 aServerboundSetTestBlockPacketrecord 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 aServerboundTestInstanceBlockActionPacketrecord 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_POSstatic 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 TypeMethodDescriptionbooleanMinecraftServer.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 BlockPosCloneCommands.CloneBlockInfo.posThe field for theposrecord component.private final BlockPosCloneCommands.DimensionAndPosition.positionThe field for thepositionrecord component.Methods in net.minecraft.server.commands that return BlockPosModifier and TypeMethodDescriptionCloneCommands.CloneBlockInfo.pos()Returns the value of theposrecord component.CloneCommands.DimensionAndPosition.position()Returns the value of thepositionrecord component.private static BlockPosMethods in net.minecraft.server.commands with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanFillCommand.Affector.affect(ServerLevel pLevel, BlockPos pPos) private static intLootCommand.blockDistribute(CommandSourceStack pSource, BlockPos pPos, List<ItemStack> pItems, LootCommand.Callback pCallback) private static intLootCommand.blockReplace(CommandSourceStack pSource, BlockPos pPos, int pSlot, int pNumSlots, List<ItemStack> pItems, LootCommand.Callback pCallback) private static intItemCommands.blockToBlock(CommandSourceStack pSource, BlockPos pSourcePos, int pSourceSlot, BlockPos pPos, int pSlot) private static intItemCommands.blockToBlock(CommandSourceStack pSource, BlockPos pSourcePos, int pSourceSlot, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) private static intItemCommands.blockToEntities(CommandSourceStack pSource, BlockPos pPos, int pSourceSlot, Collection<? extends Entity> pTargets, int pSlot) private static intItemCommands.blockToEntities(CommandSourceStack pSource, BlockPos pPos, int pSourceSlot, Collection<? extends Entity> pTargets, int pSlot, Holder<LootItemFunction> pModifier) private static OptionalIntExecuteCommand.checkRegions(ServerLevel pLevel, BlockPos pBegin, BlockPos pEnd, BlockPos pDestination, boolean pIsMasked) private static intExecuteCommand.countItems(CommandSourceStack pSource, BlockPos pPos, SlotRange pSlotRange, Predicate<ItemStack> pFilter) private static intLootCommand.dropBlockLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, BlockPos pPos, ItemStack pTool, LootCommand.DropConsumer pDropConsumer) private static intLootCommand.dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Holder<LootTable> pLootTable, BlockPos pPos, ItemStack pTool, LootCommand.DropConsumer pDropConsumet) private static intItemCommands.entityToBlock(CommandSourceStack pSource, Entity pSourceEntity, int pSourceSlot, BlockPos pPos, int pSlot) private static intItemCommands.entityToBlock(CommandSourceStack pSource, Entity pSourceEntity, int pSourceSlot, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) private static intFillBiomeCommand.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> static com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill(ServerLevel pLevel, BlockPos pFrom, BlockPos pTo, Holder<Biome> pBiome, Predicate<Holder<Biome>> pFilter, Consumer<Supplier<Component>> pMessageOutput) private static intDebugPathCommand.fillBlocks(CommandSourceStack pStack, BlockPos pPos) FillCommand.Filter.filter(BoundingBox pBox, BlockPos pPos, BlockInput pBlock, ServerLevel pLevel) private static ItemStackItemCommands.getBlockItem(CommandSourceStack pSource, BlockPos pPos, int pSlot) (package private) static ContainerItemCommands.getContainer(CommandSourceStack pSource, BlockPos pPos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType pException) private static ContainerLootCommand.getContainer(CommandSourceStack pSource, BlockPos pPos) private static booleanExecuteCommand.isChunkLoaded(ServerLevel pLevel, BlockPos pPos) private static intItemCommands.modifyBlockItem(CommandSourceStack pSource, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) static intPlaceCommand.placeFeature(CommandSourceStack pSource, Holder.Reference<ConfiguredFeature<?, ?>> pFeature, BlockPos pPos) static intPlaceCommand.placeJigsaw(CommandSourceStack pSource, Holder<StructureTemplatePool> pTemplatePool, ResourceLocation pTarget, int pMaxDepth, BlockPos pPos) static intPlaceCommand.placeStructure(CommandSourceStack pSource, Holder.Reference<Structure> pStructure, BlockPos pPos) static intPlaceCommand.placeTemplate(CommandSourceStack pSource, ResourceLocation pTemplate, BlockPos pPos, Rotation pRotation, Mirror pMirror, float pIntegrity, int pSeed, boolean pStrict) private static BlockPosprivate static intSetBlockCommand.setBlock(CommandSourceStack pSource, BlockPos pPos, BlockInput pBlock, SetBlockCommand.Mode pMode, Predicate<BlockInWorld> pFilter, boolean pStrict) private static intItemCommands.setBlockItem(CommandSourceStack pSource, BlockPos pPos, int pSlot, ItemStack pItem) private static intSetSpawnCommand.setSpawn(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, BlockPos pPos, float pAngle) private static intSetWorldSpawnCommand.setSpawn(CommandSourceStack pSource, BlockPos pPos, float pAngle) static intLocateCommand.showLocateResult(CommandSourceStack pSource, ResourceOrTagArgument.Result<?> pResult, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithPosition, String pTranslationKey, boolean pAbsoluteY, Duration pDuration) static intLocateCommand.showLocateResult(CommandSourceStack pSource, ResourceOrTagKeyArgument.Result<?> pResult, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithPosition, String pTranslationKey, boolean pAbsoluteY, Duration pDuration) private static intLocateCommand.showLocateResult(CommandSourceStack pSource, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithoutPosition, String pTranslationKey, boolean pAbsoluteY, String pElementName, Duration pDuration) private static intDebugMobSpawningCommand.spawnMobs(CommandSourceStack pSource, MobCategory pMobCategory, BlockPos pPos) Method parameters in net.minecraft.server.commands with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic intLocateCommand.showLocateResult(CommandSourceStack pSource, ResourceOrTagArgument.Result<?> pResult, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithPosition, String pTranslationKey, boolean pAbsoluteY, Duration pDuration) static intLocateCommand.showLocateResult(CommandSourceStack pSource, ResourceOrTagKeyArgument.Result<?> pResult, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithPosition, String pTranslationKey, boolean pAbsoluteY, Duration pDuration) private static intLocateCommand.showLocateResult(CommandSourceStack pSource, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithoutPosition, String pTranslationKey, boolean pAbsoluteY, String pElementName, Duration pDuration) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext pBuildContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pFrom, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pTo, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> pBlock, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> pFilter) Constructors in net.minecraft.server.commands with parameters of type BlockPosModifierConstructorDescription(package private)CloneBlockInfo(BlockPos pos, BlockState state, CloneCommands.CloneBlockEntityInfo blockEntityInfo) Creates an instance of aCloneBlockInforecord class.(package private)DimensionAndPosition(ServerLevel dimension, BlockPos position) Creates an instance of aDimensionAndPositionrecord 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 TypeMethodDescriptionbooleanDedicatedServer.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 BlockPosServerPlayerGameMode.delayedDestroyPosprivate BlockPosServerPlayerGameMode.destroyPosstatic final BlockPosServerLevel.END_SPAWN_POINTprivate final BlockPosBlockDestructionProgress.posprivate final BlockPosServerPlayer.RespawnConfig.posThe field for theposrecord component.private BlockPosServerPlayer.raidOmenPositionMethods in net.minecraft.server.level that return BlockPosModifier and TypeMethodDescriptionServerPlayer.adjustSpawnLocation(ServerLevel p_352206_, BlockPos p_352202_) protected BlockPosServerLevel.findLightningTargetAround(BlockPos pPos) ServerLevel.findNearestMapStructure(TagKey<Structure> pStructureTag, BlockPos pPos, int pRadius, boolean pSkipExistingChunks) protected static BlockPosPlayerRespawnLogic.getOverworldRespawnPos(ServerLevel pLevel, int pX, int pZ) BlockDestructionProgress.getPos()ServerPlayer.getRaidOmenPosition()static BlockPosPlayerRespawnLogic.getSpawnPosInChunk(ServerLevel pLevel, ChunkPos pChunkPos) ServerPlayer.RespawnConfig.pos()Returns the value of theposrecord component.Methods in net.minecraft.server.level that return types with arguments of type BlockPosModifier and TypeMethodDescriptionServerLevel.findClosestBiome3d(Predicate<Holder<Biome>> pBiomePredicate, BlockPos pPos, int pRadius, int pHorizontalStep, int pVerticalStep) ServerLevel.findLightningRod(BlockPos pPos) Methods in net.minecraft.server.level with parameters of type BlockPosModifier and TypeMethodDescriptionServerPlayer.adjustSpawnLocation(ServerLevel p_352206_, BlockPos p_352202_) booleanServerLevel.anyPlayerCloseEnoughForSpawning(BlockPos pPos) private booleanServerPlayer.bedBlocked(BlockPos pPos, Direction pDirection) private booleanServerPlayer.bedInRange(BlockPos pPos, Direction pDirection) booleanChunkHolder.blockChanged(BlockPos pPos) voidServerChunkCache.blockChanged(BlockPos pPos) voidServerLevel.blockEvent(BlockPos pPos, Block pBlock, int pEventID, int pEventParam) private voidChunkHolder.broadcastBlockEntity(List<ServerPlayer> pPlayers, Level pLevel, BlockPos pPos) private voidChunkHolder.broadcastBlockEntityIfNeeded(List<ServerPlayer> pPlayers, Level pLevel, BlockPos pPos, BlockState pState) private static floatServerPlayer.RespawnPosAngle.calculateLookAtYaw(Vec3 pPosition, BlockPos pTowardsPos) voidThreadedLevelLightEngine.checkBlock(BlockPos p_9357_) protected voidServerPlayer.checkFallDamage(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) private voidServerPlayerGameMode.debugLogging(BlockPos pPos, boolean pTerminate, int pSequence, String pMessage) voidServerPlayerGameMode.destroyAndAck(BlockPos pPos, int pSequence, String pMessage) booleanServerPlayerGameMode.destroyBlock(BlockPos pPos) Attempts to harvest a blockbooleanWorldGenRegion.destroyBlock(BlockPos pPos, boolean pDropBlock, Entity pEntity, int pRecursionLeft) voidServerLevel.destroyBlockProgress(int pBreakerId, BlockPos pPos, int pProgress) booleanWorldGenRegion.ensureCanWrite(BlockPos p_181031_) ServerLevel.findClosestBiome3d(Predicate<Holder<Biome>> pBiomePredicate, BlockPos pPos, int pRadius, int pHorizontalStep, int pVerticalStep) ServerLevel.findLightningRod(BlockPos pPos) protected BlockPosServerLevel.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) voidServerLevel.globalLevelEvent(int pId, BlockPos pPos, int pData) voidDemoMode.handleBlockBreakAction(BlockPos p_214976_, ServerboundPlayerActionPacket.Action p_214977_, Direction p_214978_, int p_214979_, int p_214980_) voidServerPlayerGameMode.handleBlockBreakAction(BlockPos pPos, ServerboundPlayerActionPacket.Action pAction, Direction pFace, int pMaxBuildHeight, int pSequence) private floatServerPlayerGameMode.incrementDestroyProgress(BlockState pState, BlockPos pPos, int pStartTick) voidServerLevel.invalidateCapabilities(BlockPos pos) booleanServerLevel.isCloseToVillage(BlockPos pPos, int pSections) booleanWorldGenRegion.isFluidAtPosition(BlockPos p_143500_, Predicate<FluidState> p_143501_) booleanServerLevel.isPositionEntityTicking(BlockPos pPos) booleanprivate booleanServerPlayer.isReachableBedBlock(BlockPos pPos) booleanWorldGenRegion.isStateAtPosition(BlockPos pPos, Predicate<BlockState> pState) booleanvoidServerLevel.levelEvent(Entity p_393790_, int p_8685_, BlockPos p_8686_, int p_8687_) voidWorldGenRegion.levelEvent(Entity p_394406_, int p_9524_, BlockPos p_9525_, int p_9526_) private voidWorldGenRegion.markPosForPostprocessing(BlockPos pPos) booleanServerLevel.mayInteract(Entity p_393624_, BlockPos p_8697_) booleanServerPlayer.mayInteract(ServerLevel p_376296_, BlockPos p_143407_) voidServerLevel.neighborChanged(BlockPos p_215036_, Block p_215037_, Orientation p_363242_) voidServerLevel.neighborChanged(BlockState p_362490_, BlockPos p_215048_, Block p_215049_, Orientation p_363197_, boolean p_365415_) static ServerPlayer.RespawnPosAngleprotected voidServerPlayer.onChangedBlock(ServerLevel p_346052_, BlockPos p_9206_) voidWorldGenRegion.playSound(Entity p_394194_, BlockPos p_9529_, SoundEvent p_9530_, SoundSource p_9531_, float p_9532_, float p_9533_) voidServerLevel.registerCapabilityListener(BlockPos pos, ICapabilityInvalidationListener listener) Register a listener for capability invalidation.private booleanServerPlayerGameMode.removeBlock(BlockPos pos, BlockState state, boolean canHarvest) Patched-in method that handles actual removal of blocks forServerPlayerGameMode.destroyBlock(BlockPos).booleanWorldGenRegion.removeBlock(BlockPos pPos, boolean pIsMoving) voidServerLevel.sendBlockUpdated(BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) Flags are as in setBlockStatebooleanWorldGenRegion.setBlock(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) voidServerLevel.setDefaultSpawnPos(BlockPos pPos, float pAngle) voidServerPlayer.setRaidOmenPosition(BlockPos pRaidOmenPosition) com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> ServerPlayer.startSleepInBed(BlockPos pAt) voidServerPlayer.startSleeping(BlockPos pPos) private voidprivate voidvoidServerLevel.tickPrecipitation(BlockPos pBlockPos) voidServerLevel.updateNeighborsAt(BlockPos p_215045_, Block p_215046_) voidServerLevel.updateNeighborsAt(BlockPos p_363893_, Block p_362383_, Orientation p_364696_) voidServerLevel.updateNeighborsAtExceptFromFacing(BlockPos p_215052_, Block p_215053_, Direction p_215054_, Orientation p_365231_) voidServerLevel.updatePOIOnBlockStateChange(BlockPos p_8751_, BlockState p_8752_, BlockState p_8753_) 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 aRespawnConfigrecord class. -
Uses of BlockPos in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static voidServerGamePacketListenerImpl.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 TypeMethodDescriptionbooleanSpawnUtil.Strategy.canSpawnOn(ServerLevel pLevel, BlockPos pTargetPos, BlockState pTargetState, BlockPos pAttemptedPos, BlockState pAttemptedState) static voidParticleUtils.spawnParticleBelow(Level pLevel, BlockPos pPos, RandomSource pRandom, ParticleOptions pParticle) static voidParticleUtils.spawnParticleInBlock(LevelAccessor pLevel, BlockPos pPos, int pCount, ParticleOptions pParticle) static voidParticleUtils.spawnParticleOnFace(Level pLevel, BlockPos pPos, Direction pDirection, ParticleOptions pParticle, Vec3 pSpeed, double pSpread) static voidParticleUtils.spawnParticles(LevelAccessor pLevel, BlockPos pPos, int pCount, double pXzSpread, double pYSpread, boolean pAllowInAir, ParticleOptions pParticle) static voidParticleUtils.spawnParticlesAlongAxis(Direction.Axis pAxis, Level pLevel, BlockPos pPos, double pSpread, ParticleOptions pParticle, UniformInt pCount) static voidParticleUtils.spawnParticlesOnBlockFace(Level pLevel, BlockPos pPos, ParticleOptions pParticle, IntProvider pCount, Direction pDirection, Supplier<Vec3> pSpeedSupplier, double pSpread) static voidParticleUtils.spawnParticlesOnBlockFaces(Level pLevel, BlockPos pPos, ParticleOptions pParticle, IntProvider pCount) static voidParticleUtils.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 voidContainers.dropContents(Level pLevel, BlockPos pPos, NonNullList<ItemStack> pStackList) static voidContainers.dropContents(Level pLevel, BlockPos pPos, Container pInventory) WorldlyContainerHolder.getContainer(BlockState pState, LevelAccessor pLevel, BlockPos pPos) static voidRandomizableContainer.setBlockEntityLootTable(BlockGetter pLevel, RandomSource pRandom, BlockPos pPs, ResourceKey<LootTable> pLootTable) static voidContainers.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 voidWeavingMobEffect.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 BlockPosEntity.blockPositionprivate BlockPosPortalProcessor.entryPositionprivate BlockPosLivingEntity.lastPosprivate BlockPosMob.restrictCenterFields in net.minecraft.world.entity with type parameters of type BlockPosModifier and TypeFieldDescriptionLeashable.LeashData.delayedLeashInfoLivingEntity.lastClimbablePosEntity.mainSupportingBlockPosprivate static final EntityDataAccessor<Optional<BlockPos>> LivingEntity.SLEEPING_POS_IDMethods in net.minecraft.world.entity that return BlockPosModifier and TypeMethodDescriptionEntity.adjustSpawnLocation(ServerLevel pLevel, BlockPos pPos) default BlockPosSpawnPlacementType.adjustSpawnPosition(LevelReader pLevel, BlockPos pPos) Entity.blockPosition()ExperienceOrb.getBlockPosBelowThatAffectsMyMovement()PortalProcessor.getEntryPosition()Entity.getOnPos()protected BlockPosEntity.getOnPos(float pYOffset) Entity.getOnPosLegacy()Deprecated.protected BlockPosEntity.getPrimaryStepSoundBlockPos(BlockPos pPos) Mob.getRestrictCenter()private BlockPosLightningBolt.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 BlockPosSpawnPlacementType.adjustSpawnPosition(LevelReader pLevel, BlockPos pPos) private voidEntity.applyMovementEmissionAndPlaySound(Entity.MovementEmission pMovementEmission, Vec3 pMovement, BlockPos pPos, BlockState pState) private booleanTamableAnimal.canTeleportTo(BlockPos pPos) booleanEntity.canTrample(ServerLevel level, BlockState state, BlockPos pos, double fallDistance) protected voidEntity.checkFallDamage(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected voidFlyingMob.checkFallDamage(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected voidLivingEntity.checkFallDamage(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) static booleanGlowSquid.checkGlowSquidSpawnRules(EntityType<? extends LivingEntity> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanMob.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 voidLightningBolt.clearCopperOnLightningStrike(Level pLevel, BlockPos pPos) private booleanEntity.collidedWithFluid(FluidState pFluid, BlockPos pPos, Vec3 pFrom, Vec3 pTo) EntityType.create(ServerLevel pLevel, Consumer<T> pConsumer, BlockPos pPos, EntitySpawnReason pReason, boolean pShoulOffsetY, boolean pShouldOffsetYMore) floatEntity.getBlockExplosionResistance(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entityprotected BlockPosEntity.getPrimaryStepSoundBlockPos(BlockPos pPos) floatPathfinderMob.getWalkTargetValue(BlockPos pPos) floatPathfinderMob.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) protected static doubleEntityType.getYOffset(LevelReader pLevel, BlockPos pPos, boolean pShouldOffsetYMore, AABB pBox) protected static voidEntity.handleOnAboveBubbleColumn(Entity pEntity, boolean pDownwards, BlockPos pPos) booleanEntity.isColliding(BlockPos pPos, BlockState pState) static booleanSpawnPlacements.isSpawnPositionOk(EntityType<?> pEntityType, LevelReader pLevel, BlockPos pPos) booleanSpawnPlacementType.isSpawnPositionOk(LevelReader pLevel, BlockPos pPos, EntityType<?> pEntityType) booleanEntity.isSupportedBy(BlockPos pPos) booleanMob.isWithinRestriction(BlockPos pPos) booleanEntity.mayInteract(ServerLevel pLevel, BlockPos pPos) voidEntity.onAboveBubbleColumn(boolean pDownwards, BlockPos pPos) protected voidLivingEntity.onChangedBlock(ServerLevel pLevel, BlockPos pPos) voidEntity.placePortalTicket(BlockPos pPos) protected voidEntity.playCombinationStepSounds(BlockState pPrimaryState, BlockState pSecondaryState, BlockPos primaryPos, BlockPos secondaryPos) protected voidEntity.playMuffledStepSound(BlockState pState, BlockPos pos) protected voidEntity.playStepSound(BlockPos pPos, BlockState pState) LightningBolt.randomStepCleaningCopper(Level pLevel, BlockPos pPos) private static voidLightningBolt.randomWalkCleaningCopper(Level pLevel, BlockPos pPos, BlockPos.MutableBlockPos pMutable, int pSteps) voidMob.restrictTo(BlockPos pPos, int pDistance) protected static voidEntity.sendBubbleColumnParticles(Level pLevel, BlockPos pPos) voidEntity.setAsInsidePortal(Portal pPortal, BlockPos pPos) private voidLivingEntity.setPosToBed(BlockPos pPos) Sets entity position to a supplied BlockPos plus a little offsetvoidLivingEntity.setRecordPlayingNearby(BlockPos pJukebox, boolean pPartyParrot) Called when a record starts or stops playing.voidLivingEntity.setSleepingPos(BlockPos pPos) booleanEntity.shouldBlockExplode(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) voidEntityType.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) voidLivingEntity.startSleeping(BlockPos pPos) private voidTamableAnimal.teleportToAroundBlockPos(BlockPos pPos) booleanSpawnPlacements.SpawnPredicate.test(EntityType<T> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) private booleanLivingEntity.trapdoorUsableAsLadder(BlockPos pPos, BlockState pState) voidPortalProcessor.updateEntryPosition(BlockPos pEntryPosition) private booleanEntity.vibrationAndSoundEffectsFromBlock(BlockPos pPos, BlockState pState, boolean pPlayStepSound, boolean pBroadcastGameEvent, Vec3 pEntityPos) private voidEntity.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 BlockPosHarvestFarmland.aboveFarmlandPosprivate final BlockPosBlockPosTracker.blockPosprivate BlockPosMoveToTargetSink.lastTargetPosprivate final BlockPosPrepareRamNearestTarget.RamCandidate.startPositionprivate BlockPosJumpOnBed.targetBedprivate final BlockPosLongJumpToRandomPos.PossibleJump.targetPosThe field for thetargetPosrecord component.private final BlockPosPrepareRamNearestTarget.RamCandidate.targetPositionFields in net.minecraft.world.entity.ai.behavior with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final BiPredicate<E, BlockPos> LongJumpToRandomPos.acceptableLandingSpotUseBonemeal.cropPosHarvestFarmland.validFarmlandAroundVillagerMethods in net.minecraft.world.entity.ai.behavior that return BlockPosModifier and TypeMethodDescriptionBlockPosTracker.currentBlockPosition()EntityTracker.currentBlockPosition()PositionTracker.currentBlockPosition()private static BlockPosGoToTargetLocation.getNearbyPos(Mob pMob, BlockPos pPos) PrepareRamNearestTarget.RamCandidate.getStartPosition()PrepareRamNearestTarget.RamCandidate.getTargetPosition()private BlockPosHarvestFarmland.getValidFarmland(ServerLevel pServerLevel) LongJumpToRandomPos.PossibleJump.targetPos()Returns the value of thetargetPosrecord 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 booleanInteractWithDoor.areOtherMobsComingThroughDoor(LivingEntity pEntity, BlockPos pPos, Optional<List<LivingEntity>> pNearestLivingEntities) private static booleanValidateNearbyPoi.bedIsOccupied(ServerLevel pLevel, BlockPos pPos, LivingEntity pEntity) private static booleanValidateNearbyPoi.bedIsOccupiedByVillager(ServerLevel pLevel, BlockPos pPos) private booleanprivate static booleanYieldJobSite.canReachPos(PathfinderMob pMob, BlockPos pPos, PoiType pPoi) static <E extends Mob>
booleanLongJumpToRandomPos.defaultAcceptableLandingSpot(E pMob, BlockPos pPos) private Vec3PrepareRamNearestTarget.getEdgeOfBlock(BlockPos pPos, BlockPos pOther) private static BlockPosGoToTargetLocation.getNearbyPos(Mob pMob, BlockPos pPos) private voidVillagerMakeLove.giveBedToChild(ServerLevel pLevel, Villager pVillager, BlockPos pPos) static booleanMoveToSkySeeingSpot.hasNoBlocksAbove(ServerLevel pLevel, LivingEntity pEntity, BlockPos pPos) private booleanLongJumpToRandomPos.isAcceptableLandingPosition(ServerLevel pLevel, E pEntity, BlockPos pPos) private booleanJumpOnBed.isBed(ServerLevel pLevel, BlockPos pPos) private static booleanInteractWithDoor.isMobComingThroughDoor(Brain<?> pBrain, BlockPos pPos) private booleanPrepareRamNearestTarget.isWalkableBlock(PathfinderMob pPathfinder, BlockPos pPos) private static booleanYieldJobSite.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 voidBehaviorUtils.setWalkAndLookTargetMemories(LivingEntity pLivingEntity, BlockPos pPos, float pSpeed, int pDistance) private voidWorkAtComposter.spawnComposterFillEffects(ServerLevel pLevel, BlockState pPreState, BlockPos pPos, BlockState pPostState) private voidJumpOnBed.startWalkingTowardsBed(Mob pMob, BlockPos pPos) private static booleanVillagerGoalPackages.validateBedPoi(ServerLevel pLevel, BlockPos pPos) private booleanHarvestFarmland.validPos(BlockPos pPos, ServerLevel pServerLevel) private booleanUseBonemeal.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 PathAcquirePoi.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 aPossibleJumprecord 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 BlockPosMoveToBlockGoal.blockPosBlock to move toprotected BlockPosDoorInteractGoal.doorPosprivate BlockPosMoveThroughVillageGoal.poiPosprivate BlockPosStrollThroughVillageGoal.wantedPosFields 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 BlockPosMoveToBlockGoal.getMoveToTarget()private BlockPosRemoveBlockGoal.getPosWithBlock(BlockPos pPos, BlockGetter pLevel) private BlockPosGolemRandomStrollInVillageGoal.getRandomPoiWithinSection(SectionPos pSectionPos) protected BlockPosPanicGoal.lookForWater(BlockGetter pLevel, Entity pEntity, int pRange) Methods in net.minecraft.world.entity.ai.goal with parameters of type BlockPosModifier and TypeMethodDescriptionprivate BlockPosRemoveBlockGoal.getPosWithBlock(BlockPos pPos, BlockGetter pLevel) private booleanBreathAirGoal.givesAir(LevelReader pLevel, BlockPos pPos) private booleanMoveThroughVillageGoal.hasNotVisited(BlockPos pPos) protected booleanCatLieOnBedGoal.isValidTarget(LevelReader pLevel, BlockPos pPos) Returntrueto set given position as destinationprotected booleanCatSitOnBlockGoal.isValidTarget(LevelReader pLevel, BlockPos pPos) Returntrueto set given position as destinationprotected abstract booleanMoveToBlockGoal.isValidTarget(LevelReader pLevel, BlockPos pPos) Returntrueto set given position as destinationprotected booleanRemoveBlockGoal.isValidTarget(LevelReader pLevel, BlockPos pPos) Returntrueto set given position as destinationvoidRemoveBlockGoal.playBreakSound(Level pLevel, BlockPos pPos) voidRemoveBlockGoal.playDestroyProgressSound(LevelAccessor pLevel, BlockPos pPos) private booleanDolphinJumpGoal.surfaceIsClear(BlockPos pPos, int pDx, int pDz, int pScale) private booleanDolphinJumpGoal.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_TARGETstatic final MemoryModuleType<BlockPos> MemoryModuleType.CELEBRATE_LOCATIONstatic final MemoryModuleType<BlockPos> MemoryModuleType.DISTURBANCE_LOCATIONstatic final MemoryModuleType<BlockPos> MemoryModuleType.NEAREST_BEDstatic final MemoryModuleType<BlockPos> MemoryModuleType.NEAREST_REPELLENTstatic final MemoryModuleType<BlockPos> MemoryModuleType.SNIFFER_SNIFFING_TARGETConstructors 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 booleanPiglinSpecificSensor.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 BlockPosRandomPos.generateRandomDirection(RandomSource pRandom, int pHorizontalDistance, int pVerticalDistance) Gets a random position within a certain distance.static BlockPosRandomPos.generateRandomDirectionWithinRadians(RandomSource pRandom, int pMaxHorizontalDifference, int pYRange, int pY, double pX, double pZ, double pMaxAngleDelta) static BlockPosAirAndWaterRandomPos.generateRandomPos(PathfinderMob pMob, int pMaxDistance, int pYRange, int pY, double pX, double pZ, double pAmplifier, boolean pShortCircuit) private static BlockPosDefaultRandomPos.generateRandomPosTowardDirection(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPosLandRandomPos.generateRandomPosTowardDirection(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPosRandomPos.generateRandomPosTowardDirection(PathfinderMob pMob, int pRange, RandomSource pRandom, BlockPos pPos) static BlockPosLandRandomPos.movePosUpOutOfSolid(PathfinderMob pMob, BlockPos pPos) static BlockPosRandomPos.moveUpOutOfSolid(BlockPos pPos, int pMaxY, Predicate<BlockPos> pPosPredicate) static BlockPosRandomPos.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 BlockPosDefaultRandomPos.generateRandomPosTowardDirection(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPosLandRandomPos.generateRandomPosTowardDirection(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPosRandomPos.generateRandomPosTowardDirection(PathfinderMob pMob, int pRange, RandomSource pRandom, BlockPos pPos) static booleanGoalUtils.hasMalus(PathfinderMob pMob, BlockPos pPos) static booleanGoalUtils.isNotStable(PathNavigation pNavigation, BlockPos pPos) static booleanGoalUtils.isOutsideLimits(BlockPos pPos, PathfinderMob pMob) static booleanGoalUtils.isRestricted(boolean pShortCircuit, PathfinderMob pMob, BlockPos pPos) static booleanGoalUtils.isSolid(PathfinderMob pMob, BlockPos pPos) static booleanGoalUtils.isWater(PathfinderMob pMob, BlockPos pPos) static BlockPosLandRandomPos.movePosUpOutOfSolid(PathfinderMob pMob, BlockPos pPos) static BlockPosRandomPos.moveUpOutOfSolid(BlockPos pPos, int pMaxY, Predicate<BlockPos> pPosPredicate) static BlockPosRandomPos.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 Vec3RandomPos.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 Vec3RandomPos.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 Vec3RandomPos.generateRandomPos(PathfinderMob pMob, Supplier<BlockPos> pPosSupplier) static Vec3LandRandomPos.getPos(PathfinderMob pMob, int pRadius, int pYRange, ToDoubleFunction<BlockPos> pToDoubleFunction) static BlockPosRandomPos.moveUpOutOfSolid(BlockPos pPos, int pMaxY, Predicate<BlockPos> pPosPredicate) static BlockPosRandomPos.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 Vec3VillageSiege.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 BlockPosPoiRecord.Packed.posThe field for theposrecord component.private final BlockPosPoiRecord.posMethods in net.minecraft.world.entity.ai.village.poi that return BlockPosModifier and TypeMethodDescriptionPoiRecord.getPos()PoiRecord.Packed.pos()Returns the value of theposrecord 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 TypeMethodDescriptionvoidvoidvoidPoiManager.ensureLoadedAndValid(LevelReader pLevelReader, BlockPos pPos, int pCoordinateOffset) booleanbooleanbooleanPoiManager.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) longPoiManager.getCountInRange(Predicate<Holder<PoiType>> pTypePredicate, BlockPos pPos, int pDistance, PoiManager.Occupancy pStatus) intPoiManager.getFreeTickets(BlockPos pPos) Deprecated.intPoiSection.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) booleanbooleanvoidvoidPoiManager.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 TypeMethodDescriptionvoidPoiManager.take(Predicate<Holder<PoiType>> pTypePredicate, BiPredicate<Holder<PoiType>, BlockPos> pCombinedTypePosPredicate, BlockPos pPos, int pDistance) private voidPoiManager.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 aPackedrecord 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 booleanBat.checkBatSpawnRules(EntityType<Bat> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandomSource) protected voidBat.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 BlockPosCat.CatRelaxOnOwnerGoal.goalPos(package private) BlockPosBee.hivePos(package private) BlockPosTurtle.homePosprivate BlockPosParrot.jukebox(package private) BlockPosBee.savedFlowerPos(package private) BlockPosTurtle.travelPos(package private) BlockPosDolphin.treasurePosFields 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 voidBee.BeeGoToHiveGoal.blacklistTarget(BlockPos pPos) static booleanAnimal.checkAnimalSpawnRules(EntityType<? extends Animal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected voidBee.checkFallDamage(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected voidParrot.checkFallDamage(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) static booleanFox.checkFoxSpawnRules(EntityType<Fox> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanMushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanOcelot.checkOcelotSpawnRules(EntityType<Ocelot> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanParrot.checkParrotSpawnRules(EntityType<Parrot> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanPolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanRabbit.checkRabbitSpawnRules(EntityType<Rabbit> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanAgeableWaterCreature.checkSurfaceAgeableWaterCreatureSpawnRules(EntityType<? extends AgeableWaterCreature> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanWaterAnimal.checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanTropicalFish.checkTropicalFishSpawnRules(EntityType<TropicalFish> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanTurtle.checkTurtleSpawnRules(EntityType<Turtle> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) (package private) booleanBee.closerThan(BlockPos pPos, int pDistance) private booleanBee.doesHiveHaveSpace(BlockPos pHivePos) private static Rabbit.VariantRabbit.getRandomRabbitVariant(LevelAccessor pLevel, BlockPos pPos) floatAnimal.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) floatBee.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) floatMushroomCow.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) floatTurtle.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) private booleanBee.BeeGoToHiveGoal.hasReachedTarget(BlockPos pPos) protected static booleanAnimal.isBrightEnoughToSpawn(BlockAndTintGetter pLevel, BlockPos pPos) private booleanbooleanTurtle.TurtlePathNavigation.isStableDestination(BlockPos pPos) (package private) booleanBee.BeeGoToHiveGoal.isTargetBlacklisted(BlockPos pPos) (package private) booleanBee.isTooFarAway(BlockPos pPos) protected booleanFox.FoxEatBerriesGoal.isValidTarget(LevelReader pLevel, BlockPos pPos) Returntrueto set given position as destinationprotected booleanRabbit.RaidGardenGoal.isValidTarget(LevelReader pLevel, BlockPos pPos) Returntrueto set given position as destinationprotected booleanTurtle.TurtleGoToWaterGoal.isValidTarget(LevelReader pLevel, BlockPos pPos) Returntrueto set given position as destinationprotected booleanTurtle.TurtleLayEggGoal.isValidTarget(LevelReader pLevel, BlockPos pPos) Returntrueto set given position as destinationprivate booleanBee.BeeGoToHiveGoal.pathfindDirectlyTowards(BlockPos pPos) (package private) voidBee.pathfindRandomlyTowards(BlockPos pPos) protected voidAbstractCow.playStepSound(BlockPos p_401406_, BlockState p_401079_) protected voidAbstractFish.playStepSound(BlockPos pPos, BlockState pBlock) protected voidBee.playStepSound(BlockPos pPos, BlockState pBlock) protected voidChicken.playStepSound(BlockPos pPos, BlockState pBlock) protected voidIronGolem.playStepSound(BlockPos pPos, BlockState pBlock) protected voidPanda.playStepSound(BlockPos pPos, BlockState pBlock) protected voidParrot.playStepSound(BlockPos pPos, BlockState pBlock) protected voidPig.playStepSound(BlockPos pPos, BlockState pBlock) protected voidPolarBear.playStepSound(BlockPos pPos, BlockState pBlock) protected voidTurtle.playStepSound(BlockPos pPos, BlockState pBlock) voidBee.setHivePos(BlockPos pHivePos) voidTurtle.setHomePos(BlockPos pHomePos) voidParrot.setRecordPlayingNearby(BlockPos pPos, boolean pIsPartying) Called when a record starts or stops playing.voidBee.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 TypeMethodDescriptionbooleanAllay.VibrationUser.canReceiveVibration(ServerLevel p_282038_, BlockPos p_283385_, Holder<GameEvent> p_316820_, GameEvent.Context p_282208_) protected voidAllay.checkFallDamage(double p_218316_, boolean p_218317_, BlockState p_218318_, BlockPos p_218319_) static voidAllayAi.hearNoteblock(LivingEntity pEntity, BlockPos pPos) voidAllay.VibrationUser.onReceiveVibration(ServerLevel p_281422_, BlockPos p_281449_, Holder<GameEvent> p_316630_, Entity p_281794_, Entity p_281864_, float p_281642_) protected voidAllay.playStepSound(BlockPos p_218364_, BlockState p_218365_) voidAllay.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 booleanArmadillo.checkArmadilloSpawnRules(EntityType<Armadillo> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected voidArmadillo.playStepSound(BlockPos p_316146_, BlockState p_316719_) -
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 booleanAxolotl.checkAxolotlSpawnRules(EntityType<? extends LivingEntity> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) floatAxolotl.getWalkTargetValue(BlockPos p_149140_, LevelReader p_149141_) -
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 booleanCamel.checkCamelSpawnRules(EntityType<Camel> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected voidCamel.playStepSound(BlockPos p_252056_, BlockState p_251457_) -
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 booleanFrog.checkFrogSpawnRules(EntityType<? extends Animal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) private static <E extends Mob>
booleanFrogAi.isAcceptableLandingSpot(E pMob, BlockPos pPos) protected voidFrog.playStepSound(BlockPos p_218505_, BlockState p_218506_) -
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 booleanGoat.checkGoatSpawnRules(EntityType<? extends Animal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected voidGoat.playStepSound(BlockPos p_149382_, BlockState p_149383_) -
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 booleanSkeletonHorse.checkSkeletonHorseSpawnRules(EntityType<? extends Animal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanZombieHorse.checkZombieHorseSpawnRules(EntityType<? extends Animal> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected voidAbstractHorse.playStepSound(BlockPos pPos, BlockState pBlock) protected voidLlama.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 DyeColorSheep.getRandomSheepColor(ServerLevelAccessor pLevel, BlockPos pPos) protected voidSheep.playStepSound(BlockPos p_405483_, BlockState p_405036_) -
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 booleanprotected voidSniffer.playStepSound(BlockPos p_272953_, BlockState p_273729_) private SnifferSniffer.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 booleanWolf.checkWolfSpawnRules(EntityType<Wolf> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected voidWolf.playStepSound(BlockPos p_406221_, BlockState p_406277_) -
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_TARGETMethods in net.minecraft.world.entity.boss.enderdragon that return BlockPosMethods in net.minecraft.world.entity.boss.enderdragon with parameters of type BlockPosModifier and TypeMethodDescriptionvoidEnderDragon.onCrystalDestroyed(ServerLevel pLevel, EndCrystal pCrystal, BlockPos pPos, DamageSource pDamageSource) voidEndCrystal.setBeamTarget(BlockPos pBeamTarget) voidEnderDragon.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 TypeMethodDescriptionvoidAbstractDragonPhaseInstance.onCrystalDestroyed(EndCrystal pCrystal, BlockPos pPos, DamageSource pDmgSrc, Player pPlyr) voidDragonHoldingPatternPhase.onCrystalDestroyed(EndCrystal pCrystal, BlockPos pPos, DamageSource pDmgSrc, Player pPlyr) voidDragonPhaseInstance.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 AABBHangingEntity.calculateBoundingBox(BlockPos pPos, Direction pDirection) protected AABBItemFrame.calculateBoundingBox(BlockPos p_345363_, Direction p_344892_) protected AABBPainting.calculateBoundingBox(BlockPos p_344831_, Direction p_345917_) static LeashFenceKnotEntityLeashFenceKnotEntity.getOrCreateKnot(Level pLevel, BlockPos pPos) Constructors in net.minecraft.world.entity.decoration with parameters of type BlockPosModifierConstructorDescriptionprotectedBlockAttachedEntity(EntityType<? extends BlockAttachedEntity> pEntityType, Level pLevel, BlockPos pPos) GlowItemFrame(Level p_149610_, BlockPos p_149611_, Direction p_149612_) protectedHangingEntity(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_POSMethods 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 TypeMethodDescriptionvoidFallingBlockEntity.callOnBrokenAfterFall(Block pBlock, BlockPos pPos) static FallingBlockEntityFallingBlockEntity.fall(Level pLevel, BlockPos pPos, BlockState pBlockState) voidFallingBlockEntity.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) BlockPosPhantom.anchorPointprivate BlockPosVex.boundOriginprivate BlockPosShulker.clientOldAttachPositionprivate BlockPosPatrollingMonster.patrolTargetMethods 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 booleanEnderMan.EndermanLeaveBlockGoal.canPlaceBlock(Level pLevel, BlockPos pDestinationPos, BlockState pCarriedState, BlockState pDestinationState, BlockState pBelowDestinationState, BlockPos pBelowDestinationPos) (package private) booleanstatic booleanMonster.checkAnyLightMonsterSpawnRules(EntityType<? extends Monster> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanDrowned.checkDrownedSpawnRules(EntityType<Drowned> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanEndermite.checkEndermiteSpawnRules(EntityType<Endermite> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected voidStrider.checkFallDamage(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) static booleanGhast.checkGhastSpawnRules(EntityType<Ghast> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanGuardian.checkGuardianSpawnRules(EntityType<? extends Guardian> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanHusk.checkHuskSpawnRules(EntityType<Husk> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanMagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanMonster.checkMonsterSpawnRules(EntityType<? extends Monster> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanPatrollingMonster.checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandomSource) static booleanSilverfish.checkSilverfishSpawnRules(EntityType<Silverfish> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanSlime.checkSlimeSpawnRules(EntityType<Slime> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanStray.checkStraySpawnRules(EntityType<Stray> pEntityType, ServerLevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanStrider.checkStriderSpawnRules(EntityType<Strider> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) static booleanZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected DirectionShulker.findAttachableSurface(BlockPos pPos) floatGiant.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) floatGuardian.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) floatMonster.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) floatPillager.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) floatSilverfish.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) floatStrider.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) static booleanMonster.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 booleanDrowned.isDeepEnoughToSpawn(LevelAccessor pLevel, BlockPos pPos) private booleanShulker.isPositionBlocked(BlockPos pPos) booleanStrider.StriderPathNavigation.isStableDestination(BlockPos pPos) protected booleanDrowned.DrownedGoToBeachGoal.isValidTarget(LevelReader pLevel, BlockPos pPos) Returntrueto set given position as destinationprotected booleanStrider.StriderGoToLavaGoal.isValidTarget(LevelReader pLevel, BlockPos pPos) Returntrueto set given position as destinationvoidZombie.ZombieAttackTurtleEggGoal.playBreakSound(Level pLevel, BlockPos pPos) voidZombie.ZombieAttackTurtleEggGoal.playDestroyProgressSound(LevelAccessor pLevel, BlockPos pPos) protected voidAbstractSkeleton.playStepSound(BlockPos pPos, BlockState pBlock) protected voidEndermite.playStepSound(BlockPos pPos, BlockState pBlock) protected voidRavager.playStepSound(BlockPos pPos, BlockState pBlock) protected voidSilverfish.playStepSound(BlockPos pPos, BlockState pBlock) protected voidSpider.playStepSound(BlockPos pPos, BlockState pBlock) protected voidStrider.playStepSound(BlockPos pPos, BlockState pBlock) protected voidZoglin.playStepSound(BlockPos pPos, BlockState pBlock) protected voidZombie.playStepSound(BlockPos pPos, BlockState pBlock) voidVex.setBoundOrigin(BlockPos pBoundOrigin) voidPatrollingMonster.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 BlockPosLongJump.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_POSMethods in net.minecraft.world.entity.monster.creaking that return BlockPosMethods in net.minecraft.world.entity.monster.creaking with parameters of type BlockPosModifier and TypeMethodDescriptionfloatCreaking.getWalkTargetValue(BlockPos p_379756_, LevelReader p_380102_) protected voidCreaking.playStepSound(BlockPos p_379428_, BlockState p_380060_) voidCreaking.setHomePos(BlockPos pHomePos) voidCreaking.setTransient(BlockPos pHomePos) -
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 booleanHoglin.checkHoglinSpawnRules(EntityType<Hoglin> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) floatHoglin.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) (package private) static booleanHoglinAi.isPosNearNearestRepellent(Hoglin pHoglin, BlockPos pPos) protected voidHoglin.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 booleanPiglin.checkPiglinSpawnRules(EntityType<Piglin> pEntityType, LevelAccessor pLevel, EntitySpawnReason pSpawnReason, BlockPos pPos, RandomSource pRandom) protected voidPiglin.playStepSound(BlockPos pPos, BlockState pBlock) protected voidPiglinBrute.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 TypeMethodDescriptionbooleanWarden.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) floatWarden.getWalkTargetValue(BlockPos p_219410_, LevelReader p_219411_) private static booleanWardenSpawnTracker.hasNearbyWarden(ServerLevel pLevel, BlockPos pPos) voidWarden.VibrationUser.onReceiveVibration(ServerLevel p_281325_, BlockPos p_282386_, Holder<GameEvent> p_316139_, Entity p_281438_, Entity p_282582_, float p_283699_) protected voidWarden.playStepSound(BlockPos p_219431_, BlockState p_219432_) static voidWardenAi.setDisturbanceLocation(Warden pWarden, BlockPos pDisturbanceLocation) static OptionalIntWardenSpawnTracker.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 BlockPosWanderingTraderSpawner.findSpawnPositionNear(LevelReader pLevel, BlockPos pPos, int pMaxDistance) (package private) BlockPosWanderingTrader.getWanderTarget()Methods in net.minecraft.world.entity.npc with parameters of type BlockPosModifier and TypeMethodDescriptionprivate BlockPosWanderingTraderSpawner.findSpawnPositionNear(LevelReader pLevel, BlockPos pPos, int pMaxDistance) private booleanWanderingTraderSpawner.hasEnoughSpace(BlockGetter pLevel, BlockPos pPos) private booleanWanderingTrader.WanderToPositionGoal.isTooFarAway(BlockPos pPos, double pDistance) voidWanderingTrader.setWanderTarget(BlockPos pWanderTarget) private voidCatSpawner.spawnCat(BlockPos pPos, ServerLevel pLevel, boolean pPersistent) private voidCatSpawner.spawnInHut(ServerLevel pLevel, BlockPos pPos) private voidCatSpawner.spawnInVillage(ServerLevel pLevel, BlockPos pPos) voidVillager.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 TypeMethodDescriptionbooleanPlayer.blockActionRestricted(Level pLevel, BlockPos pPos, GameType pGameMode) booleanPlayer.canInteractWithBlock(BlockPos pPos, double pDistance) protected booleanfloatPlayer.getDestroySpeed(BlockState pState, BlockPos pos) booleanPlayer.hasCorrectToolForDrops(BlockState pState, Level level, BlockPos pos) booleanPlayer.mayUseItemAt(BlockPos pPos, Direction pFacing, ItemStack pStack) Returns whether this player can modify the block at a certain location with the given stack.voidPlayer.onAboveBubbleColumn(boolean p_368525_, BlockPos p_393868_) protected voidPlayer.playStepSound(BlockPos p_282121_, BlockState p_282194_) com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> Player.startSleepInBed(BlockPos pBedPos) Constructors in net.minecraft.world.entity.player with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile with parameters of type BlockPosModifier and TypeMethodDescriptionprivate booleanFishingHook.calculateOpenWater(BlockPos pPos) private voidFishingHook.catchingFish(BlockPos pPos) private voidfloatWitherSkull.getBlockExplosionResistance(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entityprivate FishingHook.OpenWaterTypeFishingHook.getOpenWaterTypeForArea(BlockPos pFirstPos, BlockPos pSecondPos) private FishingHook.OpenWaterTypeFishingHook.getOpenWaterTypeForBlock(BlockPos pPos) booleanProjectile.mayInteract(ServerLevel p_376318_, BlockPos p_150168_) voidAbstractArrow.onAboveBubbleColumn(boolean p_399823_, BlockPos p_399645_) voidProjectile.onAboveBubbleColumn(boolean p_400117_, BlockPos p_400267_) voidThrownEnderpearl.onAboveBubbleColumn(boolean p_399523_, BlockPos p_399674_) void -
Uses of BlockPos in net.minecraft.world.entity.raid
Fields in net.minecraft.world.entity.raid declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPosRaid.centerprivate BlockPosRaider.RaiderMoveThroughVillageGoal.poiPosFields in net.minecraft.world.entity.raid with type parameters of type BlockPosMethods in net.minecraft.world.entity.raid that return BlockPosModifier and TypeMethodDescriptionprivate BlockPosRaid.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 RaidRaids.getOrCreateRaid(ServerLevel pServerLevel, BlockPos pPos) private booleanRaider.RaiderMoveThroughVillageGoal.hasNotVisited(BlockPos pPos) voidRaid.joinRaid(ServerLevel pLevel, int pWave, Raider pRaider, BlockPos pPos, boolean pIsRecruited) private voidRaid.playSound(ServerLevel pLevel, BlockPos pPos) private voidprivate voidRaid.spawnGroup(ServerLevel pLevel, BlockPos pPos) Constructors in net.minecraft.world.entity.raid with parameters of type BlockPosModifierConstructorDescriptionprivateRaid(boolean pStarted, boolean pActive, long pTicksActive, int pRaidOmenLevel, int pGroupsSpawned, int pRaidCooldownTicks, int pPostRaidTicks, float pTotalHealth, int pNumGroups, Raid.RaidStatus pStatus, BlockPos pCenter, Set<UUID> pHeroesOfTheVillage) 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 BlockPosSpawnContext.posThe field for theposrecord component.Methods in net.minecraft.world.entity.variant that return BlockPosModifier and TypeMethodDescriptionSpawnContext.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.entity.variant with parameters of type BlockPosModifier and TypeMethodDescriptionstatic SpawnContextSpawnContext.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 aSpawnContextrecord 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 TypeMethodDescriptionvoidNewMinecartBehavior.adjustToRails(BlockPos pPos, BlockState pState, boolean pSnapToStart) private Vec3NewMinecartBehavior.calculateBoostTrackSpeed(Vec3 pSpeed, BlockPos pPos, BlockState pState) private Vec3NewMinecartBehavior.calculateTrackSpeed(ServerLevel pLevel, Vec3 pSpeed, NewMinecartBehavior.TrackIteration pTrackIteration, BlockPos pPos, BlockState pState, RailShape pRailShape) protected voidAbstractBoat.checkFallDamage(double p_376661_, boolean p_376924_, BlockState p_376918_, BlockPos p_376727_) static doubleDismountHelper.findCeilingFrom(BlockPos pPos, int pCeiling, Function<BlockPos, VoxelShape> pShapeForPos) static Vec3DismountHelper.findSafeDismountLocation(EntityType<?> pEntityType, CollisionGetter pLevel, BlockPos pPos, boolean pOnlySafePositions) floatMinecartTNT.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) booleanAbstractMinecart.isRedstoneConductor(BlockPos pPos) protected doubleAbstractMinecart.makeStepAlongTrack(BlockPos pPos, RailShape pRailShape, double pSpeed) protected doubleMinecartHopper.makeStepAlongTrack(BlockPos p_360714_, RailShape p_361562_, double p_361083_) static VoxelShapeDismountHelper.nonClimbableShape(BlockGetter pLevel, BlockPos pPos) voidAbstractBoat.onAboveBubbleColumn(boolean p_376266_, BlockPos p_393506_) booleanMinecartTNT.shouldBlockExplode(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) abstract doubleMinecartBehavior.stepAlongTrack(BlockPos pPos, RailShape pRailShape, double pSpeed) doubleNewMinecartBehavior.stepAlongTrack(BlockPos p_362592_, RailShape p_361660_, double p_361219_) doubleOldMinecartBehavior.stepAlongTrack(BlockPos p_361990_, RailShape p_361139_, double p_362001_) Method parameters in net.minecraft.world.entity.vehicle with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic doubleDismountHelper.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> TContainerLevelAccess.evaluate(BiFunction<Level, BlockPos, T> pLevelPosConsumer, T pDefaultValue) default voidContainerLevelAccess.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 voidBoneMealItem.addGrowthParticles(LevelAccessor pLevel, BlockPos pPos, int pData) static booleanBoneMealItem.applyBonemeal(ItemStack p_40628_, Level p_40629_, BlockPos p_40630_, Player player) static InteractionResultLeadItem.bindPlayerMobs(Player pPlayer, Level pLevel, BlockPos pPos) protected booleanBucketItem.canBlockContainFluid(Player player, Level worldIn, BlockPos posIn, BlockState blockstate) booleanDebugStickItem.canDestroyBlock(ItemStack p_393705_, BlockState p_393781_, Level p_393500_, BlockPos p_394185_, LivingEntity p_394515_) booleanItem.canDestroyBlock(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, LivingEntity pEntity) booleanItemStack.canDestroyBlock(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected booleanHangingSignItem.canPlace(LevelReader p_252032_, BlockState p_252230_, BlockPos p_252075_) protected booleanStandingAndWallBlockItem.canPlace(LevelReader pLevel, BlockState pState, BlockPos pPos) voidBucketItem.checkExtraContent(LivingEntity p_394527_, Level p_150712_, ItemStack p_150713_, BlockPos p_150714_) default voidDispensibleContainerItem.checkExtraContent(LivingEntity pEntity, Level pLevel, ItemStack pStack, BlockPos pPos) voidMobBucketItem.checkExtraContent(LivingEntity p_394402_, Level p_151147_, ItemStack p_151148_, BlockPos p_151149_) booleanBucketItem.emptyContents(LivingEntity p_394627_, Level p_150717_, BlockPos p_150718_, BlockHitResult p_150719_) Deprecated.booleanBucketItem.emptyContents(LivingEntity p_394627_, Level p_150717_, BlockPos p_150718_, BlockHitResult p_150719_, ItemStack container) booleanDispensibleContainerItem.emptyContents(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockHitResult pHitResult) Deprecated.booleanSolidBucketItem.emptyContents(LivingEntity p_393886_, Level p_151193_, BlockPos p_151194_, BlockHitResult p_151195_) private Optional<BlockState> AxeItem.evaluateNewBlockState(Level pLevel, BlockPos pPos, Player pPlayer, BlockState pState, UseOnContext p_40529_) private BlockStateMapItem.getCorrectStateForFluidBlock(Level pLevel, BlockState pState, BlockPos pPos) protected SoundEventBlockItem.getPlaceSound(BlockState pState, Level world, BlockPos pos, Player entity) static booleanDeprecated.static booleanBoneMealItem.growWaterPlant(ItemStack pStack, Level pLevel, BlockPos pPos, Direction pClickedSide) private booleanDebugStickItem.handleInteraction(Player pPlayer, BlockState pStateClicked, LevelAccessor pAccessor, BlockPos pPos, boolean pShouldCycleState, ItemStack pDebugStack) LeadItem.leashableInArea(Level pLevel, BlockPos pPos, Predicate<Leashable> pPredicate) protected booleanHangingEntityItem.mayPlace(Player pPlayer, Direction pDirection, ItemStack pHangingEntityStack, BlockPos pPos) protected booleanbooleanItem.mineBlock(ItemStack pStack, Level pLevel, BlockState pState, BlockPos pPos, LivingEntity pMiningEntity) Called when aBlockis destroyed using this Item.voidItemStack.mineBlock(Level pLevel, BlockState pState, BlockPos pPos, Player pPlayer) Called when a Block is destroyed using this ItemStackbooleanShearsItem.mineBlock(ItemStack pStack, Level pLevel, BlockState pState, BlockPos pPos, LivingEntity pEntityLiving) Called when aBlockis destroyed using this Item.protected voidBucketItem.playEmptySound(LivingEntity pEntity, LevelAccessor pLevel, BlockPos pPos) protected voidMobBucketItem.playEmptySound(LivingEntity p_394554_, LevelAccessor p_151152_, BlockPos p_151153_) private voidprivate voidMobBucketItem.spawn(ServerLevel pServerLevel, ItemStack pBucketedMobStack, BlockPos pPos) private static voidJukeboxSongPlayer.spawnMusicParticles(LevelAccessor pLevel, BlockPos pPos) static InteractionResultJukeboxPlayable.tryInsertIntoJukebox(Level pLevel, BlockPos pPos, ItemStack pStack, Player pPlayer) private static voidBlockItem.updateBlockEntityComponents(Level pLevel, BlockPos pPoa, ItemStack pStack) private BlockStateBlockItem.updateBlockStateFromTag(BlockPos pPos, Level pLevel, ItemStack pStack, BlockState pState) protected booleanBlockItem.updateCustomBlockEntityTag(BlockPos pPos, Level pLevel, Player pPlayer, ItemStack pStack, BlockState pState) static booleanBlockItem.updateCustomBlockEntityTag(Level pLevel, Player pPlayer, BlockPos pPos, ItemStack pStack) protected booleanSignItem.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 BlockPlaceContextBlockPlaceContext.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 BlockPosNaturalSpawner.SpawnState.lastCheckedPosprivate final BlockPosBlockEventData.posThe field for theposrecord component.private final BlockPosPotentialCalculator.PointCharge.pos(package private) final BlockPosServerExplosion.StackCollector.posFields in net.minecraft.world.level with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final ForcedChunkManager.TicketTracker<BlockPos> TicketStorage.blockForcedChunksMethods 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 BlockPosCommonLevelAccessor.getHeightmapPos(Heightmap.Types pHeightmapType, BlockPos pPos) default BlockPosLevelReader.getHeightmapPos(Heightmap.Types pHeightmapType, BlockPos pPos) LevelSimulatedReader.getHeightmapPos(Heightmap.Types pHeightmapType, BlockPos pPos) ChunkPos.getMiddleBlockPosition(int pY) private static BlockPosNaturalSpawner.getRandomPosWithin(Level pLevel, LevelChunk pChunk) Level.getSharedSpawnPos()private static BlockPosNaturalSpawner.getTopNonCollidingPos(LevelReader pLevel, EntityType<?> pEntityType, int pX, int pZ) ChunkPos.getWorldPosition()BlockEventData.pos()Returns the value of theposrecord 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 TypeMethodDescriptionvoidvoidLevel.addDestroyBlockEffect(BlockPos pPos, BlockState pState) private static voidServerExplosion.addOrAppendStack(List<ServerExplosion.StackCollector> pStackCollectors, ItemStack pStack, BlockPos pPos) static longvoidLevel.blockEntityChanged(BlockPos pPos) voidLevel.blockEvent(BlockPos pPos, Block pBlock, int pEventID, int pEventParam) abstract voidBaseSpawner.broadcastEvent(Level pLevel, BlockPos pPos, int pEventId) default booleandefault booleanLevelReader.canSeeSkyFromBelowWater(BlockPos pPos) private booleanNaturalSpawner.SpawnState.canSpawn(EntityType<?> pEntityType, BlockPos pPos, ChunkAccess pChunk) private static booleanNaturalSpawner.canSpawnMobAt(ServerLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, MobCategory pCategory, MobSpawnSettings.SpawnerData pData, BlockPos pPos) voidBaseSpawner.clientTick(Level pLevel, BlockPos pPos) default BlockHitResultBlockGetter.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 voidbooleanLevel.destroyBlock(BlockPos pPos, boolean pDropBlock, Entity pEntity, int pRecursionLeft) default booleanLevelWriter.destroyBlock(BlockPos pPos, boolean pDropBlock) Sets a block to air, but also plays the sound and particles and can spawn dropsdefault booleanLevelWriter.destroyBlock(BlockPos pPos, boolean pDropBlock, Entity pEntity) booleanLevelWriter.destroyBlock(BlockPos pPos, boolean pDropBlock, Entity pEntity, int pRecursionLeft) abstract voidLevel.destroyBlockProgress(int pBreakerId, BlockPos pPos, int pProgress) default booleanWorldGenLevel.ensureCanWrite(BlockPos pPos) default voidLevelAccessor.gameEvent(Holder<GameEvent> pGameEvent, BlockPos pPos, GameEvent.Context pContext) default voidLevelAccessor.gameEvent(ResourceKey<GameEvent> pGameEvent, BlockPos pPos, GameEvent.Context pContext) default voidClipContext.Block.get(BlockState p_45714_, BlockGetter p_45715_, BlockPos p_45716_, CollisionContext p_45717_) ClipContext.ShapeGetter.get(BlockState pState, BlockGetter pBlock, BlockPos pPos, CollisionContext pCollisionContext) StructureManager.getAllStructuresAt(BlockPos pPos) default intSignalGetter.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 p_151452_, BlockEntityType<T> p_151453_) 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 p_346109_, BlockGetter p_345381_, BlockPos p_344921_, BlockState p_346239_, FluidState p_345105_) default doubleBlockGetter.getBlockFloorHeight(BlockPos pPos) ClipContext.getBlockShape(BlockState pBlockState, BlockGetter pLevel, BlockPos pPos) BlockGetter.getBlockState(BlockPos pPos) EmptyBlockAndTintGetter.getBlockState(BlockPos p_364801_) EmptyBlockGetter.getBlockState(BlockPos pPos) Level.getBlockState(BlockPos pPos) PathNavigationRegion.getBlockState(BlockPos pPos) intBlockAndTintGetter.getBlockTint(BlockPos pBlockPos, ColorResolver pColorResolver) intEmptyBlockAndTintGetter.getBlockTint(BlockPos p_362018_, ColorResolver p_365320_) default intLevelReader.getBlockTint(BlockPos pBlockPos, ColorResolver pColorResolver) default intBlockAndTintGetter.getBrightness(LightLayer pLightType, BlockPos pBlockPos) default ChunkAccessprivate ChunkAccessLevel.getChunkAt(BlockPos pPos) intLevel.getClientLeafTintColor(BlockPos pPos) default intSignalGetter.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 intSignalGetter.getDirectSignal(BlockPos pPos, Direction pDirection) Returns the direct redstone signal emitted from the given position in the given direction.default intSignalGetter.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 intLevelReader.getHeight(Heightmap.Types pHeightmapType, BlockPos pPos) default BlockPosCommonLevelAccessor.getHeightmapPos(Heightmap.Types pHeightmapType, BlockPos pPos) default BlockPosLevelReader.getHeightmapPos(Heightmap.Types pHeightmapType, BlockPos pPos) LevelSimulatedReader.getHeightmapPos(Heightmap.Types pHeightmapType, BlockPos pPos) default intBlockGetter.getLightEmission(BlockPos pPos) default floatLevelReader.getLightLevelDependentMagicValue(BlockPos pPos) Deprecated.default intLevelReader.getMaxLocalRawBrightness(BlockPos pPos) default intLevelReader.getMaxLocalRawBrightness(BlockPos pPos, int pAmount) BaseSpawner.getOrCreateDisplayEntity(Level pLevel, BlockPos pPos) private SpawnDataBaseSpawner.getOrCreateNextSpawnData(Level pLevel, RandomSource pRandom, BlockPos pPos) default floatLevelReader.getPathfindingCostFromLightLevels(BlockPos pPos) doublePotentialCalculator.PointCharge.getPotentialChange(BlockPos pPos) doublePotentialCalculator.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 intBlockAndTintGetter.getRawBrightness(BlockPos pBlockPos, int pAmount) (package private) static BiomeNaturalSpawner.getRoughBiome(BlockPos pPos, ChunkAccess pChunk) default intReturns 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) voidLevel.globalLevelEvent(int pId, BlockPos pPos, int pData) booleanStructureManager.hasAnyStructureAt(BlockPos pPos) default booleanLevelReader.hasChunkAt(BlockPos pPos) Deprecated.default booleanLevelReader.hasChunksAt(BlockPos pFrom, BlockPos pTo) Deprecated.default booleanSignalGetter.hasNeighborSignal(BlockPos pPos) Returns whether the given position receives any redstone signal from neighboring blocks.default booleanReturns whether a redstone signal is emitted from the given position in the given direction.default booleanLevelReader.isEmptyBlock(BlockPos pPos) Checks to see if an air block exists at the provided location.booleanLevel.isFluidAtPosition(BlockPos p_151541_, Predicate<FluidState> p_151542_) booleanLevelSimulatedReader.isFluidAtPosition(BlockPos pPos, Predicate<FluidState> pPredicate) static booleanNaturalSpawner.isInNetherFortressBounds(BlockPos pPos, ServerLevel pLevel, MobCategory pCategory, StructureManager pStructureManager) static booleanLevel.isInSpawnableBounds(BlockPos pPos) booleanLevel.isInWorldBounds(BlockPos pPos) Check if the given BlockPos has valid coordinatesprivate static booleanLevel.isInWorldBoundsHorizontal(BlockPos pPos) booleanprivate booleanBaseSpawner.isNearPlayer(Level pLevel, BlockPos pPos) default booleanLevelHeightAccessor.isOutsideBuildHeight(BlockPos pPos) booleanLevel.isRainingAt(BlockPos pPos) Check if precipitation is currently happening at a positionbooleanLevel.isStateAtPosition(BlockPos pPos, Predicate<BlockState> pState) booleanLevelSimulatedReader.isStateAtPosition(BlockPos pPos, Predicate<BlockState> pState) default booleanCollisionGetter.isUnobstructed(BlockState pState, BlockPos pPos, CollisionContext pContext) static booleanNaturalSpawner.isValidEmptySpawnBlock(BlockGetter pBlock, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, EntityType<?> pEntityType) booleanSpawnData.CustomSpawnRules.isValidPosition(BlockPos pPos, ServerLevel pLevel) default booleandefault voidLevelAccessor.levelEvent(int pType, BlockPos pPos, int pData) voidLevelAccessor.levelEvent(Entity pEntity, int pType, BlockPos pPos, int pData) voidBaseSpawner.load(Level pLevel, BlockPos pPos, CompoundTag pTag) booleanLevel.loadedAndEntityCanStandOn(BlockPos pPos, Entity pEntity) booleanLevel.loadedAndEntityCanStandOnFace(BlockPos pPos, Entity pEntity, Direction pDirection) voidLevel.markAndNotifyBlock(BlockPos p_46605_, LevelChunk levelchunk, BlockState blockstate, BlockState p_46606_, int p_46607_, int p_46608_) booleanLevel.mayInteract(Entity pEntity, BlockPos pPos) private static WeightedList<MobSpawnSettings.SpawnerData> NaturalSpawner.mobsAt(ServerLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, MobCategory pCetagory, BlockPos pPos, Holder<Biome> pBiome) voidLevel.neighborChanged(BlockPos pPos, Block pBlock, Orientation pOrientation) voidLevel.neighborChanged(BlockState pState, BlockPos pPos, Block pBlock, Orientation pOrientation, boolean pMovedByPiston) voidLevel.neighborShapeChanged(Direction p_220385_, BlockPos p_220387_, BlockPos p_220388_, BlockState p_220386_, int p_220389_, int p_220390_) default voidLevelAccessor.neighborShapeChanged(Direction pDirection, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, int pFlags, int pRecursionLeft) voidLevel.playLocalSound(BlockPos pPos, SoundEvent pSound, SoundSource pSource, float pVolume, float pPitch, boolean pDistanceDelay) voidLevel.playSound(Entity pEntity, BlockPos pPos, SoundEvent pSound, SoundSource pCategory, float pVolume, float pPitch) default voidLevelAccessor.playSound(Entity pEntity, BlockPos pPos, SoundEvent pSound, SoundSource pSource) voidLevelAccessor.playSound(Entity pEntity, BlockPos pPos, SoundEvent pSound, SoundSource pSource, float pVolume, float pPitch) booleanLevel.removeBlock(BlockPos pPos, boolean pIsMoving) booleanLevelWriter.removeBlock(BlockPos pPos, boolean pIsMoving) voidLevel.removeBlockEntity(BlockPos pPos) default voidScheduledTickAccess.scheduleTick(BlockPos pPos, Block pBlock, int pDelay) default voidScheduledTickAccess.scheduleTick(BlockPos pPos, Block pBlock, int pDelay, TickPriority pPriority) default voidScheduledTickAccess.scheduleTick(BlockPos pPos, Fluid pFluid, int pDelay) default voidScheduledTickAccess.scheduleTick(BlockPos pPos, Fluid pFluid, int pDelay, TickPriority pPriority) abstract voidLevel.sendBlockUpdated(BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) Flags are as in setBlockStatevoidBaseSpawner.serverTick(ServerLevel pServerLevel, BlockPos pPos) booleanLevel.setBlock(BlockPos pPos, BlockState pNewState, int pFlags) Sets a block state into this world.Flags are as follows: 1 will notify neighboring blocks throughupdates. 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.invalid reference
neighborChangedbooleanLevel.setBlock(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) default booleanLevelWriter.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.booleanLevelWriter.setBlock(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) booleanLevel.setBlockAndUpdate(BlockPos pPos, BlockState pState) Convenience method to update the block on both the client and servervoidLevel.setBlocksDirty(BlockPos pBlockPos, BlockState pOldState, BlockState pNewState) voidBaseSpawner.setEntityId(EntityType<?> pType, Level pLevel, RandomSource pRandom, BlockPos pPos) protected voidBaseSpawner.setNextSpawnData(Level pLevel, BlockPos pPos, SpawnData pNextSpawnData) booleanEntityBasedExplosionDamageCalculator.shouldBlockExplode(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) booleanExplosionDamageCalculator.shouldBlockExplode(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) booleanSimpleExplosionDamageCalculator.shouldBlockExplode(Explosion p_345994_, BlockGetter p_345042_, BlockPos p_345057_, BlockState p_345932_, float p_345776_) booleanLevel.shouldTickBlocksAt(BlockPos pPos) static voidNaturalSpawner.spawnCategoryForPosition(MobCategory pCategory, ServerLevel pLevel, BlockPos pPos) static voidNaturalSpawner.spawnCategoryForPosition(MobCategory pCategory, ServerLevel pLevel, ChunkAccess pChunk, BlockPos pPos, NaturalSpawner.SpawnPredicate pFilter, NaturalSpawner.AfterSpawnCallback pCallback) booleanStructureManager.structureHasPieceAt(BlockPos pPos, StructureStart pStructureStart) booleanNaturalSpawner.SpawnPredicate.test(EntityType<?> pEntityType, BlockPos pPos, ChunkAccess pChunk) voidLevel.updateNeighborsAt(BlockPos pPos, Block pBlock, Orientation pOrientation) default voidLevelAccessor.updateNeighborsAt(BlockPos pPos, Block pBlock) voidLevel.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) voidLevel.updateNeighbourForOutputSignal(BlockPos pPos, Block pBlock) voidLevel.updatePOIOnBlockStateChange(BlockPos pPos, BlockState pOldState, BlockState pNewState) voidMethod parameters in net.minecraft.world.level with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate voidServerExplosion.createFire(List<BlockPos> pBlocks) private voidServerExplosion.hurtEntities(List<BlockPos> blocks) private voidServerExplosion.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 aBlockEventDatarecord 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 BlockPosClimate.SpawnFinder.Result.locationThe field for thelocationrecord component.Methods in net.minecraft.world.level.biome that return BlockPosModifier and TypeMethodDescriptionstatic BlockPosClimate.findSpawnPosition(List<Climate.ParameterPoint> pPoints, Climate.Sampler pSampler) Climate.Sampler.findSpawnPosition()Climate.SpawnFinder.Result.location()Returns the value of thelocationrecord component.Methods in net.minecraft.world.level.biome that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBiomeSource.findBiomeHorizontal(int pX, int pY, int pZ, int pRadius, int pIncrement, Predicate<Holder<Biome>> pBiomePredicate, RandomSource pRandom, boolean pFindClosest, Climate.Sampler pSampler) BiomeSource.findBiomeHorizontal(int pX, int pY, int pZ, int pRadius, Predicate<Holder<Biome>> pBiomePredicate, RandomSource pRandom, Climate.Sampler pSampler) 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 pPos, int pRadius, int pHorizontalStep, int pVerticalStep, Predicate<Holder<Biome>> pBiomePredicate, Climate.Sampler pSampler, LevelReader pLevel) 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 TypeMethodDescriptionvoidBiomeSource.addDebugInfo(List<String> pInfo, BlockPos pPos, Climate.Sampler pSampler) voidMultiNoiseBiomeSource.addDebugInfo(List<String> p_207895_, BlockPos p_207896_, Climate.Sampler p_207897_) booleanBiome.coldEnoughToSnow(BlockPos pPos, int pSeaLevel) BiomeSource.findClosestBiome3d(BlockPos pPos, int pRadius, int pHorizontalStep, int pVerticalStep, Predicate<Holder<Biome>> pBiomePredicate, Climate.Sampler pSampler, LevelReader pLevel) 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 floatBiome.getHeightAdjustedTemperature(BlockPos pPos, int pSeaLevel) BiomeManager.getNoiseBiomeAtPosition(BlockPos pPos) Biome.getPrecipitationAt(BlockPos pPos, int pSeaLevel) private floatBiome.getTemperature(BlockPos pPos, int pSeaLevel) Deprecated.abstract floatBiome.TemperatureModifier.modifyTemperature(BlockPos pPos, float pTemperature) booleanBiome.shouldFreeze(LevelReader pLevel, BlockPos pPos) booleanBiome.shouldFreeze(LevelReader pLevel, BlockPos pWater, boolean pMustBeAtEdge) booleanBiome.shouldMeltFrozenOceanIcebergSlightly(BlockPos pPos, int pSeaLevel) booleanBiome.shouldSnow(LevelReader pLevel, BlockPos pPos) booleanBiome.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 BlockPosComposterBlock.InputContainer.posprivate final BlockPosComposterBlock.OutputContainer.posprivate final BlockPosMultifaceSpreader.SpreadPos.posThe field for theposrecord component.private final BlockPosPitcherCropBlock.PosAndState.posThe field for theposrecord component.private final BlockPosPointedDripstoneBlock.FluidInfo.posThe field for theposrecord component.private final BlockPosRailState.pos(package private) final BlockPosRedstoneTorchBlock.Toggle.posprivate BlockPosSculkSpreader.ChargeCursor.posFields in net.minecraft.world.level.block with type parameters of type BlockPosMethods in net.minecraft.world.level.block that return BlockPosModifier and TypeMethodDescriptionprivate static BlockPosPointedDripstoneBlock.findFillableCauldronBelowStalactiteTip(Level pLevel, BlockPos pPos, Fluid pFluid) static BlockPosPointedDripstoneBlock.findStalactiteTipAboveCauldron(Level pLevel, BlockPos pPos) private static BlockPosPointedDripstoneBlock.findTip(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pMaxIterations, boolean pIsTipMerge) default BlockPosBonemealableBlock.getParticlePos(BlockPos pPos) MangroveLeavesBlock.getParticlePos(BlockPos p_316180_) RootedDirtBlock.getParticlePos(BlockPos p_316883_) SculkSpreader.ChargeCursor.getPos()HangingMossBlock.getTip(BlockGetter pLevel, BlockPos pPos) private static BlockPosSculkSpreader.ChargeCursor.getValidMovementPos(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) MultifaceSpreader.SpreadPos.pos()Returns the value of theposrecord component.PitcherCropBlock.PosAndState.pos()Returns the value of theposrecord component.PointedDripstoneBlock.FluidInfo.pos()Returns the value of theposrecord 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 TypeMethodDescriptionvoidSculkSensorBlock.activate(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState, int pPower, int pFrequency) private static voidChiseledBookShelfBlock.addBook(Level pLevel, BlockPos pPos, Player pPlayer, ChiseledBookShelfBlockEntity pBlockEntity, ItemStack pBookStack, int pSlot) voidSculkSpreader.addCursors(BlockPos pPos, int pCharge) (package private) static BlockStateComposterBlock.addItem(Entity pEntity, BlockState pState, LevelAccessor pLevel, BlockPos pPos, ItemStack pStack) voidSaplingBlock.advanceTree(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) protected voidAbstractCauldronBlock.affectNeighborsAfterRemoval(BlockState p_394424_, ServerLevel p_394241_, BlockPos p_393520_, boolean p_394545_) protected voidAbstractFurnaceBlock.affectNeighborsAfterRemoval(BlockState p_393619_, ServerLevel p_394633_, BlockPos p_393784_, boolean p_393627_) protected voidBarrelBlock.affectNeighborsAfterRemoval(BlockState p_393681_, ServerLevel p_394632_, BlockPos p_394133_, boolean p_394282_) protected voidBasePressurePlateBlock.affectNeighborsAfterRemoval(BlockState p_394236_, ServerLevel p_394295_, BlockPos p_393547_, boolean p_394138_) protected voidBaseRailBlock.affectNeighborsAfterRemoval(BlockState p_393821_, ServerLevel p_394170_, BlockPos p_394092_, boolean p_393869_) protected voidBrewingStandBlock.affectNeighborsAfterRemoval(BlockState p_393668_, ServerLevel p_394144_, BlockPos p_393813_, boolean p_394308_) protected voidButtonBlock.affectNeighborsAfterRemoval(BlockState p_394009_, ServerLevel p_394160_, BlockPos p_394096_, boolean p_393730_) protected voidChestBlock.affectNeighborsAfterRemoval(BlockState p_393880_, ServerLevel p_393720_, BlockPos p_394177_, boolean p_394178_) protected voidChiseledBookShelfBlock.affectNeighborsAfterRemoval(BlockState p_394006_, ServerLevel p_394108_, BlockPos p_394432_, boolean p_393697_) protected voidComposterBlock.affectNeighborsAfterRemoval(BlockState p_394424_, ServerLevel p_394241_, BlockPos p_393520_, boolean p_394545_) protected voidCrafterBlock.affectNeighborsAfterRemoval(BlockState p_393684_, ServerLevel p_393956_, BlockPos p_394624_, boolean p_394348_) protected voidCreakingHeartBlock.affectNeighborsAfterRemoval(BlockState p_393635_, ServerLevel p_394550_, BlockPos p_394080_, boolean p_394343_) protected voidDecoratedPotBlock.affectNeighborsAfterRemoval(BlockState p_394575_, ServerLevel p_393957_, BlockPos p_393972_, boolean p_393685_) protected voidDiodeBlock.affectNeighborsAfterRemoval(BlockState p_394602_, ServerLevel p_394501_, BlockPos p_394572_, boolean p_393902_) protected voidDispenserBlock.affectNeighborsAfterRemoval(BlockState p_393538_, ServerLevel p_394459_, BlockPos p_394052_, boolean p_394019_) protected voidHopperBlock.affectNeighborsAfterRemoval(BlockState p_393723_, ServerLevel p_393834_, BlockPos p_394230_, boolean p_394190_) protected voidJukeboxBlock.affectNeighborsAfterRemoval(BlockState p_394657_, ServerLevel p_393637_, BlockPos p_394442_, boolean p_394460_) protected voidLecternBlock.affectNeighborsAfterRemoval(BlockState p_394224_, ServerLevel p_394158_, BlockPos p_393759_, boolean p_393736_) protected voidLeverBlock.affectNeighborsAfterRemoval(BlockState p_394661_, ServerLevel p_394153_, BlockPos p_394342_, boolean p_393487_) protected voidLightningRodBlock.affectNeighborsAfterRemoval(BlockState p_394444_, ServerLevel p_394662_, BlockPos p_394106_, boolean p_394227_) protected voidObserverBlock.affectNeighborsAfterRemoval(BlockState p_393998_, ServerLevel p_394664_, BlockPos p_394449_, boolean p_394257_) protected voidRedstoneTorchBlock.affectNeighborsAfterRemoval(BlockState p_393663_, ServerLevel p_394074_, BlockPos p_393851_, boolean p_393740_) protected voidRedStoneWireBlock.affectNeighborsAfterRemoval(BlockState p_393608_, ServerLevel p_393706_, BlockPos p_394400_, boolean p_393564_) protected voidSculkSensorBlock.affectNeighborsAfterRemoval(BlockState p_393931_, ServerLevel p_394552_, BlockPos p_394037_, boolean p_393527_) protected voidShulkerBoxBlock.affectNeighborsAfterRemoval(BlockState p_393743_, ServerLevel p_394398_, BlockPos p_393898_, boolean p_394318_) protected voidTripWireBlock.affectNeighborsAfterRemoval(BlockState p_394298_, ServerLevel p_393642_, BlockPos p_393978_, boolean p_393483_) protected voidTripWireHookBlock.affectNeighborsAfterRemoval(BlockState p_393497_, ServerLevel p_393954_, BlockPos p_394068_, boolean p_394288_) private static booleanChorusFlowerBlock.allNeighborsEmpty(LevelReader pLevel, BlockPos pPos, Direction pExcludingSide) private static booleanBlocks.always(BlockState pState, BlockGetter pBlockGetter, BlockPos pPos) static BooleanBlocks.always(BlockState pState, BlockGetter pLevel, BlockPos pPos, EntityType<?> pEntity) private voidBeehiveBlock.angerNearbyBees(Level pLevel, BlockPos pPos) voidAbstractCandleBlock.animateTick(BlockState p_220697_, Level p_220698_, BlockPos p_220699_, RandomSource p_220700_) voidBaseFireBlock.animateTick(BlockState p_220763_, Level p_220764_, BlockPos p_220765_, RandomSource p_220766_) voidBeehiveBlock.animateTick(BlockState p_220773_, Level p_220774_, BlockPos p_220775_, RandomSource p_220776_) voidBlastFurnaceBlock.animateTick(BlockState p_220818_, Level p_220819_, BlockPos p_220820_, RandomSource p_220821_) voidBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBrewingStandBlock.animateTick(BlockState p_220883_, Level p_220884_, BlockPos p_220885_, RandomSource p_220886_) voidBrushableBlock.animateTick(BlockState p_277390_, Level p_277525_, BlockPos p_278107_, RandomSource p_277574_) voidBubbleColumnBlock.animateTick(BlockState p_220893_, Level p_220894_, BlockPos p_220895_, RandomSource p_220896_) voidCampfireBlock.animateTick(BlockState p_220918_, Level p_220919_, BlockPos p_220920_, RandomSource p_220921_) voidCreakingHeartBlock.animateTick(BlockState p_379556_, Level p_379594_, BlockPos p_379297_, RandomSource p_379301_) voidCryingObsidianBlock.animateTick(BlockState p_221055_, Level p_221056_, BlockPos p_221057_, RandomSource p_221058_) voidDryVegetationBlock.animateTick(BlockState p_401875_, Level p_401809_, BlockPos p_401789_, RandomSource p_401918_) voidEnchantingTableBlock.animateTick(BlockState p_341263_, Level p_341303_, BlockPos p_340983_, RandomSource p_341147_) voidEnderChestBlock.animateTick(BlockState p_221117_, Level p_221118_, BlockPos p_221119_, RandomSource p_221120_) voidEndGatewayBlock.animateTick(BlockState p_221097_, Level p_221098_, BlockPos p_221099_, RandomSource p_221100_) voidEndPortalBlock.animateTick(BlockState p_221102_, Level p_221103_, BlockPos p_221104_, RandomSource p_221105_) voidEndRodBlock.animateTick(BlockState p_221107_, Level p_221108_, BlockPos p_221109_, RandomSource p_221110_) voidEyeblossomBlock.animateTick(BlockState p_382850_, Level p_382933_, BlockPos p_382838_, RandomSource p_383190_) voidFallingBlock.animateTick(BlockState p_221129_, Level p_221130_, BlockPos p_221131_, RandomSource p_221132_) voidFireflyBushBlock.animateTick(BlockState p_401358_, Level p_401092_, BlockPos p_401110_, RandomSource p_401309_) voidFurnaceBlock.animateTick(BlockState p_221253_, Level p_221254_, BlockPos p_221255_, RandomSource p_221256_) voidHangingMossBlock.animateTick(BlockState p_379410_, Level p_379865_, BlockPos p_379365_, RandomSource p_380130_) voidLeavesBlock.animateTick(BlockState p_221374_, Level p_221375_, BlockPos p_221376_, RandomSource p_221377_) voidLeverBlock.animateTick(BlockState p_221395_, Level p_221396_, BlockPos p_221397_, RandomSource p_221398_) voidLightningRodBlock.animateTick(BlockState p_221405_, Level p_221406_, BlockPos p_221407_, RandomSource p_221408_) voidMyceliumBlock.animateTick(BlockState p_221789_, Level p_221790_, BlockPos p_221791_, RandomSource p_221792_) voidNetherPortalBlock.animateTick(BlockState p_221794_, Level p_221795_, BlockPos p_221796_, RandomSource p_221797_) voidPointedDripstoneBlock.animateTick(BlockState p_221870_, Level p_221871_, BlockPos p_221872_, RandomSource p_221873_) voidRedStoneOreBlock.animateTick(BlockState p_221913_, Level p_221914_, BlockPos p_221915_, RandomSource p_221916_) voidRedstoneTorchBlock.animateTick(BlockState p_221954_, Level p_221955_, BlockPos p_221956_, RandomSource p_221957_) voidRedstoneWallTorchBlock.animateTick(BlockState p_221959_, Level p_221960_, BlockPos p_221961_, RandomSource p_221962_) voidRedStoneWireBlock.animateTick(BlockState p_221932_, Level p_221933_, BlockPos p_221934_, RandomSource p_221935_) voidRepeaterBlock.animateTick(BlockState p_221964_, Level p_221965_, BlockPos p_221966_, RandomSource p_221967_) voidRespawnAnchorBlock.animateTick(BlockState p_221969_, Level p_221970_, BlockPos p_221971_, RandomSource p_221972_) voidSandBlock.animateTick(BlockState p_401157_, Level p_401385_, BlockPos p_401240_, RandomSource p_401370_) voidSculkSensorBlock.animateTick(BlockState p_222148_, Level p_222149_, BlockPos p_222150_, RandomSource p_222151_) voidSmokerBlock.animateTick(BlockState p_222443_, Level p_222444_, BlockPos p_222445_, RandomSource p_222446_) voidSporeBlossomBlock.animateTick(BlockState p_222503_, Level p_222504_, BlockPos p_222505_, RandomSource p_222506_) voidTerracottaBlock.animateTick(BlockState p_401378_, Level p_401424_, BlockPos p_401051_, RandomSource p_401214_) voidTorchBlock.animateTick(BlockState p_222593_, Level p_222594_, BlockPos p_222595_, RandomSource p_222596_) voidWallTorchBlock.animateTick(BlockState p_222660_, Level p_222661_, BlockPos p_222662_, RandomSource p_222663_) voidWetSpongeBlock.animateTick(BlockState p_222682_, Level p_222683_, BlockPos p_222684_, RandomSource p_222685_) voidWitherRoseBlock.animateTick(BlockState p_222687_, Level p_222688_, BlockPos p_222689_, RandomSource p_222690_) protected voidDragonEggBlock.attack(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected voidNoteBlock.attack(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected voidRedStoneOreBlock.attack(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) private booleanSculkVeinBlock.attemptPlaceSculk(SculkSpreader pSpreader, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) default booleanSculkBehaviour.attemptSpreadVein(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Collection<Direction> pDirections, boolean pMarkForPostprocessing) booleanBellBlock.attemptToRing(Entity pEntity, Level pLevel, BlockPos pPos, Direction pDirection) booleanBellBlock.attemptToRing(Level pLevel, BlockPos pPos, Direction pDirection) intSculkBehaviour.attemptUseCharge(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) intSculkBlock.attemptUseCharge(SculkSpreader.ChargeCursor p_222073_, LevelAccessor p_222074_, BlockPos p_222075_, RandomSource p_222076_, SculkSpreader p_222077_, boolean p_222078_) intSculkVeinBlock.attemptUseCharge(SculkSpreader.ChargeCursor p_222369_, LevelAccessor p_222370_, BlockPos p_222371_, RandomSource p_222372_, SculkSpreader p_222373_, boolean p_222374_) private static DripstoneThicknessPointedDripstoneBlock.calculateDripstoneThickness(LevelReader pLevel, BlockPos pPos, Direction pDir, boolean pIsTipMerge) private intComparatorBlock.calculateOutputSignal(Level pLevel, BlockPos pPos, BlockState pState) static voidTripWireHookBlock.calculateState(Level pLevel, BlockPos pPos, BlockState pHookState, boolean pAttaching, boolean pShouldNotifyNeighbours, int pSearchRange, BlockState pState) private static DirectionPointedDripstoneBlock.calculateTipDirection(LevelReader pLevel, BlockPos pPos, Direction pDir) static booleanFaceAttachedHorizontalDirectionalBlock.canAttach(LevelReader pReader, BlockPos pPos, Direction pDirection) private booleanLadderBlock.canAttachTo(BlockGetter pBlockReader, BlockPos pPos, Direction pDirection) static booleanMultifaceBlock.canAttachTo(BlockGetter pLevel, BlockPos pPos, Direction pDirection) static booleanMultifaceBlock.canAttachTo(BlockGetter pLevel, Direction pDirection, BlockPos pPos, BlockState pState) booleanWallHangingSignBlock.canAttachTo(LevelReader pLevel, BlockState pState, BlockPos pPos, Direction pDirection) private static booleanSpreadingSnowyDirtBlock.canBeGrass(BlockState pState, LevelReader pLevelReader, BlockPos pPos) private static booleanNyliumBlock.canBeNylium(BlockState pState, LevelReader pReader, BlockPos pPos) static booleanBaseFireBlock.canBePlacedAt(Level pLevel, BlockPos pPos, Direction pDirection) booleanFireBlock.canCatchFire(BlockGetter world, BlockPos pos, Direction face) Side sensitive version that calls the block function.private static booleanPointedDripstoneBlock.canDripThrough(BlockGetter pLevel, BlockPos pPos, BlockState pState) private static booleanBigDripleafBlock.canEntityTilt(BlockPos pPos, Entity pEntity) private booleanPitcherCropBlock.canGrow(LevelReader pReader, BlockPos pPos, BlockState pState, int pAge) private static booleanPitcherCropBlock.canGrowInto(LevelReader pLevel, BlockPos pPos) private static booleanShulkerBoxBlock.canOpen(BlockState pState, Level pLevel, BlockPos pPos, ShulkerBoxBlockEntity pBlockEntity) booleanWallHangingSignBlock.canPlace(BlockState pState, LevelReader pLevel, BlockPos pPos) protected static booleanBigDripleafBlock.canPlaceAt(LevelHeightAccessor pLevel, BlockPos pPos, BlockState pState) private static booleanSculkBlock.canPlaceGrowth(LevelAccessor pLevel, BlockPos pPos) booleanBarrierBlock.canPlaceLiquid(LivingEntity p_394532_, BlockGetter p_295048_, BlockPos p_295143_, BlockState p_294224_, Fluid p_294851_) booleanKelpBlock.canPlaceLiquid(LivingEntity p_393686_, BlockGetter p_54304_, BlockPos p_54305_, BlockState p_54306_, Fluid p_54307_) booleanKelpPlantBlock.canPlaceLiquid(LivingEntity p_394660_, BlockGetter p_54325_, BlockPos p_54326_, BlockState p_54327_, Fluid p_54328_) booleanLiquidBlockContainer.canPlaceLiquid(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) booleanSeagrassBlock.canPlaceLiquid(LivingEntity p_394548_, BlockGetter p_296449_, BlockPos p_154511_, BlockState p_154512_, Fluid p_295712_) default booleanSimpleWaterloggedBlock.canPlaceLiquid(LivingEntity p_393688_, BlockGetter p_56301_, BlockPos p_56302_, BlockState p_56303_, Fluid p_56304_) booleanSlabBlock.canPlaceLiquid(LivingEntity p_394277_, BlockGetter p_56363_, BlockPos p_56364_, BlockState p_56365_, Fluid p_56366_) booleanTallSeagrassBlock.canPlaceLiquid(LivingEntity p_394229_, BlockGetter p_154753_, BlockPos p_154754_, BlockState p_154755_, Fluid p_154756_) private static booleanSpreadingSnowyDirtBlock.canPropagate(BlockState pState, LevelReader pLevel, BlockPos pPos) booleanCarvedPumpkinBlock.canSpawnGolem(LevelReader pLevel, BlockPos pPos) static booleanWitherSkullBlock.canSpawnMob(Level pLevel, BlockPos pPos, ItemStack pStack) private booleanVineBlock.canSpread(BlockGetter pBlockReader, BlockPos pPos) booleanMultifaceSpreader.canSpreadInAnyDirection(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pSpreadDirection) booleanMultifaceSpreader.DefaultSpreaderConfig.canSpreadInto(BlockGetter p_221685_, BlockPos p_221686_, MultifaceSpreader.SpreadPos p_221687_) booleanMultifaceSpreader.SpreadConfig.canSpreadInto(BlockGetter pLevel, BlockPos pPos, MultifaceSpreader.SpreadPos pSpreadPos) private booleanHangingMossBlock.canStayAtPosition(BlockGetter pLevel, BlockPos pPos) private static booleanMossyCarpetBlock.canSupportAtFace(BlockGetter pLevel, BlockPos pPos, Direction pDirection) private booleanVineBlock.canSupportAtFace(BlockGetter pLevel, BlockPos pPos, Direction pDirection) static booleanBlock.canSupportCenter(LevelReader pLevel, BlockPos pPos, Direction pDirection) static booleanBlock.canSupportRigidBlock(BlockGetter pLevel, BlockPos pPos) protected booleanAmethystClusterBlock.canSurvive(BlockState p_152026_, LevelReader p_152027_, BlockPos p_152028_) protected booleanBambooSaplingBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanBambooStalkBlock.canSurvive(BlockState p_261860_, LevelReader p_262154_, BlockPos p_261493_) protected booleanBannerBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanBaseCoralPlantTypeBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanBaseCoralWallFanBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanBasePressurePlateBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanBaseRailBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanBaseTorchBlock.canSurvive(BlockState p_304413_, LevelReader p_304885_, BlockPos p_304808_) protected booleanBellBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanBigDripleafBlock.canSurvive(BlockState p_152289_, LevelReader p_152290_, BlockPos p_152291_) protected booleanBigDripleafStemBlock.canSurvive(BlockState p_152365_, LevelReader p_152366_, BlockPos p_152367_) protected booleanBubbleColumnBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanCactusBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanCakeBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanCandleBlock.canSurvive(BlockState p_152829_, LevelReader p_152830_, BlockPos p_152831_) protected booleanCandleCakeBlock.canSurvive(BlockState p_152891_, LevelReader p_152892_, BlockPos p_152893_) protected booleanCarpetBlock.canSurvive(BlockState p_152922_, LevelReader p_152923_, BlockPos p_152924_) protected booleanCeilingHangingSignBlock.canSurvive(BlockState p_248994_, LevelReader p_249061_, BlockPos p_249490_) protected booleanChorusFlowerBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanChorusPlantBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanCocoaBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanCropBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanDiodeBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanDirtPathBlock.canSurvive(BlockState p_153148_, LevelReader p_153149_, BlockPos p_153150_) protected booleanDoorBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanDoublePlantBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanFaceAttachedHorizontalDirectionalBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanFarmBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanFireBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanFrogspawnBlock.canSurvive(BlockState p_221209_, LevelReader p_221210_, BlockPos p_221211_) protected booleanGrindstoneBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanGrowingPlantBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanHangingMossBlock.canSurvive(BlockState p_380096_, LevelReader p_379969_, BlockPos p_380283_) protected booleanHangingRootsBlock.canSurvive(BlockState p_153347_, LevelReader p_153348_, BlockPos p_153349_) protected booleanLadderBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanLanternBlock.canSurvive(BlockState p_153479_, LevelReader p_153480_, BlockPos p_153481_) protected booleanLeafLitterBlock.canSurvive(BlockState p_401850_, LevelReader p_401768_, BlockPos p_401902_) protected booleanMangrovePropaguleBlock.canSurvive(BlockState p_221473_, LevelReader p_221474_, BlockPos p_221475_) protected booleanMossyCarpetBlock.canSurvive(BlockState p_379574_, LevelReader p_379768_, BlockPos p_380354_) protected booleanMultifaceBlock.canSurvive(BlockState p_153888_, LevelReader p_153889_, BlockPos p_153890_) protected booleanMushroomBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) booleanPitcherCropBlock.canSurvive(BlockState p_277671_, LevelReader p_277477_, BlockPos p_278085_) protected booleanPointedDripstoneBlock.canSurvive(BlockState p_154137_, LevelReader p_154138_, BlockPos p_154139_) protected booleanRedstoneWallTorchBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanRedStoneWireBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanScaffoldingBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanSeaPickleBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanSmallDripleafBlock.canSurvive(BlockState p_154615_, LevelReader p_154616_, BlockPos p_154617_) protected booleanSnowLayerBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanSoulFireBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanSporeBlossomBlock.canSurvive(BlockState p_154709_, LevelReader p_154710_, BlockPos p_154711_) protected booleanStandingSignBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanSugarCaneBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanTallSeagrassBlock.canSurvive(BlockState p_154768_, LevelReader p_154769_, BlockPos p_154770_) protected booleanTripWireHookBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanVegetationBlock.canSurvive(BlockState p_401395_, LevelReader p_401031_, BlockPos p_401248_) protected booleanVineBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanWallBannerBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanWallSignBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanWallTorchBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) static booleanWallTorchBlock.canSurvive(LevelReader pLevel, BlockPos pPos, Direction pFacing) protected booleanDiodeBlock.canSurviveOn(LevelReader pLevel, BlockPos pPos, BlockState pState) private booleanRedStoneWireBlock.canSurviveOn(BlockGetter pLevel, BlockPos pPos, BlockState pState) private static booleanStairBlock.canTakeShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pFace) private static booleanPointedDripstoneBlock.canTipGrow(BlockState pState, ServerLevel pLevel, BlockPos pPos) default voidChangeOverTimeBlock.changeOverTime(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private static voidLecternBlock.changePowered(Level pLevel, BlockPos pPos, BlockState pState, boolean pPowered) static voidRespawnAnchorBlock.charge(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState) voidCopperBulbBlock.checkAndFlip(BlockState pState, ServerLevel pLevel, BlockPos pPos) private voidFireBlock.checkBurnOut(Level pLevel, BlockPos pPos, int pChance, RandomSource pRandom, int pAge, Direction face) private voidRedStoneWireBlock.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 voidHopperBlock.checkPoweredState(Level pLevel, BlockPos pPos, BlockState pState) private voidBasePressurePlateBlock.checkPressed(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState, int pCurrentSignal) protected voidButtonBlock.checkPressed(BlockState pState, Level pLevel, BlockPos pPos) private voidDetectorRailBlock.checkPressed(Level pLevel, BlockPos pPos, BlockState pState) private voidTripWireBlock.checkPressed(Level pLevel, BlockPos pPos) private voidTripWireBlock.checkPressed(Level pLevel, BlockPos pPos, List<? extends Entity> pEntities) static voidWitherSkullBlock.checkSpawn(Level pLevel, BlockPos pPos) static voidWitherSkullBlock.checkSpawn(Level pLevel, BlockPos pPos, SkullBlockEntity pBlockEntity) protected voidComparatorBlock.checkTickOnNeighbor(Level pLevel, BlockPos pPos, BlockState pState) protected voidDiodeBlock.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 BlockStateDoublePlantBlock.copyWaterloggedFrom(LevelReader pLevel, BlockPos pPos, BlockState pState) private static voidPointedDripstoneBlock.createDripstone(LevelAccessor pLevel, BlockPos pPos, Direction pDirection, DripstoneThickness pThickness) private static voidPointedDripstoneBlock.createMergedTips(BlockState pState, LevelAccessor pLevel, BlockPos pPos) private static BlockStateMossyCarpetBlock.createTopperWithSideChance(BlockGetter pLevel, BlockPos pPos, BooleanSupplier pPlaceSide) static voidSculkSensorBlock.deactivate(Level pLevel, BlockPos pPos, BlockState pState) private voidTurtleEggBlock.decreaseEggs(Level pLevel, BlockPos pPos, BlockState pState) default booleanSculkBehaviour.depositCharge(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) voidBlock.destroy(LevelAccessor pLevel, BlockPos pPos, BlockState pState) Called after this block has been removed by a player.private voidFrogspawnBlock.destroyBlock(Level pLevel, BlockPos pPos) private voidTurtleEggBlock.destroyEgg(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, int pChance) protected voidCrafterBlock.dispenseFrom(BlockState pState, ServerLevel pLevel, BlockPos pPos) protected voidDispenserBlock.dispenseFrom(ServerLevel pLevel, BlockState pState, BlockPos pPos) protected voidDropperBlock.dispenseFrom(ServerLevel p_52944_, BlockState p_302455_, BlockPos p_52945_) private voidCrafterBlock.dispenseItem(ServerLevel pLevel, BlockPos pPos, CrafterBlockEntity pCrafter, ItemStack pStack, BlockState pState, RecipeHolder<?> pRecipe) static voidCampfireBlock.dowse(Entity pEntity, LevelAccessor pLevel, BlockPos pPos, BlockState pState) static voidBeehiveBlock.dropHoneycomb(Level pLevel, BlockPos pPos) static voidBlock.dropResources(BlockState pState, LevelAccessor pLevel, BlockPos pPos, BlockEntity pBlockEntity) static voidBlock.dropResources(BlockState pState, Level pLevel, BlockPos pPos) static voidBlock.dropResources(BlockState pState, Level pLevel, BlockPos pPos, BlockEntity pBlockEntity, Entity pEntity, ItemStack pTool) protected static InteractionResultCakeBlock.eat(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Player pPlayer) private static voidTripWireHookBlock.emitState(Level pLevel, BlockPos pPos, boolean pAttached, boolean pPowered, boolean pWasAttached, boolean pWasPowered) (package private) static BlockStateComposterBlock.empty(Entity pEntity, BlockState pState, LevelAccessor pLevel, BlockPos pPos) protected voidBaseFireBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_404795_) protected voidBasePressurePlateBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405011_) protected voidBigDripleafBlock.entityInside(BlockState p_152266_, Level p_152267_, BlockPos p_152268_, Entity p_152269_, InsideBlockEffectApplier p_405262_) protected voidBubbleColumnBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_404857_) protected voidButtonBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405475_) protected voidCactusBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405001_) protected voidCampfireBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405507_) protected voidCropBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405324_) protected voidDetectorRailBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405668_) protected voidEndGatewayBlock.entityInside(BlockState p_350647_, Level p_350785_, BlockPos p_350610_, Entity p_350849_, InsideBlockEffectApplier p_405476_) protected voidEndPortalBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405056_) protected voidEyeblossomBlock.entityInside(BlockState p_382817_, Level p_383060_, BlockPos p_383146_, Entity p_383054_, InsideBlockEffectApplier p_405247_) protected voidFrogspawnBlock.entityInside(BlockState p_221204_, Level p_221205_, BlockPos p_221206_, Entity p_221207_, InsideBlockEffectApplier p_405189_) protected voidHoneyBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_404924_) protected voidHopperBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405580_) protected voidLavaCauldronBlock.entityInside(BlockState p_153506_, Level p_153507_, BlockPos p_153508_, Entity p_153509_, InsideBlockEffectApplier p_404841_) protected voidLayeredCauldronBlock.entityInside(BlockState p_153534_, Level p_153535_, BlockPos p_153536_, Entity p_153537_, InsideBlockEffectApplier p_405060_) protected voidNetherPortalBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405383_) voidPitcherCropBlock.entityInside(BlockState p_279266_, Level p_279469_, BlockPos p_279119_, Entity p_279372_, InsideBlockEffectApplier p_404719_) protected voidPowderSnowBlock.entityInside(BlockState p_154263_, Level p_154264_, BlockPos p_154265_, Entity p_154266_, InsideBlockEffectApplier p_405853_) protected voidSweetBerryBushBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405414_) protected voidTripWireBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405466_) protected voidWaterlilyBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405495_) protected voidWebBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405438_) protected voidWitherRoseBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier p_405727_) private voidCommandBlock.execute(BlockState pState, ServerLevel pLevel, BlockPos pPos, BaseCommandBlock pLogic, boolean pCanTrigger) private static voidCommandBlock.executeChain(ServerLevel pLevel, BlockPos pPos, Direction pDirection) private voidRespawnAnchorBlock.explode(BlockState pState, Level pLevel, BlockPos pPos2) static voidAbstractCandleBlock.extinguish(Player pPlayer, BlockState pState, LevelAccessor pLevel, BlockPos pPos) static BlockStateComposterBlock.extractProduce(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) voidBedBlock.fallOn(Level p_152169_, BlockState p_152170_, BlockPos p_152171_, Entity p_152172_, double p_398028_) voidBlock.fallOn(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) voidFarmBlock.fallOn(Level p_153227_, BlockState p_153228_, BlockPos p_153229_, Entity p_153230_, double p_397639_) voidHayBlock.fallOn(Level p_153362_, BlockState p_153363_, BlockPos p_153364_, Entity p_153365_, double p_397598_) voidHoneyBlock.fallOn(Level p_153372_, BlockState p_153373_, BlockPos p_153374_, Entity p_153375_, double p_396999_) voidPointedDripstoneBlock.fallOn(Level p_154047_, BlockState p_154048_, BlockPos p_154049_, Entity p_154050_, double p_397761_) voidPowderSnowBlock.fallOn(Level p_196695_, BlockState p_196696_, BlockPos p_196697_, Entity p_196698_, double p_397645_) voidSlimeBlock.fallOn(Level p_154567_, BlockState p_154568_, BlockPos p_154569_, Entity p_154570_, double p_397954_) voidTurtleEggBlock.fallOn(Level p_154845_, BlockState p_154846_, BlockPos p_154847_, Entity p_154848_, double p_397908_) private booleanFrostedIceBlock.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 BlockPosPointedDripstoneBlock.findFillableCauldronBelowStalactiteTip(Level pLevel, BlockPos pPos, Fluid pFluid) protected booleanPoweredRailBlock.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 BlockPosPointedDripstoneBlock.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 BlockPosPointedDripstoneBlock.findTip(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pMaxIterations, boolean pIsTipMerge) private voidLiquidBlock.fizz(LevelAccessor pLevel, BlockPos pPos) static voidChorusFlowerBlock.generatePlant(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, int pMaxHorizontalDistance) protected intDiodeBlock.getAlternateSignal(SignalGetter pLevel, BlockPos pPos, BlockState pState) protected intAbstractFurnaceBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intBarrelBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intBeehiveBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intBrewingStandBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intCakeBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intCandleCakeBlock.getAnalogOutputSignal(BlockState p_152880_, Level p_152881_, BlockPos p_152882_) protected intChestBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intChiseledBookShelfBlock.getAnalogOutputSignal(BlockState p_249192_, Level p_252207_, BlockPos p_248999_) protected intCommandBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intComposterBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intCopperBulbBlock.getAnalogOutputSignal(BlockState p_308938_, Level p_309149_, BlockPos p_309114_) protected intCrafterBlock.getAnalogOutputSignal(BlockState p_307633_, Level p_307264_, BlockPos p_307557_) protected intCreakingHeartBlock.getAnalogOutputSignal(BlockState p_381152_, Level p_381142_, BlockPos p_381148_) protected intDecoratedPotBlock.getAnalogOutputSignal(BlockState p_306206_, Level p_306113_, BlockPos p_306305_) protected intDetectorRailBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intDispenserBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intEndPortalFrameBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intHopperBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intJukeboxBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intLavaCauldronBlock.getAnalogOutputSignal(BlockState p_153502_, Level p_153503_, BlockPos p_153504_) protected intLayeredCauldronBlock.getAnalogOutputSignal(BlockState p_153530_, Level p_153531_, BlockPos p_153532_) protected intLecternBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intRespawnAnchorBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) protected intSculkSensorBlock.getAnalogOutputSignal(BlockState p_154442_, Level p_154443_, BlockPos p_154444_) protected intShulkerBoxBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) static DirectionBedBlock.getBedOrientation(BlockGetter pLevel, BlockPos pPos) intRedStoneWireBlock.getBlockSignal(Level pLevel, BlockPos pPos) protected VoxelShapeCeilingHangingSignBlock.getBlockSupportShape(BlockState p_254482_, BlockGetter p_253669_, BlockPos p_253916_) ChorusFlowerBlock.getBlockSupportShape(BlockState p_294099_, BlockGetter p_294531_, BlockPos p_295431_) protected VoxelShapeFenceGateBlock.getBlockSupportShape(BlockState p_253862_, BlockGetter p_254569_, BlockPos p_254197_) protected VoxelShapeLeavesBlock.getBlockSupportShape(BlockState pState, BlockGetter pReader, BlockPos pPos) protected VoxelShapeMudBlock.getBlockSupportShape(BlockState p_221566_, BlockGetter p_221567_, BlockPos p_221568_) protected VoxelShapeShulkerBoxBlock.getBlockSupportShape(BlockState p_259177_, BlockGetter p_260305_, BlockPos p_259168_) protected VoxelShapeSnowLayerBlock.getBlockSupportShape(BlockState pState, BlockGetter pReader, BlockPos pPos) protected VoxelShapeSoulSandBlock.getBlockSupportShape(BlockState pState, BlockGetter pReader, BlockPos pPos) protected VoxelShapeWallHangingSignBlock.getBlockSupportShape(BlockState p_253927_, BlockGetter p_254149_, BlockPos p_253805_) static FluidPointedDripstoneBlock.getCauldronFillFluidType(ServerLevel pLevel, BlockPos pPos) protected ItemStackAbstractBannerBlock.getCloneItemStack(LevelReader p_304796_, BlockPos p_48665_, BlockState p_48666_, boolean p_386769_) protected ItemStackAttachedStemBlock.getCloneItemStack(LevelReader p_304950_, BlockPos p_48839_, BlockState p_48840_, boolean p_388189_) protected ItemStackBambooSaplingBlock.getCloneItemStack(LevelReader p_304956_, BlockPos p_48965_, BlockState p_48966_, boolean p_387375_) protected ItemStackBeehiveBlock.getCloneItemStack(LevelReader p_386459_, BlockPos p_387055_, BlockState p_387788_, boolean p_387391_) protected ItemStackBigDripleafStemBlock.getCloneItemStack(LevelReader p_304938_, BlockPos p_152337_, BlockState p_152338_, boolean p_387224_) protected ItemStackCandleCakeBlock.getCloneItemStack(LevelReader p_304662_, BlockPos p_152863_, BlockState p_152864_, boolean p_387122_) protected ItemStackCaveVinesBlock.getCloneItemStack(LevelReader p_304590_, BlockPos p_152967_, BlockState p_152968_, boolean p_386659_) protected ItemStackCaveVinesPlantBlock.getCloneItemStack(LevelReader p_304444_, BlockPos p_153008_, BlockState p_153009_, boolean p_387975_) protected ItemStackCropBlock.getCloneItemStack(LevelReader p_304482_, BlockPos p_52255_, BlockState p_52256_, boolean p_387989_) protected ItemStackDecoratedPotBlock.getCloneItemStack(LevelReader p_304622_, BlockPos p_294412_, BlockState p_294723_, boolean p_387769_) protected ItemStackEndGatewayBlock.getCloneItemStack(LevelReader p_304768_, BlockPos p_53004_, BlockState p_53005_, boolean p_387386_) protected ItemStackEndPortalBlock.getCloneItemStack(LevelReader p_304508_, BlockPos p_53022_, BlockState p_53023_, boolean p_388548_) protected ItemStackFlowerPotBlock.getCloneItemStack(LevelReader p_304505_, BlockPos p_53532_, BlockState p_53533_, boolean p_388306_) protected ItemStackFrostedIceBlock.getCloneItemStack(LevelReader p_304729_, BlockPos p_53571_, BlockState p_53572_, boolean p_386722_) protected ItemStackGrowingPlantBodyBlock.getCloneItemStack(LevelReader p_304650_, BlockPos p_53897_, BlockState p_53898_, boolean p_388787_) protected ItemStackLightBlock.getCloneItemStack(LevelReader p_304798_, BlockPos p_153665_, BlockState p_153666_, boolean p_387561_) protected ItemStackNetherPortalBlock.getCloneItemStack(LevelReader p_304402_, BlockPos p_54912_, BlockState p_54913_, boolean p_386478_) protected ItemStackNetherWartBlock.getCloneItemStack(LevelReader p_304797_, BlockPos p_54974_, BlockState p_54975_, boolean p_387454_) protected ItemStackStemBlock.getCloneItemStack(LevelReader p_304982_, BlockPos p_57027_, BlockState p_57028_, boolean p_387824_) protected ItemStackSweetBerryBushBlock.getCloneItemStack(LevelReader p_304655_, BlockPos p_57257_, BlockState p_57258_, boolean p_388022_) protected ItemStackTallSeagrassBlock.getCloneItemStack(LevelReader p_304988_, BlockPos p_154750_, BlockState p_154751_, boolean p_387662_) protected ItemStackTestBlock.getCloneItemStack(LevelReader p_397697_, BlockPos p_397696_, BlockState p_397513_, boolean p_398035_) protected VoxelShapeBambooStalkBlock.getCollisionShape(BlockState p_261560_, BlockGetter p_261965_, BlockPos p_261950_, CollisionContext p_261571_) protected VoxelShapeBellBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBigDripleafBlock.getCollisionShape(BlockState p_152307_, BlockGetter p_152308_, BlockPos p_152309_, CollisionContext p_152310_) protected VoxelShapeCactusBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeComposterBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCrossCollisionBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeFenceGateBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeGrindstoneBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeHoneyBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeLecternBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeLiquidBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeMossyCarpetBlock.getCollisionShape(BlockState p_380336_, BlockGetter p_380068_, BlockPos p_379717_, CollisionContext p_379651_) protected VoxelShapeMudBlock.getCollisionShape(BlockState p_221561_, BlockGetter p_221562_, BlockPos p_221563_, CollisionContext p_221564_) PitcherCropBlock.getCollisionShape(BlockState p_277609_, BlockGetter p_277398_, BlockPos p_278042_, CollisionContext p_277995_) protected VoxelShapePowderSnowBlock.getCollisionShape(BlockState p_154285_, BlockGetter p_154286_, BlockPos p_154287_, CollisionContext p_154288_) protected VoxelShapeScaffoldingBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSculkShriekerBlock.getCollisionShape(BlockState p_222225_, BlockGetter p_222226_, BlockPos p_222227_, CollisionContext p_222228_) protected VoxelShapeSnowLayerBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSoulSandBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeWallBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeWallHangingSignBlock.getCollisionShape(BlockState p_249963_, BlockGetter p_248542_, BlockPos p_252224_, CollisionContext p_251891_) private RedstoneSideRedStoneWireBlock.getConnectingSide(BlockGetter pLevel, BlockPos pPos, Direction pFace) private RedstoneSideRedStoneWireBlock.getConnectingSide(BlockGetter pLevel, BlockPos pPos, Direction pDirection, boolean pNonNormalCubeAbove) private BlockStateRedStoneWireBlock.getConnectionState(BlockGetter pLevel, BlockState pState, BlockPos pPos) static ContainerChestBlock.getContainer(ChestBlock pChest, BlockState pState, Level pLevel, BlockPos pPos, boolean pOverride) ComposterBlock.getContainer(BlockState pState, LevelAccessor pLevel, BlockPos pPos) private ResourceLocationNoteBlock.getCustomSoundId(Level pLevel, BlockPos pPos) private static intSculkBlock.getDecayPenalty(SculkSpreader pSpreader, BlockPos pCursorPos, BlockPos pRootPos, int pCharge) private static TeleportTransitionNetherPortalBlock.getDimensionTransitionFromExit(Entity pEntity, BlockPos pPos, BlockUtil.FoundRectangle pRectangle, ServerLevel pLevel, TeleportTransition.PostTeleportTransition pPostTeleportTransition) protected intBasePressurePlateBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intButtonBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intDetectorRailBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intDiodeBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intLecternBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intLeverBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intLightningRodBlock.getDirectSignal(BlockState p_153748_, BlockGetter p_153749_, BlockPos p_153750_, Direction p_153751_) protected intObserverBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intRedstoneTorchBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intRedStoneWireBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) intSculkSensorBlock.getDirectSignal(BlockState p_279407_, BlockGetter p_279217_, BlockPos p_279190_, Direction p_279273_) protected intTrappedChestBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intTripWireHookBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) static intScaffoldingBlock.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) intAnvilBlock.getDustColor(BlockState pState, BlockGetter pReader, BlockPos pPos) intColoredFallingBlock.getDustColor(BlockState p_304891_, BlockGetter p_304551_, BlockPos p_304702_) intConcretePowderBlock.getDustColor(BlockState pState, BlockGetter pReader, BlockPos pPos) intDragonEggBlock.getDustColor(BlockState p_399914_, BlockGetter p_399493_, BlockPos p_399689_) abstract intFallingBlock.getDustColor(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShapeEndPortalBlock.getEntityInsideCollisionShape(BlockState p_371319_, BlockGetter p_399758_, BlockPos p_371244_, Entity p_399952_) protected VoxelShapeNetherPortalBlock.getEntityInsideCollisionShape(BlockState p_400288_, BlockGetter p_400305_, BlockPos p_400030_, Entity p_399514_) protected VoxelShapePowderSnowBlock.getEntityInsideCollisionShape(BlockState p_399731_, BlockGetter p_399744_, BlockPos p_400088_, Entity p_399982_) protected VoxelShapeTripWireBlock.getEntityInsideCollisionShape(BlockState p_371595_, BlockGetter p_400245_, BlockPos p_371231_, Entity p_399588_) private TeleportTransitionNetherPortalBlock.getExitPortal(ServerLevel pLevel, Entity pEntity, BlockPos pPos, BlockPos pExitPos, boolean pIsNether, WorldBorder pWorldBorder) intDropExperienceBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intRedStoneOreBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSculkCatalystBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSculkSensorBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSculkShriekerBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSpawnerBlock.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 floatCropBlock.getGrowthSpeed(BlockState blockState, BlockGetter p_52274_, BlockPos p_52275_) GrowingPlantBodyBlock.getHeadPos(BlockGetter pLevel, BlockPos pPos, Block pBlock) protected intBambooStalkBlock.getHeightAboveUpToMax(BlockGetter pLevel, BlockPos pPos) protected intBambooStalkBlock.getHeightBelowUpToMax(BlockGetter pLevel, BlockPos pPos) private intFireBlock.getIgniteOdds(LevelReader pLevel, BlockPos pPos) protected intComparatorBlock.getInputSignal(Level pLevel, BlockPos pPos, BlockState pState) protected intDiodeBlock.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 VoxelShapeAbstractCauldronBlock.getInteractionShape(BlockState p_151955_, BlockGetter p_151956_, BlockPos p_151957_) protected VoxelShapeComposterBlock.getInteractionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShapeHopperBlock.getInteractionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShapeScaffoldingBlock.getInteractionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) private ItemFrameComparatorBlock.getItemFrame(Level pLevel, Direction pFacing, BlockPos pPos) private PitcherCropBlock.PosAndStatePitcherCropBlock.getLowerHalf(LevelReader pLevel, BlockPos pPos, BlockState pState) protected MenuProviderAnvilBlock.getMenuProvider(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProviderBaseEntityBlock.getMenuProvider(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProviderCartographyTableBlock.getMenuProvider(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProviderChestBlock.getMenuProvider(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProviderCraftingTableBlock.getMenuProvider(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProviderEnchantingTableBlock.getMenuProvider(BlockState p_341244_, Level p_340950_, BlockPos p_340923_) protected MenuProviderGrindstoneBlock.getMenuProvider(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProviderLecternBlock.getMenuProvider(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProviderLoomBlock.getMenuProvider(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProviderSmithingTableBlock.getMenuProvider(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProviderStonecutterBlock.getMenuProvider(BlockState pState, Level pLevel, BlockPos pPos) private BlockStateRedStoneWireBlock.getMissingConnections(BlockGetter pLevel, BlockState pState, BlockPos pPos) default Optional<BlockState> ChangeOverTimeBlock.getNextState(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected intComparatorBlock.getOutputSignal(BlockGetter pLevel, BlockPos pPos, BlockState pState) protected intDiodeBlock.getOutputSignal(BlockGetter pLevel, BlockPos pPos, BlockState pState) default BlockPosBonemealableBlock.getParticlePos(BlockPos pPos) MangroveLeavesBlock.getParticlePos(BlockPos p_316180_) RootedDirtBlock.getParticlePos(BlockPos p_316883_) EndGatewayBlock.getPortalDestination(ServerLevel p_350958_, Entity p_350650_, BlockPos p_350525_) EndPortalBlock.getPortalDestination(ServerLevel p_351032_, Entity p_350274_, BlockPos p_350589_) NetherPortalBlock.getPortalDestination(ServerLevel p_350444_, Entity p_350334_, BlockPos p_350764_) Portal.getPortalDestination(ServerLevel pLevel, Entity pEntity, BlockPos pPos) private RailStateBaseRailBlock.getRailDirection(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart) private BlockStateSculkBlock.getRandomGrowthState(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, boolean pIsWorldGeneration) private AABBDetectorRailBlock.getSearchBB(BlockPos pPos) protected longBedBlock.getSeed(BlockState pState, BlockPos pPos) protected longDoorBlock.getSeed(BlockState pState, BlockPos pPos) protected longDoublePlantBlock.getSeed(BlockState pState, BlockPos pPos) private static TestBlockEntityTestBlock.getServerTestBlockEntity(Level pLevel, BlockPos pPos) protected floatBarrierBlock.getShadeBrightness(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected floatLightBlock.getShadeBrightness(BlockState p_153689_, BlockGetter p_153690_, BlockPos p_153691_) protected floatMudBlock.getShadeBrightness(BlockState p_221552_, BlockGetter p_221553_, BlockPos p_221554_) protected floatSnowLayerBlock.getShadeBrightness(BlockState p_222453_, BlockGetter p_222454_, BlockPos p_222455_) protected floatSoulSandBlock.getShadeBrightness(BlockState p_222462_, BlockGetter p_222463_, BlockPos p_222464_) protected floatStructureVoidBlock.getShadeBrightness(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected floatTransparentBlock.getShadeBrightness(BlockState p_308911_, BlockGetter p_308952_, BlockPos p_308918_) protected VoxelShapeAbstractCauldronBlock.getShape(BlockState p_151964_, BlockGetter p_151965_, BlockPos p_151966_, CollisionContext p_151967_) protected VoxelShapeAirBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeAmethystClusterBlock.getShape(BlockState p_152021_, BlockGetter p_152022_, BlockPos p_152023_, CollisionContext p_152024_) protected VoxelShapeAnvilBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeAttachedStemBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeAzaleaBlock.getShape(BlockState p_152084_, BlockGetter p_152085_, BlockPos p_152086_, CollisionContext p_152087_) protected VoxelShapeBambooSaplingBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBambooStalkBlock.getShape(BlockState p_261515_, BlockGetter p_261586_, BlockPos p_261526_, CollisionContext p_261930_) protected VoxelShapeBannerBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBaseCoralFanBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBaseCoralPlantBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBaseCoralPlantTypeBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBaseCoralWallFanBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBaseFireBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBasePressurePlateBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBaseRailBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBaseTorchBlock.getShape(BlockState p_304673_, BlockGetter p_304919_, BlockPos p_304930_, CollisionContext p_304757_) protected VoxelShapeBedBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBeetrootBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBellBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBigDripleafBlock.getShape(BlockState p_152261_, BlockGetter p_152262_, BlockPos p_152263_, CollisionContext p_152264_) protected VoxelShapeBigDripleafStemBlock.getShape(BlockState p_152360_, BlockGetter p_152361_, BlockPos p_152362_, CollisionContext p_152363_) protected VoxelShapeBrewingStandBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBubbleColumnBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBushBlock.getShape(BlockState p_401432_, BlockGetter p_401175_, BlockPos p_401162_, CollisionContext p_401402_) protected VoxelShapeButtonBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCactusBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCactusFlowerBlock.getShape(BlockState p_401923_, BlockGetter p_401936_, BlockPos p_401926_, CollisionContext p_401860_) protected VoxelShapeCakeBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCampfireBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCandleBlock.getShape(BlockState p_152817_, BlockGetter p_152818_, BlockPos p_152819_, CollisionContext p_152820_) protected VoxelShapeCandleCakeBlock.getShape(BlockState p_152875_, BlockGetter p_152876_, BlockPos p_152877_, CollisionContext p_152878_) protected VoxelShapeCarpetBlock.getShape(BlockState p_152917_, BlockGetter p_152918_, BlockPos p_152919_, CollisionContext p_152920_) protected VoxelShapeCarrotBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCeilingHangingSignBlock.getShape(BlockState p_250564_, BlockGetter p_248998_, BlockPos p_249501_, CollisionContext p_248978_) protected VoxelShapeChainBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeChestBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCocoaBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeComposterBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeConduitBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCoralPlantBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCropBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCrossCollisionBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeDaylightDetectorBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeDecoratedPotBlock.getShape(BlockState p_273112_, BlockGetter p_273055_, BlockPos p_273137_, CollisionContext p_273151_) protected VoxelShapeDiodeBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeDirtPathBlock.getShape(BlockState p_153143_, BlockGetter p_153144_, BlockPos p_153145_, CollisionContext p_153146_) protected VoxelShapeDoorBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeDragonEggBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeDryVegetationBlock.getShape(BlockState p_401767_, BlockGetter p_401764_, BlockPos p_401758_, CollisionContext p_401896_) protected VoxelShapeEnchantingTableBlock.getShape(BlockState p_340823_, BlockGetter p_340890_, BlockPos p_340839_, CollisionContext p_341114_) protected VoxelShapeEnderChestBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeEndPortalBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeEndPortalFrameBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeFarmBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeFenceGateBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeFireBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) FlowerBedBlock.getShape(BlockState p_393803_, BlockGetter p_394026_, BlockPos p_394322_, CollisionContext p_394474_) protected VoxelShapeFlowerBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeFlowerPotBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeFrogspawnBlock.getShape(BlockState p_221199_, BlockGetter p_221200_, BlockPos p_221201_, CollisionContext p_221202_) protected VoxelShapeFungusBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeGrindstoneBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeGrowingPlantBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeHangingMossBlock.getShape(BlockState p_379697_, BlockGetter p_380282_, BlockPos p_379821_, CollisionContext p_379644_) protected VoxelShapeHangingRootsBlock.getShape(BlockState p_153342_, BlockGetter p_153343_, BlockPos p_153344_, CollisionContext p_153345_) protected VoxelShapeHeavyCoreBlock.getShape(BlockState p_334026_, BlockGetter p_334049_, BlockPos p_334056_, CollisionContext p_333870_) protected VoxelShapeHopperBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeLadderBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeLanternBlock.getShape(BlockState p_153474_, BlockGetter p_153475_, BlockPos p_153476_, CollisionContext p_153477_) LeafLitterBlock.getShape(BlockState p_393565_, BlockGetter p_393799_, BlockPos p_394123_, CollisionContext p_393894_) protected VoxelShapeLecternBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeLeverBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeLightBlock.getShape(BlockState p_153668_, BlockGetter p_153669_, BlockPos p_153670_, CollisionContext p_153671_) protected VoxelShapeLiquidBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeMangrovePropaguleBlock.getShape(BlockState p_221468_, BlockGetter p_221469_, BlockPos p_221470_, CollisionContext p_221471_) protected VoxelShapeMossyCarpetBlock.getShape(BlockState p_380262_, BlockGetter p_379532_, BlockPos p_379586_, CollisionContext p_380281_) protected VoxelShapeMultifaceBlock.getShape(BlockState p_153851_, BlockGetter p_153852_, BlockPos p_153853_, CollisionContext p_153854_) protected VoxelShapeMushroomBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeNetherPortalBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeNetherSproutsBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeNetherWartBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapePiglinWallSkullBlock.getShape(BlockState p_261765_, BlockGetter p_261604_, BlockPos p_261948_, CollisionContext p_261889_) protected VoxelShapePipeBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) PitcherCropBlock.getShape(BlockState p_277602_, BlockGetter p_277617_, BlockPos p_278005_, CollisionContext p_277514_) protected VoxelShapePointedDripstoneBlock.getShape(BlockState p_154117_, BlockGetter p_154118_, BlockPos p_154119_, CollisionContext p_154120_) protected VoxelShapePotatoBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeRedstoneWallTorchBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeRedStoneWireBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeRodBlock.getShape(BlockState p_154346_, BlockGetter p_154347_, BlockPos p_154348_, CollisionContext p_154349_) protected VoxelShapeRootsBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSaplingBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeScaffoldingBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSculkSensorBlock.getShape(BlockState p_154432_, BlockGetter p_154433_, BlockPos p_154434_, CollisionContext p_154435_) protected VoxelShapeSeagrassBlock.getShape(BlockState p_154525_, BlockGetter p_154526_, BlockPos p_154527_, CollisionContext p_154528_) protected VoxelShapeSeaPickleBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeShortDryGrassBlock.getShape(BlockState p_401780_, BlockGetter p_401807_, BlockPos p_401895_, CollisionContext p_401802_) protected VoxelShapeShulkerBoxBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSignBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSkullBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSlabBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSmallDripleafBlock.getShape(BlockState p_154610_, BlockGetter p_154611_, BlockPos p_154612_, CollisionContext p_154613_) SnifferEggBlock.getShape(BlockState p_277872_, BlockGetter p_278090_, BlockPos p_277364_, CollisionContext p_278016_) protected VoxelShapeSnowLayerBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSporeBlossomBlock.getShape(BlockState p_154699_, BlockGetter p_154700_, BlockPos p_154701_, CollisionContext p_154702_) protected VoxelShapeStairBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeStemBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeStonecutterBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeStructureVoidBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSugarCaneBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSweetBerryBushBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeTallDryGrassBlock.getShape(BlockState p_401857_, BlockGetter p_401866_, BlockPos p_401940_, CollisionContext p_401832_) protected VoxelShapeTallGrassBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeTallSeagrassBlock.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 VoxelShapeTrapDoorBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeTripWireBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeTripWireHookBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeTurtleEggBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeVineBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeWallBannerBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeWallBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeWallHangingSignBlock.getShape(BlockState p_250980_, BlockGetter p_251012_, BlockPos p_251391_, CollisionContext p_251875_) protected VoxelShapeWallSignBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeWallSkullBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeWallTorchBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeWaterlilyBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected intBasePressurePlateBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intButtonBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) intCalibratedSculkSensorBlock.getSignal(BlockState p_277782_, BlockGetter p_277556_, BlockPos p_277903_, Direction p_278059_) protected intDaylightDetectorBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intDetectorRailBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intDiodeBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) intJukeboxBlock.getSignal(BlockState p_272942_, BlockGetter p_273232_, BlockPos p_273524_, Direction p_272902_) protected intLecternBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intLeverBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intLightningRodBlock.getSignal(BlockState p_153723_, BlockGetter p_153724_, BlockPos p_153725_, Direction p_153726_) protected intObserverBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intPoweredBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intRedstoneTorchBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intRedstoneWallTorchBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intRedStoneWireBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intSculkSensorBlock.getSignal(BlockState p_154437_, BlockGetter p_154438_, BlockPos p_154439_, Direction p_154440_) protected intTargetBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) intTestBlock.getSignal(BlockState p_397637_, BlockGetter p_397297_, BlockPos p_397948_, Direction p_397493_) protected intTrappedChestBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intTripWireHookBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected abstract intBasePressurePlateBlock.getSignalStrength(Level pLevel, BlockPos pPos) Calculates what the signal strength of a pressure plate at the given location should be.protected intPressurePlateBlock.getSignalStrength(Level pLevel, BlockPos pPos) protected intWeightedPressurePlateBlock.getSignalStrength(Level pLevel, BlockPos pPos) 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.SpreadPosMultifaceSpreader.SpreadType.getSpreadPos(BlockPos pPos, Direction pFace, Direction pSpreadDirection) private static StairsShapeStairBlock.getStairsShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) Returns a stair shape property based on the surrounding stairs from the given blockstate and positionstatic BlockStateBaseFireBlock.getState(BlockGetter pReader, BlockPos pPos) protected BlockStateFireBlock.getStateForPlacement(BlockGetter pLevel, BlockPos pPos) MultifaceBlock.getStateForPlacement(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) MultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement(BlockState p_221694_, BlockGetter p_221695_, BlockPos p_221696_, Direction p_221697_) MultifaceSpreader.SpreadConfig.getStateForPlacement(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) private BlockStateFireBlock.getStateWithAge(LevelReader pLevel, BlockPos pPos, int pAge) static BlockStateChorusPlantBlock.getStateWithConnections(BlockGetter pLevel, BlockPos pPos, BlockState pState) HangingMossBlock.getTip(BlockGetter pLevel, BlockPos pPos) private static BlockStateMossyCarpetBlock.getUpdatedState(BlockState pState, BlockGetter pLevel, BlockPos pPos, boolean pTip) private BlockStateVineBlock.getUpdatedState(BlockState pState, BlockGetter pLevel, BlockPos pPos) private static BlockPosSculkSpreader.ChargeCursor.getValidMovementPos(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) protected VoxelShapeFenceBlock.getVisualShape(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShapeIronBarsBlock.getVisualShape(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShapeMudBlock.getVisualShape(BlockState p_221556_, BlockGetter p_221557_, BlockPos p_221558_, CollisionContext p_221559_) protected VoxelShapePowderSnowBlock.getVisualShape(BlockState p_154276_, BlockGetter p_154277_, BlockPos p_154278_, CollisionContext p_154279_) protected VoxelShapeSnowLayerBlock.getVisualShape(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSoulSandBlock.getVisualShape(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShapeTransparentBlock.getVisualShape(BlockState p_309057_, BlockGetter p_308936_, BlockPos p_308956_, CollisionContext p_309006_) booleanComparatorBlock.getWeakChanges(BlockState state, LevelReader world, BlockPos pos) private voidPitcherCropBlock.grow(ServerLevel pLevel, BlockState pState, BlockPos pPos, int pAgeIncrement) private static voidPointedDripstoneBlock.grow(ServerLevel pServer, BlockPos pPos, Direction pDirection) protected voidBambooSaplingBlock.growBamboo(Level pLevel, BlockPos pState) protected voidBambooStalkBlock.growBamboo(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom, int pAge) voidCropBlock.growCrops(Level pLevel, BlockPos pPos, BlockState pState) booleanMushroomBlock.growMushroom(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) static voidPointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private static voidPointedDripstoneBlock.growStalagmiteBelow(ServerLevel pLevel, BlockPos pPos) private static voidChorusFlowerBlock.growTreeRecursive(LevelAccessor pLevel, BlockPos pBranchPos, RandomSource pRandom, BlockPos pOriginalBranchPos, int pMaxHorizontalDistance, int pIterations) private voidLayeredCauldronBlock.handleEntityOnFireInside(BlockState pState, Level pLevel, BlockPos pPos) static voidComposterBlock.handleFill(Level pLevel, BlockPos pPos, boolean pSuccess) voidBlock.handlePrecipitation(BlockState pState, Level pLevel, BlockPos pPos, Biome.Precipitation pPrecipitation) voidCauldronBlock.handlePrecipitation(BlockState p_152935_, Level p_152936_, BlockPos p_152937_, Biome.Precipitation p_152938_) voidLayeredCauldronBlock.handlePrecipitation(BlockState p_153539_, Level p_153540_, BlockPos p_153541_, Biome.Precipitation p_153542_) private booleanRailState.hasConnection(BlockPos pPos) private booleanRailState.hasNeighborRail(BlockPos pPos) protected booleanRedstoneTorchBlock.hasNeighborSignal(Level pLevel, BlockPos pPos, BlockState pState) protected booleanRedstoneWallTorchBlock.hasNeighborSignal(Level pLevel, BlockPos pPos, BlockState pState) private booleanstatic booleanCreakingHeartBlock.hasRequiredLogs(BlockState pState, LevelReader pLevel, BlockPos pPos) static booleanBonemealableBlock.hasSpreadableNeighbourPos(LevelReader pLevel, BlockPos pPos, BlockState pState) static booleanSculkVeinBlock.hasSubstrateAccess(LevelAccessor pLevel, BlockState pState, BlockPos pPos) static booleanCropBlock.hasSufficientLight(LevelReader pLevel, BlockPos pPos) static booleanSnifferEggBlock.hatchBoost(BlockGetter pLevel, BlockPos pPos) private voidFrogspawnBlock.hatchFrogspawn(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private booleanBeehiveBlock.hiveContainsBees(Level pLevel, BlockPos pPos) static BlockStateComposterBlock.insertItem(Entity pEntity, BlockState pState, ServerLevel pLevel, ItemStack pStack, BlockPos pPos) private static voidRedStoneOreBlock.interact(BlockState pState, Level pLevel, BlockPos pPos) static booleanVineBlock.isAcceptableNeighbour(BlockGetter pBlockReader, BlockPos pNeighborPos, Direction pAttachedFace) private static booleanChestBlock.isBlockedChestByBlock(BlockGetter pLevel, BlockPos pPos) booleanAzaleaBlock.isBonemealSuccess(Level p_220712_, RandomSource p_220713_, BlockPos p_220714_, BlockState p_220715_) booleanBambooSaplingBlock.isBonemealSuccess(Level p_220748_, RandomSource p_220749_, BlockPos p_220750_, BlockState p_220751_) booleanBambooStalkBlock.isBonemealSuccess(Level p_261870_, RandomSource p_261802_, BlockPos p_262123_, BlockState p_261972_) booleanBigDripleafBlock.isBonemealSuccess(Level p_220788_, RandomSource p_220789_, BlockPos p_220790_, BlockState p_220791_) booleanBigDripleafStemBlock.isBonemealSuccess(Level p_220808_, RandomSource p_220809_, BlockPos p_220810_, BlockState p_220811_) booleanBonemealableBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanBonemealableFeaturePlacerBlock.isBonemealSuccess(Level p_379855_, RandomSource p_380339_, BlockPos p_379438_, BlockState p_379693_) booleanBushBlock.isBonemealSuccess(Level p_401200_, RandomSource p_401387_, BlockPos p_401374_, BlockState p_401380_) booleanCaveVinesBlock.isBonemealSuccess(Level p_220930_, RandomSource p_220931_, BlockPos p_220932_, BlockState p_220933_) booleanCaveVinesPlantBlock.isBonemealSuccess(Level p_220943_, RandomSource p_220944_, BlockPos p_220945_, BlockState p_220946_) booleanCocoaBlock.isBonemealSuccess(Level p_220995_, RandomSource p_220996_, BlockPos p_220997_, BlockState p_220998_) booleanCropBlock.isBonemealSuccess(Level p_221045_, RandomSource p_221046_, BlockPos p_221047_, BlockState p_221048_) booleanFireflyBushBlock.isBonemealSuccess(Level p_401120_, RandomSource p_401417_, BlockPos p_401298_, BlockState p_401423_) booleanFlowerBedBlock.isBonemealSuccess(Level p_393489_, RandomSource p_394493_, BlockPos p_394603_, BlockState p_393700_) booleanFungusBlock.isBonemealSuccess(Level p_221248_, RandomSource p_221249_, BlockPos p_221250_, BlockState p_221251_) booleanGlowLichenBlock.isBonemealSuccess(Level p_221264_, RandomSource p_221265_, BlockPos p_221266_, BlockState p_221267_) booleanGrassBlock.isBonemealSuccess(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) booleanGrowingPlantBodyBlock.isBonemealSuccess(Level p_221290_, RandomSource p_221291_, BlockPos p_221292_, BlockState p_221293_) booleanGrowingPlantHeadBlock.isBonemealSuccess(Level p_221343_, RandomSource p_221344_, BlockPos p_221345_, BlockState p_221346_) booleanHangingMossBlock.isBonemealSuccess(Level p_380206_, RandomSource p_380151_, BlockPos p_379719_, BlockState p_379567_) booleanMangroveLeavesBlock.isBonemealSuccess(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) booleanMangrovePropaguleBlock.isBonemealSuccess(Level p_221463_, RandomSource p_221464_, BlockPos p_221465_, BlockState p_221466_) booleanMossyCarpetBlock.isBonemealSuccess(Level p_380168_, RandomSource p_380045_, BlockPos p_380299_, BlockState p_379595_) booleanMushroomBlock.isBonemealSuccess(Level p_221779_, RandomSource p_221780_, BlockPos p_221781_, BlockState p_221782_) booleanNetherrackBlock.isBonemealSuccess(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) booleanNyliumBlock.isBonemealSuccess(Level p_221830_, RandomSource p_221831_, BlockPos p_221832_, BlockState p_221833_) booleanPitcherCropBlock.isBonemealSuccess(Level p_277920_, RandomSource p_277594_, BlockPos p_277401_, BlockState p_277434_) booleanRootedDirtBlock.isBonemealSuccess(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) booleanSaplingBlock.isBonemealSuccess(Level p_222006_, RandomSource p_222007_, BlockPos p_222008_, BlockState p_222009_) booleanSeagrassBlock.isBonemealSuccess(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) booleanSeaPickleBlock.isBonemealSuccess(Level p_222418_, RandomSource p_222419_, BlockPos p_222420_, BlockState p_222421_) booleanShortDryGrassBlock.isBonemealSuccess(Level p_401806_, RandomSource p_401772_, BlockPos p_401791_, BlockState p_401942_) booleanSmallDripleafBlock.isBonemealSuccess(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) booleanStemBlock.isBonemealSuccess(Level p_222533_, RandomSource p_222534_, BlockPos p_222535_, BlockState p_222536_) booleanSweetBerryBushBlock.isBonemealSuccess(Level p_222558_, RandomSource p_222559_, BlockPos p_222560_, BlockState p_222561_) booleanTallDryGrassBlock.isBonemealSuccess(Level p_401931_, RandomSource p_401815_, BlockPos p_401808_, BlockState p_401935_) booleanTallFlowerBlock.isBonemealSuccess(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) booleanTallGrassBlock.isBonemealSuccess(Level p_222583_, RandomSource p_222584_, BlockPos p_222585_, BlockState p_222586_) private booleanScaffoldingBlock.isBottom(BlockGetter pLevel, BlockPos pPos, int pDistance) private static booleanBedBlock.isBunkBed(BlockGetter pLevel, BlockPos pPos) private static booleanChestBlock.isCatSittingOnChest(LevelAccessor pLevel, BlockPos pPos) static booleanChestBlock.isChestBlockedAt(LevelAccessor pLevel, BlockPos pPos) protected booleanBambooStalkBlock.isCollisionShapeFullBlock(BlockState p_262062_, BlockGetter p_261848_, BlockPos p_261466_) protected booleanPointedDripstoneBlock.isCollisionShapeFullBlock(BlockState p_181235_, BlockGetter p_181236_, BlockPos p_181237_) protected booleanAbstractCauldronBlock.isEntityInsideContent(BlockState pState, BlockPos pPos, Entity pEntity) booleanBaseRailBlock.isFlexibleRail(BlockState state, BlockGetter world, BlockPos pos) booleanTrapDoorBlock.isLadder(BlockState state, LevelReader world, BlockPos pos, LivingEntity entity) booleanDiodeBlock.isLocked(LevelReader pLevel, BlockPos pPos, BlockState pState) Check if neighboring blocks are locking this diode.booleanRepeaterBlock.isLocked(LevelReader pLevel, BlockPos pPos, BlockState pState) private static booleanSculkSpreader.ChargeCursor.isMovementUnobstructed(LevelAccessor pLevel, BlockPos pFromPos, BlockPos pToPos) protected booleanFireBlock.isNearRain(Level pLevel, BlockPos pPos) private static booleanFarmBlock.isNearWater(LevelReader pLevel, BlockPos pPos) private static boolean(package private) booleanSculkSpreader.ChargeCursor.isPosUnreasonable(BlockPos pPos) static booleanprotected booleanPoweredRailBlock.isSameRailWithPower(Level pLevel, BlockPos pState, boolean pSearchForward, int pRecursionCount, RailShape pShape) static booleanTurtleEggBlock.isSand(BlockGetter pReader, BlockPos pPos) private booleanHoneyBlock.isSlidingDown(BlockPos pPos, Entity pEntity) static booleanCampfireBlock.isSmokeyPos(Level pLevel, BlockPos pPos) private static booleanPointedDripstoneBlock.isStalactiteStartPos(BlockState pState, LevelReader pLevel, BlockPos pPos) abstract booleanSupportType.isSupporting(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pFace) private static booleanCreakingHeartBlock.isSurroundedByLogs(LevelAccessor pLevel, BlockPos pPos) private static booleanRedstoneTorchBlock.isToggledTooFrequently(Level pLevel, BlockPos pPos, boolean pLogToggle) private static booleanSculkSpreader.ChargeCursor.isUnobstructed(LevelAccessor pLevel, BlockPos pPos, Direction pDirection) booleanAzaleaBlock.isValidBonemealTarget(LevelReader p_256329_, BlockPos p_256107_, BlockState p_255771_) booleanBambooSaplingBlock.isValidBonemealTarget(LevelReader p_256136_, BlockPos p_256527_, BlockState p_255620_) booleanBambooStalkBlock.isValidBonemealTarget(LevelReader p_262065_, BlockPos p_262033_, BlockState p_261700_) booleanBigDripleafBlock.isValidBonemealTarget(LevelReader p_255698_, BlockPos p_256302_, BlockState p_255648_) booleanBigDripleafStemBlock.isValidBonemealTarget(LevelReader p_255683_, BlockPos p_256358_, BlockState p_256408_) booleanBonemealableBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanBonemealableFeaturePlacerBlock.isValidBonemealTarget(LevelReader p_379414_, BlockPos p_379932_, BlockState p_379449_) booleanBushBlock.isValidBonemealTarget(LevelReader p_401250_, BlockPos p_401361_, BlockState p_401191_) booleanCaveVinesBlock.isValidBonemealTarget(LevelReader p_256026_, BlockPos p_152971_, BlockState p_152972_) booleanCaveVinesPlantBlock.isValidBonemealTarget(LevelReader p_255942_, BlockPos p_153012_, BlockState p_153013_) booleanCocoaBlock.isValidBonemealTarget(LevelReader p_256189_, BlockPos p_51753_, BlockState p_51754_) booleanCropBlock.isValidBonemealTarget(LevelReader p_255715_, BlockPos p_52259_, BlockState p_52260_) booleanFireflyBushBlock.isValidBonemealTarget(LevelReader p_401352_, BlockPos p_401332_, BlockState p_401436_) booleanFlowerBedBlock.isValidBonemealTarget(LevelReader p_393585_, BlockPos p_393679_, BlockState p_394653_) booleanFungusBlock.isValidBonemealTarget(LevelReader p_256655_, BlockPos p_256553_, BlockState p_256213_) booleanGlowLichenBlock.isValidBonemealTarget(LevelReader p_256569_, BlockPos p_153290_, BlockState p_153291_) booleanGrassBlock.isValidBonemealTarget(LevelReader p_256229_, BlockPos p_256432_, BlockState p_255677_) booleanGrowingPlantBodyBlock.isValidBonemealTarget(LevelReader p_256221_, BlockPos p_255647_, BlockState p_256117_) booleanGrowingPlantHeadBlock.isValidBonemealTarget(LevelReader p_255931_, BlockPos p_256046_, BlockState p_256550_) booleanHangingMossBlock.isValidBonemealTarget(LevelReader p_379509_, BlockPos p_379596_, BlockState p_380331_) booleanMangroveLeavesBlock.isValidBonemealTarget(LevelReader p_256534_, BlockPos p_256299_, BlockState p_255926_) booleanMangrovePropaguleBlock.isValidBonemealTarget(LevelReader p_256541_, BlockPos p_221459_, BlockState p_221460_) booleanMossyCarpetBlock.isValidBonemealTarget(LevelReader p_379909_, BlockPos p_379807_, BlockState p_379358_) booleanMushroomBlock.isValidBonemealTarget(LevelReader p_255904_, BlockPos p_54871_, BlockState p_54872_) booleanNetherrackBlock.isValidBonemealTarget(LevelReader p_256620_, BlockPos p_55003_, BlockState p_55004_) booleanNyliumBlock.isValidBonemealTarget(LevelReader p_256194_, BlockPos p_256152_, BlockState p_256389_) booleanPitcherCropBlock.isValidBonemealTarget(LevelReader p_277380_, BlockPos p_277500_, BlockState p_277715_) booleanRootedDirtBlock.isValidBonemealTarget(LevelReader p_256100_, BlockPos p_255943_, BlockState p_255655_) booleanSaplingBlock.isValidBonemealTarget(LevelReader p_256124_, BlockPos p_55992_, BlockState p_55993_) booleanSeagrassBlock.isValidBonemealTarget(LevelReader p_295512_, BlockPos p_154506_, BlockState p_154507_) booleanSeaPickleBlock.isValidBonemealTarget(LevelReader p_255984_, BlockPos p_56092_, BlockState p_56093_) booleanShortDryGrassBlock.isValidBonemealTarget(LevelReader p_401814_, BlockPos p_401760_, BlockState p_401924_) booleanSmallDripleafBlock.isValidBonemealTarget(LevelReader p_255772_, BlockPos p_154595_, BlockState p_154596_) booleanStemBlock.isValidBonemealTarget(LevelReader p_255699_, BlockPos p_57031_, BlockState p_57032_) booleanSweetBerryBushBlock.isValidBonemealTarget(LevelReader p_256056_, BlockPos p_57261_, BlockState p_57262_) booleanTallDryGrassBlock.isValidBonemealTarget(LevelReader p_401899_, BlockPos p_401858_, BlockState p_401909_) booleanTallFlowerBlock.isValidBonemealTarget(LevelReader p_256234_, BlockPos p_57304_, BlockState p_57305_) booleanTallGrassBlock.isValidBonemealTarget(LevelReader p_255692_, BlockPos p_57326_, BlockState p_57327_) static booleanEnchantingTableBlock.isValidBookShelf(Level pLevel, BlockPos pEnchantingTablePos, BlockPos pBookshelfPos) private booleanFireBlock.isValidFireLocation(BlockGetter pLevel, BlockPos pPos) private static booleanPointedDripstoneBlock.isValidPointedDripstonePlacement(LevelReader pLevel, BlockPos pPos, Direction pDir) booleanMultifaceBlock.isValidStateForPlacement(BlockGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection) private static booleanRespawnAnchorBlock.isWaterThatWouldFlow(BlockPos pPos, Level pLevel) static booleanDoorBlock.isWoodenDoor(Level pLevel, BlockPos pPos) private booleanBedBlock.kickVillagerOutOfBed(Level pLevel, BlockPos pPos) static voidLayeredCauldronBlock.lowerFillLevel(BlockState pState, Level pLevel, BlockPos pPos) private static voidLeavesBlock.makeDrippingWaterParticles(Level pLevel, BlockPos pPos, RandomSource pRandom, BlockState pBlockBelow, BlockPos pBelowPos) private voidLeavesBlock.makeFallingLeavesParticles(Level pLevel, BlockPos pPos, RandomSource pRandom, BlockState pBlockBelow, BlockPos pBelowPos) private static voidLeverBlock.makeParticle(BlockState pState, LevelAccessor pLevel, BlockPos pPos, float pAlpha) static voidCampfireBlock.makeParticles(Level pLevel, BlockPos pPos, boolean pIsSignalFire, boolean pSpawnExtraSmoke) private voidHoneyBlock.maybeDoSlideAchievement(Entity pEntity, BlockPos pPos) static voidPointedDripstoneBlock.maybeTransferFluid(BlockState pState, ServerLevel pLevel, BlockPos pPos, float pRandChance) protected booleanAttachedStemBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanAzaleaBlock.mayPlaceOn(BlockState p_152089_, BlockGetter p_152090_, BlockPos p_152091_) protected booleanCactusFlowerBlock.mayPlaceOn(BlockState p_401846_, BlockGetter p_401825_, BlockPos p_401934_) protected booleanCropBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanDryVegetationBlock.mayPlaceOn(BlockState p_401820_, BlockGetter p_401945_, BlockPos p_401852_) private static booleanFrogspawnBlock.mayPlaceOn(BlockGetter pLevel, BlockPos pPos) protected booleanFungusBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanMangrovePropaguleBlock.mayPlaceOn(BlockState p_221496_, BlockGetter p_221497_, BlockPos p_221498_) protected booleanMushroomBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanNetherSproutsBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanNetherWartBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanPitcherCropBlock.mayPlaceOn(BlockState p_277418_, BlockGetter p_277461_, BlockPos p_277608_) protected booleanRootsBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanSeagrassBlock.mayPlaceOn(BlockState p_154539_, BlockGetter p_154540_, BlockPos p_154541_) protected booleanSeaPickleBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanSmallDripleafBlock.mayPlaceOn(BlockState p_154636_, BlockGetter p_154637_, BlockPos p_154638_) protected booleanStemBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanTallSeagrassBlock.mayPlaceOn(BlockState p_154774_, BlockGetter p_154775_, BlockPos p_154776_) protected booleanVegetationBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanWaterlilyBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanWitherRoseBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected voidIceBlock.melt(BlockState pState, Level pLevel, BlockPos pPos) protected voidAbstractSkullBlock.neighborChanged(BlockState p_301179_, Level p_301325_, BlockPos p_301085_, Block p_301182_, Orientation p_362711_, boolean p_300890_) protected voidBaseRailBlock.neighborChanged(BlockState p_49377_, Level p_49378_, BlockPos p_49379_, Block p_49380_, Orientation p_361387_, boolean p_49382_) protected voidBellBlock.neighborChanged(BlockState p_49729_, Level p_49730_, BlockPos p_49731_, Block p_49732_, Orientation p_363666_, boolean p_49734_) protected voidBigDripleafBlock.neighborChanged(BlockState p_152271_, Level p_152272_, BlockPos p_152273_, Block p_152274_, Orientation p_364767_, boolean p_152276_) protected voidCommandBlock.neighborChanged(BlockState p_51838_, Level p_51839_, BlockPos p_51840_, Block p_51841_, Orientation p_361514_, boolean p_51843_) protected voidCopperBulbBlock.neighborChanged(BlockState p_309025_, Level p_308955_, BlockPos p_309153_, Block p_308949_, Orientation p_364418_, boolean p_309085_) protected voidCrafterBlock.neighborChanged(BlockState p_307205_, Level p_307451_, BlockPos p_307272_, Block p_307542_, Orientation p_362007_, boolean p_307540_) protected voidDiodeBlock.neighborChanged(BlockState p_52525_, Level p_52526_, BlockPos p_52527_, Block p_52528_, Orientation p_363074_, boolean p_52530_) protected voidDispenserBlock.neighborChanged(BlockState p_52700_, Level p_52701_, BlockPos p_52702_, Block p_52703_, Orientation p_360855_, boolean p_52705_) protected voidDoorBlock.neighborChanged(BlockState p_52776_, Level p_52777_, BlockPos p_52778_, Block p_52779_, Orientation p_361881_, boolean p_52781_) protected voidFenceGateBlock.neighborChanged(BlockState p_53372_, Level p_53373_, BlockPos p_53374_, Block p_53375_, Orientation p_362989_, boolean p_53377_) protected voidFrostedIceBlock.neighborChanged(BlockState p_53579_, Level p_53580_, BlockPos p_53581_, Block p_53582_, Orientation p_365079_, boolean p_53584_) protected voidHopperBlock.neighborChanged(BlockState p_54078_, Level p_54079_, BlockPos p_54080_, Block p_54081_, Orientation p_361307_, boolean p_54083_) protected voidLiquidBlock.neighborChanged(BlockState p_54709_, Level p_54710_, BlockPos p_54711_, Block p_54712_, Orientation p_361226_, boolean p_54714_) protected voidNoteBlock.neighborChanged(BlockState p_55041_, Level p_55042_, BlockPos p_55043_, Block p_55044_, Orientation p_361888_, boolean p_55046_) protected voidRedstoneLampBlock.neighborChanged(BlockState p_55666_, Level p_55667_, BlockPos p_55668_, Block p_55669_, Orientation p_364297_, boolean p_55671_) protected voidRedstoneTorchBlock.neighborChanged(BlockState p_55699_, Level p_55700_, BlockPos p_55701_, Block p_55702_, Orientation p_362458_, boolean p_55704_) protected voidRedStoneWireBlock.neighborChanged(BlockState p_55561_, Level p_55562_, BlockPos p_55563_, Block p_55564_, Orientation p_362973_, boolean p_55566_) protected voidSpongeBlock.neighborChanged(BlockState p_56801_, Level p_56802_, BlockPos p_56803_, Block p_56804_, Orientation p_364278_, boolean p_56806_) protected voidStructureBlock.neighborChanged(BlockState p_57135_, Level p_57136_, BlockPos p_57137_, Block p_57138_, Orientation p_364789_, boolean p_57140_) protected voidTestBlock.neighborChanged(BlockState p_397457_, Level p_397572_, BlockPos p_397104_, Block p_397813_, Orientation p_397759_, boolean p_397459_) protected voidTntBlock.neighborChanged(BlockState p_57457_, Level p_57458_, BlockPos p_57459_, Block p_57460_, Orientation p_364510_, boolean p_57462_) protected voidTrapDoorBlock.neighborChanged(BlockState p_57547_, Level p_57548_, BlockPos p_57549_, Block p_57550_, Orientation p_364404_, boolean p_57552_) private static booleanBlocks.never(BlockState pState, BlockGetter pBlockGetter, BlockPos pPos) static BooleanBlocks.never(BlockState pState, BlockGetter pLevel, BlockPos pPos, EntityType<?> pEntity) AbstractBannerBlock.newBlockEntity(BlockPos p_151892_, BlockState p_151893_) AbstractSkullBlock.newBlockEntity(BlockPos p_151996_, BlockState p_151997_) BarrelBlock.newBlockEntity(BlockPos p_152102_, BlockState p_152103_) BeaconBlock.newBlockEntity(BlockPos p_152164_, BlockState p_152165_) BedBlock.newBlockEntity(BlockPos p_152175_, BlockState p_152176_) BeehiveBlock.newBlockEntity(BlockPos p_152184_, BlockState p_152185_) BellBlock.newBlockEntity(BlockPos p_152198_, BlockState p_152199_) BlastFurnaceBlock.newBlockEntity(BlockPos p_152386_, BlockState p_152387_) BrewingStandBlock.newBlockEntity(BlockPos p_152698_, BlockState p_152699_) BrushableBlock.newBlockEntity(BlockPos p_277683_, BlockState p_277381_) CalibratedSculkSensorBlock.newBlockEntity(BlockPos p_277925_, BlockState p_277938_) CampfireBlock.newBlockEntity(BlockPos p_152759_, BlockState p_152760_) CeilingHangingSignBlock.newBlockEntity(BlockPos p_249338_, BlockState p_250706_) ChestBlock.newBlockEntity(BlockPos p_153064_, BlockState p_153065_) ChiseledBookShelfBlock.newBlockEntity(BlockPos p_250440_, BlockState p_248729_) CommandBlock.newBlockEntity(BlockPos p_153083_, BlockState p_153084_) ComparatorBlock.newBlockEntity(BlockPos p_153086_, BlockState p_153087_) ConduitBlock.newBlockEntity(BlockPos p_153098_, BlockState p_153099_) CrafterBlock.newBlockEntity(BlockPos p_307381_, BlockState p_307601_) CreakingHeartBlock.newBlockEntity(BlockPos p_380178_, BlockState p_380317_) DaylightDetectorBlock.newBlockEntity(BlockPos p_153118_, BlockState p_153119_) DecoratedPotBlock.newBlockEntity(BlockPos p_273396_, BlockState p_272674_) DispenserBlock.newBlockEntity(BlockPos p_153162_, BlockState p_153163_) DropperBlock.newBlockEntity(BlockPos p_153179_, BlockState p_153180_) EnchantingTableBlock.newBlockEntity(BlockPos p_341190_, BlockState p_340989_) EnderChestBlock.newBlockEntity(BlockPos p_153208_, BlockState p_153209_) EndGatewayBlock.newBlockEntity(BlockPos p_153193_, BlockState p_153194_) EndPortalBlock.newBlockEntity(BlockPos p_153196_, BlockState p_153197_) EntityBlock.newBlockEntity(BlockPos pPos, BlockState pState) FurnaceBlock.newBlockEntity(BlockPos p_153277_, BlockState p_153278_) HopperBlock.newBlockEntity(BlockPos p_153382_, BlockState p_153383_) JigsawBlock.newBlockEntity(BlockPos p_153448_, BlockState p_153449_) JukeboxBlock.newBlockEntity(BlockPos p_153451_, BlockState p_153452_) LecternBlock.newBlockEntity(BlockPos p_153573_, BlockState p_153574_) SculkCatalystBlock.newBlockEntity(BlockPos p_222117_, BlockState p_222118_) SculkSensorBlock.newBlockEntity(BlockPos p_154466_, BlockState p_154467_) SculkShriekerBlock.newBlockEntity(BlockPos p_222213_, BlockState p_222214_) ShulkerBoxBlock.newBlockEntity(BlockPos p_154552_, BlockState p_154553_) SignBlock.newBlockEntity(BlockPos p_154556_, BlockState p_154557_) SmokerBlock.newBlockEntity(BlockPos p_154644_, BlockState p_154645_) SpawnerBlock.newBlockEntity(BlockPos p_154687_, BlockState p_154688_) StructureBlock.newBlockEntity(BlockPos p_154732_, BlockState p_154733_) TestBlock.newBlockEntity(BlockPos p_397356_, BlockState p_397468_) TestInstanceBlock.newBlockEntity(BlockPos p_397973_, BlockState p_397522_) TrappedChestBlock.newBlockEntity(BlockPos p_154834_, BlockState p_154835_) TrialSpawnerBlock.newBlockEntity(BlockPos p_311941_, BlockState p_312821_) VaultBlock.newBlockEntity(BlockPos p_324543_, BlockState p_323652_) WallHangingSignBlock.newBlockEntity(BlockPos p_250745_, BlockState p_250905_) private voidRedstoneTorchBlock.notifyNeighbors(Level pLevel, BlockPos pPos, BlockState pState) private static voidTripWireHookBlock.notifyNeighbors(Block pBlock, Level pLevel, BlockPos pPos, Direction pDirection) static BooleanBlocks.ocelotOrParrot(BlockState pState, BlockGetter pLevel, BlockPos pPos, EntityType<?> pEntity) voidAnvilBlock.onBrokenAfterFall(Level p_152053_, BlockPos p_152054_, FallingBlockEntity p_152055_) voidBrushableBlock.onBrokenAfterFall(Level p_278097_, BlockPos p_277734_, FallingBlockEntity p_277539_) default voidFallable.onBrokenAfterFall(Level pLevel, BlockPos pPos, FallingBlockEntity pFallingBlock) voidPointedDripstoneBlock.onBrokenAfterFall(Level p_154059_, BlockPos p_154060_, FallingBlockEntity p_154061_) booleanTntBlock.onCaughtFire(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) default voidSculkBehaviour.onDischarged(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) voidSculkVeinBlock.onDischarged(LevelAccessor p_222359_, BlockState p_222360_, BlockPos p_222361_, RandomSource p_222362_) protected voidAbstractCandleBlock.onExplosionHit(BlockState p_311992_, ServerLevel p_361872_, BlockPos p_312387_, Explosion p_312661_, BiConsumer<ItemStack, BlockPos> p_312093_) protected voidBeehiveBlock.onExplosionHit(BlockState p_364770_, ServerLevel p_364089_, BlockPos p_363677_, Explosion p_365390_, BiConsumer<ItemStack, BlockPos> p_360830_) protected voidBellBlock.onExplosionHit(BlockState p_311884_, ServerLevel p_362869_, BlockPos p_312717_, Explosion p_312800_, BiConsumer<ItemStack, BlockPos> p_312339_) protected voidButtonBlock.onExplosionHit(BlockState p_312395_, ServerLevel p_364251_, BlockPos p_311817_, Explosion p_312150_, BiConsumer<ItemStack, BlockPos> p_311898_) protected voidCreakingHeartBlock.onExplosionHit(BlockState p_382935_, ServerLevel p_382804_, BlockPos p_383050_, Explosion p_383064_, BiConsumer<ItemStack, BlockPos> p_383124_) protected voidDoorBlock.onExplosionHit(BlockState p_312769_, ServerLevel p_363080_, BlockPos p_311900_, Explosion p_312544_, BiConsumer<ItemStack, BlockPos> p_312107_) protected voidFenceGateBlock.onExplosionHit(BlockState p_312699_, ServerLevel p_361116_, BlockPos p_312680_, Explosion p_312186_, BiConsumer<ItemStack, BlockPos> p_312187_) protected voidLeverBlock.onExplosionHit(BlockState p_312405_, ServerLevel p_361347_, BlockPos p_311795_, Explosion p_312090_, BiConsumer<ItemStack, BlockPos> p_312313_) protected voidTrapDoorBlock.onExplosionHit(BlockState p_312371_, ServerLevel p_360483_, BlockPos p_312879_, Explosion p_312330_, BiConsumer<ItemStack, BlockPos> p_312161_) voidAnvilBlock.onLand(Level p_48793_, BlockPos p_48794_, BlockState p_48795_, BlockState p_48796_, FallingBlockEntity p_48797_) voidConcretePowderBlock.onLand(Level p_52068_, BlockPos p_52069_, BlockState p_52070_, BlockState p_52071_, FallingBlockEntity p_52072_) default voidFallable.onLand(Level pLevel, BlockPos pPos, BlockState pState, BlockState pReplaceableState, FallingBlockEntity pFallingBlock) voidLightningRodBlock.onLightningStrike(BlockState pState, Level pLevel, BlockPos pPos) voidComparatorBlock.onNeighborChange(BlockState state, LevelReader levelReader, BlockPos pos, BlockPos neighbor) voidAbstractCauldronBlock.onPlace(BlockState p_51978_, Level p_51979_, BlockPos p_51980_, BlockState p_51981_, boolean p_51982_) protected voidBaseFireBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidBaseRailBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) voidBrushableBlock.onPlace(BlockState p_277817_, Level p_277984_, BlockPos p_277869_, BlockState p_277926_, boolean p_277736_) protected voidCarvedPumpkinBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidComposterBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidCopperBulbBlock.onPlace(BlockState p_309207_, Level p_309068_, BlockPos p_309087_, BlockState p_308908_, boolean p_308906_) protected voidCoralFanBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidCoralPlantBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidCoralWallFanBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidDetectorRailBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidDiodeBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidFallingBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidFireBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidFrogspawnBlock.onPlace(BlockState p_221227_, Level p_221228_, BlockPos p_221229_, BlockState p_221230_, boolean p_221231_) voidFrostedIceBlock.onPlace(BlockState p_345576_, Level p_346049_, BlockPos p_346299_, BlockState p_346367_, boolean p_344840_) protected voidHopperBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidLightningRodBlock.onPlace(BlockState p_153753_, Level p_153754_, BlockPos p_153755_, BlockState p_153756_, boolean p_153757_) protected voidLiquidBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidMagmaBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidObserverBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidRedstoneTorchBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidRedStoneWireBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidScaffoldingBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidSculkSensorBlock.onPlace(BlockState p_154471_, Level p_154472_, BlockPos p_154473_, BlockState p_154474_, boolean p_154475_) voidSnifferEggBlock.onPlace(BlockState p_277964_, Level p_277827_, BlockPos p_277526_, BlockState p_277618_, boolean p_277819_) protected voidSoulSandBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidSpongeBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidTargetBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidTntBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidTripWireBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidTurtleEggBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidWetSpongeBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) static booleanTurtleEggBlock.onSand(BlockGetter pLevel, BlockPos pPos) protected abstract voidAbstractFurnaceBlock.openContainer(Level pLevel, BlockPos pPos, Player pPlayer) Called to open this furnace's container.protected voidBlastFurnaceBlock.openContainer(Level pLevel, BlockPos pPos, Player pPlayer) protected voidFurnaceBlock.openContainer(Level pLevel, BlockPos pPos, Player pPlayer) protected voidSmokerBlock.openContainer(Level pLevel, BlockPos pPos, Player pPlayer) private voidLecternBlock.openScreen(Level pLevel, BlockPos pPos, Player pPlayer) voidAzaleaBlock.performBonemeal(ServerLevel p_220707_, RandomSource p_220708_, BlockPos p_220709_, BlockState p_220710_) voidBambooSaplingBlock.performBonemeal(ServerLevel p_220743_, RandomSource p_220744_, BlockPos p_220745_, BlockState p_220746_) voidBambooStalkBlock.performBonemeal(ServerLevel p_261845_, RandomSource p_262034_, BlockPos p_261955_, BlockState p_261685_) voidBigDripleafBlock.performBonemeal(ServerLevel p_220783_, RandomSource p_220784_, BlockPos p_220785_, BlockState p_220786_) voidBigDripleafStemBlock.performBonemeal(ServerLevel p_220803_, RandomSource p_220804_, BlockPos p_220805_, BlockState p_220806_) voidBonemealableBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidBonemealableFeaturePlacerBlock.performBonemeal(ServerLevel p_380244_, RandomSource p_379395_, BlockPos p_380245_, BlockState p_379519_) voidBushBlock.performBonemeal(ServerLevel p_401091_, RandomSource p_401012_, BlockPos p_401218_, BlockState p_401130_) voidCaveVinesBlock.performBonemeal(ServerLevel p_220923_, RandomSource p_220924_, BlockPos p_220925_, BlockState p_220926_) voidCaveVinesPlantBlock.performBonemeal(ServerLevel p_220938_, RandomSource p_220939_, BlockPos p_220940_, BlockState p_220941_) voidCocoaBlock.performBonemeal(ServerLevel p_220990_, RandomSource p_220991_, BlockPos p_220992_, BlockState p_220993_) voidCropBlock.performBonemeal(ServerLevel p_221040_, RandomSource p_221041_, BlockPos p_221042_, BlockState p_221043_) voidFireflyBushBlock.performBonemeal(ServerLevel p_401415_, RandomSource p_401124_, BlockPos p_401112_, BlockState p_401260_) voidFlowerBedBlock.performBonemeal(ServerLevel p_394140_, RandomSource p_394672_, BlockPos p_393771_, BlockState p_394008_) voidFungusBlock.performBonemeal(ServerLevel p_221243_, RandomSource p_221244_, BlockPos p_221245_, BlockState p_221246_) voidGlowLichenBlock.performBonemeal(ServerLevel p_221259_, RandomSource p_221260_, BlockPos p_221261_, BlockState p_221262_) voidGrassBlock.performBonemeal(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) voidGrowingPlantBodyBlock.performBonemeal(ServerLevel p_221285_, RandomSource p_221286_, BlockPos p_221287_, BlockState p_221288_) voidGrowingPlantHeadBlock.performBonemeal(ServerLevel p_221337_, RandomSource p_221338_, BlockPos p_221339_, BlockState p_221340_) voidHangingMossBlock.performBonemeal(ServerLevel p_379337_, RandomSource p_379974_, BlockPos p_379496_, BlockState p_379559_) voidMangroveLeavesBlock.performBonemeal(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) voidMangrovePropaguleBlock.performBonemeal(ServerLevel p_221451_, RandomSource p_221452_, BlockPos p_221453_, BlockState p_221454_) voidMossyCarpetBlock.performBonemeal(ServerLevel p_379402_, RandomSource p_379670_, BlockPos p_379387_, BlockState p_379934_) voidMushroomBlock.performBonemeal(ServerLevel p_221769_, RandomSource p_221770_, BlockPos p_221771_, BlockState p_221772_) voidNetherrackBlock.performBonemeal(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) voidNyliumBlock.performBonemeal(ServerLevel p_221825_, RandomSource p_221826_, BlockPos p_221827_, BlockState p_221828_) voidPitcherCropBlock.performBonemeal(ServerLevel p_277717_, RandomSource p_277870_, BlockPos p_277836_, BlockState p_278034_) voidRootedDirtBlock.performBonemeal(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) voidSaplingBlock.performBonemeal(ServerLevel p_221996_, RandomSource p_221997_, BlockPos p_221998_, BlockState p_221999_) voidSeagrassBlock.performBonemeal(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) voidSeaPickleBlock.performBonemeal(ServerLevel p_222413_, RandomSource p_222414_, BlockPos p_222415_, BlockState p_222416_) voidShortDryGrassBlock.performBonemeal(ServerLevel p_401950_, RandomSource p_401831_, BlockPos p_401948_, BlockState p_401868_) voidSmallDripleafBlock.performBonemeal(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) voidStemBlock.performBonemeal(ServerLevel p_222528_, RandomSource p_222529_, BlockPos p_222530_, BlockState p_222531_) voidSweetBerryBushBlock.performBonemeal(ServerLevel p_222553_, RandomSource p_222554_, BlockPos p_222555_, BlockState p_222556_) voidTallDryGrassBlock.performBonemeal(ServerLevel p_401804_, RandomSource p_401769_, BlockPos p_401777_, BlockState p_401790_) voidTallFlowerBlock.performBonemeal(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) voidTallGrassBlock.performBonemeal(ServerLevel p_222578_, RandomSource p_222579_, BlockPos p_222580_, BlockState p_222581_) BarrierBlock.pickupBlock(LivingEntity p_393874_, LevelAccessor p_295817_, BlockPos p_295857_, BlockState p_294189_) BubbleColumnBlock.pickupBlock(LivingEntity p_394411_, LevelAccessor p_152712_, BlockPos p_152713_, BlockState p_152714_) BucketPickup.pickupBlock(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) LiquidBlock.pickupBlock(LivingEntity p_393591_, LevelAccessor p_153772_, BlockPos p_153773_, BlockState p_153774_) PowderSnowBlock.pickupBlock(LivingEntity p_394634_, LevelAccessor p_154281_, BlockPos p_154282_, BlockState p_154283_) default ItemStackSimpleWaterloggedBlock.pickupBlock(LivingEntity p_394370_, LevelAccessor p_154560_, BlockPos p_154561_, BlockState p_154562_) protected static booleanBigDripleafBlock.place(LevelAccessor pLevel, BlockPos pPos, FluidState pFluidState, Direction pDirection) protected static booleanBigDripleafStemBlock.place(LevelAccessor pLevel, BlockPos pPos, FluidState pFluidState, Direction pDirection) private voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> pFeatureRegistry, ResourceKey<ConfiguredFeature<?, ?>> pFeatureKey, ServerLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) static voidDoublePlantBlock.placeAt(LevelAccessor pLevel, BlockState pState, BlockPos pPos, int pFlags) static voidMossyCarpetBlock.placeAt(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, int pFlags) private static voidLecternBlock.placeBook(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockState pState, ItemStack pStack) private voidChorusFlowerBlock.placeDeadFlower(Level pLevel, BlockPos pPos) private voidChorusFlowerBlock.placeGrownFlower(Level pLevel, BlockPos pPos, int pAge) booleanCampfireBlock.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanCandleBlock.placeLiquid(LevelAccessor p_152805_, BlockPos p_152806_, BlockState p_152807_, FluidState p_152808_) booleanKelpBlock.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanKelpPlantBlock.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanLiquidBlockContainer.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanSeagrassBlock.placeLiquid(LevelAccessor p_154520_, BlockPos p_154521_, BlockState p_154522_, FluidState p_154523_) default booleanSimpleWaterloggedBlock.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanSlabBlock.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanTallSeagrassBlock.placeLiquid(LevelAccessor p_154758_, BlockPos p_154759_, BlockState p_154760_, FluidState p_154761_) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, Direction pDirection) voidBeehiveBlock.playerDestroy(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) voidBlock.playerDestroy(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pBlockEntity, ItemStack pTool) Called after a player has successfully harvested this block.voidDoublePlantBlock.playerDestroy(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) voidIceBlock.playerDestroy(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) voidTurtleEggBlock.playerDestroy(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) BaseFireBlock.playerWillDestroy(Level p_49251_, BlockPos p_49252_, BlockState p_49253_, Player p_49254_) BedBlock.playerWillDestroy(Level p_49505_, BlockPos p_49506_, BlockState p_49507_, Player p_49508_) BeehiveBlock.playerWillDestroy(Level p_49608_, BlockPos p_49609_, BlockState p_49610_, Player p_49611_) Block.playerWillDestroy(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) CreakingHeartBlock.playerWillDestroy(Level p_380319_, BlockPos p_379939_, BlockState p_379928_, Player p_380097_) DecoratedPotBlock.playerWillDestroy(Level p_273590_, BlockPos p_273343_, BlockState p_272869_, Player p_273002_) DoorBlock.playerWillDestroy(Level p_52755_, BlockPos p_52756_, BlockState p_52757_, Player p_52758_) DoublePlantBlock.playerWillDestroy(Level p_52878_, BlockPos p_52879_, BlockState p_52880_, Player p_52881_) ShulkerBoxBlock.playerWillDestroy(Level p_56212_, BlockPos p_56213_, BlockState p_56214_, Player p_56215_) TntBlock.playerWillDestroy(Level p_57445_, BlockPos p_57446_, BlockState p_57447_, Player p_57448_) TripWireBlock.playerWillDestroy(Level p_57615_, BlockPos p_57616_, BlockState p_57617_, Player p_57618_) private voidNoteBlock.playNote(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) protected voidButtonBlock.playSound(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, boolean pHitByArrow) private voidprotected static voidLeverBlock.playSound(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected voidprivate static voidBigDripleafBlock.playTiltSound(Level pLevel, BlockPos pPos, SoundEvent pSound) voidBlock.popExperience(ServerLevel pLevel, BlockPos pPos, int pAmount) Spawns the given amount of experience into the Level as experience orb entities.static voidBlock.popResource(Level pLevel, BlockPos pPos, ItemStack pStack) Spawns the given stack into the Level at the given position, respecting the doTileDrops gamerulestatic voidBlock.popResourceFromFace(Level pLevel, BlockPos pPos, Direction pDirection, ItemStack pStack) voidButtonBlock.press(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected static voidDoublePlantBlock.preventDropFromBottomPart(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) static booleanDeprecated.Neo: use invalid input: '{@link net.neoforged.neoforge.common.extensions.IBlockStateExtension#' onCaughtFire(Level,BlockPos,net.minecraft.core.Direction, LivingEntity)} insteadprivate static booleanTntBlock.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)} insteadvoidLeverBlock.pull(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) static BlockStateBlock.pushEntitiesUp(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos) protected voidBambooSaplingBlock.randomTick(BlockState p_220753_, ServerLevel p_220754_, BlockPos p_220755_, RandomSource p_220756_) protected voidBambooStalkBlock.randomTick(BlockState p_261931_, ServerLevel p_261751_, BlockPos p_261616_, RandomSource p_261766_) protected voidBeetrootBlock.randomTick(BlockState p_220778_, ServerLevel p_220779_, BlockPos p_220780_, RandomSource p_220781_) protected voidBuddingAmethystBlock.randomTick(BlockState p_220898_, ServerLevel p_220899_, BlockPos p_220900_, RandomSource p_220901_) protected voidCactusBlock.randomTick(BlockState p_220913_, ServerLevel p_220914_, BlockPos p_220915_, RandomSource p_220916_) protected voidChorusFlowerBlock.randomTick(BlockState p_220980_, ServerLevel p_220981_, BlockPos p_220982_, RandomSource p_220983_) protected voidCocoaBlock.randomTick(BlockState p_221000_, ServerLevel p_221001_, BlockPos p_221002_, RandomSource p_221003_) protected voidCropBlock.randomTick(BlockState p_221050_, ServerLevel p_221051_, BlockPos p_221052_, RandomSource p_221053_) protected voidEyeblossomBlock.randomTick(BlockState p_382824_, ServerLevel p_382831_, BlockPos p_382957_, RandomSource p_382888_) protected voidFarmBlock.randomTick(BlockState p_221139_, ServerLevel p_221140_, BlockPos p_221141_, RandomSource p_221142_) protected voidFlowerPotBlock.randomTick(BlockState p_382880_, ServerLevel p_383169_, BlockPos p_382955_, RandomSource p_383144_) protected voidGrowingPlantHeadBlock.randomTick(BlockState p_221350_, ServerLevel p_221351_, BlockPos p_221352_, RandomSource p_221353_) protected voidIceBlock.randomTick(BlockState p_221355_, ServerLevel p_221356_, BlockPos p_221357_, RandomSource p_221358_) protected voidLeavesBlock.randomTick(BlockState p_221379_, ServerLevel p_221380_, BlockPos p_221381_, RandomSource p_221382_) protected voidLiquidBlock.randomTick(BlockState p_221410_, ServerLevel p_221411_, BlockPos p_221412_, RandomSource p_221413_) protected voidMangrovePropaguleBlock.randomTick(BlockState p_221488_, ServerLevel p_221489_, BlockPos p_221490_, RandomSource p_221491_) protected voidMushroomBlock.randomTick(BlockState p_221784_, ServerLevel p_221785_, BlockPos p_221786_, RandomSource p_221787_) protected voidNetherPortalBlock.randomTick(BlockState p_221799_, ServerLevel p_221800_, BlockPos p_221801_, RandomSource p_221802_) protected voidNetherWartBlock.randomTick(BlockState p_221806_, ServerLevel p_221807_, BlockPos p_221808_, RandomSource p_221809_) protected voidNyliumBlock.randomTick(BlockState p_221835_, ServerLevel p_221836_, BlockPos p_221837_, RandomSource p_221838_) voidPitcherCropBlock.randomTick(BlockState p_277950_, ServerLevel p_277589_, BlockPos p_277937_, RandomSource p_277887_) protected voidPointedDripstoneBlock.randomTick(BlockState p_221883_, ServerLevel p_221884_, BlockPos p_221885_, RandomSource p_221886_) protected voidRedStoneOreBlock.randomTick(BlockState p_221918_, ServerLevel p_221919_, BlockPos p_221920_, RandomSource p_221921_) protected voidSaplingBlock.randomTick(BlockState p_222011_, ServerLevel p_222012_, BlockPos p_222013_, RandomSource p_222014_) protected voidSnowLayerBlock.randomTick(BlockState p_222448_, ServerLevel p_222449_, BlockPos p_222450_, RandomSource p_222451_) protected voidSpreadingSnowyDirtBlock.randomTick(BlockState p_222508_, ServerLevel p_222509_, BlockPos p_222510_, RandomSource p_222511_) protected voidStemBlock.randomTick(BlockState p_222538_, ServerLevel p_222539_, BlockPos p_222540_, RandomSource p_222541_) protected voidSugarCaneBlock.randomTick(BlockState p_222548_, ServerLevel p_222549_, BlockPos p_222550_, RandomSource p_222551_) protected voidSweetBerryBushBlock.randomTick(BlockState p_222563_, ServerLevel p_222564_, BlockPos p_222565_, RandomSource p_222566_) voidTorchflowerCropBlock.randomTick(BlockState p_273361_, ServerLevel p_273515_, BlockPos p_273546_, RandomSource p_273261_) protected voidTurtleEggBlock.randomTick(BlockState p_222644_, ServerLevel p_222645_, BlockPos p_222646_, RandomSource p_222647_) protected voidVineBlock.randomTick(BlockState p_222655_, ServerLevel p_222656_, BlockPos p_222657_, RandomSource p_222658_) protected voidWeatheringCopperBulbBlock.randomTick(BlockState p_309163_, ServerLevel p_309177_, BlockPos p_309033_, RandomSource p_308946_) protected voidWeatheringCopperDoorBlock.randomTick(BlockState p_308942_, ServerLevel p_309109_, BlockPos p_309034_, RandomSource p_309156_) protected voidWeatheringCopperFullBlock.randomTick(BlockState p_222665_, ServerLevel p_222666_, BlockPos p_222667_, RandomSource p_222668_) protected voidWeatheringCopperGrateBlock.randomTick(BlockState p_309111_, ServerLevel p_309121_, BlockPos p_309090_, RandomSource p_308865_) protected voidWeatheringCopperSlabBlock.randomTick(BlockState p_222670_, ServerLevel p_222671_, BlockPos p_222672_, RandomSource p_222673_) protected voidWeatheringCopperStairBlock.randomTick(BlockState p_222675_, ServerLevel p_222676_, BlockPos p_222677_, RandomSource p_222678_) protected voidWeatheringCopperTrapDoorBlock.randomTick(BlockState p_309138_, ServerLevel p_309005_, BlockPos p_309123_, RandomSource p_309094_) protected voidAbstractCauldronBlock.receiveStalactiteDrip(BlockState pState, Level pLevel, BlockPos pPos, Fluid pFluid) protected voidCauldronBlock.receiveStalactiteDrip(BlockState p_152940_, Level p_152941_, BlockPos p_152942_, Fluid p_152943_) protected voidLayeredCauldronBlock.receiveStalactiteDrip(BlockState p_153544_, Level p_153545_, BlockPos p_153546_, Fluid p_153547_) private voidComparatorBlock.refreshOutputState(Level pLevel, BlockPos pPos, BlockState pState) static booleanSculkVeinBlock.regrow(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Collection<Direction> pDirections) voidBeehiveBlock.releaseBeesAndResetHoneyLevel(Level pLevel, BlockState pState, BlockPos pPos, Player pPlayer, BeehiveBlockEntity.BeeReleaseStatus pBeeReleaseStatus) private static voidChiseledBookShelfBlock.removeBook(Level pLevel, BlockPos pPos, Player pPlayer, ChiseledBookShelfBlockEntity pBlockEntity, int pSlot) private booleanSpongeBlock.removeWaterBreadthFirstSearch(Level pLevel, BlockPos pPos) static voidLecternBlock.resetBookState(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState, boolean pHasBook) voidBeehiveBlock.resetHoneyLevel(Level pLevel, BlockState pState, BlockPos pPos) private static voidBigDripleafBlock.resetTilt(BlockState pState, Level pLevel, BlockPos pPos) protected static booleanBaseCoralPlantTypeBlock.scanForWater(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanCoralBlock.scanForWater(BlockGetter pLevel, BlockPos pPos) private BlockStateNoteBlock.setInstrument(LevelReader pLevel, BlockPos pPos, BlockState pState) private static voidAbstractCandleBlock.setLit(LevelAccessor pLevel, BlockState pState, BlockPos pPos, boolean pLit) voidDoorBlock.setOpen(Entity pEntity, Level pLevel, BlockState pState, BlockPos pPos, boolean pOpen) private static voidTargetBlock.setOutputPower(LevelAccessor pLevel, BlockState pState, int pPower, BlockPos pPos, int pWaitTime) voidBedBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) voidBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.voidCommandBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) voidCrafterBlock.setPlacedBy(Level p_307219_, BlockPos p_307681_, BlockState p_307383_, LivingEntity p_307647_, ItemStack p_307190_) voidDiodeBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) voidDoorBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) voidDoublePlantBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) voidJukeboxBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) voidMossyCarpetBlock.setPlacedBy(Level p_380310_, BlockPos p_380202_, BlockState p_379659_, LivingEntity p_379877_, ItemStack p_380344_) voidPitcherCropBlock.setPlacedBy(Level p_277432_, BlockPos p_277632_, BlockState p_277479_, LivingEntity p_277805_, ItemStack p_277663_) voidSmallDripleafBlock.setPlacedBy(Level p_154599_, BlockPos p_154600_, BlockState p_154601_, LivingEntity p_154602_, ItemStack p_154603_) voidStructureBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) voidTripWireHookBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) voidWitherSkullBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) voidWitherWallSkullBlock.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 voidCommandBlock.setPoweredAndUpdate(Level pLevel, BlockPos pPos, CommandBlockEntity pBlockEntity, boolean pPowered) private static voidBigDripleafBlock.setTilt(BlockState pState, Level pLevel, BlockPos pPos, Tilt pTilt) private voidBigDripleafBlock.setTiltAndScheduleTick(BlockState pState, Level pLevel, BlockPos pPos, Tilt pTilt, SoundEvent pSound) private static booleanBaseRailBlock.shouldBeRemoved(BlockPos pPos, Level pLevel, RailShape pShape) private static booleanFarmBlock.shouldMaintainFarmland(BlockGetter pLevel, BlockPos pPos) booleanDiodeBlock.shouldPrioritize(BlockGetter pLevel, BlockPos pPos, BlockState pState) Check if this diode should have a higher tick priority than default.static booleanBlock.shouldRenderFace(BlockGetter level, BlockPos pos, BlockState p_152445_, BlockState p_361252_, Direction p_152448_) private static booleanConcretePowderBlock.shouldSolidify(BlockGetter pLevel, BlockPos pPos, BlockState pState) private static booleanConcretePowderBlock.shouldSolidify(BlockGetter pLevel, BlockPos pPos, BlockState pState, FluidState fluidState) private booleanLiquidBlock.shouldSpreadLiquid(Level pLevel, BlockPos pPos, BlockState pState) Deprecated.protected booleanComparatorBlock.shouldTurnOn(Level pLevel, BlockPos pPos, BlockState pState) protected booleanDiodeBlock.shouldTurnOn(Level pLevel, BlockPos pPos, BlockState pState) private booleanSculkSpreader.ChargeCursor.shouldUpdate(LevelAccessor pLevel, BlockPos pPos, boolean pIsWorldGeneration) private BlockStateWallBlock.sideUpdate(LevelReader pLevel, BlockPos pFirstPos, BlockState pFirstState, BlockPos pSecondPos, BlockState pSecondState, Direction pDir) static voidLecternBlock.signalPageChange(Level pLevel, BlockPos pPos, BlockState pState) private booleanFrostedIceBlock.slightlyMelt(BlockState pState, Level pLevel, BlockPos pPos) protected voidDropExperienceBlock.spawnAfterBreak(BlockState p_221086_, ServerLevel p_221087_, BlockPos p_221088_, ItemStack p_221089_, boolean p_221090_) protected voidInfestedBlock.spawnAfterBreak(BlockState p_221360_, ServerLevel p_221361_, BlockPos p_221362_, ItemStack p_221363_, boolean p_221364_) protected voidRedStoneOreBlock.spawnAfterBreak(BlockState p_221907_, ServerLevel p_221908_, BlockPos p_221909_, ItemStack p_221910_, boolean p_221911_) protected voidSculkCatalystBlock.spawnAfterBreak(BlockState p_222109_, ServerLevel p_222110_, BlockPos p_222111_, ItemStack p_222112_, boolean p_222113_) protected voidSculkSensorBlock.spawnAfterBreak(BlockState p_222142_, ServerLevel p_222143_, BlockPos p_222144_, ItemStack p_222145_, boolean p_222146_) protected voidSculkShriekerBlock.spawnAfterBreak(BlockState p_222192_, ServerLevel p_222193_, BlockPos p_222194_, ItemStack p_222195_, boolean p_222196_) protected voidSpawnerBlock.spawnAfterBreak(BlockState p_222477_, ServerLevel p_222478_, BlockPos p_222479_, ItemStack p_222480_, boolean p_222481_) protected voidBaseFireBlock.spawnDestroyParticles(Level p_152139_, Player p_152140_, BlockPos p_152141_, BlockState p_152142_) protected voidBlock.spawnDestroyParticles(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState) static voidPointedDripstoneBlock.spawnDripParticle(Level pLevel, BlockPos pPos, BlockState pState) private static voidPointedDripstoneBlock.spawnDripParticle(Level pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) protected abstract voidLeavesBlock.spawnFallingLeavesParticle(Level pLevel, BlockPos pPos, RandomSource pRandom) protected voidTintedParticleLeavesBlock.spawnFallingLeavesParticle(Level p_399553_, BlockPos p_400280_, RandomSource p_400310_) protected voidUntintedParticleLeavesBlock.spawnFallingLeavesParticle(Level p_399654_, BlockPos p_399778_, RandomSource p_400146_) private static voidPointedDripstoneBlock.spawnFallingStalactite(BlockState pState, ServerLevel pLevel, BlockPos pPos) private static voidCarvedPumpkinBlock.spawnGolemInWorld(Level pLevel, BlockPattern.BlockPatternMatch pPatternMatch, Entity pGolem, BlockPos pPos) private voidInfestedBlock.spawnInfestation(ServerLevel pLevel, BlockPos pPos) private voidBeehiveBlock.spawnParticle(Level pLevel, BlockPos pPos, VoxelShape pShape, double pY) private static voidRedStoneOreBlock.spawnParticles(Level pLevel, BlockPos pPos) private static voidRedStoneWireBlock.spawnParticlesAlongLine(Level pLevel, RandomSource pRandom, BlockPos pPos, int pColor, Direction pDirection, Direction pPerpendicularDirection, float pStart, float pEnd) private voidFrogspawnBlock.spawnTadpoles(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) voidEyeblossomBlock.Type.spawnTransformParticle(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) longMultifaceSpreader.spreadAll(BlockState pState, LevelAccessor pLevel, BlockPos pPos, boolean pMarkForPostprocessing) private longMultifaceSpreader.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 voidObserverBlock.startSignal(LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos) protected booleanMultifaceSpreader.DefaultSpreaderConfig.stateCanBeReplaced(BlockGetter pLevel, BlockPos pPos, BlockPos pSpreadPos, Direction pDirection, BlockState pState) booleanSculkVeinBlock.SculkVeinSpreaderConfig.stateCanBeReplaced(BlockGetter p_222405_, BlockPos p_222406_, BlockPos p_222407_, Direction p_222408_, BlockState p_222409_) voidBlock.stepOn(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) voidMagmaBlock.stepOn(Level p_153777_, BlockPos p_153778_, BlockState p_153779_, Entity p_153780_) voidRedStoneOreBlock.stepOn(Level p_154299_, BlockPos p_154300_, BlockState p_154301_, Entity p_154302_) voidSculkSensorBlock.stepOn(Level p_222132_, BlockPos p_222133_, BlockState p_222134_, Entity p_222135_) voidSculkShriekerBlock.stepOn(Level p_222177_, BlockPos p_222178_, BlockState p_222179_, Entity p_222180_) voidSlimeBlock.stepOn(Level p_154573_, BlockPos p_154574_, BlockState p_154575_, Entity p_154576_) voidTurtleEggBlock.stepOn(Level p_154857_, BlockPos p_154858_, BlockState p_154859_, Entity p_154860_) private static booleanPitcherCropBlock.sufficientLight(LevelReader pLevel, BlockPos pPos) private voidDragonEggBlock.teleport(BlockState pState, Level pLevel, BlockPos pPos) booleanMultifaceSpreader.SpreadPredicate.test(BlockGetter pLevel, BlockPos pPos, MultifaceSpreader.SpreadPos pSpreadPos) protected voidAbstractCauldronBlock.tick(BlockState p_220702_, ServerLevel p_220703_, BlockPos p_220704_, RandomSource p_220705_) protected voidBambooStalkBlock.tick(BlockState p_261612_, ServerLevel p_261527_, BlockPos p_261846_, RandomSource p_261638_) protected voidBarrelBlock.tick(BlockState p_220758_, ServerLevel p_220759_, BlockPos p_220760_, RandomSource p_220761_) protected voidBasePressurePlateBlock.tick(BlockState p_220768_, ServerLevel p_220769_, BlockPos p_220770_, RandomSource p_220771_) protected voidBigDripleafBlock.tick(BlockState p_220798_, ServerLevel p_220799_, BlockPos p_220800_, RandomSource p_220801_) protected voidBigDripleafStemBlock.tick(BlockState p_220813_, ServerLevel p_220814_, BlockPos p_220815_, RandomSource p_220816_) voidBrushableBlock.tick(BlockState p_277544_, ServerLevel p_277779_, BlockPos p_278019_, RandomSource p_277471_) protected voidBubbleColumnBlock.tick(BlockState p_220888_, ServerLevel p_220889_, BlockPos p_220890_, RandomSource p_220891_) protected voidButtonBlock.tick(BlockState p_220903_, ServerLevel p_220904_, BlockPos p_220905_, RandomSource p_220906_) protected voidCactusBlock.tick(BlockState p_220908_, ServerLevel p_220909_, BlockPos p_220910_, RandomSource p_220911_) protected voidChestBlock.tick(BlockState p_220958_, ServerLevel p_220959_, BlockPos p_220960_, RandomSource p_220961_) protected voidChorusFlowerBlock.tick(BlockState p_220975_, ServerLevel p_220976_, BlockPos p_220977_, RandomSource p_220978_) protected voidChorusPlantBlock.tick(BlockState p_220985_, ServerLevel p_220986_, BlockPos p_220987_, RandomSource p_220988_) protected voidCommandBlock.tick(BlockState p_221005_, ServerLevel p_221006_, BlockPos p_221007_, RandomSource p_221008_) protected voidComparatorBlock.tick(BlockState p_221010_, ServerLevel p_221011_, BlockPos p_221012_, RandomSource p_221013_) protected voidComposterBlock.tick(BlockState p_221015_, ServerLevel p_221016_, BlockPos p_221017_, RandomSource p_221018_) protected voidCoralBlock.tick(BlockState p_221020_, ServerLevel p_221021_, BlockPos p_221022_, RandomSource p_221023_) protected voidCoralFanBlock.tick(BlockState p_221025_, ServerLevel p_221026_, BlockPos p_221027_, RandomSource p_221028_) protected voidCoralPlantBlock.tick(BlockState p_221030_, ServerLevel p_221031_, BlockPos p_221032_, RandomSource p_221033_) protected voidCoralWallFanBlock.tick(BlockState p_221035_, ServerLevel p_221036_, BlockPos p_221037_, RandomSource p_221038_) protected voidCrafterBlock.tick(BlockState p_307471_, ServerLevel p_307641_, BlockPos p_307339_, RandomSource p_307565_) protected voidCreakingHeartBlock.tick(BlockState p_394029_, ServerLevel p_394479_, BlockPos p_394306_, RandomSource p_393870_) protected voidDetectorRailBlock.tick(BlockState p_221060_, ServerLevel p_221061_, BlockPos p_221062_, RandomSource p_221063_) protected voidDiodeBlock.tick(BlockState p_221065_, ServerLevel p_221066_, BlockPos p_221067_, RandomSource p_221068_) protected voidDirtPathBlock.tick(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) protected voidDispenserBlock.tick(BlockState p_221075_, ServerLevel p_221076_, BlockPos p_221077_, RandomSource p_221078_) protected voidEnderChestBlock.tick(BlockState p_221112_, ServerLevel p_221113_, BlockPos p_221114_, RandomSource p_221115_) protected voidEyeblossomBlock.tick(BlockState p_382808_, ServerLevel p_383005_, BlockPos p_383211_, RandomSource p_383088_) protected voidFallingBlock.tick(BlockState p_221124_, ServerLevel p_221125_, BlockPos p_221126_, RandomSource p_221127_) protected voidFarmBlock.tick(BlockState p_221134_, ServerLevel p_221135_, BlockPos p_221136_, RandomSource p_221137_) protected voidFireBlock.tick(BlockState p_221160_, ServerLevel p_221161_, BlockPos p_221162_, RandomSource p_221163_) protected voidFrogspawnBlock.tick(BlockState p_221194_, ServerLevel p_221195_, BlockPos p_221196_, RandomSource p_221197_) protected voidFrostedIceBlock.tick(BlockState p_221233_, ServerLevel p_221234_, BlockPos p_221235_, RandomSource p_221236_) protected voidGrowingPlantBlock.tick(BlockState p_221280_, ServerLevel p_221281_, BlockPos p_221282_, RandomSource p_221283_) protected voidHangingMossBlock.tick(BlockState p_381085_, ServerLevel p_381014_, BlockPos p_381010_, RandomSource p_380962_) protected voidLeavesBlock.tick(BlockState p_221369_, ServerLevel p_221370_, BlockPos p_221371_, RandomSource p_221372_) protected voidLecternBlock.tick(BlockState p_221388_, ServerLevel p_221389_, BlockPos p_221390_, RandomSource p_221391_) protected voidLightningRodBlock.tick(BlockState p_221400_, ServerLevel p_221401_, BlockPos p_221402_, RandomSource p_221403_) protected voidMagmaBlock.tick(BlockState p_221415_, ServerLevel p_221416_, BlockPos p_221417_, RandomSource p_221418_) protected voidObserverBlock.tick(BlockState p_221840_, ServerLevel p_221841_, BlockPos p_221842_, RandomSource p_221843_) protected voidPointedDripstoneBlock.tick(BlockState p_221865_, ServerLevel p_221866_, BlockPos p_221867_, RandomSource p_221868_) protected voidRedstoneLampBlock.tick(BlockState p_221937_, ServerLevel p_221938_, BlockPos p_221939_, RandomSource p_221940_) protected voidRedstoneTorchBlock.tick(BlockState p_221949_, ServerLevel p_221950_, BlockPos p_221951_, RandomSource p_221952_) protected voidScaffoldingBlock.tick(BlockState p_222019_, ServerLevel p_222020_, BlockPos p_222021_, RandomSource p_222022_) protected voidSculkCatalystBlock.tick(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) protected voidSculkSensorBlock.tick(BlockState p_222137_, ServerLevel p_222138_, BlockPos p_222139_, RandomSource p_222140_) protected voidSculkShriekerBlock.tick(BlockState p_222187_, ServerLevel p_222188_, BlockPos p_222189_, RandomSource p_222190_) voidSnifferEggBlock.tick(BlockState p_277841_, ServerLevel p_277739_, BlockPos p_277692_, RandomSource p_277973_) protected voidSoulSandBlock.tick(BlockState p_222457_, ServerLevel p_222458_, BlockPos p_222459_, RandomSource p_222460_) protected voidSugarCaneBlock.tick(BlockState p_222543_, ServerLevel p_222544_, BlockPos p_222545_, RandomSource p_222546_) protected voidTargetBlock.tick(BlockState p_222588_, ServerLevel p_222589_, BlockPos p_222590_, RandomSource p_222591_) protected voidTestBlock.tick(BlockState p_397712_, ServerLevel p_397112_, BlockPos p_397466_, RandomSource p_397531_) protected voidTripWireBlock.tick(BlockState p_222598_, ServerLevel p_222599_, BlockPos p_222600_, RandomSource p_222601_) protected voidTripWireHookBlock.tick(BlockState p_222610_, ServerLevel p_222611_, BlockPos p_222612_, RandomSource p_222613_) private static voidDaylightDetectorBlock.tickEntity(Level pLevel, BlockPos pPos, BlockState pState, DaylightDetectorBlockEntity pBlockEntity) private voidTrapDoorBlock.toggle(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) private BlockStateWallBlock.topUpdate(LevelReader pLevel, BlockState pState, BlockPos pPos, BlockState pSecondState) private static booleanConcretePowderBlock.touchesLiquid(BlockGetter pLevel, BlockPos pPos, BlockState state) protected booleanBaseEntityBlock.triggerEvent(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) protected booleanComparatorBlock.triggerEvent(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) protected booleanNoteBlock.triggerEvent(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) protected voidSpongeBlock.tryAbsorbWater(Level pLevel, BlockPos pPos) private voidCreakingHeartBlock.tryAwardExperience(Player pPlayer, BlockState pState, Level pLevel, BlockPos pPos) private booleanEyeblossomBlock.tryChangingState(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBlock.tryDropExperience(ServerLevel pLevel, BlockPos pPos, ItemStack pHeldItem, IntProvider pAmount) static booleanLecternBlock.tryPlaceBook(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockState pState, ItemStack pStack) static voidSculkSensorBlock.tryResonateVibration(Entity pEntity, Level pLevel, BlockPos pPos, int pFrequency) protected voidBaseCoralPlantTypeBlock.tryScheduleDieTick(BlockState pState, BlockGetter pLevel, ScheduledTickAccess pScheduledTickAccess, RandomSource pRandom, BlockPos pPos) private voidBeehiveBlock.trySpawnDripParticles(Level pLevel, BlockPos pPos, BlockState pState) private voidCarvedPumpkinBlock.trySpawnGolem(Level pLevel, BlockPos pPos) static voidFarmBlock.turnToDirt(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) voidSculkSpreader.ChargeCursor.update(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) private static voidLecternBlock.updateBelow(Level pLevel, BlockPos pPos, BlockState pState) static voidBubbleColumnBlock.updateColumn(LevelAccessor pLevel, BlockPos pPos, BlockState pState) static voidBubbleColumnBlock.updateColumn(LevelAccessor pLevel, BlockPos pPos, BlockState pFluid, BlockState pState) voidSculkSpreader.updateCursors(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, boolean pShouldConvertBlocks) protected BlockStateBaseRailBlock.updateDir(Level pLevel, BlockPos pPos, BlockState pState, boolean pAlwaysPlace) private static BlockStateLeavesBlock.updateDistance(BlockState pState, LevelAccessor pLevel, BlockPos pPos) static BlockStateBlock.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 voidRedStoneWireBlock.updateIndirectNeighbourShapes(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) protected voidDiodeBlock.updateNeighborsInFront(Level pLevel, BlockPos pPos, BlockState pState) protected voidObserverBlock.updateNeighborsInFront(Level pLevel, BlockPos pPos, BlockState pState) private voidRedStoneWireBlock.updateNeighborsOfNeighboringWires(Level pLevel, BlockPos pPos) protected voidBasePressurePlateBlock.updateNeighbours(Level pLevel, BlockPos pPos) Notify block and block below of changesprivate voidButtonBlock.updateNeighbours(BlockState pState, Level pLevel, BlockPos pPos) private voidLeverBlock.updateNeighbours(BlockState pState, Level pLevel, BlockPos pPos) private voidLightningRodBlock.updateNeighbours(BlockState pState, Level pLevel, BlockPos pPos) private static voidSculkSensorBlock.updateNeighbours(Level pLevel, BlockPos pPos, BlockState pState) static voidBlock.updateOrDestroy(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos, int pFlags) Replaces oldState with newState, possibly playing effects and creating drops.static voidBlock.updateOrDestroy(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) private voidRedStoneWireBlock.updatePowerStrength(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) protected voidDetectorRailBlock.updatePowerToConnected(Level pLevel, BlockPos pPos, BlockState pState, boolean pPowered) protected BlockStateAmethystClusterBlock.updateShape(BlockState p_152036_, LevelReader p_374202_, ScheduledTickAccess p_374490_, BlockPos p_152040_, Direction p_152037_, BlockPos p_152041_, BlockState p_152038_, RandomSource p_374353_) protected BlockStateAttachedStemBlock.updateShape(BlockState p_48848_, LevelReader p_374143_, ScheduledTickAccess p_374241_, BlockPos p_48852_, Direction p_48849_, BlockPos p_48853_, BlockState p_48850_, RandomSource p_374410_) protected BlockStateBambooSaplingBlock.updateShape(BlockState p_48990_, LevelReader p_374098_, ScheduledTickAccess p_374342_, BlockPos p_48994_, Direction p_48991_, BlockPos p_48995_, BlockState p_48992_, RandomSource p_374069_) protected BlockStateBambooStalkBlock.updateShape(BlockState p_261476_, LevelReader p_374219_, ScheduledTickAccess p_374048_, BlockPos p_261876_, Direction p_261512_, BlockPos p_262140_, BlockState p_262167_, RandomSource p_374194_) protected BlockStateBannerBlock.updateShape(BlockState p_49029_, LevelReader p_374424_, ScheduledTickAccess p_374052_, BlockPos p_49033_, Direction p_49030_, BlockPos p_49034_, BlockState p_49031_, RandomSource p_374142_) protected BlockStateBarrierBlock.updateShape(BlockState p_296123_, LevelReader p_374369_, ScheduledTickAccess p_374403_, BlockPos p_294499_, Direction p_294509_, BlockPos p_295044_, BlockState p_296367_, RandomSource p_374441_) protected BlockStateBaseCoralPlantTypeBlock.updateShape(BlockState p_49173_, LevelReader p_374072_, ScheduledTickAccess p_374103_, BlockPos p_49177_, Direction p_49174_, BlockPos p_49178_, BlockState p_49175_, RandomSource p_374124_) protected BlockStateBaseCoralWallFanBlock.updateShape(BlockState p_49210_, LevelReader p_374317_, ScheduledTickAccess p_374285_, BlockPos p_49214_, Direction p_49211_, BlockPos p_49215_, BlockState p_49212_, RandomSource p_374146_) protected BlockStateBasePressurePlateBlock.updateShape(BlockState p_49329_, LevelReader p_374394_, ScheduledTickAccess p_374263_, BlockPos p_49333_, Direction p_49330_, BlockPos p_49334_, BlockState p_49331_, RandomSource p_374547_) protected BlockStateBaseRailBlock.updateShape(BlockState p_152151_, LevelReader p_374498_, ScheduledTickAccess p_374379_, BlockPos p_152155_, Direction p_152152_, BlockPos p_152156_, BlockState p_152153_, RandomSource p_374573_) protected BlockStateBaseTorchBlock.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 BlockStateBedBlock.updateShape(BlockState p_49525_, LevelReader p_374508_, ScheduledTickAccess p_374420_, BlockPos p_49529_, Direction p_49526_, BlockPos p_49530_, BlockState p_49527_, RandomSource p_374423_) protected BlockStateBeehiveBlock.updateShape(BlockState p_49639_, LevelReader p_374043_, ScheduledTickAccess p_374351_, BlockPos p_49643_, Direction p_49640_, BlockPos p_49644_, BlockState p_49641_, RandomSource p_374258_) protected BlockStateBellBlock.updateShape(BlockState p_49744_, LevelReader p_374108_, ScheduledTickAccess p_374552_, BlockPos p_49748_, Direction p_49745_, BlockPos p_49749_, BlockState p_49746_, RandomSource p_374282_) protected BlockStateBigDripleafBlock.updateShape(BlockState p_152293_, LevelReader p_374459_, ScheduledTickAccess p_374181_, BlockPos p_152297_, Direction p_152294_, BlockPos p_152298_, BlockState p_152295_, RandomSource p_374504_) protected BlockStateBigDripleafStemBlock.updateShape(BlockState p_152369_, LevelReader p_374512_, ScheduledTickAccess p_374089_, BlockPos p_152373_, Direction p_152370_, BlockPos p_152374_, BlockState p_152371_, RandomSource p_374360_) BrushableBlock.updateShape(BlockState p_277801_, LevelReader p_374239_, ScheduledTickAccess p_374044_, BlockPos p_278111_, Direction p_277455_, BlockPos p_277904_, BlockState p_277832_, RandomSource p_374558_) protected BlockStateBubbleColumnBlock.updateShape(BlockState p_50990_, LevelReader p_374232_, ScheduledTickAccess p_374471_, BlockPos p_50994_, Direction p_50991_, BlockPos p_50995_, BlockState p_50992_, RandomSource p_374033_) protected BlockStateCactusBlock.updateShape(BlockState p_51157_, LevelReader p_374196_, ScheduledTickAccess p_374319_, BlockPos p_51161_, Direction p_51158_, BlockPos p_51162_, BlockState p_51159_, RandomSource p_374070_) protected BlockStateCakeBlock.updateShape(BlockState p_51213_, LevelReader p_374144_, ScheduledTickAccess p_374554_, BlockPos p_51217_, Direction p_51214_, BlockPos p_51218_, BlockState p_51215_, RandomSource p_374177_) protected BlockStateCampfireBlock.updateShape(BlockState p_51298_, LevelReader p_374562_, ScheduledTickAccess p_374439_, BlockPos p_51302_, Direction p_51299_, BlockPos p_51303_, BlockState p_51300_, RandomSource p_374147_) protected BlockStateCandleBlock.updateShape(BlockState p_152833_, LevelReader p_374497_, ScheduledTickAccess p_374340_, BlockPos p_152837_, Direction p_152834_, BlockPos p_152838_, BlockState p_152835_, RandomSource p_374318_) protected BlockStateCandleCakeBlock.updateShape(BlockState p_152898_, LevelReader p_374136_, ScheduledTickAccess p_374358_, BlockPos p_152902_, Direction p_152899_, BlockPos p_152903_, BlockState p_152900_, RandomSource p_374518_) protected BlockStateCarpetBlock.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 BlockStateCeilingHangingSignBlock.updateShape(BlockState p_251270_, LevelReader p_374479_, ScheduledTickAccess p_374489_, BlockPos p_249685_, Direction p_250331_, BlockPos p_251506_, BlockState p_249591_, RandomSource p_374041_) protected BlockStateChainBlock.updateShape(BlockState p_51461_, LevelReader p_374312_, ScheduledTickAccess p_374505_, BlockPos p_51465_, Direction p_51462_, BlockPos p_51466_, BlockState p_51463_, RandomSource p_374235_) protected BlockStateChestBlock.updateShape(BlockState p_51555_, LevelReader p_374487_, ScheduledTickAccess p_374060_, BlockPos p_51559_, Direction p_51556_, BlockPos p_51560_, BlockState p_51557_, RandomSource p_374212_) protected BlockStateChorusFlowerBlock.updateShape(BlockState p_51687_, LevelReader p_374269_, ScheduledTickAccess p_374493_, BlockPos p_51691_, Direction p_51688_, BlockPos p_51692_, BlockState p_51689_, RandomSource p_374130_) protected BlockStateChorusPlantBlock.updateShape(BlockState p_51728_, LevelReader p_374320_, ScheduledTickAccess p_374500_, BlockPos p_51732_, Direction p_51729_, BlockPos p_51733_, BlockState p_51730_, RandomSource p_374170_) protected BlockStateCocoaBlock.updateShape(BlockState p_51771_, LevelReader p_374569_, ScheduledTickAccess p_374118_, BlockPos p_51775_, Direction p_51772_, BlockPos p_51776_, BlockState p_51773_, RandomSource p_374448_) ComparatorBlock.updateShape(BlockState p_301069_, LevelReader p_374094_, ScheduledTickAccess p_374252_, BlockPos p_301025_, Direction p_301249_, BlockPos p_301045_, BlockState p_301318_, RandomSource p_374228_) protected BlockStateConcretePowderBlock.updateShape(BlockState p_52074_, LevelReader p_374245_, ScheduledTickAccess p_374286_, BlockPos p_52078_, Direction p_52075_, BlockPos p_52079_, BlockState p_52076_, RandomSource p_374119_) protected BlockStateConduitBlock.updateShape(BlockState p_52111_, LevelReader p_374404_, ScheduledTickAccess p_374238_, BlockPos p_52115_, Direction p_52112_, BlockPos p_52116_, BlockState p_52113_, RandomSource p_374453_) protected BlockStateCoralBlock.updateShape(BlockState p_52143_, LevelReader p_374246_, ScheduledTickAccess p_374434_, BlockPos p_52147_, Direction p_52144_, BlockPos p_52148_, BlockState p_52145_, RandomSource p_374050_) protected BlockStateCoralFanBlock.updateShape(BlockState p_52159_, LevelReader p_374555_, ScheduledTickAccess p_374197_, BlockPos p_52163_, Direction p_52160_, BlockPos p_52164_, BlockState p_52161_, RandomSource p_374083_) protected BlockStateCoralPlantBlock.updateShape(BlockState p_52183_, LevelReader p_374499_, ScheduledTickAccess p_374397_, BlockPos p_52187_, Direction p_52184_, BlockPos p_52188_, BlockState p_52185_, RandomSource p_374079_) protected BlockStateCoralWallFanBlock.updateShape(BlockState p_52210_, LevelReader p_374445_, ScheduledTickAccess p_374341_, BlockPos p_52214_, Direction p_52211_, BlockPos p_52215_, BlockState p_52212_, RandomSource p_374523_) protected BlockStateCreakingHeartBlock.updateShape(BlockState p_379552_, LevelReader p_379446_, ScheduledTickAccess p_379318_, BlockPos p_379343_, Direction p_380340_, BlockPos p_380150_, BlockState p_379791_, RandomSource p_379888_) protected BlockStateDecoratedPotBlock.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 BlockStateDirtPathBlock.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 BlockStateDoorBlock.updateShape(BlockState p_52796_, LevelReader p_374501_, ScheduledTickAccess p_374380_, BlockPos p_52800_, Direction p_52797_, BlockPos p_52801_, BlockState p_52798_, RandomSource p_374395_) protected BlockStateDoublePlantBlock.updateShape(BlockState p_52894_, LevelReader p_374107_, ScheduledTickAccess p_374359_, BlockPos p_52898_, Direction p_52895_, BlockPos p_52899_, BlockState p_52896_, RandomSource p_374454_) protected BlockStateEnderChestBlock.updateShape(BlockState p_53160_, LevelReader p_374322_, ScheduledTickAccess p_374149_, BlockPos p_53164_, Direction p_53161_, BlockPos p_53165_, BlockState p_53162_, RandomSource p_374199_) protected BlockStateFaceAttachedHorizontalDirectionalBlock.updateShape(BlockState p_53190_, LevelReader p_374233_, ScheduledTickAccess p_374169_, BlockPos p_53194_, Direction p_53191_, BlockPos p_53195_, BlockState p_53192_, RandomSource p_374040_) protected BlockStateFallingBlock.updateShape(BlockState p_53226_, LevelReader p_374327_, ScheduledTickAccess p_374521_, BlockPos p_53230_, Direction p_53227_, BlockPos p_53231_, BlockState p_53228_, RandomSource p_374287_) protected BlockStateFarmBlock.updateShape(BlockState p_53276_, LevelReader p_374411_, ScheduledTickAccess p_374221_, BlockPos p_53280_, Direction p_53277_, BlockPos p_53281_, BlockState p_53278_, RandomSource p_374244_) protected BlockStateFenceBlock.updateShape(BlockState p_53323_, LevelReader p_374492_, ScheduledTickAccess p_374576_, BlockPos p_53327_, Direction p_53324_, BlockPos p_53328_, BlockState p_53325_, RandomSource p_374530_) protected BlockStateFenceGateBlock.updateShape(BlockState p_53382_, LevelReader p_374250_, ScheduledTickAccess p_374455_, BlockPos p_53386_, Direction p_53383_, BlockPos p_53387_, BlockState p_53384_, RandomSource p_374522_) protected BlockStateFireBlock.updateShape(BlockState p_53458_, LevelReader p_374288_, ScheduledTickAccess p_374582_, BlockPos p_53462_, Direction p_53459_, BlockPos p_53463_, BlockState p_53460_, RandomSource p_374484_) protected BlockStateFlowerPotBlock.updateShape(BlockState p_53547_, LevelReader p_374311_, ScheduledTickAccess p_374506_, BlockPos p_53551_, Direction p_53548_, BlockPos p_53552_, BlockState p_53549_, RandomSource p_374435_) protected BlockStateFrogspawnBlock.updateShape(BlockState p_221213_, LevelReader p_374087_, ScheduledTickAccess p_374429_, BlockPos p_221217_, Direction p_221214_, BlockPos p_221218_, BlockState p_221215_, RandomSource p_374092_) protected BlockStateGrowingPlantBodyBlock.updateShape(BlockState p_53913_, LevelReader p_374366_, ScheduledTickAccess p_374173_, BlockPos p_53917_, Direction p_53914_, BlockPos p_53918_, BlockState p_53915_, RandomSource p_374442_) protected BlockStateGrowingPlantHeadBlock.updateShape(BlockState p_53951_, LevelReader p_374080_, ScheduledTickAccess p_374450_, BlockPos p_53955_, Direction p_53952_, BlockPos p_53956_, BlockState p_53953_, RandomSource p_374560_) protected BlockStateHangingMossBlock.updateShape(BlockState p_380182_, LevelReader p_380219_, ScheduledTickAccess p_380011_, BlockPos p_380024_, Direction p_380101_, BlockPos p_380258_, BlockState p_379654_, RandomSource p_379547_) protected BlockStateHangingRootsBlock.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 BlockStateHeavyCoreBlock.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 BlockStateHugeMushroomBlock.updateShape(BlockState p_54146_, LevelReader p_374323_, ScheduledTickAccess p_374514_, BlockPos p_54150_, Direction p_54147_, BlockPos p_54151_, BlockState p_54148_, RandomSource p_374091_) protected BlockStateIronBarsBlock.updateShape(BlockState p_54211_, LevelReader p_374527_, ScheduledTickAccess p_374556_, BlockPos p_54215_, Direction p_54212_, BlockPos p_54216_, BlockState p_54213_, RandomSource p_374254_) protected BlockStateLadderBlock.updateShape(BlockState p_54363_, LevelReader p_374096_, ScheduledTickAccess p_374237_, BlockPos p_54367_, Direction p_54364_, BlockPos p_54368_, BlockState p_54365_, RandomSource p_374476_) protected BlockStateLanternBlock.updateShape(BlockState p_153483_, LevelReader p_374491_, ScheduledTickAccess p_374260_, BlockPos p_153487_, Direction p_153484_, BlockPos p_153488_, BlockState p_153485_, RandomSource p_374175_) protected BlockStateLeavesBlock.updateShape(BlockState p_54440_, LevelReader p_374064_, ScheduledTickAccess p_374538_, BlockPos p_54444_, Direction p_54441_, BlockPos p_54445_, BlockState p_54442_, RandomSource p_374122_) protected BlockStateLightBlock.updateShape(BlockState p_153680_, LevelReader p_374432_, ScheduledTickAccess p_374195_, BlockPos p_153684_, Direction p_153681_, BlockPos p_153685_, BlockState p_153682_, RandomSource p_374328_) protected BlockStateLightningRodBlock.updateShape(BlockState p_153739_, LevelReader p_374261_, ScheduledTickAccess p_374456_, BlockPos p_153743_, Direction p_153740_, BlockPos p_153744_, BlockState p_153741_, RandomSource p_374086_) protected BlockStateLiquidBlock.updateShape(BlockState p_54723_, LevelReader p_374418_, ScheduledTickAccess p_374542_, BlockPos p_54727_, Direction p_54724_, BlockPos p_54728_, BlockState p_54725_, RandomSource p_374563_) protected BlockStateMagmaBlock.updateShape(BlockState p_54811_, LevelReader p_374494_, ScheduledTickAccess p_374388_, BlockPos p_54815_, Direction p_54812_, BlockPos p_54816_, BlockState p_54813_, RandomSource p_374472_) protected BlockStateMangrovePropaguleBlock.updateShape(BlockState p_221477_, LevelReader p_374145_, ScheduledTickAccess p_374362_, BlockPos p_221481_, Direction p_221478_, BlockPos p_221482_, BlockState p_221479_, RandomSource p_374203_) protected BlockStateMangroveRootsBlock.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 BlockStateMossyCarpetBlock.updateShape(BlockState p_379698_, LevelReader p_379600_, ScheduledTickAccess p_380394_, BlockPos p_380051_, Direction p_380408_, BlockPos p_380380_, BlockState p_379613_, RandomSource p_379309_) protected BlockStateMultifaceBlock.updateShape(BlockState p_153904_, LevelReader p_374463_, ScheduledTickAccess p_374073_, BlockPos p_153908_, Direction p_153905_, BlockPos p_153909_, BlockState p_153906_, RandomSource p_374390_) protected BlockStateNetherPortalBlock.updateShape(BlockState p_54928_, LevelReader p_374413_, ScheduledTickAccess p_374339_, BlockPos p_54932_, Direction p_54929_, BlockPos p_54933_, BlockState p_54930_, RandomSource p_374242_) protected BlockStateNoteBlock.updateShape(BlockState p_55048_, LevelReader p_374298_, ScheduledTickAccess p_374153_, BlockPos p_55052_, Direction p_55049_, BlockPos p_55053_, BlockState p_55050_, RandomSource p_374540_) protected BlockStateObserverBlock.updateShape(BlockState p_55118_, LevelReader p_374557_, ScheduledTickAccess p_374458_, BlockPos p_55122_, Direction p_55119_, BlockPos p_55123_, BlockState p_55120_, RandomSource p_374161_) PitcherCropBlock.updateShape(BlockState p_277518_, LevelReader p_374059_, ScheduledTickAccess p_374076_, BlockPos p_277982_, Direction p_277700_, BlockPos p_278106_, BlockState p_277660_, RandomSource p_374409_) protected BlockStatePointedDripstoneBlock.updateShape(BlockState p_154147_, LevelReader p_374104_, ScheduledTickAccess p_374078_, BlockPos p_154151_, Direction p_154148_, BlockPos p_154152_, BlockState p_154149_, RandomSource p_374393_) protected BlockStateRedstoneWallTorchBlock.updateShape(BlockState p_55772_, LevelReader p_374227_, ScheduledTickAccess p_374302_, BlockPos p_55776_, Direction p_55773_, BlockPos p_55777_, BlockState p_55774_, RandomSource p_374372_) protected BlockStateRedStoneWireBlock.updateShape(BlockState p_55598_, LevelReader p_374191_, ScheduledTickAccess p_374077_, BlockPos p_55602_, Direction p_55599_, BlockPos p_55603_, BlockState p_55600_, RandomSource p_374364_) protected BlockStateRepeaterBlock.updateShape(BlockState p_55821_, LevelReader p_374255_, ScheduledTickAccess p_374035_, BlockPos p_55825_, Direction p_55822_, BlockPos p_55826_, BlockState p_55823_, RandomSource p_374140_) protected BlockStateScaffoldingBlock.updateShape(BlockState p_56044_, LevelReader p_374031_, ScheduledTickAccess p_374303_, BlockPos p_56048_, Direction p_56045_, BlockPos p_56049_, BlockState p_56046_, RandomSource p_374574_) protected BlockStateSculkSensorBlock.updateShape(BlockState p_154457_, LevelReader p_374292_, ScheduledTickAccess p_374575_, BlockPos p_154461_, Direction p_154458_, BlockPos p_154462_, BlockState p_154459_, RandomSource p_374248_) protected BlockStateSculkShriekerBlock.updateShape(BlockState p_222204_, LevelReader p_374289_, ScheduledTickAccess p_374095_, BlockPos p_222208_, Direction p_222205_, BlockPos p_222209_, BlockState p_222206_, RandomSource p_374058_) protected BlockStateSeagrassBlock.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 BlockStateSeaPickleBlock.updateShape(BlockState p_56113_, LevelReader p_374408_, ScheduledTickAccess p_374099_, BlockPos p_56117_, Direction p_56114_, BlockPos p_56118_, BlockState p_56115_, RandomSource p_374294_) protected BlockStateSignBlock.updateShape(BlockState p_56285_, LevelReader p_374509_, ScheduledTickAccess p_374520_, BlockPos p_56289_, Direction p_56286_, BlockPos p_56290_, BlockState p_56287_, RandomSource p_374213_) protected BlockStateSlabBlock.updateShape(BlockState p_56381_, LevelReader p_374541_, ScheduledTickAccess p_374470_, BlockPos p_56385_, Direction p_56382_, BlockPos p_56386_, BlockState p_56383_, RandomSource p_374101_) protected BlockStateSmallDripleafBlock.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 BlockStateSnowLayerBlock.updateShape(BlockState p_56606_, LevelReader p_374469_, ScheduledTickAccess p_374526_, BlockPos p_56610_, Direction p_56607_, BlockPos p_56611_, BlockState p_56608_, RandomSource p_374113_) protected BlockStateSnowyDirtBlock.updateShape(BlockState p_56644_, LevelReader p_374564_, ScheduledTickAccess p_374201_, BlockPos p_56648_, Direction p_56645_, BlockPos p_56649_, BlockState p_56646_, RandomSource p_374447_) protected BlockStateSoulFireBlock.updateShape(BlockState p_56659_, LevelReader p_374511_, ScheduledTickAccess p_374567_, BlockPos p_56663_, Direction p_56660_, BlockPos p_56664_, BlockState p_56661_, RandomSource p_374480_) protected BlockStateSoulSandBlock.updateShape(BlockState p_56689_, LevelReader p_374561_, ScheduledTickAccess p_374416_, BlockPos p_56693_, Direction p_56690_, BlockPos p_56694_, BlockState p_56691_, RandomSource p_374114_) protected BlockStateSporeBlossomBlock.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 BlockStateStairBlock.updateShape(BlockState p_56925_, LevelReader p_374183_, ScheduledTickAccess p_374352_, BlockPos p_56929_, Direction p_56926_, BlockPos p_56930_, BlockState p_56927_, RandomSource p_374581_) protected BlockStateStandingSignBlock.updateShape(BlockState p_57005_, LevelReader p_374220_, ScheduledTickAccess p_374377_, BlockPos p_57009_, Direction p_57006_, BlockPos p_57010_, BlockState p_57007_, RandomSource p_374251_) protected BlockStateSugarCaneBlock.updateShape(BlockState p_57179_, LevelReader p_374168_, ScheduledTickAccess p_374217_, BlockPos p_57183_, Direction p_57180_, BlockPos p_57184_, BlockState p_57181_, RandomSource p_374240_) protected BlockStateTrapDoorBlock.updateShape(BlockState p_57554_, LevelReader p_374386_, ScheduledTickAccess p_374038_, BlockPos p_57558_, Direction p_57555_, BlockPos p_57559_, BlockState p_57556_, RandomSource p_374093_) protected BlockStateTripWireBlock.updateShape(BlockState p_57645_, LevelReader p_374437_, ScheduledTickAccess p_374214_, BlockPos p_57649_, Direction p_57646_, BlockPos p_57650_, BlockState p_57647_, RandomSource p_374065_) protected BlockStateTripWireHookBlock.updateShape(BlockState p_57731_, LevelReader p_374415_, ScheduledTickAccess p_374046_, BlockPos p_57735_, Direction p_57732_, BlockPos p_57736_, BlockState p_57733_, RandomSource p_374155_) protected BlockStateVegetationBlock.updateShape(BlockState p_401118_, LevelReader p_401198_, ScheduledTickAccess p_401107_, BlockPos p_401142_, Direction p_401236_, BlockPos p_401082_, BlockState p_401336_, RandomSource p_401169_) protected BlockStateVineBlock.updateShape(BlockState p_57875_, LevelReader p_374150_, ScheduledTickAccess p_374192_, BlockPos p_57879_, Direction p_57876_, BlockPos p_57880_, BlockState p_57877_, RandomSource p_374278_) protected BlockStateWallBannerBlock.updateShape(BlockState p_57935_, LevelReader p_374553_, ScheduledTickAccess p_374106_, BlockPos p_57939_, Direction p_57936_, BlockPos p_57940_, BlockState p_57937_, RandomSource p_374162_) protected BlockStateWallBlock.updateShape(BlockState p_58014_, LevelReader p_374577_, ScheduledTickAccess p_374176_, BlockPos p_58018_, Direction p_58015_, BlockPos p_58019_, BlockState p_58016_, RandomSource p_374535_) private BlockStateWallBlock.updateShape(LevelReader pLevel, BlockState pState, BlockPos pPos, BlockState pNeighbour, boolean pNorthConnection, boolean pEastConnection, boolean pSouthConnection, boolean pWestConnection) protected BlockStateWallHangingSignBlock.updateShape(BlockState p_249879_, LevelReader p_374368_, ScheduledTickAccess p_374179_, BlockPos p_252327_, Direction p_249939_, BlockPos p_251853_, BlockState p_250767_, RandomSource p_374570_) protected BlockStateWallSignBlock.updateShape(BlockState p_58083_, LevelReader p_374417_, ScheduledTickAccess p_374151_, BlockPos p_58087_, Direction p_58084_, BlockPos p_58088_, BlockState p_58085_, RandomSource p_374032_) protected BlockStateWallTorchBlock.updateShape(BlockState p_58143_, LevelReader p_374329_, ScheduledTickAccess p_374207_, BlockPos p_58147_, Direction p_58144_, BlockPos p_58148_, BlockState p_58145_, RandomSource p_374234_) protected BlockStateWaterloggedTransparentBlock.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 voidDaylightDetectorBlock.updateSignalStrength(BlockState pState, Level pLevel, BlockPos pPos) private voidRedStoneWireBlock.updatesOnShapeChange(Level pLevel, BlockPos pPos, BlockState pOldState, BlockState pNewState) private voidTripWireBlock.updateSource(Level pLevel, BlockPos pPos, BlockState pState) protected BlockStateBaseRailBlock.updateState(BlockState pState, Level pLevel, BlockPos pPos, boolean pMovedByPiston) protected voidBaseRailBlock.updateState(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock) private static BlockStateCreakingHeartBlock.updateState(BlockState pState, Level pLevel, BlockPos pPos) protected voidPoweredRailBlock.updateState(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock) protected voidRailBlock.updateState(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock) static InteractionResultCaveVines.use(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) protected InteractionResultAbstractCauldronBlock.useItemOn(ItemStack p_316791_, BlockState p_316287_, Level p_316530_, BlockPos p_316585_, Player p_316671_, InteractionHand p_316186_, BlockHitResult p_316294_) protected InteractionResultBeehiveBlock.useItemOn(ItemStack p_316844_, BlockState p_316365_, Level p_316306_, BlockPos p_316497_, Player p_316824_, InteractionHand p_316436_, BlockHitResult p_316125_) protected InteractionResultCakeBlock.useItemOn(ItemStack p_316238_, BlockState p_316837_, Level p_316766_, BlockPos p_316227_, Player p_316853_, InteractionHand p_316422_, BlockHitResult p_316869_) protected InteractionResultCampfireBlock.useItemOn(ItemStack p_316347_, BlockState p_51274_, Level p_51275_, BlockPos p_51276_, Player p_51277_, InteractionHand p_51278_, BlockHitResult p_51279_) protected InteractionResultCandleBlock.useItemOn(ItemStack p_316279_, BlockState p_316163_, Level p_316881_, BlockPos p_316480_, Player p_316191_, InteractionHand p_316669_, BlockHitResult p_316641_) protected InteractionResultCandleCakeBlock.useItemOn(ItemStack p_316571_, BlockState p_316514_, Level p_316171_, BlockPos p_316112_, Player p_316172_, InteractionHand p_316257_, BlockHitResult p_316286_) protected InteractionResultCeilingHangingSignBlock.useItemOn(ItemStack p_316602_, BlockState p_316839_, Level p_316805_, BlockPos p_316894_, Player p_316202_, InteractionHand p_316538_, BlockHitResult p_316895_) protected InteractionResultChiseledBookShelfBlock.useItemOn(ItemStack p_316457_, BlockState p_316201_, Level p_316747_, BlockPos p_316462_, Player p_316228_, InteractionHand p_316721_, BlockHitResult p_316464_) protected InteractionResultComposterBlock.useItemOn(ItemStack p_316332_, BlockState p_316118_, Level p_316624_, BlockPos p_316660_, Player p_316715_, InteractionHand p_316472_, BlockHitResult p_316606_) protected InteractionResultDecoratedPotBlock.useItemOn(ItemStack p_316569_, BlockState p_316562_, Level p_316177_, BlockPos p_316898_, Player p_316632_, InteractionHand p_316424_, BlockHitResult p_316345_) protected InteractionResultFlowerPotBlock.useItemOn(ItemStack p_316610_, BlockState p_316240_, Level p_316456_, BlockPos p_316502_, Player p_316491_, InteractionHand p_316444_, BlockHitResult p_316826_) protected InteractionResultJukeboxBlock.useItemOn(ItemStack p_350348_, BlockState p_351033_, Level p_350995_, BlockPos p_350838_, Player p_350684_, InteractionHand p_350461_, BlockHitResult p_351025_) protected InteractionResultLecternBlock.useItemOn(ItemStack p_316392_, BlockState p_316600_, Level p_316640_, BlockPos p_316673_, Player p_316670_, InteractionHand p_316384_, BlockHitResult p_316419_) protected InteractionResultNoteBlock.useItemOn(ItemStack p_316716_, BlockState p_316688_, Level p_316672_, BlockPos p_316355_, Player p_316822_, InteractionHand p_316505_, BlockHitResult p_316667_) protected InteractionResultPumpkinBlock.useItemOn(ItemStack p_316383_, BlockState p_316676_, Level p_316272_, BlockPos p_316484_, Player p_316367_, InteractionHand p_316216_, BlockHitResult p_316827_) protected InteractionResultRedStoneOreBlock.useItemOn(ItemStack p_316235_, BlockState p_316208_, Level p_316432_, BlockPos p_316592_, Player p_316564_, InteractionHand p_316389_, BlockHitResult p_316390_) protected InteractionResultRespawnAnchorBlock.useItemOn(ItemStack p_316531_, BlockState p_316665_, Level p_316165_, BlockPos p_316402_, Player p_316556_, InteractionHand p_316586_, BlockHitResult p_316326_) protected InteractionResultSignBlock.useItemOn(ItemStack p_316116_, BlockState p_316899_, Level p_316692_, BlockPos p_316578_, Player p_316244_, InteractionHand p_316196_, BlockHitResult p_316744_) protected InteractionResultSweetBerryBushBlock.useItemOn(ItemStack p_316636_, BlockState p_316295_, Level p_316812_, BlockPos p_316380_, Player p_316731_, InteractionHand p_316188_, BlockHitResult p_316626_) protected InteractionResultTntBlock.useItemOn(ItemStack p_316149_, BlockState p_316217_, Level p_316520_, BlockPos p_316601_, Player p_316770_, InteractionHand p_316393_, BlockHitResult p_316532_) VaultBlock.useItemOn(ItemStack p_324161_, BlockState p_323816_, Level p_324403_, BlockPos p_324623_, Player p_324219_, InteractionHand p_324416_, BlockHitResult p_324261_) protected InteractionResultWallHangingSignBlock.useItemOn(ItemStack p_316420_, BlockState p_316885_, Level p_316114_, BlockPos p_316297_, Player p_316609_, InteractionHand p_316187_, BlockHitResult p_316223_) protected InteractionResultAbstractFurnaceBlock.useWithoutItem(BlockState p_48706_, Level p_48707_, BlockPos p_48708_, Player p_48709_, BlockHitResult p_48711_) protected InteractionResultAnvilBlock.useWithoutItem(BlockState p_48804_, Level p_48805_, BlockPos p_48806_, Player p_48807_, BlockHitResult p_48809_) protected InteractionResultBarrelBlock.useWithoutItem(BlockState p_49069_, Level p_49070_, BlockPos p_49071_, Player p_49072_, BlockHitResult p_49074_) protected InteractionResultBeaconBlock.useWithoutItem(BlockState p_49432_, Level p_49433_, BlockPos p_49434_, Player p_49435_, BlockHitResult p_49437_) protected InteractionResultBedBlock.useWithoutItem(BlockState p_49515_, Level p_49516_, BlockPos p_49517_, Player p_49518_, BlockHitResult p_49520_) protected InteractionResultBellBlock.useWithoutItem(BlockState p_49722_, Level p_49723_, BlockPos p_49724_, Player p_49725_, BlockHitResult p_49727_) protected InteractionResultBrewingStandBlock.useWithoutItem(BlockState p_50930_, Level p_50931_, BlockPos p_50932_, Player p_50933_, BlockHitResult p_50935_) protected InteractionResultButtonBlock.useWithoutItem(BlockState p_316833_, Level p_316124_, BlockPos p_316184_, Player p_316845_, BlockHitResult p_316247_) protected InteractionResultCakeBlock.useWithoutItem(BlockState p_316481_, Level p_316406_, BlockPos p_316218_, Player p_316212_, BlockHitResult p_316525_) protected InteractionResultCandleCakeBlock.useWithoutItem(BlockState p_316519_, Level p_316226_, BlockPos p_316122_, Player p_316438_, BlockHitResult p_316849_) protected InteractionResultCartographyTableBlock.useWithoutItem(BlockState p_51357_, Level p_51358_, BlockPos p_51359_, Player p_51360_, BlockHitResult p_51362_) protected InteractionResultCaveVinesBlock.useWithoutItem(BlockState p_152980_, Level p_152981_, BlockPos p_152982_, Player p_152983_, BlockHitResult p_152985_) protected InteractionResultCaveVinesPlantBlock.useWithoutItem(BlockState p_153021_, Level p_153022_, BlockPos p_153023_, Player p_153024_, BlockHitResult p_153026_) protected InteractionResultChestBlock.useWithoutItem(BlockState p_51531_, Level p_51532_, BlockPos p_51533_, Player p_51534_, BlockHitResult p_51536_) protected InteractionResultChiseledBookShelfBlock.useWithoutItem(BlockState p_316403_, Level p_316842_, BlockPos p_316539_, Player p_316349_, BlockHitResult p_316278_) protected InteractionResultCommandBlock.useWithoutItem(BlockState p_51825_, Level p_51826_, BlockPos p_51827_, Player p_51828_, BlockHitResult p_51830_) protected InteractionResultComparatorBlock.useWithoutItem(BlockState p_51880_, Level p_51881_, BlockPos p_51882_, Player p_51883_, BlockHitResult p_51885_) protected InteractionResultComposterBlock.useWithoutItem(BlockState p_316361_, Level p_316271_, BlockPos p_316647_, Player p_316633_, BlockHitResult p_316555_) protected InteractionResultCrafterBlock.useWithoutItem(BlockState p_307454_, Level p_307255_, BlockPos p_307303_, Player p_307670_, BlockHitResult p_307546_) protected InteractionResultCraftingTableBlock.useWithoutItem(BlockState p_52233_, Level p_52234_, BlockPos p_52235_, Player p_52236_, BlockHitResult p_52238_) protected InteractionResultDaylightDetectorBlock.useWithoutItem(BlockState p_52391_, Level p_52392_, BlockPos p_52393_, Player p_52394_, BlockHitResult p_52396_) protected InteractionResultDecoratedPotBlock.useWithoutItem(BlockState p_316866_, Level p_316544_, BlockPos p_316541_, Player p_316732_, BlockHitResult p_316860_) protected InteractionResultDispenserBlock.useWithoutItem(BlockState p_52693_, Level p_52694_, BlockPos p_52695_, Player p_52696_, BlockHitResult p_52698_) protected InteractionResultDoorBlock.useWithoutItem(BlockState p_52769_, Level p_52770_, BlockPos p_52771_, Player p_52772_, BlockHitResult p_52774_) protected InteractionResultDragonEggBlock.useWithoutItem(BlockState p_52923_, Level p_52924_, BlockPos p_52925_, Player p_52926_, BlockHitResult p_52928_) protected InteractionResultEnchantingTableBlock.useWithoutItem(BlockState p_341077_, Level p_341293_, BlockPos p_341394_, Player p_340990_, BlockHitResult p_341300_) protected InteractionResultEnderChestBlock.useWithoutItem(BlockState p_53137_, Level p_53138_, BlockPos p_53139_, Player p_53140_, BlockHitResult p_53142_) protected InteractionResultFenceBlock.useWithoutItem(BlockState p_316111_, Level p_316725_, BlockPos p_316646_, Player p_316453_, BlockHitResult p_316769_) protected InteractionResultFenceGateBlock.useWithoutItem(BlockState p_53365_, Level p_53366_, BlockPos p_53367_, Player p_53368_, BlockHitResult p_53370_) protected InteractionResultFletchingTableBlock.useWithoutItem(BlockState p_53501_, Level p_53502_, BlockPos p_53503_, Player p_53504_, BlockHitResult p_53506_) protected InteractionResultFlowerPotBlock.useWithoutItem(BlockState p_316363_, Level p_316655_, BlockPos p_316654_, Player p_316338_, BlockHitResult p_316518_) protected InteractionResultGrindstoneBlock.useWithoutItem(BlockState p_53821_, Level p_53822_, BlockPos p_53823_, Player p_53824_, BlockHitResult p_53826_) protected InteractionResultHopperBlock.useWithoutItem(BlockState p_54071_, Level p_54072_, BlockPos p_54073_, Player p_54074_, BlockHitResult p_54076_) protected InteractionResultJigsawBlock.useWithoutItem(BlockState p_54231_, Level p_54232_, BlockPos p_54233_, Player p_54234_, BlockHitResult p_54236_) protected InteractionResultJukeboxBlock.useWithoutItem(BlockState p_54281_, Level p_54282_, BlockPos p_54283_, Player p_54284_, BlockHitResult p_54286_) protected InteractionResultLecternBlock.useWithoutItem(BlockState p_316164_, Level p_316515_, BlockPos p_316598_, Player p_316584_, BlockHitResult p_316197_) protected InteractionResultLeverBlock.useWithoutItem(BlockState p_54640_, Level p_54641_, BlockPos p_54642_, Player p_54643_, BlockHitResult p_54645_) protected InteractionResultLightBlock.useWithoutItem(BlockState p_153673_, Level p_153674_, BlockPos p_153675_, Player p_153676_, BlockHitResult p_153678_) protected InteractionResultLoomBlock.useWithoutItem(BlockState p_54787_, Level p_54788_, BlockPos p_54789_, Player p_54790_, BlockHitResult p_54792_) protected InteractionResultNoteBlock.useWithoutItem(BlockState p_316441_, Level p_316774_, BlockPos p_316344_, Player p_316884_, BlockHitResult p_316631_) protected InteractionResultRedStoneWireBlock.useWithoutItem(BlockState p_55554_, Level p_55555_, BlockPos p_55556_, Player p_55557_, BlockHitResult p_55559_) protected InteractionResultRepeaterBlock.useWithoutItem(BlockState p_55809_, Level p_55810_, BlockPos p_55811_, Player p_55812_, BlockHitResult p_55814_) protected InteractionResultRespawnAnchorBlock.useWithoutItem(BlockState p_316377_, Level p_316150_, BlockPos p_316161_, Player p_316889_, BlockHitResult p_316358_) protected InteractionResultShulkerBoxBlock.useWithoutItem(BlockState p_56227_, Level p_56228_, BlockPos p_56229_, Player p_56230_, BlockHitResult p_56232_) protected InteractionResultSignBlock.useWithoutItem(BlockState p_316779_, Level p_316615_, BlockPos p_316127_, Player p_316173_, BlockHitResult p_316850_) protected InteractionResultSmithingTableBlock.useWithoutItem(BlockState p_56428_, Level p_56429_, BlockPos p_56430_, Player p_56431_, BlockHitResult p_56433_) protected InteractionResultStonecutterBlock.useWithoutItem(BlockState p_57083_, Level p_57084_, BlockPos p_57085_, Player p_57086_, BlockHitResult p_57088_) protected InteractionResultStructureBlock.useWithoutItem(BlockState p_57128_, Level p_57129_, BlockPos p_57130_, Player p_57131_, BlockHitResult p_57133_) protected InteractionResultSweetBerryBushBlock.useWithoutItem(BlockState p_316134_, Level p_316429_, BlockPos p_316748_, Player p_316431_, BlockHitResult p_316474_) protected InteractionResultTestBlock.useWithoutItem(BlockState p_397020_, Level p_397230_, BlockPos p_397100_, Player p_397362_, BlockHitResult p_397202_) protected InteractionResultTestInstanceBlock.useWithoutItem(BlockState p_397015_, Level p_397062_, BlockPos p_397232_, Player p_397809_, BlockHitResult p_397307_) protected InteractionResultTrapDoorBlock.useWithoutItem(BlockState p_57540_, Level p_57541_, BlockPos p_57542_, Player p_57543_, BlockHitResult p_57545_) voidBlock.wasExploded(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion) voidTntBlock.wasExploded(ServerLevel p_364953_, BlockPos p_57442_, Explosion p_57443_) 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 voidAbstractCandleBlock.onExplosionHit(BlockState p_311992_, ServerLevel p_361872_, BlockPos p_312387_, Explosion p_312661_, BiConsumer<ItemStack, BlockPos> p_312093_) protected voidBeehiveBlock.onExplosionHit(BlockState p_364770_, ServerLevel p_364089_, BlockPos p_363677_, Explosion p_365390_, BiConsumer<ItemStack, BlockPos> p_360830_) protected voidBellBlock.onExplosionHit(BlockState p_311884_, ServerLevel p_362869_, BlockPos p_312717_, Explosion p_312800_, BiConsumer<ItemStack, BlockPos> p_312339_) protected voidButtonBlock.onExplosionHit(BlockState p_312395_, ServerLevel p_364251_, BlockPos p_311817_, Explosion p_312150_, BiConsumer<ItemStack, BlockPos> p_311898_) protected voidCreakingHeartBlock.onExplosionHit(BlockState p_382935_, ServerLevel p_382804_, BlockPos p_383050_, Explosion p_383064_, BiConsumer<ItemStack, BlockPos> p_383124_) protected voidDoorBlock.onExplosionHit(BlockState p_312769_, ServerLevel p_363080_, BlockPos p_311900_, Explosion p_312544_, BiConsumer<ItemStack, BlockPos> p_312107_) protected voidFenceGateBlock.onExplosionHit(BlockState p_312699_, ServerLevel p_361116_, BlockPos p_312680_, Explosion p_312186_, BiConsumer<ItemStack, BlockPos> p_312187_) protected voidLeverBlock.onExplosionHit(BlockState p_312405_, ServerLevel p_361347_, BlockPos p_311795_, Explosion p_312090_, BiConsumer<ItemStack, BlockPos> p_312313_) protected voidTrapDoorBlock.onExplosionHit(BlockState p_312371_, ServerLevel p_360483_, BlockPos p_312879_, Explosion p_312330_, BiConsumer<ItemStack, BlockPos> p_312161_) Constructors in net.minecraft.world.level.block with parameters of type BlockPosModifierConstructorDescriptionChargeCursor(BlockPos pPos, int pCharge) privateChargeCursor(BlockPos pPos, int pCharge, int pDecayDelay, int pUpdateDelay, Optional<Set<Direction>> pFacings) (package private)FluidInfo(BlockPos pos, Fluid fluid, BlockState sourceState) Creates an instance of aFluidInforecord 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 aPosAndStaterecord class.RailState(Level pLevel, BlockPos pPos, BlockState pState) Creates an instance of aSpreadPosrecord 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 BlockPosSculkSensorBlockEntity.VibrationUser.blockPosprivate static final BlockPosStructureBlockEntity.DEFAULT_POSprivate BlockPosTheEndGatewayBlockEntity.exitPortalprivate final BlockPosBoundingBoxRenderable.RenderableBox.localPosThe field for thelocalPosrecord component.private BlockPosBeehiveBlockEntity.savedFlowerPosprivate BlockPosStructureBlockEntity.structurePosprotected final BlockPosBlockEntity.worldPositionFields 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 BlockPosTheEndGatewayBlockEntity.findExitPosition(Level pLevel, BlockPos pPos) private static BlockPosTheEndGatewayBlockEntity.findOrCreateValidTeleportPos(ServerLevel pLevel, BlockPos pPos) private static BlockPosTheEndGatewayBlockEntity.findTallestBlock(BlockGetter pLevel, BlockPos pPos, int pRadius, boolean pAllowBedrock) private static BlockPosTheEndGatewayBlockEntity.findValidSpawnInChunk(LevelChunk pChunk) BlockEntity.getBlockPos()TickingBlockEntity.getPos()static BlockPosBlockEntity.getPosFromTag(ChunkPos pChunkPos, CompoundTag pTag) TestInstanceBlockEntity.getStartCorner()StructureBlockEntity.getStructurePos()TestInstanceBlockEntity.getStructurePos()static BlockPosTestInstanceBlockEntity.getStructurePos(BlockPos pPos) BoundingBoxRenderable.RenderableBox.localPos()Returns the value of thelocalPosrecord 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 voidSkullBlockEntity.animation(Level pLevel, BlockPos pPos, BlockState pState, SkullBlockEntity pBlockEntity) private static voidConduitBlockEntity.animationTick(Level pLevel, BlockPos pPos, List<BlockPos> pPositions, Entity pEntity, int pTickCount) private static voidBeaconBlockEntity.applyEffects(Level pLevel, BlockPos pPos, int pBeaconLevel, Holder<MobEffect> pPrimaryEffect, Holder<MobEffect> pSecondaryEffect) private static voidConduitBlockEntity.applyEffects(Level pLevel, BlockPos pPos, List<BlockPos> pPositions) private static booleanBellBlockEntity.areRaidersNearby(BlockPos pPos, List<LivingEntity> pRaiders) static voidTheEndGatewayBlockEntity.beamAnimationTick(Level pLevel, BlockPos pPos, BlockState pState, TheEndGatewayBlockEntity pBlockEntity) private voidSculkCatalystBlockEntity.CatalystListener.bloom(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) static voidEnchantingTableBlockEntity.bookAnimationTick(Level pLevel, BlockPos pPos, BlockState pState, EnchantingTableBlockEntity pEnchantingTable) private static Optional<BoundingBox> StructureBlockEntity.calculateEnclosingBoundingBox(BlockPos pPos, Stream<BlockPos> pRelatedCorners) booleanCalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel p_282061_, BlockPos p_282550_, Holder<GameEvent> p_316545_, GameEvent.Context p_281456_) booleanSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel p_282127_, BlockPos p_283268_, Holder<GameEvent> p_316115_, GameEvent.Context p_282856_) booleanSculkShriekerBlockEntity.VibrationUser.canReceiveVibration(ServerLevel p_281256_, BlockPos p_281528_, Holder<GameEvent> p_316788_, GameEvent.Context p_282914_) static voidBellBlockEntity.clientTick(Level pLevel, BlockPos pPos, BlockState pState, BellBlockEntity pBlockEntity) static voidConduitBlockEntity.clientTick(Level pLevel, BlockPos pPos, BlockState pState, ConduitBlockEntity pBlockEntity) static voidSpawnerBlockEntity.clientTick(Level pLevel, BlockPos pPos, BlockState pState, SpawnerBlockEntity pBlockEntity) static voidCampfireBlockEntity.cookTick(ServerLevel pLevel, BlockPos pPos, BlockState pState, CampfireBlockEntity pCampfire, RecipeManager.CachedCheck<SingleRecipeInput, CampfireCookingRecipe> pCheck) static voidCampfireBlockEntity.cooldownTick(Level pLevel, BlockPos pPos, BlockState pState, CampfireBlockEntity pBlockEntity) BlockEntityType.BlockEntitySupplier.create(BlockPos pPos, BlockState pState) BlockEntityType.create(BlockPos pPos, BlockState pState) private static CommandSourceStackSignBlockEntity.createCommandSourceStack(Player pPlayer, Level pLevel, BlockPos pPos) BeehiveBlockEntity.Occupant.createEntity(Level pLevel, BlockPos pPos) voidContainerOpenersCounter.decrementOpeners(Player pPlayer, Level pLevel, BlockPos pPos, BlockState pState) private static voidBrewingStandBlockEntity.doBrew(Level pLevel, BlockPos pPos, NonNullList<ItemStack> pItems) private static voidShulkerBoxBlockEntity.doNeighborUpdates(Level pLevel, BlockPos pPos, BlockState pState) private static booleanHopperBlockEntity.ejectItems(Level pLevel, BlockPos pPos, HopperBlockEntity pBlockEntity) static voidHopperBlockEntity.entityInside(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity, HopperBlockEntity pBlockEntity) booleanSignBlockEntity.executeClickCommandsIfPresent(Player pPlayer, Level pLevel, BlockPos pPos, boolean pFrontText) private static LivingEntityConduitBlockEntity.findDestroyTarget(Level pLevel, BlockPos pPos, UUID pTargetId) private static Vec3TheEndGatewayBlockEntity.findExitPortalXZPosTentative(ServerLevel pLevel, BlockPos pPos) private static BlockPosTheEndGatewayBlockEntity.findExitPosition(Level pLevel, BlockPos pPos) private static BlockPosTheEndGatewayBlockEntity.findOrCreateValidTeleportPos(ServerLevel pLevel, BlockPos pPos) private static BlockPosTheEndGatewayBlockEntity.findTallestBlock(BlockGetter pLevel, BlockPos pPos, int pRadius, boolean pAllowBedrock) private static ContainerHopperBlockEntity.getAttachedContainer(Level pLevel, BlockPos pPos, HopperBlockEntity pBlockEntity) private intCalibratedSculkSensorBlockEntity.VibrationUser.getBackSignal(Level pLevel, BlockPos pPos, BlockState pState) private static ContainerHopperBlockEntity.getBlockContainer(Level pLevel, BlockPos pPos, BlockState pState) BlockEntityType.getBlockEntity(BlockGetter pLevel, BlockPos pPos) static ContainerHopperBlockEntity.getContainerAt(Level pLevel, BlockPos pPos) Deprecated.Use IItemHandler capability instead.private static ContainerHopperBlockEntity.getContainerAt(Level pLevel, BlockPos pPos, BlockState pState, double pX, double pY, double pZ) static ContainerOrHandlerHopperBlockEntity.getContainerOrHandlerAt(Level level, BlockPos pos, Direction side) private static ContainerOrHandlerHopperBlockEntity.getContainerOrHandlerAt(Level level, BlockPos pos, BlockState state, double x, double y, double z, Direction side) private static AABBConduitBlockEntity.getDestroyRangeAABB(BlockPos pPos) static intChestBlockEntity.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 ContainerHopperBlockEntity.getSourceContainer(Level pLevel, Hopper pHopper, BlockPos pPos, BlockState pState) private static ContainerOrHandlerHopperBlockEntity.getSourceContainerOrHandler(Level p_155597_, Hopper p_155598_, BlockPos p_326315_, BlockState p_326093_) static BlockPosTestInstanceBlockEntity.getStructurePos(BlockPos pPos) voidContainerOpenersCounter.incrementOpeners(Player pPlayer, Level pLevel, BlockPos pPos, BlockState pState) private static booleanBellBlockEntity.isRaiderWithinRange(BlockPos pPos, LivingEntity pRaider) static voidChestBlockEntity.lidAnimateTick(Level pLevel, BlockPos pPos, BlockState pState, ChestBlockEntity pBlockEntity) static voidEnderChestBlockEntity.lidAnimateTick(Level pLevel, BlockPos pPos, BlockState pState, EnderChestBlockEntity pBlockEntity) static BlockEntityBlockEntity.loadStatic(BlockPos pPos, BlockState pState, CompoundTag pTag, HolderLookup.Provider pRegistries) private static voidBellBlockEntity.makeRaidersGlow(Level pLevel, BlockPos pPos, List<LivingEntity> pRaiders) private voidShulkerBoxBlockEntity.moveCollidedEntities(Level pLevel, BlockPos pPos, BlockState pState) protected abstract voidContainerOpenersCounter.onClose(Level pLevel, BlockPos pPos, BlockState pState) protected abstract voidContainerOpenersCounter.onOpen(Level pLevel, BlockPos pPos, BlockState pState) voidSculkSensorBlockEntity.VibrationUser.onReceiveVibration(ServerLevel p_282851_, BlockPos p_281608_, Holder<GameEvent> p_316423_, Entity p_282123_, Entity p_283090_, float p_283130_) voidSculkShriekerBlockEntity.VibrationUser.onReceiveVibration(ServerLevel p_283372_, BlockPos p_281679_, Holder<GameEvent> p_316155_, Entity p_282286_, Entity p_281384_, float p_283119_) protected abstract voidContainerOpenersCounter.openerCountChanged(Level pLevel, BlockPos pPos, BlockState pState, int pCount, int pOpenCount) static voidCampfireBlockEntity.particleTick(Level pLevel, BlockPos pPos, BlockState pState, CampfireBlockEntity pBlockEntity) static voidBeaconBlockEntity.playSound(Level pLevel, BlockPos pPos, SoundEvent pSound) (package private) static voidChestBlockEntity.playSound(Level pLevel, BlockPos pPos, BlockState pState, SoundEvent pSound) static voidTheEndGatewayBlockEntity.portalTick(Level pLevel, BlockPos pPos, BlockState pState, TheEndGatewayBlockEntity pBlockEntity) voidAbstractFurnaceBlockEntity.preRemoveSideEffects(BlockPos p_393693_, BlockState p_393780_) voidBlockEntity.preRemoveSideEffects(BlockPos pPos, BlockState pState) voidCampfireBlockEntity.preRemoveSideEffects(BlockPos p_394031_, BlockState p_394253_) voidCreakingHeartBlockEntity.preRemoveSideEffects(BlockPos p_394454_, BlockState p_393611_) voidJukeboxBlockEntity.preRemoveSideEffects(BlockPos p_394607_, BlockState p_393961_) voidLecternBlockEntity.preRemoveSideEffects(BlockPos p_393826_, BlockState p_393542_) voidSculkShriekerBlockEntity.preRemoveSideEffects(BlockPos p_394217_, BlockState p_393528_) voidShulkerBoxBlockEntity.preRemoveSideEffects(BlockPos p_397016_, BlockState p_397217_) static voidHopperBlockEntity.pushItemsTick(Level pLevel, BlockPos pPos, BlockState pState, HopperBlockEntity pBlockEntity) voidContainerOpenersCounter.recheckOpeners(Level pLevel, BlockPos pPos, BlockState pState) private static booleanBeehiveBlockEntity.releaseOccupant(Level pLevel, BlockPos pPos, BlockState pState, BeehiveBlockEntity.Occupant pOccupant, List<Entity> pStoredInHives, BeehiveBlockEntity.BeeReleaseStatus pReleaseStatus, BlockPos pStoredFlowerPos) voidBellBlockEntity.ResonationEndAction.run(Level pLevel, BlockPos pPos, List<LivingEntity> pRaiders) static booleanStructureBlockEntity.saveStructure(ServerLevel pLevel, ResourceLocation pName, BlockPos pPos, Vec3i pSize, boolean pIgnoreEntities, String pAuthor, boolean pWriteToDisk) private static voidContainerOpenersCounter.scheduleRecheck(Level pLevel, BlockPos pPos, BlockState pState) static voidAbstractFurnaceBlockEntity.serverTick(ServerLevel pLevel, BlockPos pPos, BlockState pState, AbstractFurnaceBlockEntity pFurnace) static voidBeehiveBlockEntity.serverTick(Level pLevel, BlockPos pPos, BlockState pState, BeehiveBlockEntity pBeehive) static voidBellBlockEntity.serverTick(Level pLevel, BlockPos pPos, BlockState pState, BellBlockEntity pBlockEntity) static voidBrewingStandBlockEntity.serverTick(Level pLevel, BlockPos pPos, BlockState pState, BrewingStandBlockEntity pBlockEntity) static voidConduitBlockEntity.serverTick(Level pLevel, BlockPos pPos, BlockState pState, ConduitBlockEntity pBlockEntity) static voidCrafterBlockEntity.serverTick(Level pLevel, BlockPos pPos, BlockState pState, CrafterBlockEntity pCrafter) static voidCreakingHeartBlockEntity.serverTick(Level pLevel, BlockPos pPos, BlockState pState, CreakingHeartBlockEntity pCreakingHeart) static voidSculkCatalystBlockEntity.serverTick(Level pLevel, BlockPos pPos, BlockState pState, SculkCatalystBlockEntity pSculkCatalyst) static voidSpawnerBlockEntity.serverTick(Level pLevel, BlockPos pPos, BlockState pState, SpawnerBlockEntity pBlockEntity) protected static voidBlockEntity.setChanged(Level pLevel, BlockPos pPos, BlockState pState) voidTheEndGatewayBlockEntity.setExitPosition(BlockPos pExitPortal, boolean pExactTeleport) voidStructureBlockEntity.setStructurePos(BlockPos pStructurePos) private static voidBellBlockEntity.showBellParticles(Level pLevel, BlockPos pPos, List<LivingEntity> pRaiders) protected voidChestBlockEntity.signalOpenCount(Level pLevel, BlockPos pPos, BlockState pState, int pEventId, int pEventParam) protected voidTrappedChestBlockEntity.signalOpenCount(Level p_155865_, BlockPos p_155866_, BlockState p_155867_, int p_155868_, int p_155869_) private static voidTheEndGatewayBlockEntity.spawnGatewayPortal(ServerLevel pLevel, BlockPos pPos, EndGatewayConfiguration pConfig) static voidBeaconBlockEntity.tick(Level pLevel, BlockPos pPos, BlockState pState, BeaconBlockEntity pBlockEntity) private static voidBellBlockEntity.tick(Level pLevel, BlockPos pPos, BlockState pState, BellBlockEntity pBlockEntity, BellBlockEntity.ResonationEndAction pResonationEndAction) voidBlockEntityTicker.tick(Level pLevel, BlockPos pPos, BlockState pState, T pBlockEntity) static voidJukeboxBlockEntity.tick(Level pLevel, BlockPos pPos, BlockState pState, JukeboxBlockEntity pJukebox) static voidShulkerBoxBlockEntity.tick(Level pLevel, BlockPos pPos, BlockState pState, ShulkerBoxBlockEntity pBlockEntity) static voidSignBlockEntity.tick(Level pLevel, BlockPos pPos, BlockState pState, SignBlockEntity pSign) private static voidBeehiveBlockEntity.tickOccupants(Level pLevel, BlockPos pPos, BlockState pState, List<BeehiveBlockEntity.BeeData> pData, BlockPos pSavedFlowerPos) static voidTheEndGatewayBlockEntity.triggerCooldown(Level pLevel, BlockPos pPos, BlockState pState, TheEndGatewayBlockEntity pBlockEntity) private static booleanHopperBlockEntity.tryMoveItems(Level pLevel, BlockPos pPos, BlockState pState, HopperBlockEntity pBlockEntity, BooleanSupplier pValidator) private voidShulkerBoxBlockEntity.updateAnimation(Level pLevel, BlockPos pPos, BlockState pState) private static voidConduitBlockEntity.updateClientTarget(Level pLevel, BlockPos pPos, ConduitBlockEntity pBlockEntity) private static BlockStateCreakingHeartBlockEntity.updateCreakingState(Level pLevel, BlockState pState, BlockPos pPos, CreakingHeartBlockEntity pCreakingHeart) private static voidConduitBlockEntity.updateDestroyTarget(Level pLevel, BlockPos pPos, BlockState pState, List<BlockPos> pPositions, ConduitBlockEntity pBlockEntity) private static booleanConduitBlockEntity.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 voidConduitBlockEntity.animationTick(Level pLevel, BlockPos pPos, List<BlockPos> pPositions, Entity pEntity, int pTickCount) private static voidConduitBlockEntity.applyEffects(Level pLevel, BlockPos pPos, List<BlockPos> pPositions) private static Optional<BoundingBox> StructureBlockEntity.calculateEnclosingBoundingBox(BlockPos pPos, Stream<BlockPos> pRelatedCorners) voidTestInstanceBlockEntity.processStructureBoundary(Consumer<BlockPos> pProcessor) private static voidConduitBlockEntity.updateDestroyTarget(Level pLevel, BlockPos pPos, BlockState pState, List<BlockPos> pPositions, ConduitBlockEntity pBlockEntity) private static voidConduitBlockEntity.updateHunting(ConduitBlockEntity pBlockEntity, List<BlockPos> pPositions) private static booleanConduitBlockEntity.updateShape(Level pLevel, BlockPos pPos, List<BlockPos> pPositions) Constructors in net.minecraft.world.level.block.entity with parameters of type BlockPosModifierConstructorDescriptionprotectedAbstractFurnaceBlockEntity(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) protectedBaseContainerBlockEntity(BlockEntityType<?> p_155076_, BlockPos p_155077_, BlockState p_155078_) 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 p_277459_, BlockState p_278100_) CampfireBlockEntity(BlockPos pPos, BlockState pBlockState) ChestBlockEntity(BlockPos pPos, BlockState pBlockState) protectedChestBlockEntity(BlockEntityType<?> p_155327_, BlockPos p_155328_, BlockState p_155329_) 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) protectedDispenserBlockEntity(BlockEntityType<?> p_155489_, BlockPos p_155490_, BlockState p_155491_) 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) protectedRandomizableContainerBlockEntity(BlockEntityType<?> p_155629_, BlockPos p_155630_, BlockState p_155631_) RenderableBox(BlockPos localPos, Vec3i size) Creates an instance of aRenderableBoxrecord class.SculkCatalystBlockEntity(BlockPos pPos, BlockState pBlockState) SculkSensorBlockEntity(BlockPos pPos, BlockState pBlockState) protectedSculkSensorBlockEntity(BlockEntityType<?> p_277405_, BlockPos p_277502_, BlockState p_277699_) SculkShriekerBlockEntity(BlockPos pPos, BlockState pBlockState) ShulkerBoxBlockEntity(BlockPos pPos, BlockState pBlockState) ShulkerBoxBlockEntity(DyeColor pColor, BlockPos pPos, BlockState pBlockState) SignBlockEntity(BlockPos pPos, BlockState pBlockState) SignBlockEntity(BlockEntityType p_249609_, BlockPos p_248914_, BlockState p_249550_) 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 p_155813_, BlockState p_155814_) TheEndPortalBlockEntity(BlockPos pPos, BlockState pBlockState) protectedTheEndPortalBlockEntity(BlockEntityType<?> p_155855_, BlockPos p_155856_, BlockState p_155857_) 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 voidTrialSpawner.addBecomeOminousParticles(Level pLevel, BlockPos pPos, RandomSource pRandom) static voidTrialSpawner.addDetectPlayerParticles(Level pLevel, BlockPos pPos, RandomSource pRandom, int pType, ParticleOptions pParticle) static voidTrialSpawner.addEjectItemParticles(Level pLevel, BlockPos pPos, RandomSource pRandom) static voidTrialSpawner.addSpawnParticles(Level pLevel, BlockPos pPos, RandomSource pRandom, SimpleParticleType pParticleType) voidTrialSpawner.applyOminous(ServerLevel pLevel, BlockPos pPos) TrialSpawnerState.calculatePositionToSpawnSpawner(ServerLevel pLevel, BlockPos pPos, TrialSpawner pSpawner, TrialSpawnerData pSpawnerData) intTrialSpawnerData.countAdditionalPlayers(BlockPos pPos) PlayerDetector.detect(ServerLevel pLevel, PlayerDetector.EntitySelector pEntitySelector, BlockPos pPos, double pMaxDistance, boolean pRequireLineOfSight) voidTrialSpawner.ejectReward(ServerLevel pLevel, BlockPos pPos, ResourceKey<LootTable> pLootTable) voidTrialSpawnerState.ParticleEmission.emit(Level pLevel, RandomSource pRandom, BlockPos pPos, boolean pIsOminous) voidTrialSpawnerState.emitParticles(Level pLevel, BlockPos pPos, boolean pIsOminous) (package private) WeightedList<ItemStack> TrialSpawnerData.getDispensingItems(ServerLevel pLevel, TrialSpawnerConfig pConfig, BlockPos pPos) private static longTrialSpawnerData.lowResolutionPosition(ServerLevel pLevel, BlockPos pPos) voidTrialSpawner.removeOminous(ServerLevel pLevel, BlockPos pPos) private static EntityTrialSpawnerState.selectEntityToSpawnItemAbove(List<Player> pPlayer, Set<UUID> pCurrentMobs, TrialSpawner pSpawner, BlockPos pPos, ServerLevel pLevel) private static booleanTrialSpawner.shouldMobBeUntracked(ServerLevel pLevel, BlockPos pPos, UUID pUuid) TrialSpawner.spawnMob(ServerLevel pLevel, BlockPos pPos) private voidTrialSpawnerState.spawnOminousOminousItemSpawner(ServerLevel pLevel, BlockPos pPos, TrialSpawner pSpawner) (package private) TrialSpawnerStateTrialSpawnerState.tickAndGetNext(BlockPos pPos, TrialSpawner pSpawner, ServerLevel pLevel) voidTrialSpawner.tickClient(Level pLevel, BlockPos pPos, boolean pIsOminous) voidTrialSpawner.tickServer(ServerLevel pLevel, BlockPos pPos, boolean pIsOminous) voidTrialSpawnerData.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 voidVaultBlockEntity.Server.cycleDisplayItemFromLootTable(ServerLevel pLevel, VaultState pState, VaultConfig pConfig, VaultSharedData pSharedData, BlockPos pPos) private voidVaultState.ejectResultItem(ServerLevel pLevel, BlockPos pPos, ItemStack pStack, float pEjectionProgress) static voidVaultBlockEntity.Client.emitActivationParticles(Level pLevel, BlockPos pPos, BlockState pState, VaultSharedData pSharedData, ParticleOptions pParticle) private static voidVaultBlockEntity.Client.emitConnectionParticlesForNearbyPlayers(Level pLevel, BlockPos pPos, BlockState pState, VaultSharedData pSharedData) static voidVaultBlockEntity.Client.emitDeactivationParticles(Level pLevel, BlockPos pPos, ParticleOptions pParticle) private static voidVaultBlockEntity.Client.emitIdleParticles(Level pLevel, BlockPos pPos, VaultSharedData pSharedData, ParticleOptions pParticle) private static ItemStackVaultBlockEntity.Server.getRandomDisplayItemFromLootTable(ServerLevel pLevel, BlockPos pPos, ResourceKey<LootTable> pLootTable) private static booleanVaultBlockEntity.Client.isWithinConnectionRange(BlockPos pPos, VaultSharedData pSharedData, Player pPlayer) private static Vec3VaultBlockEntity.Client.keyholePos(BlockPos pPos, Direction pFacing) protected voidVaultState.onEnter(ServerLevel pLevel, BlockPos pPos, VaultConfig pConfig, VaultSharedData pSharedData, boolean pIsOminous) protected voidVaultState.onExit(ServerLevel pLevel, BlockPos pPos, VaultConfig pConfig, VaultSharedData pSharedData) voidVaultState.onTransition(ServerLevel pLevel, BlockPos pPos, VaultState pState, VaultConfig pConfig, VaultSharedData pSharedData, boolean pIsOminous) private static voidVaultBlockEntity.Client.playIdleSounds(Level pLevel, BlockPos pPos, VaultSharedData pSharedData) private static voidVaultBlockEntity.Server.playInsertFailSound(ServerLevel pLevel, VaultServerData pServerData, BlockPos pPos, SoundEvent pSound) private static Vec3VaultBlockEntity.Client.randomPosCenterOfCage(BlockPos pPos, RandomSource pRandom) private static Vec3VaultBlockEntity.Client.randomPosInsideCage(BlockPos pPos, RandomSource pRandom) VaultBlockEntity.Server.resolveItemsToEject(ServerLevel pLevel, VaultConfig pConfig, BlockPos pPos, Player pPlayer, ItemStack pKey) (package private) static voidVaultBlockEntity.Server.setVaultState(ServerLevel pLevel, BlockPos pPos, BlockState pOldState, BlockState pNewState, VaultConfig pConfig, VaultSharedData pSharedData) static voidVaultBlockEntity.Client.tick(Level pLevel, BlockPos pPos, BlockState pState, VaultClientData pClientData, VaultSharedData pSharedData) static voidVaultBlockEntity.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 voidVaultBlockEntity.Server.tryInsertKey(ServerLevel pLevel, BlockPos pPos, BlockState pState, VaultConfig pConfig, VaultServerData pServerData, VaultSharedData pSharedData, Player pPlayer, ItemStack pStack) private static voidVaultBlockEntity.Server.unlock(ServerLevel pLevel, BlockState pState, BlockPos pPos, VaultConfig pConfig, VaultServerData pServerData, VaultSharedData pSharedData, List<ItemStack> pItemsToEject) (package private) voidVaultSharedData.updateConnectedPlayersWithinRange(ServerLevel pLevel, BlockPos pPos, VaultServerData pServerData, VaultConfig pConfig, double pDeactivationRange) private static VaultStateVaultState.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 TypeMethodDescriptionbooleanTreeGrower.growTree(ServerLevel pLevel, ChunkGenerator pChunkGenerator, BlockPos pPos, BlockState pState, RandomSource pRandom) private booleanTreeGrower.hasFlowers(LevelAccessor pLevel, BlockPos pPos) private static booleanTreeGrower.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 BlockPosPistonStructureResolver.pistonPosprivate final BlockPosPistonStructureResolver.startPosFields in net.minecraft.world.level.block.piston with type parameters of type BlockPosModifier and TypeFieldDescriptionPistonStructureResolver.toDestroyAll blocks to be destroyed by the pistonPistonStructureResolver.toPushAll 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 booleanPistonStructureResolver.addBlockLine(BlockPos pOriginPos, Direction pDirection) private booleanPistonStructureResolver.addBranchingBlocks(BlockPos pFromPos) protected voidPistonHeadBlock.affectNeighborsAfterRemoval(BlockState p_393727_, ServerLevel p_394573_, BlockPos p_393756_, boolean p_394300_) protected booleanPistonHeadBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) private voidPistonBaseBlock.checkIfExtend(Level pLevel, BlockPos pPos, BlockState pState) voidMovingPistonBlock.destroy(LevelAccessor pLevel, BlockPos pPos, BlockState pState) private static voidPistonMovingBlockEntity.fixEntityWithinPistonBase(BlockPos pPos, Entity pEntity, Direction pDir, double pProgress) private PistonMovingBlockEntityMovingPistonBlock.getBlockEntity(BlockGetter pBlockReader, BlockPos pPos) protected ItemStackMovingPistonBlock.getCloneItemStack(LevelReader p_304937_, BlockPos p_60058_, BlockState p_60059_, boolean p_386505_) protected ItemStackPistonHeadBlock.getCloneItemStack(LevelReader p_304638_, BlockPos p_60262_, BlockState p_60263_, boolean p_386559_) protected VoxelShapeMovingPistonBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) PistonMovingBlockEntity.getCollisionShape(BlockGetter pLevel, BlockPos pPos) private booleanPistonBaseBlock.getNeighborSignal(SignalGetter pSignalGetter, BlockPos pPos, Direction pDirection) protected VoxelShapeMovingPistonBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapePistonBaseBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapePistonHeadBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) static booleanPistonBaseBlock.isPushable(BlockState pState, Level pLevel, BlockPos pPos, Direction pMovementDirection, boolean pAllowDestroy, Direction pPistonFacing) Checks if the piston can push the given BlockState.private static booleanPistonMovingBlockEntity.matchesStickyCritera(AABB pBox, Entity pEntity, BlockPos pPos) private booleanPistonBaseBlock.moveBlocks(Level pLevel, BlockPos pPos, Direction pFacing, boolean pExtending) private static AABBPistonMovingBlockEntity.moveByPositionAndProgress(BlockPos pPos, AABB pAabb, PistonMovingBlockEntity pPistonMovingBlockEntity) private static voidPistonMovingBlockEntity.moveCollidedEntities(Level pLevel, BlockPos pPos, float pPartialTick, PistonMovingBlockEntity pPiston) private static voidPistonMovingBlockEntity.moveStuckEntities(Level pLevel, BlockPos pPos, float pPartialTick, PistonMovingBlockEntity pPiston) protected voidPistonBaseBlock.neighborChanged(BlockState p_60198_, Level p_60199_, BlockPos p_60200_, Block p_60201_, Orientation p_363070_, boolean p_60203_) protected voidPistonHeadBlock.neighborChanged(BlockState p_60275_, Level p_60276_, BlockPos p_60277_, Block p_60278_, Orientation p_363965_, boolean p_60280_) MovingPistonBlock.newBlockEntity(BlockPos p_155879_, BlockState p_155880_) static BlockEntityMovingPistonBlock.newMovingBlockEntity(BlockPos pPos, BlockState pBlockState, BlockState pMovedState, Direction pDirection, boolean pExtending, boolean pIsSourcePiston) protected voidPistonBaseBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) PistonHeadBlock.playerWillDestroy(Level p_60265_, BlockPos p_60266_, BlockState p_60267_, Player p_60268_) voidPistonMovingBlockEntity.preRemoveSideEffects(BlockPos p_394613_, BlockState p_393744_) PistonBaseBlock.rotate(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) voidPistonBaseBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) static voidPistonMovingBlockEntity.tick(Level pLevel, BlockPos pPos, BlockState pState, PistonMovingBlockEntity pBlockEntity) protected booleanPistonBaseBlock.triggerEvent(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) protected BlockStatePistonHeadBlock.updateShape(BlockState p_60301_, LevelReader p_374256_, ScheduledTickAccess p_374426_, BlockPos p_60305_, Direction p_60302_, BlockPos p_60306_, BlockState p_60303_, RandomSource p_374478_) protected InteractionResultMovingPistonBlock.useWithoutItem(BlockState p_60070_, Level p_60071_, BlockPos p_60072_, Player p_60073_, BlockHitResult p_60075_) 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 voidAmbientDesertBlockSoundsPlayer.playAmbientBlockSounds(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) private static booleanAmbientDesertBlockSoundsPlayer.shouldPlayAmbientSound(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 voidBlockBehaviour.affectNeighborsAfterRemoval(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) voidBlockBehaviour.BlockStateBase.affectNeighborsAfterRemoval(ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected voidBlockBehaviour.attack(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) voidbooleanBlockBehaviour.BlockStateBase.canSurvive(LevelReader pLevel, BlockPos pPos) protected booleanBlockBehaviour.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) booleanBlockBehaviour.BlockStateBase.emissiveRendering(BlockGetter pLevel, BlockPos pPos) final booleanBlockBehaviour.BlockStateBase.entityCanStandOn(BlockGetter pLevel, BlockPos pPos, Entity pEntity) final booleanBlockBehaviour.BlockStateBase.entityCanStandOnFace(BlockGetter pLevel, BlockPos pPos, Entity pEntity, Direction pFace) voidBlockBehaviour.BlockStateBase.entityInside(Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected voidBlockBehaviour.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) BlockBehaviour.OffsetFunction.evaluate(BlockState pState, BlockPos pPos) intBlockBehaviour.BlockStateBase.getAnalogOutputSignal(Level pLevel, BlockPos pPos) protected intBlockBehaviour.getAnalogOutputSignal(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.BlockBehaviour.BlockStateBase.getBlockSupportShape(BlockGetter pLevel, BlockPos pPos) protected VoxelShapeBlockBehaviour.getBlockSupportShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getCloneItemStack(LevelReader pLevel, BlockPos pPos, boolean pIncludeData) protected ItemStackBlockBehaviour.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 VoxelShapeBlockBehaviour.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) floatBlockBehaviour.BlockStateBase.getDestroyProgress(Player pPlayer, BlockGetter pLevel, BlockPos pPos) protected floatBlockBehaviour.getDestroyProgress(BlockState pState, Player pPlayer, BlockGetter pLevel, BlockPos pPos) Get the hardness of this Block relative to the ability of the given playerfloatBlockBehaviour.BlockStateBase.getDestroySpeed(BlockGetter pLevel, BlockPos pPos) intBlockBehaviour.BlockStateBase.getDirectSignal(BlockGetter pLevel, BlockPos pPos, Direction pDirection) protected intBlockBehaviour.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 VoxelShapeBlockBehaviour.getEntityInsideCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, Entity pEntity) BlockBehaviour.BlockStateBase.getInteractionShape(BlockGetter pLevel, BlockPos pPos) protected VoxelShapeBlockBehaviour.getInteractionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getMapColor(BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getMenuProvider(Level pLevel, BlockPos pPos) protected MenuProviderBlockBehaviour.getMenuProvider(BlockState pState, Level pLevel, BlockPos pPos) longprotected longBlockBehaviour.getSeed(BlockState pState, BlockPos pPos) Return a random long to be passed to, used for random model rotationsinvalid reference
net.minecraft.client.resources.model.BakedModel#getQuadsfloatBlockBehaviour.BlockStateBase.getShadeBrightness(BlockGetter pLevel, BlockPos pPos) protected floatBlockBehaviour.getShadeBrightness(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getShape(BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getShape(BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBlockBehaviour.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) intBlockBehaviour.BlockStateBase.getSignal(BlockGetter pLevel, BlockPos pPos, Direction pDirection) protected intBlockBehaviour.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 VoxelShapeBlockBehaviour.getVisualShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) voidBlockBehaviour.BlockStateBase.handleNeighborChanged(Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) booleanBlockBehaviour.BlockStateBase.hasPostProcess(BlockGetter pLevel, BlockPos pPos) booleanBlockBehaviour.BlockStateBase.isCollisionShapeFullBlock(BlockGetter pLevel, BlockPos pPos) protected booleanBlockBehaviour.isCollisionShapeFullBlock(BlockState pState, BlockGetter pLevel, BlockPos pPos) booleanBlockBehaviour.BlockStateBase.isFaceSturdy(BlockGetter pLevel, BlockPos pPos, Direction pDirection) booleanBlockBehaviour.BlockStateBase.isFaceSturdy(BlockGetter pLevel, BlockPos pPos, Direction pFace, SupportType pSupportType) booleanBlockBehaviour.BlockStateBase.isRedstoneConductor(BlockGetter pLevel, BlockPos pPos) booleanBlockBehaviour.BlockStateBase.isSuffocating(BlockGetter pLevel, BlockPos pPos) booleanBlockBehaviour.BlockStateBase.isValidSpawn(BlockGetter pLevel, BlockPos pPos, EntityType<?> pEntityType) booleanBlockBehaviour.BlockStateBase.isViewBlocking(BlockGetter pLevel, BlockPos pPos) protected voidBlockBehaviour.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) voidBlockBehaviour.BlockStateBase.onExplosionHit(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidBlockBehaviour.onExplosionHit(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) voidBlockBehaviour.BlockStateBase.onPlace(Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected voidBlockBehaviour.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) voidBlockBehaviour.BlockStateBase.randomTick(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBlockBehaviour.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.voidBlockBehaviour.BlockStateBase.spawnAfterBreak(ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) protected voidBlockBehaviour.spawnAfterBreak(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishbooleanBlockBehaviour.StateArgumentPredicate.test(BlockState pState, BlockGetter pLevel, BlockPos pPos, A pValue) booleanBlockBehaviour.StatePredicate.test(BlockState pState, BlockGetter pLevel, BlockPos pPos) voidBlockBehaviour.BlockStateBase.tick(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBlockBehaviour.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) booleanBlockBehaviour.BlockStateBase.triggerEvent(Level pLevel, BlockPos pPos, int pId, int pParam) protected booleanBlockBehaviour.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 voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor pLevel, BlockPos pPos, int pFlags) voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) protected voidBlockBehaviour.updateIndirectNeighbourShapes(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) Updates the shapes of indirect neighbors of this block.final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor pLevel, BlockPos pPos, int pFlags) final voidBlockBehaviour.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 BlockStateBlockBehaviour.updateShape(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected InteractionResultBlockBehaviour.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResultBlockBehaviour.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 TypeMethodDescriptionvoidBlockBehaviour.BlockStateBase.onExplosionHit(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidBlockBehaviour.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 BlockPosBlockPattern.BlockPatternMatch.frontTopLeftprivate final BlockPosBlockInWorld.posFields in net.minecraft.world.level.block.state.pattern with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final LoadingCache<BlockPos, BlockInWorld> BlockPattern.BlockPatternMatch.cacheMethods in net.minecraft.world.level.block.state.pattern that return BlockPosModifier and TypeMethodDescriptionBlockPattern.BlockPatternMatch.getFrontTopLeft()BlockInWorld.getPos()protected static BlockPosBlockPattern.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 LoadingCache<BlockPos, BlockInWorld> BlockPattern.createLevelCache(LevelReader pLevel, boolean pForceLoad) 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.BlockPatternMatchBlockPattern.matches(BlockPos pPos, Direction pFinger, Direction pThumb, LoadingCache<BlockPos, BlockInWorld> pCache) Checks that the given pattern invalid input: '&' rotation is at the block coordinates.BlockPattern.matches(LevelReader pLevel, BlockPos pPos, Direction pFinger, Direction pThumb) protected static BlockPosBlockPattern.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.BlockPatternMatchBlockPattern.matches(BlockPos pPos, Direction pFinger, Direction pThumb, LoadingCache<BlockPos, BlockInWorld> pCache) Checks that the given pattern invalid input: '&' rotation is at the block coordinates.Constructors in net.minecraft.world.level.block.state.pattern with parameters of type BlockPosModifierConstructorDescriptionBlockInWorld(LevelReader pLevel, BlockPos pPos, boolean pLoadChunks) BlockPatternMatch(BlockPos pFrontTopLeft, Direction pForwards, Direction pUp, LoadingCache<BlockPos, BlockInWorld> pCache, int pWidth, int pHeight, int pDepth) Constructor parameters in net.minecraft.world.level.block.state.pattern with type arguments of type BlockPosModifierConstructorDescriptionBlockPatternMatch(BlockPos pFrontTopLeft, Direction pForwards, Direction pUp, LoadingCache<BlockPos, BlockInWorld> pCache, int pWidth, int pHeight, int pDepth) -
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) booleanWorldBorder.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.blockEntitiesprotected final Map<BlockPos, CompoundTag> ChunkAccess.pendingBlockEntitiesprivate final Map<BlockPos, LevelChunk.RebindableTickingBlockEntityWrapper> LevelChunk.tickersInLevelMethods in net.minecraft.world.level.chunk that return BlockPosModifier and TypeMethodDescriptionLevelChunk.BoundTickingBlockEntity.getPos()LevelChunk.RebindableTickingBlockEntityWrapper.getPos()static BlockPosProtoChunk.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 pLevel, HolderSet<Structure> pStructure, BlockPos pPos, int pSearchRadius, boolean pSkipKnownStructures) LevelChunk.getBlockEntities()ProtoChunk.getBlockEntities()ChunkAccess.getBlockEntitiesPos()ProtoChunk.getBlockEntityNbts()ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> pStructureHoldersSet, ServerLevel pLevel, StructureManager pStructureManager, BlockPos pPos, boolean pSkipKnownStructures, ConcentricRingsStructurePlacement pPlacement) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> pStructureHoldersSet, LevelReader pLevel, StructureManager pStructureManager, int pX, int pY, int pZ, boolean pSkipKnownStructures, long pSeed, RandomSpreadStructurePlacement pSpreadPlacement) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> pStructureHoldersSet, LevelReader pLevel, StructureManager pStructureManager, boolean pSkipKnownStructures, StructurePlacement pPlacement, ChunkPos pChunkPos) Methods in net.minecraft.world.level.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionabstract voidChunkGenerator.addDebugScreenInfo(List<String> pInfo, RandomState pRandom, BlockPos pPos) private BlockEntityLevelChunk.createBlockEntity(BlockPos pPos) ChunkGenerator.findNearestMapStructure(ServerLevel pLevel, HolderSet<Structure> pStructure, BlockPos pPos, int pSearchRadius, boolean pSkipKnownStructures) EmptyLevelChunk.getBlockEntity(BlockPos p_62609_, LevelChunk.EntityCreationType p_62610_) ImposterProtoChunk.getBlockEntity(BlockPos p_62744_) LevelChunk.getBlockEntity(BlockPos p_62912_) LevelChunk.getBlockEntity(BlockPos pPos, LevelChunk.EntityCreationType pCreationType) ProtoChunk.getBlockEntity(BlockPos p_63257_) ChunkAccess.getBlockEntityNbt(BlockPos pPos) ImposterProtoChunk.getBlockEntityNbt(BlockPos p_62757_) abstract CompoundTagChunkAccess.getBlockEntityNbtForSaving(BlockPos pPos, HolderLookup.Provider pRegistries) ImposterProtoChunk.getBlockEntityNbtForSaving(BlockPos p_62760_, HolderLookup.Provider p_323691_) LevelChunk.getBlockEntityNbtForSaving(BlockPos p_62932_, HolderLookup.Provider p_323699_) ProtoChunk.getBlockEntityNbtForSaving(BlockPos p_63275_, HolderLookup.Provider p_324473_) BulkSectionAccess.getBlockState(BlockPos pPos) EmptyLevelChunk.getBlockState(BlockPos p_62625_) ImposterProtoChunk.getBlockState(BlockPos p_62749_) LevelChunk.getBlockState(BlockPos p_62923_) ProtoChunk.getBlockState(BlockPos p_63264_) EmptyLevelChunk.getFluidState(BlockPos p_62621_) ImposterProtoChunk.getFluidState(BlockPos p_62736_) LevelChunk.getFluidState(BlockPos p_62895_) ProtoChunk.getFluidState(BlockPos p_63239_) intEmptyLevelChunk.getLightEmission(BlockPos p_62628_) ChunkGenerator.getMobsAt(Holder<Biome> pBiome, StructureManager pStructureManager, MobCategory pCategory, BlockPos pPos) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> pStructureHoldersSet, ServerLevel pLevel, StructureManager pStructureManager, BlockPos pPos, boolean pSkipKnownStructures, ConcentricRingsStructurePlacement pPlacement) BulkSectionAccess.getSection(BlockPos pPos) (package private) booleanvoidChunkAccess.markPosForPostprocessing(BlockPos pPos) voidImposterProtoChunk.markPosForPostprocessing(BlockPos p_62752_) voidProtoChunk.markPosForPostprocessing(BlockPos p_63266_) static shortProtoChunk.packOffsetCoordinates(BlockPos pPos) private BlockEntityLevelChunk.promotePendingBlockEntity(BlockPos pPos, CompoundTag pTag) abstract voidChunkAccess.removeBlockEntity(BlockPos pPos) voidEmptyLevelChunk.removeBlockEntity(BlockPos p_62623_) voidImposterProtoChunk.removeBlockEntity(BlockPos p_62747_) voidLevelChunk.removeBlockEntity(BlockPos p_62919_) voidProtoChunk.removeBlockEntity(BlockPos p_63262_) private voidLevelChunk.removeBlockEntityTicker(BlockPos pPos) ChunkAccess.setBlockState(BlockPos pPos, BlockState pState) abstract BlockStateChunkAccess.setBlockState(BlockPos pPos, BlockState pState, int pFlags) EmptyLevelChunk.setBlockState(BlockPos p_62605_, BlockState p_62606_, int p_394216_) ImposterProtoChunk.setBlockState(BlockPos p_62722_, BlockState p_62723_, int p_393912_) LevelChunk.setBlockState(BlockPos p_62865_, BlockState p_62866_, int p_393859_) ProtoChunk.setBlockState(BlockPos p_63217_, BlockState p_63218_, int p_393955_) UpgradeData.BlockFixer.updateShape(BlockState pState, Direction pDirection, BlockState pOffsetState, LevelAccessor pLevel, BlockPos pPos, BlockPos pOffsetPos) private static BlockStateUpgradeData.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 voidChunkAccess.findBlockLightSources(BiConsumer<BlockPos, BlockState> p_285269_) voidLightChunk.findBlockLightSources(BiConsumer<BlockPos, BlockState> pOutput) voidChunkAccess.findBlocks(Predicate<BlockState> pPredicate, BiConsumer<BlockPos, BlockState> pOutput) voidChunkAccess.findBlocks(Predicate<BlockState> p_285343_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) voidChunkAccess.findBlocks(Predicate<BlockState> p_285343_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) voidImposterProtoChunk.findBlocks(Predicate<BlockState> p_285465_, BiConsumer<BlockPos, BlockState> p_285061_) voidImposterProtoChunk.findBlocks(Predicate<BlockState> p_285465_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) voidImposterProtoChunk.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 BlockPosEndDragonFight.originprivate BlockPosEndDragonFight.portalLocationFields in net.minecraft.world.level.dimension.end with type parameters of type BlockPosModifier and TypeFieldDescriptionEndDragonFight.Data.exitPortalLocationThe field for theexitPortalLocationrecord 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 theexitPortalLocationrecord component.Methods in net.minecraft.world.level.dimension.end with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidEndDragonFight.spawnNewGateway(BlockPos pPos) abstract voidDragonRespawnAnimation.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 TypeMethodDescriptionbooleanPersistentEntitySectionManager.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 booleanVibrationSystem.Ticker.areAdjacentChunksTicking(Level pLevel, BlockPos pPos) booleanVibrationSystem.User.canReceiveVibration(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, GameEvent.Context pContext) static floatVibrationSystem.Listener.distanceBetweenInBlocks(BlockPos pPos1, BlockPos pPos2) voidVibrationSystem.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 TypeMethodDescriptionvoidDebugLevelSource.addDebugScreenInfo(List<String> p_223987_, RandomState p_223988_, BlockPos p_223989_) voidFlatLevelSource.addDebugScreenInfo(List<String> p_224179_, RandomState p_224180_, BlockPos p_224181_) voidNoiseBasedChunkGenerator.addDebugScreenInfo(List<String> p_224304_, RandomState p_224305_, BlockPos p_224306_) default RandomSourceColumn.scan(LevelSimulatedReader pLevel, BlockPos pPos, int pMaxDistance, Predicate<BlockState> pColumnPredicate, Predicate<BlockState> pTipPredicate) Scans for a column of states satisfyingcolumnPredicate, up to a length ofmaxDistancefrom the origin, and ending with a state which satisfiestipPredicate.private booleanPatrolSpawner.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 BlockPosModifierConstructorDescriptionprotectedContext(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 voidBlender.generateBorderTick(ChunkAccess pChunk, BlockPos pPos) private static booleanBlendingData.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 TypeMethodDescriptionbooleanAllOfPredicate.test(WorldGenLevel pLevel, BlockPos pPos) booleanAnyOfPredicate.test(WorldGenLevel p_190387_, BlockPos p_190388_) booleanHasSturdyFacePredicate.test(WorldGenLevel pLevel, BlockPos pPos) booleanInsideWorldBoundsPredicate.test(WorldGenLevel pLevel, BlockPos pPos) booleanNotPredicate.test(WorldGenLevel pLevel, BlockPos pPos) final booleanStateTestingPredicate.test(WorldGenLevel pLevel, BlockPos pPos) booleanTrueBlockPredicate.test(WorldGenLevel pLevel, BlockPos pPos) booleanUnobstructedPredicate.test(WorldGenLevel pLevel, BlockPos pPos) booleanWouldSurvivePredicate.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 BlockStateWorldCarver.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 TypeMethodDescriptionbooleanCanyonWorldCarver.carve(CarvingContext p_224813_, CanyonCarverConfiguration p_224814_, ChunkAccess p_224815_, Function<BlockPos, Holder<Biome>> p_224816_, RandomSource p_224817_, Aquifer p_224818_, ChunkPos p_224819_, CarvingMask p_224820_) booleanCaveWorldCarver.carve(CarvingContext p_224885_, CaveCarverConfiguration p_224886_, ChunkAccess p_224887_, Function<BlockPos, Holder<Biome>> p_224888_, RandomSource p_224889_, Aquifer p_224890_, ChunkPos p_224891_, CarvingMask p_224892_) booleanConfiguredWorldCarver.carve(CarvingContext pContext, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) abstract booleanWorldCarver.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 booleanNetherWorldCarver.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 booleanWorldCarver.carveBlock(CarvingContext pContext, C pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeGetter, CarvingMask pCarvingMask, BlockPos.MutableBlockPos pPos, BlockPos.MutableBlockPos pCheckPos, Aquifer pAquifer, org.apache.commons.lang3.mutable.MutableBoolean pReachedSurface) Carves a single block, replacing it with the appropriate state if possible, and handles replacing exposed dirt with grass.protected booleanWorldCarver.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 voidCaveWorldCarver.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 voidCaveWorldCarver.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 voidCanyonWorldCarver.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 BlockPosEndPodiumFeature.END_PODIUM_LOCATIONprivate final BlockPosFeaturePlaceContext.originprivate static final BlockPosVoidStartPlatformFeature.PLATFORM_OFFSETprivate BlockPosLargeDripstoneFeature.LargeDripstone.rootMethods in net.minecraft.world.level.levelgen.feature that return BlockPosModifier and TypeMethodDescriptionprivate static BlockPosBasaltColumnsFeature.findAir(LevelAccessor pLevel, BlockPos.MutableBlockPos pPos, int pDistance) private static BlockPosBasaltColumnsFeature.findSurface(LevelAccessor pLevel, int pSeaLevel, BlockPos.MutableBlockPos pPos, int pDistance) private static BlockPosReplaceBlobsFeature.findTarget(LevelAccessor pLevel, BlockPos.MutableBlockPos pTopPos, Block pBlock) static BlockPosEndPodiumFeature.getLocation(BlockPos pPos) (package private) BlockPosFeaturePlaceContext.origin()private BlockPosFallenTreeFeature.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 p_225339_, VegetationPatchConfiguration p_225340_, RandomSource p_225341_, BlockPos p_225342_, Predicate<BlockState> p_225343_, int p_225344_, int p_225345_) Methods in net.minecraft.world.level.levelgen.feature with parameters of type BlockPosModifier and TypeMethodDescriptionprivate booleanIcebergFeature.belowIsAir(BlockGetter pLevel, BlockPos pPos) private booleanDripstoneClusterFeature.canBeAdjacentToWater(LevelAccessor pLevel, BlockPos pPos) private booleanDripstoneClusterFeature.canPlacePool(WorldGenLevel pLevel, BlockPos pPos) private booleanSculkPatchFeature.canSpreadFrom(LevelAccessor pLevel, BlockPos pPos) private voidIcebergFeature.carve(int pRadius, int pLocalY, BlockPos pPos, LevelAccessor pLevel, boolean pPlaceWater, double pPerpendicularAngle, BlockPos pEllipseOrigin, int pMajorRadius, int pMinorRadius) static booleanFeature.checkNeighbors(Function<BlockPos, BlockState> pAdjacentStateAccessor, BlockPos pPos, Predicate<BlockState> pFilter) static voidEndPlatformFeature.createEndPlatform(ServerLevelAccessor pLevel, BlockPos pPos, boolean pDropBlocks) private static voidPointedDripstoneFeature.createPatchOfDripstoneBlocks(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, PointedDripstoneConfiguration pConfig) private booleanTreeFeature.doPlace(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos, BiConsumer<BlockPos, BlockState> pRootBlockSetter, BiConsumer<BlockPos, BlockState> pTrunkBlockSetter, FoliagePlacer.FoliageSetter pFoliageBlockSetter, TreeConfiguration pConfig) private voidEndPodiumFeature.dropPreviousAndSetBlock(WorldGenLevel pLevel, BlockPos pPos, Block pBlock) private voidIcebergFeature.generateCutOut(RandomSource pRandom, LevelAccessor pLevel, int pMajorAxis, int pHeight, BlockPos pPos, boolean pElliptical, int pEllipseRadius, double pAngle, int pMinorAxis) private voidIcebergFeature.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 OptionalIntUnderwaterMagmaFeature.getFloorY(WorldGenLevel pLevel, BlockPos pPos, UnderwaterMagmaConfiguration pConfig) static BlockPosEndPodiumFeature.getLocation(BlockPos pPos) private intTreeFeature.getMaxFreeTreeHeight(LevelSimulatedReader pLevel, int pTrunkHeight, BlockPos pTopPosition, TreeConfiguration pConfig) PointedDripstoneFeature.getTipDirection(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) protected static voidDripstoneUtils.growPointedDripstone(LevelAccessor pLevel, BlockPos pPos, Direction pDirection, int pHeight, boolean pMergeTip) static booleanFeature.isAdjacentToAir(Function<BlockPos, BlockState> pAdjacentStateAccessor, BlockPos pPos) private static booleanBasaltColumnsFeature.isAirOrLavaOcean(LevelAccessor pLevel, int pSeaLevel, BlockPos pPos) static booleanTreeFeature.isAirOrLeaves(LevelSimulatedReader pLevel, BlockPos pPos) booleanSpikeFeature.EndSpike.isCenterWithinChunk(BlockPos pPos) protected static booleanDripstoneUtils.isCircleMostlyEmbeddedInStone(WorldGenLevel pLevel, BlockPos pPos, int pRadius) private static booleanDeltaFeature.isClear(LevelAccessor pLevel, BlockPos pPos, DeltaFeatureConfiguration pConfig) protected static booleanDripstoneUtils.isEmptyOrWater(LevelAccessor pLevel, BlockPos pPos) protected static booleanDripstoneUtils.isEmptyOrWaterOrLava(LevelAccessor pLevel, BlockPos pPos) private static booleanWaterloggedVegetationPatchFeature.isExposed(WorldGenLevel pLevel, Set<BlockPos> pPositions, BlockPos pPos, BlockPos.MutableBlockPos pMutablePos) private static booleanWaterloggedVegetationPatchFeature.isExposedDirection(WorldGenLevel pLevel, BlockPos pPos, BlockPos.MutableBlockPos pMutablePos, Direction pDirection) static booleanFeature.isGrassOrDirt(LevelSimulatedReader pLevel, BlockPos pPos) private static booleanTwistingVinesFeature.isInvalidPlacementLocation(LevelAccessor pLevel, BlockPos pPos) private booleanDripstoneClusterFeature.isLava(LevelReader pLevel, BlockPos pPos) private booleanFallenTreeFeature.isOverSolidGround(LevelAccessor pLevel, BlockPos pPos) private static booleanHugeFungusFeature.isReplaceable(WorldGenLevel pLevel, BlockPos pPos, HugeFungusConfiguration pConfig, boolean pCheckConfig) private booleanUnderwaterMagmaFeature.isValidPlacement(WorldGenLevel pLevel, BlockPos pPos) protected booleanAbstractHugeMushroomFeature.isValidPosition(LevelAccessor pLevel, BlockPos pPos, int pMaxHeight, BlockPos.MutableBlockPos pMutablePos, HugeMushroomFeatureConfiguration pConfig) static booleanTreeFeature.isVine(LevelSimulatedReader pLevel, BlockPos pPos) private booleanUnderwaterMagmaFeature.isWaterOrAir(LevelAccessor pLevel, BlockPos pPos) protected abstract voidAbstractHugeMushroomFeature.makeCap(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, int pTreeHeight, BlockPos.MutableBlockPos pMutablePos, HugeMushroomFeatureConfiguration pConfig) protected voidHugeBrownMushroomFeature.makeCap(LevelAccessor p_225043_, RandomSource p_225044_, BlockPos p_225045_, int p_225046_, BlockPos.MutableBlockPos p_225047_, HugeMushroomFeatureConfiguration p_225048_) protected voidHugeRedMushroomFeature.makeCap(LevelAccessor p_225082_, RandomSource p_225083_, BlockPos p_225084_, int p_225085_, BlockPos.MutableBlockPos p_225086_, HugeMushroomFeatureConfiguration p_225087_) private static LargeDripstoneFeature.LargeDripstoneLargeDripstoneFeature.makeDripstone(BlockPos pRoot, boolean pPointingUp, RandomSource pRandom, int pRadius, FloatProvider pBluntnessBase, FloatProvider pScaleBase) protected voidFeature.markAboveForPostProcessing(WorldGenLevel pLevel, BlockPos pBasePos) If the above two blocks are not air, marks them for post-processing.private booleanBlockPileFeature.mayPlaceOn(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) private booleanFallenTreeFeature.mayPlaceOn(LevelAccessor pLevel, BlockPos pPos) (package private) BlockPosprivate voidScatteredOreFeature.offsetTargetPos(BlockPos.MutableBlockPos pMutablePos, RandomSource pRandom, BlockPos pPos, int pMagnitude) booleanConfiguredFeature.place(WorldGenLevel pReader, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) booleanFeature.place(FC pConfig, WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pOrigin) booleanWeightedPlacedFeature.place(WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) private voidBasaltPillarFeature.placeBaseHangOff(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private booleanBasaltColumnsFeature.placeColumn(LevelAccessor pLevel, int pSeaLevel, BlockPos pPos, int pDistance, int pReach) private voidDripstoneClusterFeature.placeColumn(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos, int pX, int pZ, float pWetness, double pChance, int pHeight, float pDensity, DripstoneClusterConfiguration pConfig) protected booleanCoralFeature.placeCoralBlock(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) private voidLargeDripstoneFeature.placeDebugMarkers(WorldGenLevel pLevel, BlockPos pPos, Column.Range pRange, LargeDripstoneFeature.WindOffsetter pWindOffsetter) private static voidRootSystemFeature.placeDirt(BlockPos pPos, int pMaxY, WorldGenLevel pLevel, RootSystemConfiguration pConfig, RandomSource pRandom) private static booleanRootSystemFeature.placeDirtAndTree(WorldGenLevel pLevel, ChunkGenerator pChunkGenerator, RootSystemConfiguration pConfig, RandomSource pRandom, BlockPos.MutableBlockPos pMutablePos, BlockPos pBasePos) protected static booleanDripstoneUtils.placeDripstoneBlockIfPossible(LevelAccessor pLevel, BlockPos pPos) private voidFallenTreeFeature.placeFallenTree(FallenTreeConfiguration pConfig, BlockPos pOrigin, WorldGenLevel pLevel, RandomSource pRandom) protected booleanCoralClawFeature.placeFeature(LevelAccessor p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract booleanCoralFeature.placeFeature(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) protected booleanCoralMushroomFeature.placeFeature(LevelAccessor p_224982_, RandomSource p_224983_, BlockPos p_224984_, BlockState p_224985_) protected booleanCoralTreeFeature.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 p_225339_, VegetationPatchConfiguration p_225340_, RandomSource p_225341_, BlockPos p_225342_, Predicate<BlockState> p_225343_, int p_225344_, int p_225345_) static booleanMultifaceGrowthFeature.placeGrowthIfPossible(WorldGenLevel pLevel, BlockPos pPos, BlockState pState, MultifaceGrowthConfiguration pConfig, RandomSource pRandom, List<Direction> pDirections) private booleanBasaltPillarFeature.placeHangOff(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private voidHugeFungusFeature.placeHat(WorldGenLevel pLevel, RandomSource pRandom, HugeFungusConfiguration pConfig, BlockPos pPos, int pHeight, boolean pHuge) private voidHugeFungusFeature.placeHatDropBlock(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState, boolean pWeepingVines) private voidWeepingVinesFeature.placeRoofNetherWart(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private voidWeepingVinesFeature.placeRoofWeepingVines(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private static voidRootSystemFeature.placeRoots(WorldGenLevel pLevel, RootSystemConfiguration pConfig, RandomSource pRandom, BlockPos pBasePos, BlockPos.MutableBlockPos pMutablePos) private voidHugeFungusFeature.placeStem(WorldGenLevel pLevel, RandomSource pRandom, HugeFungusConfiguration pConfig, BlockPos pPos, int pHeight, boolean pHuge) private static voidDesertWellFeature.placeSusSand(WorldGenLevel pLevel, BlockPos pPos) protected voidAbstractHugeMushroomFeature.placeTrunk(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, HugeMushroomFeatureConfiguration pConfig, int pMaxHeight, BlockPos.MutableBlockPos pMutablePos) protected booleanVegetationPatchFeature.placeVegetation(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) protected booleanWaterloggedVegetationPatchFeature.placeVegetation(WorldGenLevel p_225347_, VegetationPatchConfiguration p_225348_, ChunkGenerator p_225349_, RandomSource p_225350_, BlockPos p_225351_) private voidIcebergFeature.removeFloatingSnowLayer(LevelAccessor pLevel, BlockPos pPos) private voidDripstoneClusterFeature.replaceBlocksWithDripstoneBlocks(WorldGenLevel pLevel, BlockPos pPos, int pThickness, Direction pDirection) protected voidFeature.safeSetBlock(WorldGenLevel pLevel, BlockPos pPos, BlockState pState, Predicate<BlockState> pOldState) protected voidFeature.setBlock(LevelWriter pLevel, BlockPos pPos, BlockState pState) protected voidTreeFeature.setBlock(LevelWriter pLevel, BlockPos pPos, BlockState pState) private static voidTreeFeature.setBlockKnownShape(LevelWriter pLevel, BlockPos pPos, BlockState pState) private voidIcebergFeature.setIcebergBlock(BlockPos pPos, LevelAccessor pLevel, RandomSource pRandom, int pHeightRemaining, int pHeight, boolean pElliptical, boolean pPlaceSnow, BlockState pState) private doubleIcebergFeature.signedDistanceCircle(int pX, int pZ, BlockPos pCenter, int pRadius, RandomSource pRandom) private doubleIcebergFeature.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, whereaandbare the semi-major and semi-minor axes respectively, this computes the distance between an arbitrary point and the ellipse.private voidIcebergFeature.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 booleanRootSystemFeature.spaceForTree(WorldGenLevel pLevel, RootSystemConfiguration pConfig, BlockPos pPos) private voidBlockPileFeature.tryPlaceBlock(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, BlockPileConfiguration pConfig) private static voidHugeFungusFeature.tryPlaceWeepingVines(BlockPos pPos, LevelAccessor pLevel, RandomSource pRandom) static booleanTreeFeature.validTreePos(LevelSimulatedReader pLevel, BlockPos pPos) Method parameters in net.minecraft.world.level.levelgen.feature with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic booleanOreFeature.canPlaceOre(BlockState pState, Function<BlockPos, BlockState> pAdjacentStateAccessor, RandomSource pRandom, OreConfiguration pConfig, OreConfiguration.TargetBlockState pTargetState, BlockPos.MutableBlockPos pMutablePos) static booleanFeature.checkNeighbors(Function<BlockPos, BlockState> pAdjacentStateAccessor, BlockPos pPos, Predicate<BlockState> pFilter) private voidFallenTreeFeature.decorateLogs(WorldGenLevel pLevel, RandomSource pRandom, Set<BlockPos> pLogPositions, List<TreeDecorator> pDecorators) protected voidVegetationPatchFeature.distributeVegetation(FeaturePlaceContext<VegetationPatchConfiguration> pContext, WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, Set<BlockPos> pPossiblePositions, int pXRadius, int pZRadius) private booleanTreeFeature.doPlace(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos, BiConsumer<BlockPos, BlockState> pRootBlockSetter, BiConsumer<BlockPos, BlockState> pTrunkBlockSetter, FoliagePlacer.FoliageSetter pFoliageBlockSetter, TreeConfiguration pConfig) static booleanFeature.isAdjacentToAir(Function<BlockPos, BlockState> pAdjacentStateAccessor, BlockPos pPos) private static booleanWaterloggedVegetationPatchFeature.isExposed(WorldGenLevel pLevel, Set<BlockPos> pPositions, BlockPos pPos, BlockPos.MutableBlockPos pMutablePos) private static DiscreteVoxelShapeTreeFeature.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 BlockPosModifierConstructorDescriptionprivateEndGatewayConfiguration(Optional<BlockPos> pExit, boolean pExact) privateSpikeConfiguration(boolean pCrystalInvulnerable, List<SpikeFeature.EndSpike> pSpikes, Optional<BlockPos> pCrystalBeamTarget) -
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 TypeMethodDescriptionbooleanprotected voidFoliagePlacer.placeLeavesRow(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, BlockPos pPos, int pRange, int pLocalY, boolean pLarge) protected final voidFoliagePlacer.placeLeavesRowWithHangingLeavesBelow(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, BlockPos pPos, int pRange, int pLocalY, boolean pLarge, float pHangingLeavesChance, float pHangingLeavesExtensionChance) voidFoliagePlacer.FoliageSetter.set(BlockPos pPos, BlockState pState) private static booleanFoliagePlacer.tryPlaceExtension(LevelSimulatedReader pLevel, FoliagePlacer.FoliageSetter pFoliageSetter, RandomSource pRandom, TreeConfiguration pTreeConfiguration, float pExtensionChance, BlockPos pLogPos, BlockPos.MutableBlockPos pPos) protected static booleanFoliagePlacer.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 booleanMangroveRootPlacer.canPlaceRoot(LevelSimulatedReader p_225831_, BlockPos p_225832_) protected booleanRootPlacer.canPlaceRoot(LevelSimulatedReader pLevel, BlockPos pPos) protected BlockStateRootPlacer.getPotentiallyWaterloggedState(LevelSimulatedReader pLevel, BlockPos pPos, BlockState pState) RootPlacer.getTrunkOrigin(BlockPos pPos, RandomSource pRandom) protected voidMangroveRootPlacer.placeRoot(LevelSimulatedReader p_225834_, BiConsumer<BlockPos, BlockState> p_225835_, RandomSource p_225836_, BlockPos p_225837_, TreeConfiguration p_225838_) protected voidRootPlacer.placeRoot(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader p_225840_, BiConsumer<BlockPos, BlockState> p_225841_, RandomSource p_225842_, BlockPos p_225843_, BlockPos p_225844_, TreeConfiguration p_225845_) abstract booleanRootPlacer.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 booleanMangroveRootPlacer.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 voidMangroveRootPlacer.placeRoot(LevelSimulatedReader p_225834_, BiConsumer<BlockPos, BlockState> p_225835_, RandomSource p_225836_, BlockPos p_225837_, TreeConfiguration p_225838_) protected voidRootPlacer.placeRoot(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader p_225840_, BiConsumer<BlockPos, BlockState> p_225841_, RandomSource p_225842_, BlockPos p_225843_, BlockPos p_225844_, TreeConfiguration p_225845_) abstract booleanRootPlacer.placeRoots(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) private booleanMangroveRootPlacer.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 doubleNoiseBasedStateProvider.getNoiseValue(BlockPos pPos, double pDelta) protected BlockStateNoiseProvider.getRandomState(List<BlockState> pPossibleStates, BlockPos pPos, double pDelta) protected doubleDualNoiseProvider.getSlowNoiseValue(BlockPos pPos) abstract BlockStateBlockStateProvider.getState(RandomSource pRandom, BlockPos pPos) DualNoiseProvider.getState(RandomSource p_225910_, BlockPos p_225911_) NoiseProvider.getState(RandomSource p_225913_, BlockPos p_225914_) NoiseThresholdProvider.getState(RandomSource p_225916_, BlockPos p_225917_) RandomizedIntStateProvider.getState(RandomSource p_225919_, BlockPos p_225920_) RotatedBlockProvider.getState(RandomSource p_225922_, BlockPos p_225923_) RuleBasedBlockStateProvider.getState(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos) SimpleStateProvider.getState(RandomSource p_225963_, BlockPos p_225964_) WeightedStateProvider.getState(RandomSource p_225966_, BlockPos p_225967_) -
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.decorationSetterprivate final it.unimi.dsi.fastutil.objects.ObjectArrayList<BlockPos> TreeDecorator.Context.leavesprivate final it.unimi.dsi.fastutil.objects.ObjectArrayList<BlockPos> TreeDecorator.Context.logsprivate final it.unimi.dsi.fastutil.objects.ObjectArrayList<BlockPos> TreeDecorator.Context.rootsMethods 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 voidLeaveVineDecorator.addHangingVine(BlockPos pPos, BooleanProperty pSideProperty, TreeDecorator.Context pContext) private static voidPaleMossDecorator.addMossHanger(BlockPos pPos, TreeDecorator.Context pContext) private voidPlaceOnGroundDecorator.attemptToPlaceBlockAbove(TreeDecorator.Context pContext, BlockPos pPos) booleanTreeDecorator.Context.checkBlock(BlockPos pPos, Predicate<BlockState> pPredicate) private booleanAttachedToLeavesDecorator.hasRequiredEmptyBlocks(TreeDecorator.Context pContext, BlockPos pPos, Direction pDirection) booleanprivate voidAlterGroundDecorator.placeBlockAt(TreeDecorator.Context pContext, BlockPos pPos) private voidAlterGroundDecorator.placeBlockAt(TreeDecorator.Context pContext, BlockPos pPos, AlterGroundEvent.StateProvider eventProvider) private voidAlterGroundDecorator.placeCircle(TreeDecorator.Context pContext, BlockPos pPos) private voidAlterGroundDecorator.placeCircle(TreeDecorator.Context pContext, BlockPos pPos, AlterGroundEvent.StateProvider eventProvider) voidTreeDecorator.Context.placeVine(BlockPos pPos, BooleanProperty pSideProperty) voidTreeDecorator.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.FoliageAttachmentCherryTrunkPlacer.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.AxisFancyTrunkPlacer.getLogAxis(BlockPos pPos, BlockPos pOtherPos) private intprivate static booleanTrunkPlacer.isDirt(LevelSimulatedReader pLevel, BlockPos pPos) booleanTrunkPlacer.isFree(LevelSimulatedReader pLevel, BlockPos pPos) private voidFancyTrunkPlacer.makeBranches(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pMaxHeight, BlockPos pPos, List<FancyTrunkPlacer.FoliageCoords> pFoliageCoords, TreeConfiguration pConfig) private booleanFancyTrunkPlacer.makeLimb(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pBasePos, BlockPos pOffsetPos, boolean pModifyWorld, TreeConfiguration pConfig) protected booleanTrunkPlacer.placeLog(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) protected booleanTrunkPlacer.placeLog(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter) private voidGiantTrunkPlacer.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 p_226079_, BiConsumer<BlockPos, BlockState> p_226080_, RandomSource p_226081_, int p_226082_, BlockPos p_226083_, TreeConfiguration p_226084_) CherryTrunkPlacer.placeTrunk(LevelSimulatedReader p_272827_, BiConsumer<BlockPos, BlockState> p_272650_, RandomSource p_272993_, int p_272990_, BlockPos p_273471_, TreeConfiguration p_273355_) DarkOakTrunkPlacer.placeTrunk(LevelSimulatedReader p_226086_, BiConsumer<BlockPos, BlockState> p_226087_, RandomSource p_226088_, int p_226089_, BlockPos p_226090_, TreeConfiguration p_226091_) FancyTrunkPlacer.placeTrunk(LevelSimulatedReader p_226093_, BiConsumer<BlockPos, BlockState> p_226094_, RandomSource p_226095_, int p_226096_, BlockPos p_226097_, TreeConfiguration p_226098_) ForkingTrunkPlacer.placeTrunk(LevelSimulatedReader p_226116_, BiConsumer<BlockPos, BlockState> p_226117_, RandomSource p_226118_, int p_226119_, BlockPos p_226120_, TreeConfiguration p_226121_) GiantTrunkPlacer.placeTrunk(LevelSimulatedReader p_226123_, BiConsumer<BlockPos, BlockState> p_226124_, RandomSource p_226125_, int p_226126_, BlockPos p_226127_, TreeConfiguration p_226128_) MegaJungleTrunkPlacer.placeTrunk(LevelSimulatedReader p_226140_, BiConsumer<BlockPos, BlockState> p_226141_, RandomSource p_226142_, int p_226143_, BlockPos p_226144_, TreeConfiguration p_226145_) StraightTrunkPlacer.placeTrunk(LevelSimulatedReader p_226147_, BiConsumer<BlockPos, BlockState> p_226148_, RandomSource p_226149_, int p_226150_, BlockPos p_226151_, TreeConfiguration p_226152_) abstract List<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) UpwardsBranchingTrunkPlacer.placeTrunk(LevelSimulatedReader p_226225_, BiConsumer<BlockPos, BlockState> p_226226_, RandomSource p_226227_, int p_226228_, BlockPos p_226229_, TreeConfiguration p_226230_) protected static voidTrunkPlacer.setDirtAt(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) protected booleanTrunkPlacer.validTreePos(LevelSimulatedReader pLevel, BlockPos pPos) protected booleanUpwardsBranchingTrunkPlacer.validTreePos(LevelSimulatedReader p_226210_, BlockPos p_226211_) Method parameters in net.minecraft.world.level.levelgen.feature.trunkplacers with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachmentCherryTrunkPlacer.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 voidFancyTrunkPlacer.makeBranches(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pMaxHeight, BlockPos pPos, List<FancyTrunkPlacer.FoliageCoords> pFoliageCoords, TreeConfiguration pConfig) private booleanFancyTrunkPlacer.makeLimb(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pBasePos, BlockPos pOffsetPos, boolean pModifyWorld, TreeConfiguration pConfig) private voidUpwardsBranchingTrunkPlacer.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 booleanTrunkPlacer.placeLog(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) protected booleanTrunkPlacer.placeLog(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter) protected voidTrunkPlacer.placeLogIfFree(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos.MutableBlockPos pPos, TreeConfiguration pConfig) private voidGiantTrunkPlacer.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 p_226079_, BiConsumer<BlockPos, BlockState> p_226080_, RandomSource p_226081_, int p_226082_, BlockPos p_226083_, TreeConfiguration p_226084_) CherryTrunkPlacer.placeTrunk(LevelSimulatedReader p_272827_, BiConsumer<BlockPos, BlockState> p_272650_, RandomSource p_272993_, int p_272990_, BlockPos p_273471_, TreeConfiguration p_273355_) DarkOakTrunkPlacer.placeTrunk(LevelSimulatedReader p_226086_, BiConsumer<BlockPos, BlockState> p_226087_, RandomSource p_226088_, int p_226089_, BlockPos p_226090_, TreeConfiguration p_226091_) FancyTrunkPlacer.placeTrunk(LevelSimulatedReader p_226093_, BiConsumer<BlockPos, BlockState> p_226094_, RandomSource p_226095_, int p_226096_, BlockPos p_226097_, TreeConfiguration p_226098_) ForkingTrunkPlacer.placeTrunk(LevelSimulatedReader p_226116_, BiConsumer<BlockPos, BlockState> p_226117_, RandomSource p_226118_, int p_226119_, BlockPos p_226120_, TreeConfiguration p_226121_) GiantTrunkPlacer.placeTrunk(LevelSimulatedReader p_226123_, BiConsumer<BlockPos, BlockState> p_226124_, RandomSource p_226125_, int p_226126_, BlockPos p_226127_, TreeConfiguration p_226128_) MegaJungleTrunkPlacer.placeTrunk(LevelSimulatedReader p_226140_, BiConsumer<BlockPos, BlockState> p_226141_, RandomSource p_226142_, int p_226143_, BlockPos p_226144_, TreeConfiguration p_226145_) StraightTrunkPlacer.placeTrunk(LevelSimulatedReader p_226147_, BiConsumer<BlockPos, BlockState> p_226148_, RandomSource p_226149_, int p_226150_, BlockPos p_226151_, TreeConfiguration p_226152_) abstract List<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) UpwardsBranchingTrunkPlacer.placeTrunk(LevelSimulatedReader p_226225_, BiConsumer<BlockPos, BlockState> p_226226_, RandomSource p_226227_, int p_226228_, BlockPos p_226229_, TreeConfiguration p_226230_) protected static voidTrunkPlacer.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 p_226329_, RandomSource p_226330_, BlockPos p_226331_) Deprecated.EnvironmentScanPlacement.getPositions(PlacementContext p_226336_, RandomSource p_226337_, BlockPos p_226338_) FixedPlacement.getPositions(PlacementContext p_352915_, RandomSource p_352928_, BlockPos p_352899_) HeightmapPlacement.getPositions(PlacementContext p_226344_, RandomSource p_226345_, BlockPos p_226346_) HeightRangePlacement.getPositions(PlacementContext p_226340_, RandomSource p_226341_, BlockPos p_226342_) InSquarePlacement.getPositions(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions(PlacementContext p_226386_, RandomSource p_226387_, BlockPos p_226388_) PlacementModifier.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RandomOffsetPlacement.getPositions(PlacementContext p_226393_, RandomSource p_226394_, BlockPos p_226395_) RepeatingPlacement.getPositions(PlacementContext p_226403_, RandomSource p_226404_, BlockPos p_226405_) Methods in net.minecraft.world.level.levelgen.placement with parameters of type BlockPosModifier and TypeMethodDescriptionprotected intCountPlacement.count(RandomSource p_226333_, BlockPos p_226334_) protected intNoiseBasedCountPlacement.count(RandomSource p_226352_, BlockPos p_226353_) protected intNoiseThresholdCountPlacement.count(RandomSource p_226355_, BlockPos p_226356_) protected abstract intRepeatingPlacement.count(RandomSource pRandom, BlockPos pPos) PlacementContext.getBlockState(BlockPos pPos) CountOnEveryLayerPlacement.getPositions(PlacementContext p_226329_, RandomSource p_226330_, BlockPos p_226331_) Deprecated.EnvironmentScanPlacement.getPositions(PlacementContext p_226336_, RandomSource p_226337_, BlockPos p_226338_) FixedPlacement.getPositions(PlacementContext p_352915_, RandomSource p_352928_, BlockPos p_352899_) HeightmapPlacement.getPositions(PlacementContext p_226344_, RandomSource p_226345_, BlockPos p_226346_) HeightRangePlacement.getPositions(PlacementContext p_226340_, RandomSource p_226341_, BlockPos p_226342_) InSquarePlacement.getPositions(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions(PlacementContext p_226386_, RandomSource p_226387_, BlockPos p_226388_) PlacementModifier.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RandomOffsetPlacement.getPositions(PlacementContext p_226393_, RandomSource p_226394_, BlockPos p_226395_) RepeatingPlacement.getPositions(PlacementContext p_226403_, RandomSource p_226404_, BlockPos p_226405_) private static booleanFixedPlacement.isSameChunk(int pX, int pZ, BlockPos pPos) static FixedPlacementbooleanPlacedFeature.place(WorldGenLevel pLevel, ChunkGenerator pGenerator, RandomSource pRandom, BlockPos pPos) booleanPlacedFeature.placeWithBiomeCheck(WorldGenLevel pLevel, ChunkGenerator pGenerator, RandomSource pRandom, BlockPos pPos) private booleanPlacedFeature.placeWithContext(PlacementContext pContext, RandomSource pSource, BlockPos pPos) protected booleanBiomeFilter.shouldPlace(PlacementContext p_226317_, RandomSource p_226318_, BlockPos p_226319_) protected booleanBlockPredicateFilter.shouldPlace(PlacementContext p_226321_, RandomSource p_226322_, BlockPos p_226323_) protected abstract booleanPlacementFilter.shouldPlace(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected booleanRarityFilter.shouldPlace(PlacementContext p_226397_, RandomSource p_226398_, BlockPos p_226399_) protected booleanSurfaceRelativeThresholdFilter.shouldPlace(PlacementContext p_226407_, RandomSource p_226408_, BlockPos p_226409_) protected booleanSurfaceWaterDepthFilter.shouldPlace(PlacementContext p_226411_, RandomSource p_226412_, BlockPos p_226413_) 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 BlockPosPoolElementStructurePiece.positionprivate final BlockPosStructure.GenerationStub.positionThe field for thepositionrecord component.protected BlockPosTemplateStructurePiece.templatePositionMethods in net.minecraft.world.level.levelgen.structure that return BlockPosModifier and TypeMethodDescriptionBoundingBox.getCenter()StructurePiece.getLocatorPosition()protected BlockPosStructure.getLowestYIn5by5BoxOffset7Blocks(Structure.GenerationContext pContext, Rotation pRotation) Deprecated.PoolElementStructurePiece.getPosition()Structure.GenerationStub.position()Returns the value of thepositionrecord component.TemplateStructurePiece.templatePosition()Methods in net.minecraft.world.level.levelgen.structure with parameters of type BlockPosModifier and TypeMethodDescriptionprotected booleanStructurePiece.createChest(ServerLevelAccessor pLevel, BoundingBox pBox, RandomSource pRandom, BlockPos pPos, ResourceKey<LootTable> pLootTable, BlockState pState) BoundingBox.encapsulate(BlockPos pPos) Deprecated.protected abstract voidTemplateStructurePiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) voidPoolElementStructurePiece.place(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, BlockPos pPos, boolean pKeepJigsaws) voidPoolElementStructurePiece.postProcess(WorldGenLevel p_226502_, StructureManager p_226503_, ChunkGenerator p_226504_, RandomSource p_226505_, BoundingBox p_226506_, ChunkPos p_226507_, BlockPos p_226508_) abstract voidStructurePiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidTemplateStructurePiece.postProcess(WorldGenLevel p_226899_, StructureManager p_226900_, ChunkGenerator p_226901_, RandomSource p_226902_, BoundingBox p_226903_, ChunkPos p_226904_, BlockPos p_226905_) static BlockStateStructurePiece.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) voidBoundingBox.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 aGenerationStubrecord 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 booleanJigsawPlacement.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 p_227195_, BlockPos p_227196_, Rotation p_227197_) ListPoolElement.getBoundingBox(StructureTemplateManager p_227286_, BlockPos p_227287_, Rotation p_227288_) SinglePoolElement.getBoundingBox(StructureTemplateManager p_227316_, BlockPos p_227317_, Rotation p_227318_) abstract BoundingBoxStructurePoolElement.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 p_227199_, BlockPos p_227200_, Rotation p_227201_, RandomSource p_227202_) ListPoolElement.getShuffledJigsawBlocks(StructureTemplateManager p_227290_, BlockPos p_227291_, Rotation p_227292_, RandomSource p_227293_) SinglePoolElement.getShuffledJigsawBlocks(StructureTemplateManager p_227320_, BlockPos p_227321_, Rotation p_227322_, RandomSource p_227323_) abstract List<StructureTemplate.JigsawBlockInfo> StructurePoolElement.getShuffledJigsawBlocks(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) voidStructurePoolElement.handleDataMarker(LevelAccessor pLevel, StructureTemplate.StructureBlockInfo pBlockInfo, BlockPos pPos, Rotation pRotation, RandomSource pRandom, BoundingBox pBox) booleanEmptyPoolElement.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_) booleanFeaturePoolElement.place(StructureTemplateManager p_227181_, WorldGenLevel p_227182_, StructureManager p_227183_, ChunkGenerator p_227184_, BlockPos p_227185_, BlockPos p_227186_, Rotation p_227187_, BoundingBox p_227188_, RandomSource p_227189_, LiquidSettings p_352143_, boolean p_227190_) booleanListPoolElement.place(StructureTemplateManager p_227272_, WorldGenLevel p_227273_, StructureManager p_227274_, ChunkGenerator p_227275_, BlockPos p_227276_, BlockPos p_227277_, Rotation p_227278_, BoundingBox p_227279_, RandomSource p_227280_, LiquidSettings p_352445_, boolean p_227281_) booleanSinglePoolElement.place(StructureTemplateManager p_227302_, WorldGenLevel p_227303_, StructureManager p_227304_, ChunkGenerator p_227305_, BlockPos p_227306_, BlockPos p_227307_, Rotation p_227308_, BoundingBox p_227309_, RandomSource p_227310_, LiquidSettings p_352088_, boolean p_227311_) abstract booleanStructurePoolElement.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 PoolAliasLookupPoolAliasLookup.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 BlockPosShipwreckPieces.PIVOTWoodlandMansionPieces.PlacementData.positionprivate BlockPosDesertPyramidPiece.randomCollapsedRoofPosFields 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.PIVOTSDesertPyramidPiece.potentialSuspiciousSandWorldPositionsEndCityPieces.TOWER_BRIDGESMethods in net.minecraft.world.level.levelgen.structure.structures that return BlockPosModifier and TypeMethodDescriptionStrongholdPieces.StartPiece.getLocatorPosition()DesertPyramidPiece.getRandomCollapsedRoofPos()private static BlockPosIglooPieces.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 voidDesertPyramidPiece.addCellarRoom(BlockPos pPos, WorldGenLevel pLevel, BoundingBox pBox) private voidDesertPyramidPiece.addCellarStairs(BlockPos pPos, WorldGenLevel pLevel, BoundingBox pBox) private static voidOceanRuinPieces.addClusterRuins(StructureTemplateManager pStructureTemplateManager, RandomSource pRandom, Rotation pRotation, BlockPos pPos, OceanRuinStructure pStructure, StructurePieceAccessor pStructurePieceAccessor) private voidRuinedPortalPiece.addNetherrackDripColumn(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) (package private) static EndCityPieces.EndCityPieceEndCityPieces.addPiece(StructureTemplateManager pStructureTemplateManager, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, String pName, Rotation pRotation, boolean pOverwrite) private static voidOceanRuinPieces.addPiece(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pStructurePieceAccessor, RandomSource pRandom, OceanRuinStructure pStructure, boolean pIsLarge, float pIntegrity) static voidIglooPieces.addPieces(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, StructurePieceAccessor pPieces, RandomSource pRandom) static voidNetherFossilPieces.addPieces(StructureTemplateManager pStructureManager, StructurePieceAccessor pPieces, RandomSource pRandom, BlockPos pPos) static voidOceanRuinPieces.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 voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x1(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pFrontDirection, Direction pSideDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms, boolean pIsStairs) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pFrontDirection, Direction pSideDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2Secret(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) OceanRuinPieces.allPositions(RandomSource pRandom, BlockPos pPos) private booleanRuinedPortalPiece.canBlockBeReplacedByNetherrackOrMagma(LevelAccessor pLevel, BlockPos pPos) private booleanMineshaftPieces.MineShaftCorridor.canHangChainBelow(LevelReader pLevel, BlockPos pPos, BlockState pState) private booleanMineshaftPieces.MineShaftCorridor.canPlaceColumnOnTopOf(LevelReader pLevel, BlockPos pPos, BlockState pState) voidWoodlandMansionPieces.MansionPiecePlacer.createMansion(BlockPos pPos, Rotation pRotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, WoodlandMansionPieces.MansionGrid pGrid) private voidWoodlandMansionPieces.MansionPiecePlacer.createRoof(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, WoodlandMansionPieces.SimpleGrid pLayout, WoodlandMansionPieces.SimpleGrid pNextFloorLayout) booleanEndCityPieces.SectionGenerator.generate(StructureTemplateManager pStructureTemplateManager, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) static voidWoodlandMansionPieces.generateMansion(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, RandomSource pRandom) private voidEndCityStructure.generatePieces(StructurePiecesBuilder pBuilder, BlockPos pStartPos, Rotation pRotation, Structure.GenerationContext pContext) private voidWoodlandMansionStructure.generatePieces(StructurePiecesBuilder pBuilder, Structure.GenerationContext pContext, BlockPos pPos, Rotation pRotation) private intOceanRuinPieces.OceanRuinPiece.getHeight(BlockPos pTemplatePos, BlockGetter pLevel, BlockPos pPos) protected voidEndCityPieces.EndCityPiece.handleDataMarker(String p_227505_, BlockPos p_227506_, ServerLevelAccessor p_227507_, RandomSource p_227508_, BoundingBox p_227509_) protected voidIglooPieces.IglooPiece.handleDataMarker(String p_227582_, BlockPos p_227583_, ServerLevelAccessor p_227584_, RandomSource p_227585_, BoundingBox p_227586_) protected voidNetherFossilPieces.NetherFossilPiece.handleDataMarker(String p_228561_, BlockPos p_228562_, ServerLevelAccessor p_228563_, RandomSource p_228564_, BoundingBox p_228565_) protected voidOceanRuinPieces.OceanRuinPiece.handleDataMarker(String p_229046_, BlockPos p_229047_, ServerLevelAccessor p_229048_, RandomSource p_229049_, BoundingBox p_229050_) protected voidRuinedPortalPiece.handleDataMarker(String p_229170_, BlockPos p_229171_, ServerLevelAccessor p_229172_, RandomSource p_229173_, BoundingBox p_229174_) protected voidShipwreckPieces.ShipwreckPiece.handleDataMarker(String p_229376_, BlockPos p_229377_, ServerLevelAccessor p_229378_, RandomSource p_229379_, BoundingBox p_229380_) protected voidWoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker(String p_230213_, BlockPos p_230214_, ServerLevelAccessor p_230215_, RandomSource p_230216_, BoundingBox p_230217_) private static booleanprivate static BlockPosIglooPieces.IglooPiece.makePosition(ResourceLocation pLocation, BlockPos pPos, int pDown) private static StructurePlaceSettingsRuinedPortalPiece.makeSettings(Mirror pMirror, Rotation pRotation, RuinedPortalPiece.VerticalPlacement pVerticalPlacement, BlockPos pPos, RuinedPortalPiece.Properties pProperties) private voidRuinedPortalPiece.maybeAddLeavesAbove(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private voidRuinedPortalPiece.maybeAddVines(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private voidRuinedPortalPiece.placeNetherrackOrMagma(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private static voidDesertPyramidStructure.placeSuspiciousSand(BoundingBox pBoundingBox, WorldGenLevel pWorldGenLevel, BlockPos pPos) voidBuriedTreasurePieces.BuriedTreasurePiece.postProcess(WorldGenLevel p_227370_, StructureManager p_227371_, ChunkGenerator p_227372_, RandomSource p_227373_, BoundingBox p_227374_, ChunkPos p_227375_, BlockPos p_227376_) voidDesertPyramidPiece.postProcess(WorldGenLevel p_227405_, StructureManager p_227406_, ChunkGenerator p_227407_, RandomSource p_227408_, BoundingBox p_227409_, ChunkPos p_227410_, BlockPos p_227411_) voidIglooPieces.IglooPiece.postProcess(WorldGenLevel p_227568_, StructureManager p_227569_, ChunkGenerator p_227570_, RandomSource p_227571_, BoundingBox p_227572_, ChunkPos p_227573_, BlockPos p_227574_) voidJungleTemplePiece.postProcess(WorldGenLevel p_227674_, StructureManager p_227675_, ChunkGenerator p_227676_, RandomSource p_227677_, BoundingBox p_227678_, ChunkPos p_227679_, BlockPos p_227680_) voidMineshaftPieces.MineShaftCorridor.postProcess(WorldGenLevel p_227743_, StructureManager p_227744_, ChunkGenerator p_227745_, RandomSource p_227746_, BoundingBox p_227747_, ChunkPos p_227748_, BlockPos p_227749_) voidMineshaftPieces.MineShaftCrossing.postProcess(WorldGenLevel p_227836_, StructureManager p_227837_, ChunkGenerator p_227838_, RandomSource p_227839_, BoundingBox p_227840_, ChunkPos p_227841_, BlockPos p_227842_) voidMineshaftPieces.MineShaftRoom.postProcess(WorldGenLevel p_227914_, StructureManager p_227915_, ChunkGenerator p_227916_, RandomSource p_227917_, BoundingBox p_227918_, ChunkPos p_227919_, BlockPos p_227920_) voidMineshaftPieces.MineShaftStairs.postProcess(WorldGenLevel p_227939_, StructureManager p_227940_, ChunkGenerator p_227941_, RandomSource p_227942_, BoundingBox p_227943_, ChunkPos p_227944_, BlockPos p_227945_) voidNetherFortressPieces.BridgeCrossing.postProcess(WorldGenLevel p_228035_, StructureManager p_228036_, ChunkGenerator p_228037_, RandomSource p_228038_, BoundingBox p_228039_, ChunkPos p_228040_, BlockPos p_228041_) voidNetherFortressPieces.BridgeEndFiller.postProcess(WorldGenLevel p_228065_, StructureManager p_228066_, ChunkGenerator p_228067_, RandomSource p_228068_, BoundingBox p_228069_, ChunkPos p_228070_, BlockPos p_228071_) voidNetherFortressPieces.BridgeStraight.postProcess(WorldGenLevel p_228094_, StructureManager p_228095_, ChunkGenerator p_228096_, RandomSource p_228097_, BoundingBox p_228098_, ChunkPos p_228099_, BlockPos p_228100_) voidNetherFortressPieces.CastleCorridorStairsPiece.postProcess(WorldGenLevel p_228123_, StructureManager p_228124_, ChunkGenerator p_228125_, RandomSource p_228126_, BoundingBox p_228127_, ChunkPos p_228128_, BlockPos p_228129_) voidNetherFortressPieces.CastleCorridorTBalconyPiece.postProcess(WorldGenLevel p_228151_, StructureManager p_228152_, ChunkGenerator p_228153_, RandomSource p_228154_, BoundingBox p_228155_, ChunkPos p_228156_, BlockPos p_228157_) voidNetherFortressPieces.CastleEntrance.postProcess(WorldGenLevel p_228180_, StructureManager p_228181_, ChunkGenerator p_228182_, RandomSource p_228183_, BoundingBox p_228184_, ChunkPos p_228185_, BlockPos p_228186_) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess(WorldGenLevel p_228209_, StructureManager p_228210_, ChunkGenerator p_228211_, RandomSource p_228212_, BoundingBox p_228213_, ChunkPos p_228214_, BlockPos p_228215_) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess(WorldGenLevel p_228239_, StructureManager p_228240_, ChunkGenerator p_228241_, RandomSource p_228242_, BoundingBox p_228243_, ChunkPos p_228244_, BlockPos p_228245_) voidNetherFortressPieces.CastleSmallCorridorPiece.postProcess(WorldGenLevel p_228271_, StructureManager p_228272_, ChunkGenerator p_228273_, RandomSource p_228274_, BoundingBox p_228275_, ChunkPos p_228276_, BlockPos p_228277_) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess(WorldGenLevel p_228301_, StructureManager p_228302_, ChunkGenerator p_228303_, RandomSource p_228304_, BoundingBox p_228305_, ChunkPos p_228306_, BlockPos p_228307_) voidNetherFortressPieces.CastleStalkRoom.postProcess(WorldGenLevel p_228333_, StructureManager p_228334_, ChunkGenerator p_228335_, RandomSource p_228336_, BoundingBox p_228337_, ChunkPos p_228338_, BlockPos p_228339_) voidNetherFortressPieces.MonsterThrone.postProcess(WorldGenLevel p_228362_, StructureManager p_228363_, ChunkGenerator p_228364_, RandomSource p_228365_, BoundingBox p_228366_, ChunkPos p_228367_, BlockPos p_228368_) voidNetherFortressPieces.RoomCrossing.postProcess(WorldGenLevel p_228461_, StructureManager p_228462_, ChunkGenerator p_228463_, RandomSource p_228464_, BoundingBox p_228465_, ChunkPos p_228466_, BlockPos p_228467_) voidNetherFortressPieces.StairsRoom.postProcess(WorldGenLevel p_228489_, StructureManager p_228490_, ChunkGenerator p_228491_, RandomSource p_228492_, BoundingBox p_228493_, ChunkPos p_228494_, BlockPos p_228495_) voidNetherFossilPieces.NetherFossilPiece.postProcess(WorldGenLevel p_228548_, StructureManager p_228549_, ChunkGenerator p_228550_, RandomSource p_228551_, BoundingBox p_228552_, ChunkPos p_228553_, BlockPos p_228554_) voidOceanMonumentPieces.MonumentBuilding.postProcess(WorldGenLevel p_228659_, StructureManager p_228660_, ChunkGenerator p_228661_, RandomSource p_228662_, BoundingBox p_228663_, ChunkPos p_228664_, BlockPos p_228665_) voidOceanMonumentPieces.OceanMonumentCoreRoom.postProcess(WorldGenLevel p_228704_, StructureManager p_228705_, ChunkGenerator p_228706_, RandomSource p_228707_, BoundingBox p_228708_, ChunkPos p_228709_, BlockPos p_228710_) voidOceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess(WorldGenLevel p_228717_, StructureManager p_228718_, ChunkGenerator p_228719_, RandomSource p_228720_, BoundingBox p_228721_, ChunkPos p_228722_, BlockPos p_228723_) voidOceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess(WorldGenLevel p_228730_, StructureManager p_228731_, ChunkGenerator p_228732_, RandomSource p_228733_, BoundingBox p_228734_, ChunkPos p_228735_, BlockPos p_228736_) voidOceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess(WorldGenLevel p_228743_, StructureManager p_228744_, ChunkGenerator p_228745_, RandomSource p_228746_, BoundingBox p_228747_, ChunkPos p_228748_, BlockPos p_228749_) voidOceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess(WorldGenLevel p_228756_, StructureManager p_228757_, ChunkGenerator p_228758_, RandomSource p_228759_, BoundingBox p_228760_, ChunkPos p_228761_, BlockPos p_228762_) voidOceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess(WorldGenLevel p_228769_, StructureManager p_228770_, ChunkGenerator p_228771_, RandomSource p_228772_, BoundingBox p_228773_, ChunkPos p_228774_, BlockPos p_228775_) voidOceanMonumentPieces.OceanMonumentEntryRoom.postProcess(WorldGenLevel p_228782_, StructureManager p_228783_, ChunkGenerator p_228784_, RandomSource p_228785_, BoundingBox p_228786_, ChunkPos p_228787_, BlockPos p_228788_) voidOceanMonumentPieces.OceanMonumentPenthouse.postProcess(WorldGenLevel p_228795_, StructureManager p_228796_, ChunkGenerator p_228797_, RandomSource p_228798_, BoundingBox p_228799_, ChunkPos p_228800_, BlockPos p_228801_) voidOceanMonumentPieces.OceanMonumentSimpleRoom.postProcess(WorldGenLevel p_228901_, StructureManager p_228902_, ChunkGenerator p_228903_, RandomSource p_228904_, BoundingBox p_228905_, ChunkPos p_228906_, BlockPos p_228907_) voidOceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess(WorldGenLevel p_228914_, StructureManager p_228915_, ChunkGenerator p_228916_, RandomSource p_228917_, BoundingBox p_228918_, ChunkPos p_228919_, BlockPos p_228920_) voidOceanMonumentPieces.OceanMonumentWingRoom.postProcess(WorldGenLevel p_228929_, StructureManager p_228930_, ChunkGenerator p_228931_, RandomSource p_228932_, BoundingBox p_228933_, ChunkPos p_228934_, BlockPos p_228935_) voidOceanRuinPieces.OceanRuinPiece.postProcess(WorldGenLevel p_229029_, StructureManager p_229030_, ChunkGenerator p_229031_, RandomSource p_229032_, BoundingBox p_229033_, ChunkPos p_229034_, BlockPos p_229035_) voidRuinedPortalPiece.postProcess(WorldGenLevel p_229137_, StructureManager p_229138_, ChunkGenerator p_229139_, RandomSource p_229140_, BoundingBox p_229141_, ChunkPos p_229142_, BlockPos p_229143_) voidShipwreckPieces.ShipwreckPiece.postProcess(WorldGenLevel p_229363_, StructureManager p_229364_, ChunkGenerator p_229365_, RandomSource p_229366_, BoundingBox p_229367_, ChunkPos p_229368_, BlockPos p_229369_) voidStrongholdPieces.ChestCorridor.postProcess(WorldGenLevel p_229472_, StructureManager p_229473_, ChunkGenerator p_229474_, RandomSource p_229475_, BoundingBox p_229476_, ChunkPos p_229477_, BlockPos p_229478_) voidStrongholdPieces.FillerCorridor.postProcess(WorldGenLevel p_229502_, StructureManager p_229503_, ChunkGenerator p_229504_, RandomSource p_229505_, BoundingBox p_229506_, ChunkPos p_229507_, BlockPos p_229508_) voidStrongholdPieces.FiveCrossing.postProcess(WorldGenLevel p_229534_, StructureManager p_229535_, ChunkGenerator p_229536_, RandomSource p_229537_, BoundingBox p_229538_, ChunkPos p_229539_, BlockPos p_229540_) voidStrongholdPieces.LeftTurn.postProcess(WorldGenLevel p_229564_, StructureManager p_229565_, ChunkGenerator p_229566_, RandomSource p_229567_, BoundingBox p_229568_, ChunkPos p_229569_, BlockPos p_229570_) voidStrongholdPieces.Library.postProcess(WorldGenLevel p_229596_, StructureManager p_229597_, ChunkGenerator p_229598_, RandomSource p_229599_, BoundingBox p_229600_, ChunkPos p_229601_, BlockPos p_229602_) voidStrongholdPieces.PortalRoom.postProcess(WorldGenLevel p_229635_, StructureManager p_229636_, ChunkGenerator p_229637_, RandomSource p_229638_, BoundingBox p_229639_, ChunkPos p_229640_, BlockPos p_229641_) voidStrongholdPieces.PrisonHall.postProcess(WorldGenLevel p_229667_, StructureManager p_229668_, ChunkGenerator p_229669_, RandomSource p_229670_, BoundingBox p_229671_, ChunkPos p_229672_, BlockPos p_229673_) voidStrongholdPieces.RightTurn.postProcess(WorldGenLevel p_229694_, StructureManager p_229695_, ChunkGenerator p_229696_, RandomSource p_229697_, BoundingBox p_229698_, ChunkPos p_229699_, BlockPos p_229700_) voidStrongholdPieces.RoomCrossing.postProcess(WorldGenLevel p_229725_, StructureManager p_229726_, ChunkGenerator p_229727_, RandomSource p_229728_, BoundingBox p_229729_, ChunkPos p_229730_, BlockPos p_229731_) voidStrongholdPieces.StairsDown.postProcess(WorldGenLevel p_229775_, StructureManager p_229776_, ChunkGenerator p_229777_, RandomSource p_229778_, BoundingBox p_229779_, ChunkPos p_229780_, BlockPos p_229781_) voidStrongholdPieces.Straight.postProcess(WorldGenLevel p_229820_, StructureManager p_229821_, ChunkGenerator p_229822_, RandomSource p_229823_, BoundingBox p_229824_, ChunkPos p_229825_, BlockPos p_229826_) voidStrongholdPieces.StraightStairsDown.postProcess(WorldGenLevel p_229853_, StructureManager p_229854_, ChunkGenerator p_229855_, RandomSource p_229856_, BoundingBox p_229857_, ChunkPos p_229858_, BlockPos p_229859_) voidSwampHutPiece.postProcess(WorldGenLevel p_229961_, StructureManager p_229962_, ChunkGenerator p_229963_, RandomSource p_229964_, BoundingBox p_229965_, ChunkPos p_229966_, BlockPos p_229967_) (package private) static booleanEndCityPieces.recursiveChildren(StructureTemplateManager pStructureTemplateManager, EndCityPieces.SectionGenerator pSectionGenerator, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) static voidEndCityPieces.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 BlockPosStructureTemplate.StructureEntityInfo.blockPosprivate final BlockPosStructureTemplate.StructureBlockInfo.posThe field for theposrecord component.private BlockPosStructurePlaceSettings.rotationPivotMethods in net.minecraft.world.level.levelgen.structure.templatesystem that return BlockPosModifier and TypeMethodDescriptionStructureTemplate.calculateConnectedPosition(StructurePlaceSettings pDecorator, BlockPos pStart, StructurePlaceSettings pSettings, BlockPos pEnd) static BlockPosStructureTemplate.calculateRelativePosition(StructurePlaceSettings pDecorator, BlockPos pPos) StructurePlaceSettings.getRotationPivot()StructureTemplate.getZeroPositionWithTransform(BlockPos pTargetPos, Mirror pMirror, Rotation pRotation) static BlockPosStructureTemplate.getZeroPositionWithTransform(BlockPos pPos, Mirror pMirror, Rotation pRotation, int pSizeX, int pSizeZ) StructureTemplate.StructureBlockInfo.pos()Returns the value of theposrecord component.static BlockPosStructureTemplate.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 voidStructureTemplate.addEntitiesToWorld(ServerLevelAccessor p_74524_, BlockPos p_74525_, StructurePlaceSettings placementIn) StructureTemplate.calculateConnectedPosition(StructurePlaceSettings pDecorator, BlockPos pStart, StructurePlaceSettings pSettings, BlockPos pEnd) static BlockPosStructureTemplate.calculateRelativePosition(StructurePlaceSettings pDecorator, BlockPos pPos) private voidStructureTemplate.fillEntityList(Level pLevel, BlockPos pStartPos, BlockPos pEndPos) voidStructureTemplate.fillFromWorld(Level pLevel, BlockPos pPos, Vec3i pSize, boolean pWithEntities, Block pToIgnore) StructureTemplate.filterBlocks(BlockPos pPos, StructurePlaceSettings pSettings, Block pBlock) it.unimi.dsi.fastutil.objects.ObjectArrayList<StructureTemplate.StructureBlockInfo> StructureTemplate.filterBlocks(BlockPos pPos, StructurePlaceSettings pSettings, Block pBlock, boolean pRelativePosition) CappedProcessor.finalizeProcessing(ServerLevelAccessor p_278291_, BlockPos p_278055_, BlockPos p_277825_, List<StructureTemplate.StructureBlockInfo> p_277746_, List<StructureTemplate.StructureBlockInfo> p_277676_, StructurePlaceSettings p_277728_) 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 BoundingBoxStructureTemplate.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 BlockPosStructureTemplate.getZeroPositionWithTransform(BlockPos pPos, Mirror pMirror, Rotation pRotation, int pSizeX, int pSizeZ) booleanStructureTemplate.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 p_74000_, BlockPos p_74001_, BlockPos p_74002_, StructureTemplate.StructureBlockInfo p_74003_, StructureTemplate.StructureBlockInfo p_74004_, StructurePlaceSettings p_74005_) BlockAgeProcessor.processBlock(LevelReader p_74016_, BlockPos p_74017_, BlockPos p_74018_, StructureTemplate.StructureBlockInfo p_74019_, StructureTemplate.StructureBlockInfo p_74020_, StructurePlaceSettings p_74021_) BlockIgnoreProcessor.processBlock(LevelReader p_74055_, BlockPos p_74056_, BlockPos p_74057_, StructureTemplate.StructureBlockInfo p_74058_, StructureTemplate.StructureBlockInfo p_74059_, StructurePlaceSettings p_74060_) BlockRotProcessor.processBlock(LevelReader p_74081_, BlockPos p_74082_, BlockPos p_74083_, StructureTemplate.StructureBlockInfo p_74084_, StructureTemplate.StructureBlockInfo p_74085_, StructurePlaceSettings p_74086_) GravityProcessor.processBlock(LevelReader p_74109_, BlockPos p_74110_, BlockPos p_74111_, StructureTemplate.StructureBlockInfo p_74112_, StructureTemplate.StructureBlockInfo p_74113_, StructurePlaceSettings p_74114_) 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 p_163755_, BlockPos p_163756_, BlockPos p_163757_, StructureTemplate.StructureBlockInfo p_163758_, StructureTemplate.StructureBlockInfo p_163759_, StructurePlaceSettings p_163760_) RuleProcessor.processBlock(LevelReader p_74299_, BlockPos p_74300_, BlockPos p_74301_, StructureTemplate.StructureBlockInfo p_74302_, StructureTemplate.StructureBlockInfo p_74303_, StructurePlaceSettings p_74304_) 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) 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) booleanAxisAlignedLinearPosTest.test(BlockPos p_230251_, BlockPos p_230252_, BlockPos p_230253_, RandomSource p_230254_) booleanLinearPosTest.test(BlockPos p_230296_, BlockPos p_230297_, BlockPos p_230298_, RandomSource p_230299_) booleanPosAlwaysTrueTest.test(BlockPos p_230301_, BlockPos p_230302_, BlockPos p_230303_, RandomSource p_230304_) abstract booleanPosRuleTest.test(BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) booleanProcessorRule.test(BlockState pInputState, BlockState pExistingState, BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) static BlockPosStructureTemplate.transform(BlockPos pTargetPos, Mirror pMirror, Rotation pRotation, BlockPos pOffset) static Vec3StructureTemplate.transform(Vec3 pTarget, Mirror pMirror, Rotation pRotation, BlockPos pCenterOffset) static voidStructureTemplate.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 aStructureBlockInforecord 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 TypeMethodDescriptionvoidLayerLightEventListener.DummyLightLayerEventListener.checkBlock(BlockPos p_164434_) voidLevelLightEngine.checkBlock(BlockPos p_75823_) voidLightEngine.checkBlock(BlockPos p_285352_) voidLightEventListener.checkBlock(BlockPos pPos) private intChunkSkyLightSources.findLowestSourceBelow(BlockGetter pLevel, BlockPos pPos, BlockState pState) intLayerLightEventListener.DummyLightLayerEventListener.getLightValue(BlockPos pLevelPos) intLayerLightEventListener.getLightValue(BlockPos pLevelPos) intLightEngine.getLightValue(BlockPos p_285149_) intLevelLightEngine.getRawBrightness(BlockPos pBlockPos, int pAmount) protected BlockStatestatic booleanLightEngine.hasDifferentLightProperties(BlockGetter pLevel, BlockPos pPos, BlockState pState1, BlockState pState2) private booleanChunkSkyLightSources.updateEdge(BlockGetter pLevel, int pIndex, int pMinY, BlockPos pPos1, BlockState pState1, BlockPos pPos2, BlockState pState2) default voidLightEventListener.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 voidFluid.animateTick(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) voidFluidState.animateTick(Level pLevel, BlockPos pPos, RandomSource pRandom) voidLavaFluid.animateTick(Level p_230567_, BlockPos p_230568_, FluidState p_230569_, RandomSource p_230570_) voidWaterFluid.animateTick(Level p_230606_, BlockPos p_230607_, FluidState p_230608_, RandomSource p_230609_) protected abstract voidFlowingFluid.beforeDestroyingBlock(LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected voidLavaFluid.beforeDestroyingBlock(LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected voidWaterFluid.beforeDestroyingBlock(LevelAccessor pLevel, BlockPos pPos, BlockState pState) booleanEmptyFluid.canBeReplacedWith(FluidState pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) protected abstract booleanFluid.canBeReplacedWith(FluidState pState, BlockGetter pLevel, BlockPos pPos, Fluid pFluid, Direction pDirection) booleanFluidState.canBeReplacedWith(BlockGetter pLevel, BlockPos pPos, Fluid pFluid, Direction pDirection) booleanLavaFluid.canBeReplacedWith(FluidState pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) booleanWaterFluid.canBeReplacedWith(FluidState pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) booleanFlowingFluid.canConvertToSource(FluidState state, ServerLevel level, BlockPos pos) private static booleanFlowingFluid.canHoldFluid(BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) private static booleanFlowingFluid.canHoldSpecificFluid(BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) private booleanFlowingFluid.canMaybePassThrough(BlockGetter pLevel, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private booleanFlowingFluid.canPassThrough(BlockGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private static booleanFlowingFluid.canPassThroughWall(Direction pDirection, BlockGetter pLevel, BlockPos pPos, BlockState pState, BlockPos pSpreadPos, BlockState pSpreadState) protected voidFluid.entityInside(Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) voidFluidState.entityInside(Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected voidLavaFluid.entityInside(Level p_405274_, BlockPos p_404936_, Entity p_405835_, InsideBlockEffectApplier p_404807_) protected voidWaterFluid.entityInside(Level p_404956_, BlockPos p_405311_, Entity p_405780_, InsideBlockEffectApplier p_405240_) private voidLavaFluid.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 BlockStateFlowingFluid.SpreadContext.getBlockState(BlockPos pPos, short pCacheKey) private shortFlowingFluid.SpreadContext.getCacheKey(BlockPos pPos) EmptyFluid.getFlow(BlockGetter pBlockReader, BlockPos pPos, FluidState pFluidState) FlowingFluid.getFlow(BlockGetter pBlockReader, BlockPos pPos, FluidState pFluidState) protected abstract Vec3Fluid.getFlow(BlockGetter pBlockReader, BlockPos pPos, FluidState pFluidState) FluidState.getFlow(BlockGetter pLevel, BlockPos pPos) floatEmptyFluid.getHeight(FluidState p_75926_, BlockGetter p_75927_, BlockPos p_75928_) floatFlowingFluid.getHeight(FluidState p_76050_, BlockGetter p_76051_, BlockPos p_76052_) abstract floatFluid.getHeight(FluidState pState, BlockGetter pLevel, BlockPos pPos) floatFluidState.getHeight(BlockGetter pLevel, BlockPos pPos) protected FluidStateFlowingFluid.getNewLiquid(ServerLevel pLevel, BlockPos pPos, BlockState pState) EmptyFluid.getShape(FluidState p_75939_, BlockGetter p_75940_, BlockPos p_75941_) FlowingFluid.getShape(FluidState p_76084_, BlockGetter p_76085_, BlockPos p_76086_) abstract VoxelShapeFluid.getShape(FluidState pState, BlockGetter pLevel, BlockPos pPos) FluidState.getShape(BlockGetter pLevel, BlockPos pPos) protected intFlowingFluid.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 intFlowingFluid.getSpreadDelay(Level pLevel, BlockPos pPos, FluidState pCurrentState, FluidState pNewState) intLavaFluid.getSpreadDelay(Level p_76203_, BlockPos p_76204_, FluidState p_76205_, FluidState p_76206_) private booleanLavaFluid.hasFlammableNeighbours(LevelReader pLevel, BlockPos pPos) private static booleanFlowingFluid.hasSameAbove(FluidState pFluidState, BlockGetter pLevel, BlockPos pPos) private booleanLavaFluid.isFlammable(LevelReader pLevel, BlockPos pPos) Deprecated.Forge: useLavaFluid.isFlammable(LevelReader,BlockPos, Direction)insteadprivate booleanLavaFluid.isFlammable(LevelReader pLevel, BlockPos pPos, Direction face) booleanprotected booleanFlowingFluid.isSolidFace(BlockGetter pLevel, BlockPos pNeighborPos, Direction pSide) (package private) booleanFlowingFluid.isWaterHole(BlockGetter pLevel, BlockPos pPos, BlockState pState, BlockPos pBelowPos, BlockState pBelowState) protected voidFluid.randomTick(ServerLevel pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) voidFluidState.randomTick(ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) voidLavaFluid.randomTick(ServerLevel p_376493_, BlockPos p_230573_, FluidState p_230574_, RandomSource p_230575_) booleanFluidState.shouldRenderBackwardUpFace(BlockGetter pLevel, BlockPos pPos) private intFlowingFluid.sourceNeighborCount(LevelReader pLevel, BlockPos pPos) Returns the number of immediately adjacent source blocks of the same fluid that lie on the horizontal plane.protected voidFlowingFluid.spread(ServerLevel pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState) protected voidFlowingFluid.spreadTo(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) protected voidLavaFluid.spreadTo(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) private voidFlowingFluid.spreadToSides(ServerLevel pLevel, BlockPos pPos, FluidState pFluidState, BlockState pBlockState) voidFlowingFluid.tick(ServerLevel p_376710_, BlockPos p_75996_, BlockState p_360412_, FluidState p_75997_) protected voidFluid.tick(ServerLevel pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState) voidFluidState.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 BlockPosPathfindingContext.mobPositionprivate final BlockPosPath.targetMethods in net.minecraft.world.level.pathfinder that return BlockPosModifier and TypeMethodDescriptionNode.asBlockPos()(package private) BlockPosPathfindingContext.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 booleanFlyNodeEvaluator.canStartAt(BlockPos p_262645_) protected booleanWalkNodeEvaluator.canStartAt(BlockPos pPos) private PathTypePathTypeCache.compute(BlockGetter pLevel, BlockPos pPos, int pIndex, long pPackedPos) floatNode.distanceManhattan(BlockPos pPos) floatNode.distanceTo(BlockPos pPos) floatNode.distanceToSqr(BlockPos pPos) PathfindingContext.getBlockState(BlockPos pPos) protected doubleWalkNodeEvaluator.getFloorLevel(BlockPos pPos) static doubleWalkNodeEvaluator.getFloorLevel(BlockGetter pLevel, BlockPos pPos) protected NodePathTypeCache.getOrCompute(BlockGetter pLevel, BlockPos pPos) NodeEvaluator.getPathType(Mob pMob, BlockPos pPos) protected static PathTypeWalkNodeEvaluator.getPathTypeFromState(BlockGetter pLevel, BlockPos pPos) static PathTypeWalkNodeEvaluator.getPathTypeStatic(Mob pMob, BlockPos pPos) protected NodeWalkNodeEvaluator.getStartNode(BlockPos pPos) voidPathTypeCache.invalidate(BlockPos pPos) private PathPathFinder.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 PathPathFinder.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 BlockPosPortalShape.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 BlockPosPortalShape.calculateBottomLeft(BlockGetter pLevel, Direction pDirection, BlockPos pPos) private static intPortalShape.calculateHeight(BlockGetter pLevel, BlockPos pPos, Direction pDirection, int pWidth, org.apache.commons.lang3.mutable.MutableInt pPortalBlocks) private static intPortalShape.calculateWidth(BlockGetter pLevel, BlockPos pBottomLeft, Direction pDirection) private booleanPortalForcer.canHostFrame(BlockPos pOriginalPos, BlockPos.MutableBlockPos pOffsetPos, Direction pDirection, int pOffsetScale) PortalForcer.createPortal(BlockPos pPos, Direction.Axis pAxis) static PortalShapePortalShape.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 intPortalShape.getDistanceUntilEdgeAboveFrame(BlockGetter pLevel, BlockPos pPos, Direction pDirection) private static intPortalShape.getDistanceUntilTop(BlockGetter pLevel, BlockPos pPos, Direction pDirection, BlockPos.MutableBlockPos pCheckPos, int pWidth, org.apache.commons.lang3.mutable.MutableInt pPortalBlocks) private static booleanPortalShape.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 BlockPosModifierConstructorDescriptionprivatePortalShape(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 BlockPosCollectingNeighborUpdater.ShapeUpdate.neighborPosThe field for theneighborPosrecord component.private final BlockPosCollectingNeighborUpdater.FullNeighborUpdate.posThe field for theposrecord component.private final BlockPosCollectingNeighborUpdater.ShapeUpdate.posThe field for theposrecord component.private final BlockPosCollectingNeighborUpdater.SimpleNeighborUpdate.posThe field for theposrecord component.private final BlockPosCollectingNeighborUpdater.MultiNeighborUpdate.sourcePosFields in net.minecraft.world.level.redstone with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntMap<BlockPos> ExperimentalRedstoneWireEvaluator.updatedWiresExperimentalRedstoneWireEvaluator.wiresToTurnOffExperimentalRedstoneWireEvaluator.wiresToTurnOnMethods in net.minecraft.world.level.redstone that return BlockPosModifier and TypeMethodDescriptionCollectingNeighborUpdater.ShapeUpdate.neighborPos()Returns the value of theneighborPosrecord component.CollectingNeighborUpdater.FullNeighborUpdate.pos()Returns the value of theposrecord component.CollectingNeighborUpdater.ShapeUpdate.pos()Returns the value of theposrecord component.CollectingNeighborUpdater.SimpleNeighborUpdate.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.level.redstone with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidCollectingNeighborUpdater.addAndRun(BlockPos pPos, CollectingNeighborUpdater.NeighborUpdates pUpdates) private voidExperimentalRedstoneWireEvaluator.calculateCurrentChanges(Level pLevel, BlockPos pPos, Orientation pOrientation) private intDefaultRedstoneWireEvaluator.calculateTargetStrength(Level pLevel, BlockPos pPos) private voidExperimentalRedstoneWireEvaluator.enqueueNeighborWire(Level pLevel, BlockPos pPos, int pPower, Orientation pOrientation, boolean pCanTurnOff) static voidNeighborUpdater.executeShapeUpdate(LevelAccessor pLevel, Direction pDirection, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, int pFlags, int pRecursionLeft) static voidNeighborUpdater.executeUpdate(Level pLevel, BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected intRedstoneWireEvaluator.getBlockSignal(Level pLevel, BlockPos pPos) protected intRedstoneWireEvaluator.getIncomingWireSignal(Level pLevel, BlockPos pPos) protected intExperimentalRedstoneWireEvaluator.getWireSignal(BlockPos p_360845_, BlockState p_363778_) protected intRedstoneWireEvaluator.getWireSignal(BlockPos pPos, BlockState pState) voidCollectingNeighborUpdater.neighborChanged(BlockPos p_230653_, Block p_230654_, Orientation p_360627_) voidCollectingNeighborUpdater.neighborChanged(BlockState p_230647_, BlockPos p_230648_, Block p_230649_, Orientation p_363917_, boolean p_230651_) voidInstantNeighborUpdater.neighborChanged(BlockPos p_230751_, Block p_230752_, Orientation p_364727_) voidInstantNeighborUpdater.neighborChanged(BlockState p_230745_, BlockPos p_230746_, Block p_230747_, Orientation p_365054_, boolean p_230749_) voidNeighborUpdater.neighborChanged(BlockPos pPos, Block pNeighborBlock, Orientation pOrientation) voidNeighborUpdater.neighborChanged(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) private voidExperimentalRedstoneWireEvaluator.propagateChangeToNeighbors(Level pLevel, BlockPos pPos, int pPower, Orientation pOrientation, boolean pCanTurnOff) private voidExperimentalRedstoneWireEvaluator.setPower(BlockPos pPos, int pPower, Orientation pOrientation) voidCollectingNeighborUpdater.shapeUpdate(Direction p_230664_, BlockState p_230665_, BlockPos p_230666_, BlockPos p_230667_, int p_230668_, int p_230669_) voidInstantNeighborUpdater.shapeUpdate(Direction p_230755_, BlockState p_230756_, BlockPos p_230757_, BlockPos p_230758_, int p_230759_, int p_230760_) voidNeighborUpdater.shapeUpdate(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) voidCollectingNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos p_230657_, Block p_230658_, Direction p_230659_, Orientation p_365269_) default voidNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) voidDefaultRedstoneWireEvaluator.updatePowerStrength(Level p_362666_, BlockPos p_365481_, BlockState p_361516_, Orientation p_362350_, boolean p_366607_) voidExperimentalRedstoneWireEvaluator.updatePowerStrength(Level p_364203_, BlockPos p_362182_, BlockState p_361454_, Orientation p_363673_, boolean p_366757_) abstract voidRedstoneWireEvaluator.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 aFullNeighborUpdaterecord 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 aShapeUpdaterecord class.(package private)SimpleNeighborUpdate(BlockPos pos, Block block, Orientation orientation) Creates an instance of aSimpleNeighborUpdaterecord 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 BlockPosMapBanner.posThe field for theposrecord component.private final BlockPosMapFrame.posThe field for theposrecord component.Methods in net.minecraft.world.level.saveddata.maps that return BlockPosModifier and TypeMethodDescriptionMapBanner.pos()Returns the value of theposrecord component.MapFrame.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.level.saveddata.maps with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidMapItemSavedData.addTargetDecoration(ItemStack pStack, BlockPos pPos, String pType, Holder<MapDecorationType> pMapDecorationType) static Stringstatic MapBannerMapBanner.fromWorld(BlockGetter pLevel, BlockPos pPos) voidMapItemSavedData.removedFromFrame(BlockPos pPos, int pEntityId) booleanMapItemSavedData.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 TypeMethodDescriptionvoidvoidvoidConstructors in net.minecraft.world.level.storage with parameters of type BlockPosModifierConstructorDescriptionprivatePrimaryLevelData(CompoundTag pLoadedPlayerTag, boolean pWasModded, BlockPos pSpawnPos, float pSpawnAngle, long pGameTime, long pDayTime, int pVersion, int pClearWeatherTime, int pRainTime, boolean pRaining, int pThunderTime, boolean pThundering, boolean pInitialized, boolean pDifficultyLocked, WorldBorder.Settings pWorldBorder, int pWanderingTraderSpawnDelay, int pWanderingTraderSpawnChance, UUID pWanderingTraderId, Set<String> pKnownServerBrands, Set<String> pRemovedFeatureFlags, TimerQueue<MinecraftServer> pScheduledEvents, CompoundTag pCustomBossEvents, EndDragonFight.Data pEndDragonFightData, LevelSettings pSettings, WorldOptions pWorldOptions, PrimaryLevelData.SpecialWorldProperty pSpecialWorldProperty, com.mojang.serialization.Lifecycle pWorldGenSettingsLifecycle) -
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 BlockPosLocationCheck.offsetThe field for theoffsetrecord 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_CODECMethods in net.minecraft.world.level.storage.loot.predicates that return BlockPosModifier and TypeMethodDescriptionLocationCheck.offset()Returns the value of theoffsetrecord component.Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type BlockPosModifier and TypeMethodDescriptionstatic LootItemCondition.BuilderLocationCheck.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 aLocationCheckrecord 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 BlockHitResultstatic AABBAABB.encapsulatingFullBlocks(BlockPos pStartPos, BlockPos pEndPos) static BlockHitResultCreates a new BlockRayTraceResult marked as a miss.BlockHitResult.withPosition(BlockPos pPos) Constructors in net.minecraft.world.phys with parameters of type BlockPosModifierConstructorDescriptionprivateBlockHitResult(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 BlockPosMinecartCollisionContext.ingoreBelowprivate BlockPosMinecartCollisionContext.slopeIgnoreMethods in net.minecraft.world.phys.shapes with parameters of type BlockPosModifier and TypeMethodDescriptionCollisionContext.getCollisionShape(BlockState pState, CollisionGetter pCollisionGetter, BlockPos pPos) EntityCollisionContext.getCollisionShape(BlockState p_366423_, CollisionGetter p_366608_, BlockPos p_366445_) MinecartCollisionContext.getCollisionShape(BlockState p_366641_, CollisionGetter p_366650_, BlockPos p_366424_) booleanCollisionContext.isAbove(VoxelShape pShape, BlockPos pPos, boolean pCanAscend) booleanEntityCollisionContext.isAbove(VoxelShape p_82886_, BlockPos p_82887_, boolean p_82888_) -
Uses of BlockPos in net.minecraft.world.ticks
Fields in net.minecraft.world.ticks declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosSavedTick.posThe field for theposrecord component.private final BlockPosScheduledTick.posThe field for theposrecord component.Fields in net.minecraft.world.ticks with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Function<BlockPos, TickContainerAccess<T>> WorldGenTickAccess.containerGetterMethods in net.minecraft.world.ticks that return BlockPosModifier and TypeMethodDescriptionSavedTick.pos()Returns the value of theposrecord component.ScheduledTick.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.ticks with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanLevelChunkTicks.hasScheduledTick(BlockPos p_193179_, T p_193180_) booleanLevelTicks.hasScheduledTick(BlockPos p_193254_, T p_193255_) booleanProtoChunkTicks.hasScheduledTick(BlockPos p_193300_, T p_193301_) booleanTickAccess.hasScheduledTick(BlockPos pPos, T pType) booleanWorldGenTickAccess.hasScheduledTick(BlockPos p_193459_, T p_193460_) static <T> SavedTick<T> static <T> ScheduledTick<T> booleanLevelTickAccess.willTickThisTick(BlockPos pPos, T pType) booleanLevelTicks.willTickThisTick(BlockPos p_193282_, T p_193283_) booleanWorldGenTickAccess.willTickThisTick(BlockPos p_193462_, T p_193463_) Method parameters in net.minecraft.world.ticks with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate voidLevelTicks.runCollectedTicks(BiConsumer<BlockPos, T> pTicker) voidLevelTicks.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 aSavedTickrecord 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 aScheduledTickrecord class.Constructor parameters in net.minecraft.world.ticks with type arguments of type BlockPosModifierConstructorDescriptionWorldGenTickAccess(Function<BlockPos, TickContainerAccess<T>> pContainerGetter) -
Uses of BlockPos in net.neoforged.neoforge.capabilities
Fields in net.neoforged.neoforge.capabilities declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosBlockCapabilityCache.posprivate final BlockPosCapabilityListenerHolder.ListenerReference.posMethods in net.neoforged.neoforge.capabilities that return BlockPosMethods in net.neoforged.neoforge.capabilities with parameters of type BlockPosModifier and TypeMethodDescriptionvoidCapabilityListenerHolder.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, ornullif not available.voidCapabilityListenerHolder.invalidatePos(BlockPos pos) Invalidates listeners at a specific block position.Constructors in net.neoforged.neoforge.capabilities with parameters of type BlockPosModifierConstructorDescriptionprivateBlockCapabilityCache(BlockCapability<T, C> capability, ServerLevel level, BlockPos pos, C context, BooleanSupplier isValid, Runnable invalidationListener) privateListenerReference(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 booleanClientHooks.isInTranslucentBlockOutlinePass(Level level, BlockPos pos, BlockState state) static booleanClientHooks.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 BlockPosRenderBlockScreenEffectEvent.blockPosprivate final BlockPosAddSectionGeometryEvent.sectionOriginMethods 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 voidBlockStateModelExtension.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) Collects the parts of the model that should be rendered.default @Nullable ObjectBlockStateModelExtension.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) Collects all the data used by the model to produce renderable geometry.default TextureAtlasSpriteBlockStateModelExtension.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 booleanIClientBlockExtensions.addDestroyEffects(BlockState state, Level Level, BlockPos pos, ParticleEngine manager) Spawn particles for when the block is destroyed.default booleanIClientBlockExtensions.areBreakingParticlesTinted(BlockState state, ClientLevel level, BlockPos pos) Returns true if the breaking particles created from theBlockStatepassed should be tinted with biome colors.default ResourceLocationIClientFluidTypeExtensions.getFlowingTexture(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a flowing fluid.default org.joml.Vector3dIClientBlockExtensions.getFogColor(BlockState state, LevelReader level, BlockPos pos, Entity entity, org.joml.Vector3d originalColor, float partialTick) NOT CURRENTLY IMPLEMENTEDdefault ResourceLocationIClientFluidTypeExtensions.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 ResourceLocationIClientFluidTypeExtensions.getStillTexture(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a source fluid.default intIClientFluidTypeExtensions.getTintColor(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the tint applied to the fluid's textures.default booleanIClientBlockExtensions.playBreakSound(BlockState state, Level level, BlockPos pos) Play breaking sound(s) when the block is destroyed.default booleanIClientBlockExtensions.playHitSound(BlockState state, Level level, BlockPos pos, Direction face, SoundManager soundManager) Play hit sound(s) when the block is punched.default booleanIClientFluidTypeExtensions.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 TypeMethodDescriptionvoidDelegateBlockStateModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) voidDynamicBlockStateModel.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 TypeMethodDescriptionvoidEnhancedAoRenderStorage.calculate(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) private voidEnhancedAoRenderStorage.calculateAxisAligned(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) Computes AO for an axis-aligned quad.(package private) AoCalculatedFaceFullFaceCalculator.calculateFace(BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) private voidFullFaceCalculator.calculateFaceUncached(AoCalculatedFace out, BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) Computes the AO for a full face.private voidEnhancedAoRenderStorage.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 TypeMethodDescriptionvoidCompositeBlockModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) @Nullable ObjectCompositeBlockModel.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 booleanCommonHooks.canCropGrow(Level level, BlockPos pos, BlockState state, boolean def) Checks if a crop can grow by firingCropGrowEvent.Pre.static booleanCommonHooks.canEntityDestroy(ServerLevel level, BlockPos pos, LivingEntity entity) booleanSpecialPlantable.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.BreakEventCommonHooks.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 voidCommonHooks.fireCropGrowPost(Level level, BlockPos pos, BlockState state) static voidCommonHooks.handleBlockDrops(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Fires theBlockDropsEventwhen block drops (items and experience) are determined.static booleanFarmlandWaterManager.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 booleanIShearable.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 booleanCommonHooks.onFarmlandTrample(ServerLevel level, BlockPos pos, BlockState state, double fallDistance, Entity entity) CommonHooks.onLeftClickBlock(Player player, BlockPos pos, Direction face, ServerboundPlayerActionPacket.Action action) static intCommonHooks.onNoteChange(Level level, BlockPos pos, BlockState state, int old, int _new) CommonHooks.onRightClickBlock(Player player, InteractionHand hand, BlockPos pos, BlockHitResult hitVec) Shears this object.voidSpecialPlantable.spawnPlantAtPosition(ItemStack itemStack, LevelAccessor level, BlockPos pos, @Nullable Direction direction) Spawns the plant with the given direction attachment point at location.default voidIShearable.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 booleanCommonHooks.tryDispenseShearsHarvestBlock(BlockSource source, ItemStack stack, ServerLevel level, BlockPos pos) Attempts to modify target block usingItemAbilities.SHEARS_HARVESTinShearsDispenseItemBehavior, 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 booleanIBlockExtension.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 booleanIBlockStateExtension.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 booleanIBlockExtension.addRunningEffects(BlockState state, Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default booleanIBlockStateExtension.addRunningEffects(Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default booleanIBlockExtension.canBeHydrated(BlockState state, BlockGetter getter, BlockPos pos, FluidState fluid, BlockPos fluidPos) Returns whether the block can be hydrated by a fluid.default booleanIBlockStateExtension.canBeHydrated(BlockGetter getter, BlockPos pos, FluidState fluid, BlockPos fluidPos) Returns whether the block can be hydrated by a fluid.default booleanIBlockExtension.canConnectRedstone(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a given sidedefault booleanIFluidExtension.canConvertToSource(FluidState state, ServerLevel level, BlockPos pos) Returns whether the fluid can create a source.default booleanIFluidStateExtension.canConvertToSource(ServerLevel level, BlockPos pos) Returns whether the fluid can create a source.default booleanIBlockExtension.canDropFromExplosion(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default booleanIBlockStateExtension.canDropFromExplosion(BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default booleanIBlockExtension.canEntityDestroy(BlockState state, BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default booleanIBlockStateExtension.canEntityDestroy(BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default booleanIFluidExtension.canExtinguish(FluidState state, BlockGetter getter, BlockPos pos) Returns whether the block can be extinguished by this fluid.default booleanIFluidStateExtension.canExtinguish(BlockGetter getter, BlockPos pos) Returns whether the block can be extinguished by this fluid.default booleanIBlockExtension.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 booleanIBlockStateExtension.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 booleanIFluidExtension.canHydrate(FluidState state, BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.default booleanIFluidStateExtension.canHydrate(BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.default booleanIBaseRailBlockExtension.canMakeSlopes(BlockState state, BlockGetter level, BlockPos pos) Returns true if the rail can make up and down slopes.default booleanIBlockStateExtension.canRedstoneConnectTo(BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a side.default TriStateIBlockExtension.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 TriStateIBlockStateExtension.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.booleanIEntityExtension.canTrample(ServerLevel level, BlockState state, BlockPos pos, double fallDistance) default booleanIBlockExtension.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 booleanIBlockStateExtension.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 booleanIItemExtension.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 booleanIItemStackExtension.doesSneakBypassUse(LevelReader level, BlockPos pos, Player player) Should this item, when held, allow sneak-clicks to pass through to the underlying block?default booleanIDispensibleContainerItemExtension.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 voidIFallableExtension.fallingTick(Level level, BlockPos currentPosition, FallingBlockEntity entity) Called inFallingBlockEntity.tick()after vanilla processing on both server and client.default @Nullable PathTypeIBlockExtension.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 PathTypeIBlockStateExtension.getAdjacentBlockPathType(BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent block to a pathfinding entity.default @Nullable PathTypeIFluidExtension.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 PathTypeIFluidStateExtension.getAdjacentBlockPathType(BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent fluid to a pathfinding entity.default BlockStateIBlockExtension.getAppearance(BlockState state, BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockStatethat this block reports to look like on the given side, for querying by other mods.default BlockStateIBlockStateExtension.getAppearance(BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockStatethat this state reports to look like on the given side for querying by other mods.default @Nullable AuxiliaryLightManagerIBlockGetterExtension.getAuxLightManager(BlockPos pos) Get theAuxiliaryLightManagerof the chunk containing the givenBlockPos.default @Nullable IntegerIBlockExtension.getBeaconColorMultiplier(BlockState state, LevelReader level, BlockPos pos, BlockPos beaconPos) default @Nullable IntegerIBlockStateExtension.getBeaconColorMultiplier(LevelReader level, BlockPos pos, BlockPos beacon) default DirectionIBlockExtension.getBedDirection(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default DirectionIBlockStateExtension.getBedDirection(LevelReader level, BlockPos pos) Returns the direction of the block.default @Nullable PathTypeIBlockExtension.getBlockPathType(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default @Nullable PathTypeIBlockStateExtension.getBlockPathType(BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default @Nullable PathTypeIFluidExtension.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 PathTypeIFluidStateExtension.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> TILevelExtension.getCapability(BlockCapability<T, @Nullable Void> cap, BlockPos pos) Retrieve a block capability with no context.default <T> TILevelExtension.getCapability(BlockCapability<T, @Nullable Void> cap, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity) Retrieve a block capability with no context.default ItemStackIBlockExtension.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData, Player player) Called when A user uses the creative pick block button on this blockdefault ItemStackIBlockStateExtension.getCloneItemStack(BlockPos pos, LevelReader level, boolean includeData, Player player) Called when A user uses the creative pick block button on this blockdefault floatIBlockExtension.getEnchantPowerBonus(BlockState state, LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default floatIBlockStateExtension.getEnchantPowerBonus(LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default intIBlockExtension.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 intIBlockStateExtension.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 floatIBlockExtension.getExplosionResistance(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault floatIBlockStateExtension.getExplosionResistance(BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault floatIFluidExtension.getExplosionResistance(FluidState state, BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default floatIFluidStateExtension.getExplosionResistance(BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default intIBlockExtension.getFireSpreadSpeed(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating on a neighbor block.default intIBlockStateExtension.getFireSpreadSpeed(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating on a neighbor block.default intIBlockExtension.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 intIBlockStateExtension.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 floatIBlockExtension.getFriction(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default floatIBlockStateExtension.getFriction(LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default intIBlockExtension.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 intIBlockStateExtension.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 MapColorIBlockExtension.getMapColor(BlockState state, BlockGetter level, BlockPos pos, MapColor defaultColor) Returns theMapColorshown on the map.default ModelDataIBlockGetterExtension.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 floatIBaseRailBlockExtension.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 SoundTypeIBlockExtension.getSoundType(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault SoundTypeIBlockStateExtension.getSoundType(LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault BlockStateIBlockExtension.getStateAtViewpoint(BlockState state, BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (see).invalid reference
Camera#getBlockAtCamera()default BlockStateIBlockStateExtension.getStateAtViewpoint(BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (see).invalid reference
Camera#getBlockAtCamera()default booleanIBlockExtension.getWeakChanges(BlockState state, LevelReader level, BlockPos pos) If this block should be notified of weak changes.default booleanIBlockStateExtension.getWeakChanges(LevelReader level, BlockPos pos) If this block should be notified of weak changes.default booleanIBlockExtension.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 booleanIBlockStateExtension.hidesNeighborFace(BlockGetter level, BlockPos pos, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default voidILevelExtension.invalidateCapabilities(BlockPos pos) Notify all listeners that the capabilities at a specific position might have changed.default booleanILevelReaderExtension.isAreaLoaded(BlockPos center, int range) default booleanIBlockExtension.isBed(BlockState state, BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlockchecks.default booleanIBlockStateExtension.isBed(BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlockchecks.default booleanIBlockExtension.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 booleanIBlockStateExtension.isBurning(BlockGetter level, BlockPos pos) Determines if this block should set fire and deal fire damage to entities coming into contact with it.default booleanIBlockExtension.isConduitFrame(BlockState state, LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default booleanIBlockStateExtension.isConduitFrame(LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default booleanIBlockExtension.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 booleanIBlockStateExtension.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 booleanIBlockExtension.isFireSource(BlockState state, LevelReader level, BlockPos pos, Direction direction) Currently only called by fire when it is on top of this block.default booleanIBlockStateExtension.isFireSource(LevelReader level, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default booleanIBlockExtension.isFlammable(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating, checks if a block face can catch fire.default booleanIBlockStateExtension.isFlammable(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating, checks if a block face can catch fire.booleanIBaseRailBlockExtension.isFlexibleRail(BlockState state, BlockGetter level, BlockPos pos) Return true if the rail can make corners.default booleanIBlockExtension.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 booleanIBlockStateExtension.isLadder(LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default booleanIBlockExtension.isPortalFrame(BlockState state, BlockGetter level, BlockPos pos) Determines if this block can be used as part of a frame of a nether portal.default booleanIBlockStateExtension.isPortalFrame(BlockGetter level, BlockPos pos) Determines if this block can be used as part of a frame of a nether portal.default booleanIBlockExtension.isScaffolding(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default booleanIBlockExtension.makesOpenTrapdoorAboveClimbable(BlockState state, LevelReader level, BlockPos pos, BlockState trapdoorState) Checks if this block makes an open trapdoor above it climbable.default voidIBlockExtension.onBlockExploded(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default voidIBlockStateExtension.onBlockExploded(ServerLevel level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default voidIBlockExtension.onBlockStateChange(LevelReader level, BlockPos pos, BlockState oldState, BlockState newState) Called after theBlockStateat the givenBlockPoswas changed and neighbors were updated.default voidIBlockStateExtension.onBlockStateChange(LevelReader level, BlockPos pos, BlockState oldState) Called after theBlockStateat the givenBlockPoswas changed and neighbors were updated.default booleanIBlockExtension.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 booleanIBlockStateExtension.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 booleanIBlockExtension.onDestroyedByPlayer(BlockState state, Level level, BlockPos pos, Player player, boolean willHarvest, FluidState fluid) Called when a player removes a block.default booleanIBlockStateExtension.onDestroyedByPlayer(Level level, BlockPos pos, Player player, boolean willHarvest, FluidState fluid) Called when a player removes a block.default voidIBlockExtension.onDestroyedByPushReaction(BlockState state, Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY.default voidIBlockStateExtension.onDestroyedByPushReaction(Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY.default voidIBaseRailBlockExtension.onMinecartPass(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) This function is called by any minecart that passes over this rail.default voidIBlockExtension.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 voidIBlockStateExtension.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 booleanIBlockExtension.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 booleanIBlockStateExtension.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 OptionalIntIPlayerExtension.openMenu(MenuProvider menuProvider, BlockPos pos) Request to open a GUI on the client, from the serverdefault voidIBlockExtension.playFallSound(BlockState state, Level level, BlockPos pos, LivingEntity entity) Allows a block to override the standard fall sound played inLivingEntity.playBlockFallSound().default voidIBlockStateExtension.playFallSound(Level level, BlockPos pos, LivingEntity entity) Allows a block to override the standard fall sound played inLivingEntity.playBlockFallSound().default voidIBlockExtension.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 voidIBlockStateExtension.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 BlockStateIBlockExtension.rotate(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default BlockStateIBlockStateExtension.rotate(LevelAccessor level, BlockPos pos, Rotation direction) default voidIBlockExtension.setBedOccupied(BlockState state, Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default voidIBlockStateExtension.setBedOccupied(Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default booleanIBlockExtension.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 booleanIBlockStateExtension.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 booleanIBlockExtension.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 booleanIBlockStateExtension.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 booleanIBlockExtension.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 booleanIBlockStateExtension.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 BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos) Creates a new snapshot with the default block flags (and Block#UPDATE_CLIENTS.static BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, int flag) Creates a new snapshot of the data at the given position.private static @Nullable CompoundTagBlockSnapshot.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.booleanBlockSnapshot.restoreBlockEntity(LevelAccessor level, BlockPos pos) Loads the storedBlockEntitydata if one exists at the given position.booleanBlockSnapshot.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 BlockPosModifierConstructorDescriptionprivateBlockSnapshot(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 TypeMethodDescriptionintAuxiliaryLightManager.getLightAt(BlockPos pos) Returns the light value at the given position or 0 if none is present.intLevelChunkAuxiliaryLightManager.getLightAt(BlockPos pos) default voidAuxiliaryLightManager.removeLightAt(BlockPos pos) Remove the light value at the given positionvoidAuxiliaryLightManager.setLightAt(BlockPos pos, int value) Set the light value at the given position to the given valuevoidLevelChunkAuxiliaryLightManager.setLightAt(BlockPos pos, int value) Method parameters in net.neoforged.neoforge.common.world with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidLevelChunkAuxiliaryLightManager.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_CODECForcedChunkManager.OwnedChunks.blockChunksThe field for theblockChunksrecord component.TicketHelper.blockTicketsMethods in net.neoforged.neoforge.common.world.chunk that return types with arguments of type BlockPosModifier and TypeMethodDescriptionForcedChunkManager.OwnedChunks.blockChunks()Returns the value of theblockChunksrecord 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 TypeMethodDescriptionbooleanTicketController.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.voidTicketHelper.removeAllTickets(BlockPos owner) Removes all tickets that a given block was responsible for; both normal and ones forcing natural spawning.voidTicketHelper.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 aOwnedChunksrecord 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 booleanEventHooks.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 booleanEventHooks.checkSpawnPlacements(EntityType<?> entityType, ServerLevelAccessor level, EntitySpawnReason spawnType, BlockPos pos, RandomSource random, boolean defaultResult) static booleanEventHooks.doPlayerHarvestCheck(Player player, BlockState state, BlockGetter level, BlockPos pos) static BlockGrowFeatureEventEventHooks.fireBlockGrowFeature(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> holder) Fires theBlockGrowFeatureEventand returns the event object.static BonemealEventEventHooks.fireBonemealEvent(@Nullable Player player, Level level, BlockPos pos, BlockState state, ItemStack stack) Called when bone meal (or equivalent) is used on a block.static BlockStateEventHooks.fireFluidPlaceBlockEvent(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) static PlayerSpawnPhantomsEventEventHooks.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 floatEventHooks.getBreakSpeed(Player player, BlockState state, float original, BlockPos pos) EventHooks.getPotentialSpawns(LevelAccessor level, MobCategory category, BlockPos pos, WeightedList<MobSpawnSettings.SpawnerData> oldList) static intEventHooks.onEnchantmentLevelSet(Level level, BlockPos pos, int enchantRow, int power, ItemStack itemStack, int enchantmentLevel) static booleanEventHooks.onEntityDestroyBlock(LivingEntity entity, BlockPos pos, BlockState state) EventHooks.onNeighborNotify(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) static voidEventHooks.onPistonMovePost(Level level, BlockPos pos, Direction direction, boolean extending) static booleanEventHooks.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 theAlterGroundEventand retrieves the resultingAlterGroundEvent.StateProvider.static Vec3EventHooks.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 BlockPosLivingDestroyBlockEvent.posprivate final BlockPosMobSpawnEvent.SpawnPlacementCheck.posMethods 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 BlockPosPlayerEvent.BreakSpeed.LEGACY_UNKNOWNprivate final @Nullable BlockPosPlayerSetSpawnEvent.newSpawnprivate final BlockPosBonemealEvent.posprivate final BlockPosCanPlayerSleepEvent.posprivate final BlockPosPlayerEvent.HarvestCheck.posprivate final BlockPosPlayerInteractEvent.posprivate final BlockPosUseItemOnBlockEvent.posFields 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 BlockPosPlayerSetSpawnEvent.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 TypeMethodDescriptionbooleanPlayerSpawnPhantomsEvent.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) protectedPlayerInteractEvent(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 BlockPosBlockEvent.FluidPlaceBlockEvent.liquidPosprivate final BlockPosBlockEvent.posprivate final BlockPosBlockGrowFeatureEvent.posprivate final BlockPosLevelEvent.PotentialSpawns.posFields in net.neoforged.neoforge.event.level with type parameters of type BlockPosModifier and TypeFieldDescriptionExplosionEvent.Detonate.blockListExplosionKnockbackEvent.blockListAlterGroundEvent.positionsMethods 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) protectedNoteBlockEvent(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 voidBaseFlowingFluid.beforeDestroyingBlock(LevelAccessor worldIn, BlockPos pos, BlockState state) final booleanFluidType.canBePlacedInLevel(BlockAndTintGetter getter, BlockPos pos, FluidState state) Returns whether the fluid can be placed in the level.final booleanFluidType.canBePlacedInLevel(BlockAndTintGetter getter, BlockPos pos, FluidStack stack) Returns whether the fluid can be placed in the level.protected booleanBaseFlowingFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid fluidIn, Direction direction) booleanBaseFlowingFluid.canConvertToSource(FluidState state, ServerLevel level, BlockPos pos) booleanFluidType.canConvertToSource(FluidState state, LevelReader reader, BlockPos pos) Returns whether the fluid can create a source.booleanFluidType.canExtinguish(FluidState state, BlockGetter getter, BlockPos pos) Returns whether the block can be extinguished by this fluid.booleanFluidType.canHydrate(FluidState state, BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.static booleanFluidInteractionRegistry.canInteract(Level level, BlockPos pos) Performs all potential fluid interactions at a given position.static voidFluidUtil.destroyBlockOnFluidPlacement(Level level, BlockPos pos) Destroys a block when a fluid is placed in the same position.@Nullable PathTypeFluidType.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 associatedBlockStatefor aFluidState.@Nullable PathTypeFluidType.getBlockPathType(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding.intFluidType.getDensity(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the density of the fluid.private static IFluidHandlerFluidUtil.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.intFluidType.getLightLevel(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the light level emitted by the fluid.@Nullable SoundEventFluidType.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 theFluidStatewhen aFluidStackis trying to place it.intFluidType.getTemperature(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the temperature of the fluid.intFluidType.getViscosity(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the viscosity, or thickness, of the fluid.booleanFluidType.handleCauldronDrip(Fluid fluid, Level level, BlockPos cauldronPos) Returns whether a fluid above a pointed dripstone block can successfully fill a cauldron below.voidFluidInteractionRegistry.FluidInteraction.interact(Level level, BlockPos currentPos, BlockPos relativePos, FluidState currentState) Performs the interaction between the source and the surrounding data.static booleanFluidUtil.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.booleanFluidType.isVaporizedOnPlacement(Level level, BlockPos pos, FluidStack stack) Determines if this fluid should be vaporized when placed into a level.voidFluidType.onVaporize(@Nullable LivingEntity entity, Level level, BlockPos pos, FluidStack stack) Performs an action when a fluid can be vaporized when placed into a level.booleanFluidInteractionRegistry.HasFluidInteraction.test(Level level, BlockPos currentPos, BlockPos relativePos, FluidState currentState) Returns whether the interaction can occur.static FluidActionResultFluidUtil.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 FluidActionResultFluidUtil.tryPlaceFluid(@Nullable Player player, Level level, InteractionHand hand, BlockPos pos, ItemStack container, FluidStack resource) static booleanFluidUtil.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 BlockPosBlockWrapper.blockPosprotected final BlockPosBlockWrapper.LiquidContainerBlockWrapper.blockPosprotected final BlockPosBucketPickupHandlerWrapper.blockPosprivate final BlockPosCauldronWrapper.posConstructors 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.entriesThe field for theentriesrecord component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type BlockPosModifier and TypeMethodDescriptionAuxiliaryLightDataPayload.entries()Returns the value of theentriesrecord 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 aAuxiliaryLightDataPayloadrecord 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 intGenerateCommand.executeGeneration(CommandSourceStack source, BlockPos pos, int chunkRadius, boolean progressBar)
ModelBlockRenderer.shouldRenderFace(BlockAndTintGetter, BlockPos, BlockState, boolean, Direction, BlockPos)instead