Uses of Class
net.minecraft.core.BlockPos
Packages that use BlockPos
Package
Description
-
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 pLevelHeightAccess, 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) 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.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 pPos, BlockState pState) 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) ClientLevel.getModelData(BlockPos pos) voidClientLevel.globalLevelEvent(int pId, BlockPos pPos, int pData) voidClientLevel.levelEvent(Player pPlayer, int pType, BlockPos pPos, int pData) private booleanMultiPlayerGameMode.sameDestroyTarget(BlockPos pPos) voidClientLevel.sendBlockUpdated(BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) Flags are as in setBlockStatebooleanClientLevel.setBlock(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) 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 with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map<BlockPos, SoundInstance> LevelRenderer.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.getAverageFoliageColor(BlockAndTintGetter pLevel, BlockPos pBlockPos) static intBiomeColors.getAverageGrassColor(BlockAndTintGetter pLevel, BlockPos pBlockPos) static intBiomeColors.getAverageWaterColor(BlockAndTintGetter pLevel, BlockPos pBlockPos) static intLevelRenderer.getLightColor(BlockAndTintGetter pLevel, BlockPos pPos) static intLevelRenderer.getLightColor(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos) SectionOcclusionGraph.getRelativeFrom(BlockPos pPos, SectionRenderDispatcher.RenderSection pSection, Direction pDirection) protected SectionRenderDispatcher.RenderSectionViewArea.getRenderSectionAt(BlockPos pPos) voidLevelRenderer.globalLevelEvent(int pType, BlockPos pPos, int pData) Handles a global level event.private booleanSectionOcclusionGraph.isInViewDistance(BlockPos pPos, BlockPos pOrigin) booleanLevelRenderer.isSectionCompiled(BlockPos pPos) voidLevelRenderer.levelEvent(int pType, BlockPos pPos, int pData) private voidLevelRenderer.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.voidLevelRenderer.playJukeboxSong(Holder<JukeboxSong> pSong, BlockPos pPos) private voidLevelRenderer.renderHitOutline(PoseStack pPoseStack, VertexConsumer pConsumer, Entity pEntity, double pCamX, double pCamY, double pCamZ, BlockPos pPos, BlockState pState) private voidLevelRenderer.setBlockDirty(BlockPos pPos, boolean pReRenderOnMainThread) voidLevelRenderer.setBlockDirty(BlockPos pPos, BlockState pOldState, BlockState pNewState) private voidLevelRenderer.shootParticles(int pDirection, BlockPos pPos, RandomSource pRandom, SimpleParticleType pParticleType) private voidLevelRenderer.stopJukeboxSong(BlockPos pPos) voidLevelRenderer.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.AmbientOcclusionFace.calculate(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection, float[] pShape, BitSet pShapeFlags, boolean pShade) private floatLiquidBlockRenderer.calculateAverageHeight(BlockAndTintGetter pLevel, Fluid pFluid, float pCurrentHeight, float pHeight1, float pHeight2, BlockPos pPos) private voidModelBlockRenderer.calculateShape(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, int[] pVertices, Direction pDirection, float[] pShape, BitSet pShapeFlags) Calculates the shape and corresponding flags for the specifieddirectionandvertices, storing the resulting shape in the specifiedshapearray and the shape flags inshapeFlags.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) floatModelBlockRenderer.Cache.getShadeBrightness(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos) BlockModelShaper.getTexture(BlockState p_110883_, Level level, BlockPos pos) private static booleanLiquidBlockRenderer.isFaceOccludedByNeighbor(BlockGetter pLevel, BlockPos pPos, Direction pSide, float pHeight, BlockState pBlockState) private static booleanLiquidBlockRenderer.isFaceOccludedBySelf(BlockGetter pLevel, BlockPos pPos, BlockState pState, Direction pFace) private static booleanLiquidBlockRenderer.isFaceOccludedByState(BlockGetter pLevel, Direction pFace, float pHeight, BlockPos pPos, BlockState pState) private voidModelBlockRenderer.putQuadData(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, VertexConsumer pConsumer, PoseStack.Pose pPose, BakedQuad pQuad, float pBrightness0, float pBrightness1, float pBrightness2, float pBrightness3, int pLightmap0, int pLightmap1, int pLightmap2, int pLightmap3, int pPackedOverlay) voidBlockRenderDispatcher.renderBatched(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom) voidBlockRenderDispatcher.renderBatched(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, ModelData modelData, RenderType renderType) voidBlockRenderDispatcher.renderBreakingTexture(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer) Deprecated.voidBlockRenderDispatcher.renderBreakingTexture(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, ModelData modelData) voidBlockRenderDispatcher.renderLiquid(BlockPos pPos, BlockAndTintGetter pLevel, VertexConsumer pConsumer, BlockState pBlockState, FluidState pFluidState) private voidModelBlockRenderer.renderModelFaceAO(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, List<BakedQuad> pQuads, float[] pShape, BitSet pShapeFlags, ModelBlockRenderer.AmbientOcclusionFace pAoFace, int pPackedOverlay) private voidModelBlockRenderer.renderModelFaceFlat(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, int pPackedLight, int pPackedOverlay, boolean pRepackLight, PoseStack pPoseStack, VertexConsumer pConsumer, List<BakedQuad> pQuads, BitSet pShapeFlags) static booleanLiquidBlockRenderer.shouldRenderFace(BlockAndTintGetter level, BlockPos pos, FluidState fluidState, BlockState selfState, Direction direction, BlockState otherState) static booleanLiquidBlockRenderer.shouldRenderFace(BlockAndTintGetter pLevel, BlockPos pPos, FluidState pFluidState, BlockState pBlockState, Direction pSide, FluidState pNeighborFluid) Deprecated.Neo: use overload that accepts BlockStatevoidLiquidBlockRenderer.tesselate(BlockAndTintGetter pLevel, BlockPos pPos, VertexConsumer pBuffer, BlockState pBlockState, FluidState pFluidState) voidModelBlockRenderer.tesselateBlock(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.voidModelBlockRenderer.tesselateBlock(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay, ModelData modelData, RenderType renderType) voidModelBlockRenderer.tesselateWithAO(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.voidModelBlockRenderer.tesselateWithAO(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay, ModelData modelData, RenderType renderType) voidModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.voidModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay, ModelData modelData, RenderType renderType) -
Uses of BlockPos in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type BlockPosModifier and TypeMethodDescription(package private) static booleanSignRenderer.isOutlineVisible(BlockPos pPos, int pTextColor) private voidPistonHeadRenderer.renderBlock(BlockPos pPos, BlockState pState, PoseStack pPoseStack, MultiBufferSource pBufferSource, Level pLevel, boolean pExtended, int pPackedOverlay) (package private) voidSignRenderer.renderSignText(BlockPos pPos, SignText pText, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pLineHeight, int pMaxWidth, boolean pIsFrontText) -
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.getOrigin()SectionRenderDispatcher.RenderSection.getRelativeOrigin(Direction pDirection) Methods in net.minecraft.client.renderer.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionprivate booleanSectionRenderDispatcher.RenderSection.doesChunkExistAt(BlockPos pPos) RenderChunk.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 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 pEntity, BlockPos pPos) 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 intEntityRenderer.getSkyLightLevel(T pEntity, BlockPos pPos) private static voidEntityRenderDispatcher.renderBlockShadow(PoseStack.Pose pPose, VertexConsumer pVertexConsumer, ChunkAccess pChunk, LevelReader pLevel, BlockPos pPos, double pX, double pY, double pZ, float pSize, float pWeight) -
Uses of BlockPos in net.minecraft.client.renderer.item
Methods in net.minecraft.client.renderer.item with parameters of type BlockPosModifier and TypeMethodDescriptionprivate doubleCompassItemPropertyFunction.getAngleFromEntityToPos(Entity pEntity, BlockPos pPos) private floatCompassItemPropertyFunction.getRotationTowardsCompassTarget(Entity pEntity, long pTicks, BlockPos pPos) -
Uses of BlockPos in net.minecraft.client.resources.model
Methods in net.minecraft.client.resources.model with parameters of type BlockPosModifier and TypeMethodDescriptionMultiPartBakedModel.getModelData(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) WeightedBakedModel.getModelData(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) -
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 pDistance) Offset this vector upwards by the given distance.BlockPos.atY(int pY) BlockPos.below()BlockPos.below(int pDistance) Offset this vector downwards by the given distance.SectionPos.center()static BlockPosBlockPos.containing(double pX, double pY, double pZ) static BlockPosBlockPos.containing(Position pPosition) Calculate the cross product of this and the given VectorBlockPos.east()BlockPos.east(int pDistance) BlockPos.immutable()BlockPos.MutableBlockPos.immutable()BlockBox.max()Returns the value of themaxrecord component.static BlockPosBlockBox.min()Returns the value of theminrecord component.static BlockPosBlockPos.multiply(int pScalar) BlockPos.MutableBlockPos.multiply(int pScalar) BlockPos.north()BlockPos.north(int pDistance) static BlockPosBlockPos.of(long pPackedPos) BlockPos.MutableBlockPos.offset(int pDx, int pDy, int pDz) BlockPos.offset(int pDx, int pDy, int pDz) SectionPos.origin()GlobalPos.pos()Returns the value of theposrecord component.BlockPos.MutableBlockPos.relative(Direction.Axis pAxis, int pAmount) Offsets this Vector by the given distance in the specified direction.BlockPos.relative(Direction.Axis pAxis, int pAmount) Offsets this Vector by the given distance in the specified direction.SectionPos.relativeToBlockPos(short pPos) BlockPos.south()BlockPos.south(int pDistance) BlockPos.west()BlockPos.west(int pDistance) Methods in net.minecraft.core that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBlockPos.betweenClosed(int pX1, int pY1, int pZ1, int pX2, int pY2, int pZ2) Creates an Iterable that returns all positions in the box specified by the given corners.BlockPos.betweenClosed(BlockPos pFirstPos, BlockPos pSecondPos) BlockPos.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 pDepth, int pVisitLimit, BiConsumer<BlockPos, Consumer<BlockPos>> pAction, Predicate<BlockPos> pPredicate) booleanBlockPos.findClosestMatch(BlockPos pPos, int pWidth, int pHeight, Predicate<BlockPos> pPosFilter) static BlockPosstatic BlockPosstatic BlockBoxstatic BlockBoxstatic GlobalPosGlobalPos.of(ResourceKey<Level> p_122644_, BlockPos p_122645_) 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 pDepth, int pVisitLimit, BiConsumer<BlockPos, Consumer<BlockPos>> pAction, Predicate<BlockPos> pPredicate) static intBlockPos.breadthFirstTraversal(BlockPos pStartPos, int pDepth, int pVisitLimit, BiConsumer<BlockPos, Consumer<BlockPos>> pAction, Predicate<BlockPos> pPredicate) static intBlockPos.breadthFirstTraversal(BlockPos pStartPos, int pDepth, int pVisitLimit, BiConsumer<BlockPos, Consumer<BlockPos>> pAction, Predicate<BlockPos> pPredicate) 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 TypeMethodDescriptionstatic ItemInteractionResultCauldronInteraction.emptyBucket(Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pFilledStack, BlockState pState, SoundEvent pEmptySound) static ItemInteractionResultCauldronInteraction.fillBucket(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pEmptyStack, ItemStack pFilledStack, Predicate<BlockState> pStatePredicate, SoundEvent pFillSound) CauldronInteraction.interact(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 booleanShearsDispenseItemBehavior.tryShearBeehive(ServerLevel pLevel, BlockPos pPos) private static booleanShearsDispenseItemBehavior.tryShearLivingEntity(ServerLevel pLevel, BlockPos pPos, ItemStack stack) 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 BlockPosMethods in net.minecraft.core.particles that return BlockPosMethods in net.minecraft.core.particles with parameters of type BlockPos -
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 BlockPosGameTestInfo.northWestCornerprivate final BlockPosGameTestAssertPosException.relativePosprivate final BlockPosGameTestServer.spawnPosprivate BlockPosGameTestInfo.structureBlockPosFields 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) (package private) static BlockPosTestCommand.createTestPositionAround(CommandSourceStack pSource) GameTestAssertPosException.getAbsolutePos()private static BlockPosReportGameListener.getBeaconPos(GameTestInfo pTestInfo) private BlockPosGameTestInfo.getOrCalculateNorthwestCorner()GameTestAssertPosException.getRelativePos()GameTestInfo.getStructureBlockPos()static BlockPosStructureUtils.getStructureOrigin(StructureBlockEntity pStructureBlockEntity) 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.findNearestStructureBlock(BlockPos pPos, int pRadius, ServerLevel pLevel) StructureUtils.findStructureBlockContainingPos(BlockPos pPos, int pRadius, ServerLevel pServerLevel) StructureBlockPosFinder.findStructureBlockPos()TestFinder.findStructureBlockPos()StructureUtils.findStructureBlocks(BlockPos pPos, int pRadius, ServerLevel pLevel) StructureUtils.findStructureByTestFunction(BlockPos pPos, int pRadius, ServerLevel pLevel, String pTestName) StructureUtils.lookedAtStructureBlockPos(BlockPos pPos, Entity pEntity, ServerLevel pLevel) Methods in net.minecraft.gametest.framework with parameters of type BlockPosModifier and TypeMethodDescriptionGameTestHelper.absolutePos(BlockPos pPos) static voidStructureUtils.addCommandBlockAndButtonToStartTest(BlockPos pStructureBlockPos, BlockPos pOffset, Rotation pRotation, ServerLevel pServerLevel) voidGameTestHelper.assertAtTickTimeContainerContains(long pTickTime, BlockPos pPos, Item pItem) voidGameTestHelper.assertAtTickTimeContainerEmpty(long pTickTime, BlockPos pPos) voidGameTestHelper.assertBlock(BlockPos pPos, Predicate<Block> pPredicate, String pExceptionMessage) voidGameTestHelper.assertBlock(BlockPos pPos, Predicate<Block> pPredicate, Supplier<String> pExceptionMessage) <T extends BlockEntity>
voidGameTestHelper.assertBlockEntityData(BlockPos pPos, Predicate<T> pPredicate, Supplier<String> pExceptionMessage) 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, String pExceptionMessage) <T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty(BlockPos pPos, Property<T> pProperty, T pValue) voidGameTestHelper.assertBlockState(BlockPos pPos, Predicate<BlockState> pPredicate, Supplier<String> pExceptionMessage) voidGameTestHelper.assertContainerContains(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) 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) 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<String> pExceptionMessage) voidGameTestHelper.assertSameBlockState(BlockPos pTestPos, BlockPos pComparisonPos) voidGameTestHelper.assertSameBlockStates(BoundingBox pBoundingBox, BlockPos pPos) private static voidStructureUtils.clearBlock(int pStructureBlockY, BlockPos pPos, ServerLevel pServerLevel) static GameTestServerGameTestServer.create(Thread pServerThread, LevelStorageSource.LevelStorageAccess pStorageSource, PackRepository pPackRepository, Collection<TestFunction> pTestBatches, BlockPos pSpawnPos) private static Optional<GameTestInfo> TestCommand.createGameTestInfo(BlockPos pPos, ServerLevel pLevel, RetryOptions pRetryOptions) static voidStructureUtils.createNewEmptyStructureBlock(String pStructureName, BlockPos pPos, Vec3i pSize, Rotation pRotation, ServerLevel pServerLevel) private static StructureBlockEntityStructureUtils.createStructureBlock(GameTestInfo pGameTestInfo, BlockPos pPos, Rotation pRotation, ServerLevel pLevel) voidGameTestHelper.destroyBlock(BlockPos pPos) private static booleanStructureUtils.doesStructureContain(BlockPos pStructureBlockPos, BlockPos pPosToTest, ServerLevel pServerLevel) voidStructureUtils.findNearestStructureBlock(BlockPos pPos, int pRadius, ServerLevel pLevel) StructureUtils.findStructureBlockContainingPos(BlockPos pPos, int pRadius, ServerLevel pServerLevel) StructureUtils.findStructureBlocks(BlockPos pPos, int pRadius, ServerLevel pLevel) StructureUtils.findStructureByTestFunction(BlockPos pPos, int pRadius, ServerLevel pLevel, String pTestName) <T extends BlockEntity>
TGameTestHelper.getBlockEntity(BlockPos pPos) 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.lookedAtStructureBlockPos(BlockPos pPos, Entity pEntity, ServerLevel pLevel) voidstatic StructureBlockEntityStructureUtils.prepareTestStructure(GameTestInfo pGameTestInfo, BlockPos pPos, Rotation pRotation, ServerLevel pLevel) voidGameTestHelper.pressButton(BlockPos pPos) voidvoidGameTestHelper.pulseRedstone(BlockPos pPos, long pDelay) voidGameTestHelper.randomTick(BlockPos pPos) GameTestHelper.relativePos(BlockPos pPos) voidvoidGameTestHelper.setBlock(BlockPos pPos, BlockState pState) voidGameTestInfo.setNorthWestCorner(BlockPos pNorthWestCorner) (package private) voidGameTestInfo.setStructureBlockPos(BlockPos pPos) 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) voidGameTestHelper.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(String pExceptionMessage, BlockPos pAbsolutePos, BlockPos pRelativePos, long pTick) privateGameTestServer(Thread pServerThread, LevelStorageSource.LevelStorageAccess pStorageSource, PackRepository pPackRepository, WorldStem pWorldStem, Collection<TestFunction> pTestBatches, BlockPos pSpawnPos) StructureGridSpawner(BlockPos pNorthTestNorthWestCorner, int pTestsPerRow, boolean pClearOnBatch) -
Uses of BlockPos in net.minecraft.nbt
Methods in net.minecraft.nbt that return types with arguments of type BlockPosMethods in net.minecraft.nbt with parameters of type BlockPos -
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 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.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.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 BlockPosServerboundPlayerActionPacket.posprivate final BlockPosServerboundSetCommandBlockPacket.posprivate final BlockPosServerboundSetJigsawBlockPacket.posprivate final BlockPosServerboundSetStructureBlockPacket.posprivate final BlockPosServerboundSignUpdatePacket.posFields in net.minecraft.network.protocol.game with type parameters of type BlockPosMethods 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()Methods in net.minecraft.network.protocol.game that return types with arguments of type BlockPosMethods 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 p_195637_, BlockEntityType<?> p_195638_, CompoundTag p_195639_) ClientboundBlockEventPacket(BlockPos pPos, Block pBlock, int pB0, int pB1) ClientboundBlockUpdatePacket(BlockPos p_131738_, BlockState p_131739_) ClientboundBlockUpdatePacket(BlockGetter pBlockGetter, BlockPos pPos) ClientboundLevelEventPacket(int pType, BlockPos pPos, int pData, boolean pGlobalEvent) ClientboundOpenSignEditorPacket(BlockPos pPos, boolean pIsFrontText) ClientboundSetDefaultSpawnPositionPacket(BlockPos pPos, float pAngle) ServerboundBlockEntityTagQueryPacket(int pTransactionId, BlockPos pPos) ServerboundJigsawGeneratePacket(BlockPos pPos, int pLevels, boolean pKeepJigsaws) 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 pShowAir, boolean pShowBoundingBox, float pIntegrity, long pSeed) ServerboundSignUpdatePacket(BlockPos pPos, boolean pIsFrontText, String pLine1, String pLine2, String pLine3, String pLine4) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type BlockPosModifierConstructorDescriptionClientboundExplodePacket(double pX, double pY, double pZ, float pPower, List<BlockPos> pToBlow, Vec3 pKnockback, Explosion.BlockInteraction pBlockInteraction, ParticleOptions pSmallExplosionParticles, ParticleOptions pLargeExplosionParticles, Holder<SoundEvent> pExplosionSound) -
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 TypeMethodDescriptionprivate 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) SetBlockCommand.Filter.filter(BoundingBox pBoundingBox, BlockPos pPos, BlockInput pBlockInput, 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) private static BlockPosprivate static intSetBlockCommand.setBlock(CommandSourceStack pSource, BlockPos pPos, BlockInput pState, SetBlockCommand.Mode pMode, Predicate<BlockInWorld> pPredicate) 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) 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 BlockPosServerPlayer.raidOmenPositionprivate BlockPosServerPlayer.respawnPositionFields in net.minecraft.server.level with type parameters of type BlockPosMethods in net.minecraft.server.level that return BlockPosModifier and TypeMethodDescriptionServerPlayer.adjustSpawnLocation(ServerLevel pLevel, BlockPos pPos) 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()ServerPlayer.getRespawnPosition()static BlockPosPlayerRespawnLogic.getSpawnPosInChunk(ServerLevel pLevel, ChunkPos pChunkPos) 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 pLevel, BlockPos pPos) private booleanServerPlayer.bedBlocked(BlockPos pPos, Direction pDirection) private booleanServerPlayer.bedInRange(BlockPos pPos, Direction pDirection) voidChunkHolder.blockChanged(BlockPos pPos) voidServerChunkCache.blockChanged(BlockPos pPos) voidServerLevel.blockEvent(BlockPos pPos, Block pBlock, int pEventID, int pEventParam) voidServerLevel.blockUpdated(BlockPos pPos, Block pBlock) 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 pPos) 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 pPos) 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) private static Optional<ServerPlayer.RespawnPosAngle> ServerPlayer.findRespawnAndUseSpawnBlock(ServerLevel pLevel, BlockPos pPos, float pAngle, boolean pForced, boolean pKeepInventory) 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 pPos, ServerboundPlayerActionPacket.Action pAction, Direction pFace, int pMaxBuildHeight, int pSequence) 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 pPos, Predicate<FluidState> pPredicate) booleanServerLevel.isNaturalSpawningAllowed(BlockPos pPos) booleanServerLevel.isPositionEntityTicking(BlockPos pPos) booleanprivate booleanServerPlayer.isReachableBedBlock(BlockPos pPos) booleanWorldGenRegion.isStateAtPosition(BlockPos pPos, Predicate<BlockState> pState) booleanvoidServerLevel.levelEvent(Player pPlayer, int pType, BlockPos pPos, int pData) voidWorldGenRegion.levelEvent(Player pPlayer, int pType, BlockPos pPos, int pData) private voidWorldGenRegion.markPosForPostprocessing(BlockPos pPos) booleanServerLevel.mayInteract(Player pPlayer, BlockPos pPos) booleanServerPlayer.mayInteract(Level pLevel, BlockPos pPos) voidServerLevel.neighborChanged(BlockPos pPos, Block pBlock, BlockPos pFromPos) voidServerLevel.neighborChanged(BlockState pState, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) static ServerPlayer.RespawnPosAnglevoidServerLevel.onBlockStateChange(BlockPos pPos, BlockState pBlockState, BlockState pNewState) protected voidServerPlayer.onChangedBlock(ServerLevel pLevel, BlockPos pPos) voidWorldGenRegion.playSound(Player pPlayer, BlockPos pPos, SoundEvent pSound, SoundSource pCategory, float pVolume, float pPitch) Plays a sound.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) voidServerPlayer.setRespawnPosition(ResourceKey<Level> pDimension, BlockPos pPosition, float pAngle, boolean pForced, boolean pSendMessage) 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 pPos, Block pBlock) voidServerLevel.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlockType, Direction pSkipSide) Constructors in net.minecraft.server.level with parameters of type BlockPos -
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, MobSpawnType pSpawnType, ServerLevel pLevel, BlockPos pPos, int pAttempts, int pSpread, int pYOffset, SpawnUtil.Strategy pStrategy) -
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) static voidContainers.dropContentsOnDestroy(BlockState pState, BlockState pNewState, Level pLevel, BlockPos pPos) WorldlyContainerHolder.getContainer(BlockState pState, LevelAccessor pLevel, BlockPos pPos) static voidRandomizableContainer.setBlockEntityLootTable(BlockGetter pLevel, RandomSource pRandom, BlockPos pPs, ResourceKey<LootTable> pLootTable) -
Uses of BlockPos in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidWeavingMobEffect.spawnCobwebsRandomlyAround(Level 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 booleanTamableAnimal.canTeleportTo(BlockPos pPos) booleanEntity.canTrample(BlockState state, BlockPos pos, float 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> pGlowSquid, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanMob.checkMobSpawnRules(EntityType<? extends Mob> pType, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules(EntityType<T> pEntityType, ServerLevelAccessor pServerLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) private static voidLightningBolt.clearCopperOnLightningStrike(Level pLevel, BlockPos pPos) EntityType.create(ServerLevel pLevel, Consumer<T> pConsumer, BlockPos pPos, MobSpawnType pSpawnType, boolean pShouldOffsetY, 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) 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(Level pLevel, BlockPos pPos) voidprotected 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) voidEntity.setAsInsidePortal(Portal pPortal, BlockPos pPos) private voidLivingEntity.setPosToBed(BlockPos p_21081_) 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) EntityType.spawn(ServerLevel pLevel, Consumer<T> pConsumer, BlockPos pPos, MobSpawnType pSpawnType, boolean pShouldOffsetY, boolean pShouldOffsetYMore) EntityType.spawn(ServerLevel pLevel, BlockPos pPos, MobSpawnType pSpawnType) EntityType.spawn(ServerLevel pServerLevel, ItemStack pStack, Player pPlayer, BlockPos pPos, MobSpawnType pSpawnType, boolean pShouldOffsetY, boolean pShouldOffsetYMore) voidLivingEntity.startSleeping(BlockPos pPos) private voidTamableAnimal.teleportToAroundBlockPos(BlockPos pPos) booleanSpawnPlacements.SpawnPredicate.test(EntityType<T> pEntityType, ServerLevelAccessor pServerLevel, MobSpawnType pSpawnType, 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 final BlockPosLongJumpToRandomPos.PossibleJump.jumpTargetprivate BlockPosMoveToTargetSink.lastTargetPosprivate final BlockPosPrepareRamNearestTarget.RamCandidate.startPositionprivate BlockPosJumpOnBed.targetBedprivate 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()LongJumpToRandomPos.PossibleJump.getJumpTarget()private static BlockPosGoToTargetLocation.getNearbyPos(Mob pMob, BlockPos pPos) PrepareRamNearestTarget.RamCandidate.getStartPosition()PrepareRamNearestTarget.RamCandidate.getTargetPosition()private BlockPosHarvestFarmland.getValidFarmland(ServerLevel pServerLevel) 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 booleanprivate static booleanYieldJobSite.canReachPos(PathfinderMob pMob, BlockPos pPos, PoiType pPoi) static <E extends Mob>
booleanLongJumpToRandomPos.defaultAcceptableLandingSpot(E p_251540_, BlockPos p_248879_) 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 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 TypeMethodDescriptionGoToTargetLocation.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 pJumpTarget, int pWeight) 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 p_25593_) 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 BlockPosMethods in net.minecraft.world.entity.ai.village.poi that return BlockPosMethods 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 BlockPos -
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> pBat, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) 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.hivePosprivate BlockPosParrot.jukebox(package private) BlockPosBee.savedFlowerPosFields in net.minecraft.world.entity.animal with type parameters of type BlockPosModifier and TypeFieldDescriptionBee.BeeGoToHiveGoal.blacklistedTargetsprivate static final EntityDataAccessor<BlockPos> Turtle.HOME_POSprivate static final EntityDataAccessor<BlockPos> Turtle.TRAVEL_POSprivate static final EntityDataAccessor<BlockPos> Dolphin.TREASURE_POSMethods in net.minecraft.world.entity.animal that return BlockPosModifier and TypeMethodDescriptionBee.getHivePos()(package private) BlockPosTurtle.getHomePos()Bee.getSavedFlowerPos()(package private) BlockPosTurtle.getTravelPos()Dolphin.getTreasurePos()Methods in net.minecraft.world.entity.animal that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBee.BeePollinateGoal.findNearbyFlower()Bee.BeeLocateHiveGoal.findNearbyHivesWithSpace()Bee.BeePollinateGoal.findNearestBlock(Predicate<BlockState> pPredicate, double pDistance) 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> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, 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> pFox, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanMushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> pMushroomCow, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandomSource) static booleanOcelot.checkOcelotSpawnRules(EntityType<Ocelot> pOcelot, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanParrot.checkParrotSpawnRules(EntityType<Parrot> pParrot, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanPolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> pPolarBear, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanRabbit.checkRabbitSpawnRules(EntityType<Rabbit> pRabbit, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanWaterAnimal.checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> pWaterAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanTropicalFish.checkTropicalFishSpawnRules(EntityType<TropicalFish> pTropicalFish, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanTurtle.checkTurtleSpawnRules(EntityType<Turtle> pTurtle, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanWolf.checkWolfSpawnRules(EntityType<Wolf> pWolf, LevelAccessor pLevel, MobSpawnType pSpawnType, 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) (package private) booleanBee.isFlowerValid(BlockPos pPos) booleanTurtle.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 voidAbstractFish.playStepSound(BlockPos pPos, BlockState pBlock) protected voidBee.playStepSound(BlockPos pPos, BlockState pBlock) protected voidChicken.playStepSound(BlockPos pPos, BlockState pBlock) protected voidCow.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 voidSheep.playStepSound(BlockPos pPos, BlockState pBlock) protected voidTurtle.playStepSound(BlockPos pPos, BlockState pBlock) protected voidWolf.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) (package private) voidTurtle.setTravelPos(BlockPos pTravelPos) voidDolphin.setTreasurePos(BlockPos pPos) -
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 pY, boolean pOnGround, BlockState pState, BlockPos pPos) 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 pPos, BlockState pState) 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, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected voidArmadillo.playStepSound(BlockPos pPos, BlockState pState) -
Uses of BlockPos in net.minecraft.world.entity.animal.axolotl
Methods in net.minecraft.world.entity.animal.axolotl with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanAxolotl.checkAxolotlSpawnRules(EntityType<? extends LivingEntity> pAxolotl, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) floatAxolotl.getWalkTargetValue(BlockPos pPos, LevelReader pLevel) -
Uses of BlockPos in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidCamel.playStepSound(BlockPos pPos, BlockState pBlock) -
Uses of BlockPos in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanFrog.checkFrogSpawnRules(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) private static <E extends Mob>
booleanFrogAi.isAcceptableLandingSpot(E p_249699_, BlockPos p_250057_) protected voidFrog.playStepSound(BlockPos pPos, BlockState pState) -
Uses of BlockPos in net.minecraft.world.entity.animal.goat
Methods in net.minecraft.world.entity.animal.goat with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanGoat.checkGoatSpawnRules(EntityType<? extends Animal> pGoat, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected voidGoat.playStepSound(BlockPos pPos, BlockState pState) -
Uses of BlockPos in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanSkeletonHorse.checkSkeletonHorseSpawnRules(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanZombieHorse.checkZombieHorseSpawnRules(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, 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.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 pPos, BlockState pState) private SnifferSniffer.storeExploredPosition(BlockPos pPos) -
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(EndCrystal pCrystal, BlockPos pPos, DamageSource pDamageSource) voidEndCrystal.setBeamTarget(BlockPos p_31053_) 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 pPos, Direction pDirection) protected AABBPainting.calculateBoundingBox(BlockPos pPos, Direction pDirection) 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> pType, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) Static predicate for determining whether a monster can spawn at the provided location.static booleanDrowned.checkDrownedSpawnRules(EntityType<Drowned> pDrowned, ServerLevelAccessor pServerLevel, MobSpawnType pMobSpawnType, BlockPos pPos, RandomSource pRandom) static booleanEndermite.checkEndermiteSpawnRules(EntityType<Endermite> pEndermite, LevelAccessor pServerLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) protected voidStrider.checkFallDamage(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) static booleanGhast.checkGhastSpawnRules(EntityType<Ghast> pGhast, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanGuardian.checkGuardianSpawnRules(EntityType<? extends Guardian> pGuardian, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanHusk.checkHuskSpawnRules(EntityType<Husk> pHusk, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanMagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> pMagmaCube, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanMonster.checkMonsterSpawnRules(EntityType<? extends Monster> pType, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) Static predicate for determining whether a monster can spawn at the provided location, incorporating a check of the current light level at the location.static booleanPatrollingMonster.checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> pPatrollingMonster, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanSilverfish.checkSilverfishSpawnRules(EntityType<Silverfish> pSilverfish, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanSlime.checkSlimeSpawnRules(EntityType<Slime> pSlime, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanStray.checkStraySpawnRules(EntityType<Stray> pStray, ServerLevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanStrider.checkStriderSpawnRules(EntityType<Strider> pStrider, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> pZombifiedPiglin, LevelAccessor pLevel, MobSpawnType pSpawnType, 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.hoglin
Methods in net.minecraft.world.entity.monster.hoglin with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanHoglin.checkHoglinSpawnRules(EntityType<Hoglin> pHoglin, LevelAccessor pLevel, MobSpawnType pSpawnType, 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> pPiglin, LevelAccessor pLevel, MobSpawnType pSpawnType, 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 pPos, LevelReader pLevel) 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 pPos, BlockState pState) 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 intCatSpawner.spawnCat(BlockPos pPos, ServerLevel pServerLevel) private intCatSpawner.spawnInHut(ServerLevel pServerLevel, BlockPos pPos) private intCatSpawner.spawnInVillage(ServerLevel pServerLevel, 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.getDigSpeed(BlockState p_36282_, 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.protected voidPlayer.playStepSound(BlockPos pPos, BlockState pState) 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 p_37164_) booleanProjectile.mayInteract(Level pLevel, BlockPos pPos) 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(int pOffsetMultiplier, int pMaxTry) 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 p_37943_) voidprivate voidprivate voidprivate voidRaid.spawnGroup(BlockPos pPos) Constructors in net.minecraft.world.entity.raid with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidBoat.checkFallDamage(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) 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 entityprivate booleanAbstractMinecart.isRedstoneConductor(BlockPos pPos) protected voidAbstractMinecart.moveAlongTrack(BlockPos pPos, BlockState pState) protected voidMinecartFurnace.moveAlongTrack(BlockPos pPos, BlockState pState) voidAbstractMinecart.moveMinecartOnRail(BlockPos pos) static VoxelShapeDismountHelper.nonClimbableShape(BlockGetter pLevel, BlockPos pPos) booleanMinecartTNT.shouldBlockExplode(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) 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) booleanDebugStickItem.canAttackBlock(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) booleanItem.canAttackBlock(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) booleanMaceItem.canAttackBlock(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) booleanSwordItem.canAttackBlock(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) booleanTridentItem.canAttackBlock(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected booleanBucketItem.canBlockContainFluid(Player player, Level worldIn, BlockPos posIn, BlockState blockstate) protected booleanHangingSignItem.canPlace(LevelReader pLevel, BlockState pState, BlockPos pPos) protected booleanStandingAndWallBlockItem.canPlace(LevelReader pLevel, BlockState pState, BlockPos pPos) voidBucketItem.checkExtraContent(Player pPlayer, Level pLevel, ItemStack pContainerStack, BlockPos pPos) default voidDispensibleContainerItem.checkExtraContent(Player pPlayer, Level pLevel, ItemStack pContainerStack, BlockPos pPos) voidMobBucketItem.checkExtraContent(Player pPlayer, Level pLevel, ItemStack pContainerStack, BlockPos pPos) booleanBucketItem.emptyContents(Player pPlayer, Level pLevel, BlockPos pPos, BlockHitResult pResult) Deprecated.booleanBucketItem.emptyContents(Player pPlayer, Level pLevel, BlockPos pPos, BlockHitResult pResult, ItemStack container) booleanDispensibleContainerItem.emptyContents(Player pPlayer, Level pLevel, BlockPos pPos, BlockHitResult pResult) Deprecated.booleanSolidBucketItem.emptyContents(Player pPlayer, Level pLevel, BlockPos pPos, BlockHitResult pResult) 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(Player pPlayer, LevelAccessor pLevel, BlockPos pPos) protected voidMobBucketItem.playEmptySound(Player pPlayer, LevelAccessor pLevel, BlockPos pPos) private voidprivate voidMobBucketItem.spawn(ServerLevel pServerLevel, ItemStack pBucketedMobStack, BlockPos pPos) private static voidJukeboxSongPlayer.spawnMusicParticles(LevelAccessor pLevel, BlockPos pPos) static ItemInteractionResultJukeboxPlayable.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.posFields in net.minecraft.world.level with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final ForcedChunkManager.TicketTracker<BlockPos> ForcedChunksSavedData.blockForcedChunksprivate final it.unimi.dsi.fastutil.objects.ObjectArrayList<BlockPos> Explosion.toBlowMethods 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 TypeMethodDescriptionCollisionGetter.findSupportingBlock(Entity pEntity, AABB pBox) ForcedChunksSavedData.getBlockForcedChunks()Explosion.getToBlow()Methods in net.minecraft.world.level with parameters of type BlockPosModifier and TypeMethodDescriptionvoidvoidLevel.addDestroyBlockEffect(BlockPos pPos, BlockState pState) private static voidExplosion.addOrAppendStack(List<com.mojang.datafixers.util.Pair<ItemStack, BlockPos>> pDrops, ItemStack pStack, BlockPos pPos) static longvoidLevel.blockEntityChanged(BlockPos pPos) voidLevel.blockEvent(BlockPos pPos, Block pBlock, int pEventID, int pEventParam) default voidLevelAccessor.blockUpdated(BlockPos pPos, Block pBlock) 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) private <T> ScheduledTick<T> LevelAccessor.createTick(BlockPos pPos, T pType, int pDelay) private <T> ScheduledTick<T> LevelAccessor.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 pState, BlockGetter pBlock, BlockPos pPos, CollisionContext pCollisionContext) 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 pPos, BlockEntityType<T> pBlockEntityType) EmptyBlockGetter.getBlockEntity(BlockPos pPos) Level.getBlockEntity(BlockPos pPos) <T extends BlockEntity>
Optional<T> LevelSimulatedReader.getBlockEntity(BlockPos pPos, BlockEntityType<T> pType) PathNavigationRegion.getBlockEntity(BlockPos pPos) EntityBasedExplosionDamageCalculator.getBlockExplosionResistance(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) ExplosionDamageCalculator.getBlockExplosionResistance(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) SimpleExplosionDamageCalculator.getBlockExplosionResistance(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) default doubleBlockGetter.getBlockFloorHeight(BlockPos pPos) ClipContext.getBlockShape(BlockState pBlockState, BlockGetter pLevel, BlockPos pPos) BlockGetter.getBlockState(BlockPos p_45571_) EmptyBlockGetter.getBlockState(BlockPos pPos) Level.getBlockState(BlockPos pPos) PathNavigationRegion.getBlockState(BlockPos pPos) intBlockAndTintGetter.getBlockTint(BlockPos pBlockPos, ColorResolver pColorResolver) default intLevelReader.getBlockTint(BlockPos pBlockPos, ColorResolver pColorResolver) default intBlockAndTintGetter.getBrightness(LightLayer pLightType, BlockPos pBlockPos) default ChunkAccessprivate ChunkAccessLevel.getChunkAt(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) EmptyBlockGetter.getFluidState(BlockPos pPos) Level.getFluidState(BlockPos pPos) PathNavigationRegion.getFluidState(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 pPos, Predicate<FluidState> pPredicate) 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(Player pPlayer, 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(Player pPlayer, BlockPos pPos) private static WeightedRandomList<MobSpawnSettings.SpawnerData> NaturalSpawner.mobsAt(ServerLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, MobCategory pCategory, BlockPos pPos, Holder<Biome> pBiome) voidLevel.neighborChanged(BlockPos pPos, Block pBlock, BlockPos pFromPos) voidLevel.neighborChanged(BlockState pState, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) voidLevel.neighborShapeChanged(Direction pDirection, BlockState pQueried, BlockPos pPos, BlockPos pOffsetPos, int pFlags, int pRecursionLevel) default voidLevelAccessor.neighborShapeChanged(Direction pDirection, BlockState pQueried, BlockPos pPos, BlockPos pOffsetPos, int pFlags, int pRecursionLevel) voidLevel.onBlockStateChange(BlockPos pPos, BlockState pBlockState, BlockState pNewState) voidLevel.playLocalSound(BlockPos pPos, SoundEvent pSound, SoundSource pCategory, float pVolume, float pPitch, boolean pDistanceDelay) voidLevel.playSound(Entity pEntity, BlockPos pPos, SoundEvent pSound, SoundSource pCategory, float pVolume, float pPitch) voidLevel.playSound(Player pPlayer, BlockPos pPos, SoundEvent pSound, SoundSource pCategory, float pVolume, float pPitch) Plays a sound.default voidLevelAccessor.playSound(Player pPlayer, BlockPos pPos, SoundEvent pSound, SoundSource pSource) voidLevelAccessor.playSound(Player pPlayer, BlockPos pPos, SoundEvent pSound, SoundSource pSource, float pVolume, float pPitch) Plays a sound.booleanLevel.removeBlock(BlockPos pPos, boolean pIsMoving) booleanLevelWriter.removeBlock(BlockPos pPos, boolean pIsMoving) voidLevel.removeBlockEntity(BlockPos pPos) default voidLevelAccessor.scheduleTick(BlockPos pPos, Block pBlock, int pDelay) default voidLevelAccessor.scheduleTick(BlockPos pPos, Block pBlock, int pDelay, TickPriority pPriority) default voidLevelAccessor.scheduleTick(BlockPos pPos, Fluid pFluid, int pDelay) default voidLevelAccessor.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 pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) 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) voidLevel.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlockType, Direction pSkipSide) voidLevel.updateNeighbourForOutputSignal(BlockPos pPos, Block pBlock) Method parameters in net.minecraft.world.level with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate static voidExplosion.addOrAppendStack(List<com.mojang.datafixers.util.Pair<ItemStack, BlockPos>> pDrops, ItemStack pStack, BlockPos pPos) 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) Constructor parameters in net.minecraft.world.level with type arguments of type BlockPosModifierConstructorDescriptionExplosion(Level pLevel, Entity pSource, double pX, double pY, double pZ, float pRadius, boolean pFire, Explosion.BlockInteraction pBlockInteraction, List<BlockPos> pPositions) Explosion(Level pLevel, Entity pSource, double pX, double pY, double pZ, float pRadius, List<BlockPos> pToBlow, Explosion.BlockInteraction pBlockInteraction, ParticleOptions pSmallExplosionParticles, ParticleOptions pLargeExplosionParticles, Holder<SoundEvent> pExplosionSound) -
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 pX, int pY, int pZ, int pRadius, int pIncrement, Predicate<Holder<Biome>> pBiomePredicate, RandomSource pRandom, boolean pFindClosest, Climate.Sampler pSampler) BiomeSource.findClosestBiome3d(BlockPos pPos, int pRadius, int pHorizontalStep, int pVerticalStep, Predicate<Holder<Biome>> pBiomePredicate, Climate.Sampler pSampler, LevelReader pLevel) FixedBiomeSource.findClosestBiome3d(BlockPos pPos, int pRadius, int pHorizontalStep, int pVerticalStep, Predicate<Holder<Biome>> pBiomePredicate, Climate.Sampler pSampler, LevelReader pLevel) 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> pInfo, BlockPos pPos, Climate.Sampler pSampler) booleanBiome.coldEnoughToSnow(BlockPos pPos) BiomeSource.findClosestBiome3d(BlockPos pPos, int pRadius, int pHorizontalStep, int pVerticalStep, Predicate<Holder<Biome>> pBiomePredicate, Climate.Sampler pSampler, LevelReader pLevel) FixedBiomeSource.findClosestBiome3d(BlockPos pPos, int pRadius, int pHorizontalStep, int pVerticalStep, Predicate<Holder<Biome>> pBiomePredicate, Climate.Sampler pSampler, LevelReader pLevel) private floatBiome.getHeightAdjustedTemperature(BlockPos pPos) BiomeManager.getNoiseBiomeAtPosition(BlockPos pPos) Biome.getPrecipitationAt(BlockPos pPos) private floatBiome.getTemperature(BlockPos pPos) 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) booleanBiome.shouldSnow(LevelReader pLevel, BlockPos pPos) booleanBiome.warmEnoughToRain(BlockPos pPos) 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()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) RailState.getConnections()GrowingPlantBodyBlock.getHeadPos(BlockGetter pLevel, BlockPos pPos, Block pBlock) 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) private static booleanChorusFlowerBlock.allNeighborsEmpty(LevelReader pLevel, BlockPos pPos, Direction pExcludingSide) private static booleanBlocks.always(BlockState p_50775_, BlockGetter p_50776_, BlockPos p_50777_) static BooleanBlocks.always(BlockState p_50810_, BlockGetter p_50811_, BlockPos p_50812_, EntityType<?> p_50813_) private voidBeehiveBlock.angerNearbyBees(Level pLevel, BlockPos pPos) voidAbstractCandleBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBaseFireBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBeehiveBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBlastFurnaceBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).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 pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBrushableBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBubbleColumnBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidCampfireBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidCherryLeavesBlock.animateTick(BlockState p_272714_, Level p_272837_, BlockPos p_273218_, RandomSource p_273360_) voidCryingObsidianBlock.animateTick(BlockState p_221055_, Level p_221056_, BlockPos p_221057_, RandomSource p_221058_) voidEnchantingTableBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEnderChestBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndGatewayBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndPortalBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndRodBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidFallingBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidFurnaceBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLeavesBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLeverBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLightningRodBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidMyceliumBlock.animateTick(BlockState p_221789_, Level p_221790_, BlockPos p_221791_, RandomSource p_221792_) voidNetherPortalBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidPointedDripstoneBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedStoneOreBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedstoneTorchBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedstoneWallTorchBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedStoneWireBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRepeaterBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRespawnAnchorBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidSculkSensorBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidSmokerBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidSporeBlossomBlock.animateTick(BlockState p_222503_, Level p_222504_, BlockPos p_222505_, RandomSource p_222506_) voidTorchBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWallTorchBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWetSpongeBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWitherRoseBlock.animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).protected 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 pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) intSculkVeinBlock.attemptUseCharge(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) 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 intRedStoneWireBlock.calculateTargetStrength(Level pLevel, BlockPos pPos) 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, 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(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) booleanKelpBlock.canPlaceLiquid(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) booleanKelpPlantBlock.canPlaceLiquid(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) booleanLiquidBlockContainer.canPlaceLiquid(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) booleanSeagrassBlock.canPlaceLiquid(Player p_296226_, BlockGetter p_296449_, BlockPos p_154511_, BlockState p_154512_, Fluid p_295712_) default booleanSimpleWaterloggedBlock.canPlaceLiquid(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) booleanSlabBlock.canPlaceLiquid(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) booleanTallSeagrassBlock.canPlaceLiquid(Player p_296027_, 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 pLevel, BlockPos pPos, MultifaceSpreader.SpreadPos pSpreadPos) booleanMultifaceSpreader.SpreadConfig.canSpreadInto(BlockGetter pLevel, BlockPos pPos, MultifaceSpreader.SpreadPos pSpreadPos) 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 pState, LevelReader pLevel, BlockPos pPos) protected booleanBambooSaplingBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanBambooStalkBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) 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 pState, LevelReader pLevel, BlockPos pPos) protected booleanBigDripleafStemBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanBubbleColumnBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanBushBlock.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 pState, LevelReader pLevel, BlockPos pPos) protected booleanCandleCakeBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanCarpetBlock.canSurvive(BlockState p_152922_, LevelReader p_152923_, BlockPos p_152924_) protected booleanCeilingHangingSignBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) 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 pState, LevelReader pLevel, BlockPos pPos) protected booleanGrindstoneBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanGrowingPlantBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) 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 pState, LevelReader pLevel, BlockPos pPos) protected booleanMangrovePropaguleBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanMultifaceBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanMushroomBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) booleanPitcherCropBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) protected booleanPointedDripstoneBlock.canSurvive(BlockState pState, LevelReader pLevel, BlockPos pPos) 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 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)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) 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) Check the output signal of this diode and schedule a new block tick if it should change.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, DirectionProperty 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) 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<CraftingRecipe> 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) protected voidBasePressurePlateBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidBigDripleafBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidBubbleColumnBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidButtonBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidCactusBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidCampfireBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidCropBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidDetectorRailBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidEndGatewayBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidEndPortalBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidFrogspawnBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidHoneyBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidHopperBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidLavaCauldronBlock.entityInside(BlockState p_153506_, Level p_153507_, BlockPos p_153508_, Entity p_153509_) protected voidLayeredCauldronBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidNetherPortalBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) voidPitcherCropBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidPowderSnowBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidSweetBerryBushBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidTripWireBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidWaterlilyBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidWebBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected voidWitherRoseBlock.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) private voidCommandBlock.execute(BlockState pState, Level pLevel, BlockPos pPos, BaseCommandBlock pLogic, boolean pCanTrigger) private static voidCommandBlock.executeChain(Level pLevel, BlockPos pPos, Direction pDirection) private voidRespawnAnchorBlock.explode(BlockState pState, Level pLevel, BlockPos pPos2) static voidDeprecated.private static voidTntBlock.explode(Level pLevel, BlockPos pPos, LivingEntity pEntity) Deprecated.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 pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) voidBlock.fallOn(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) voidFarmBlock.fallOn(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) voidHayBlock.fallOn(Level p_153362_, BlockState p_153363_, BlockPos p_153364_, Entity p_153365_, float p_153366_) voidHoneyBlock.fallOn(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) voidPointedDripstoneBlock.fallOn(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) voidPowderSnowBlock.fallOn(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) voidSlimeBlock.fallOn(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) voidTurtleEggBlock.fallOn(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) 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) 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) Returns the analog signal this block emits.protected intBarrelBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intBeehiveBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intBrewingStandBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intCakeBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intCandleCakeBlock.getAnalogOutputSignal(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intChestBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intChiseledBookShelfBlock.getAnalogOutputSignal(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intCommandBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intComposterBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intCopperBulbBlock.getAnalogOutputSignal(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intCrafterBlock.getAnalogOutputSignal(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intDecoratedPotBlock.getAnalogOutputSignal(BlockState p_306206_, Level p_306113_, BlockPos p_306305_) protected intDetectorRailBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intDispenserBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intEndPortalFrameBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intHopperBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intJukeboxBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intLavaCauldronBlock.getAnalogOutputSignal(BlockState p_153502_, Level p_153503_, BlockPos p_153504_) protected intLayeredCauldronBlock.getAnalogOutputSignal(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intLecternBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intRespawnAnchorBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intSculkSensorBlock.getAnalogOutputSignal(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected intShulkerBoxBlock.getAnalogOutputSignal(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.static DirectionBedBlock.getBedOrientation(BlockGetter pLevel, BlockPos pPos) protected VoxelShapeCeilingHangingSignBlock.getBlockSupportShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) ChorusFlowerBlock.getBlockSupportShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShapeFenceGateBlock.getBlockSupportShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) 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 pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShapeSnowLayerBlock.getBlockSupportShape(BlockState pState, BlockGetter pReader, BlockPos pPos) protected VoxelShapeSoulSandBlock.getBlockSupportShape(BlockState pState, BlockGetter pReader, BlockPos pPos) protected VoxelShapeWallHangingSignBlock.getBlockSupportShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) static FluidPointedDripstoneBlock.getCauldronFillFluidType(ServerLevel pLevel, BlockPos pPos) AbstractBannerBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) AttachedStemBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) BambooSaplingBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) BigDripleafStemBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) Block.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) Deprecated.CandleCakeBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) CaveVinesBlock.getCloneItemStack(LevelReader p_304590_, BlockPos p_152967_, BlockState p_152968_) CaveVinesPlantBlock.getCloneItemStack(LevelReader p_304444_, BlockPos p_153008_, BlockState p_153009_) CropBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) DecoratedPotBlock.getCloneItemStack(LevelReader p_304622_, BlockPos p_294412_, BlockState p_294723_) EndGatewayBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) EndPortalBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) FlowerPotBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) FrostedIceBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) GrowingPlantBodyBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) LightBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) NetherPortalBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) NetherWartBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) ShulkerBoxBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) StemBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) SweetBerryBushBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) TallSeagrassBlock.getCloneItemStack(LevelReader p_304988_, BlockPos p_154750_, BlockState p_154751_) protected VoxelShapeBambooStalkBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBellBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBigDripleafBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 VoxelShapeMudBlock.getCollisionShape(BlockState p_221561_, BlockGetter p_221562_, BlockPos p_221563_, CollisionContext p_221564_) PitcherCropBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapePowderSnowBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeScaffoldingBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeSculkShriekerBlock.getCollisionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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) protected floatBambooSaplingBlock.getDestroyProgress(BlockState pState, Player pPlayer, BlockGetter pLevel, BlockPos pPos) Get the hardness of this Block relative to the ability of the given playerprotected floatBambooStalkBlock.getDestroyProgress(BlockState pState, Player pPlayer, BlockGetter pLevel, BlockPos pPos) Get the hardness of this Block relative to the ability of the given playerprivate static DimensionTransitionNetherPortalBlock.getDimensionTransitionFromExit(Entity pEntity, BlockPos pPos, BlockUtil.FoundRectangle pRectangle, ServerLevel pLevel, DimensionTransition.PostDimensionTransition pPostDimensionTransition) protected intBasePressurePlateBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intButtonBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intDetectorRailBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intDiodeBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intLecternBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intLeverBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intLightningRodBlock.getDirectSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the direct signal this block emits in the given direction.protected intObserverBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intRedstoneTorchBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intRedStoneWireBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.intSculkSensorBlock.getDirectSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the direct signal this block emits in the given direction.protected intTrappedChestBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intTripWireHookBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.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 pState, BlockGetter pLevel, BlockPos pPos) intConcretePowderBlock.getDustColor(BlockState pState, BlockGetter pReader, BlockPos pPos) intFallingBlock.getDustColor(BlockState pState, BlockGetter pLevel, BlockPos pPos) private DimensionTransitionNetherPortalBlock.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 pState, BlockGetter pLevel, BlockPos pPos) 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) protected intLeavesBlock.getLightBlock(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected intTintedGlassBlock.getLightBlock(BlockState p_154828_, BlockGetter p_154829_, BlockPos p_154830_) 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 pState, Level pLevel, BlockPos pPos) 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 VoxelShapeFenceBlock.getOcclusionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShapeFenceGateBlock.getOcclusionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShapeLecternBlock.getOcclusionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShapePointedDripstoneBlock.getOcclusionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShapePowderSnowBlock.getOcclusionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShapeSculkShriekerBlock.getOcclusionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShapeSkullBlock.getOcclusionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) 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 pLevel, Entity pEntity, BlockPos pPos) EndPortalBlock.getPortalDestination(ServerLevel pLevel, Entity pEntity, BlockPos pPos) NetherPortalBlock.getPortalDestination(ServerLevel pLevel, Entity pEntity, BlockPos pPos) Portal.getPortalDestination(ServerLevel pLevel, Entity pEntity, BlockPos pPos) private 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) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource), used for random model rotationsprotected longDoorBlock.getSeed(BlockState pState, BlockPos pPos) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource), used for random model rotationsprotected longDoublePlantBlock.getSeed(BlockState pState, BlockPos pPos) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource), used for random model rotationsprotected floatBarrierBlock.getShadeBrightness(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected floatLightBlock.getShadeBrightness(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected floatMudBlock.getShadeBrightness(BlockState p_221552_, BlockGetter p_221553_, BlockPos p_221554_) protected floatSnowLayerBlock.getShadeBrightness(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected floatSoulSandBlock.getShadeBrightness(BlockState pState, BlockGetter pLevel, BlockPos pPos) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeAirBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeAmethystClusterBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBigDripleafStemBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBrewingStandBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeBubbleColumnBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeButtonBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCactusBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeCandleCakeBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 VoxelShapeDeadBushBlock.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 VoxelShapeEnchantingTableBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeLiquidBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeMangrovePropaguleBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapeMultifaceBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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_) PinkPetalsBlock.getShape(BlockState p_273399_, BlockGetter p_273568_, BlockPos p_273314_, CollisionContext p_273274_) protected VoxelShapePipeBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) PitcherCropBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShapePointedDripstoneBlock.getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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) Returns the signal this block emits in the given direction.protected intButtonBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.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) Returns the signal this block emits in the given direction.protected intDetectorRailBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intDiodeBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.intJukeboxBlock.getSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected intLecternBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intLeverBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intLightningRodBlock.getSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected intObserverBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intPoweredBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intRedstoneTorchBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intRedstoneWallTorchBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intRedStoneWireBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intSculkSensorBlock.getSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected intTargetBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intTrappedChestBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intTripWireHookBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.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) Calculates what the signal strength of a pressure plate at the given location should be.protected intWeightedPressurePlateBlock.getSignalStrength(Level pLevel, BlockPos pPos) Calculates what the signal strength of a pressure plate at the given location should be.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 pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) MultifaceSpreader.SpreadConfig.getStateForPlacement(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) private BlockStateFireBlock.getStateWithAge(LevelAccessor pLevel, BlockPos pPos, int pAge) static BlockStateChorusPlantBlock.getStateWithConnections(BlockGetter pLevel, BlockPos pPos, BlockState pState) 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 pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) 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 pState, Level pLevel, BlockPos pPos, Biome.Precipitation pPrecipitation) voidLayeredCauldronBlock.handlePrecipitation(BlockState pState, Level pLevel, BlockPos pPos, Biome.Precipitation pPrecipitation) 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 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 pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanBambooStalkBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanBigDripleafBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanBigDripleafStemBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanBonemealableBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) 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 pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanCropBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanFungusBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanGlowLichenBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanGrassBlock.isBonemealSuccess(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) booleanGrowingPlantBodyBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanGrowingPlantHeadBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanMangroveLeavesBlock.isBonemealSuccess(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) booleanMangrovePropaguleBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanMossBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanMushroomBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanNetherrackBlock.isBonemealSuccess(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) booleanNyliumBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanPinkPetalsBlock.isBonemealSuccess(Level p_272604_, RandomSource p_273609_, BlockPos p_272988_, BlockState p_273231_) booleanPitcherCropBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanRootedDirtBlock.isBonemealSuccess(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) booleanSaplingBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanSeagrassBlock.isBonemealSuccess(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) booleanSeaPickleBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanSmallDripleafBlock.isBonemealSuccess(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) booleanStemBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanSweetBerryBushBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) booleanTallFlowerBlock.isBonemealSuccess(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) booleanTallGrassBlock.isBonemealSuccess(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) 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 p_51509_, BlockPos p_51510_) protected booleanBambooStalkBlock.isCollisionShapeFullBlock(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanPointedDripstoneBlock.isCollisionShapeFullBlock(BlockState pState, BlockGetter pLevel, BlockPos pPos) 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) Check if neighboring blocks are locking this diode.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 booleanstatic 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 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 pLevel, BlockPos pPos, BlockState pState) booleanBambooStalkBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanBigDripleafBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanBigDripleafStemBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanBonemealableBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) 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 pLevel, BlockPos pPos, BlockState pState) booleanCropBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanFungusBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanGlowLichenBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanGrassBlock.isValidBonemealTarget(LevelReader p_256229_, BlockPos p_256432_, BlockState p_255677_) booleanGrowingPlantBodyBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanGrowingPlantHeadBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanMangroveLeavesBlock.isValidBonemealTarget(LevelReader p_256534_, BlockPos p_256299_, BlockState p_255926_) booleanMangrovePropaguleBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanMossBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanMushroomBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanNetherrackBlock.isValidBonemealTarget(LevelReader p_256620_, BlockPos p_55003_, BlockState p_55004_) booleanNyliumBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanPinkPetalsBlock.isValidBonemealTarget(LevelReader p_272968_, BlockPos p_273762_, BlockState p_273662_) booleanPitcherCropBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanRootedDirtBlock.isValidBonemealTarget(LevelReader p_256100_, BlockPos p_255943_, BlockState p_255655_) booleanSaplingBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanSeagrassBlock.isValidBonemealTarget(LevelReader p_295512_, BlockPos p_154506_, BlockState p_154507_) booleanSeaPickleBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanSmallDripleafBlock.isValidBonemealTarget(LevelReader p_255772_, BlockPos p_154595_, BlockState p_154596_) booleanStemBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanSweetBerryBushBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) booleanTallFlowerBlock.isValidBonemealTarget(LevelReader p_256234_, BlockPos p_57304_, BlockState p_57305_) booleanTallGrassBlock.isValidBonemealTarget(LevelReader pLevel, BlockPos pPos, BlockState pState) 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 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 booleanBushBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanCropBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanDeadBushBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) private static booleanFrogspawnBlock.mayPlaceOn(BlockGetter pLevel, BlockPos pPos) protected booleanFungusBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanMangrovePropaguleBlock.mayPlaceOn(BlockState pState, BlockGetter pLevel, BlockPos pPos) 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 pState, BlockGetter pLevel, BlockPos pPos) 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 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 pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) protected voidBaseRailBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidBellBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidBigDripleafBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) protected voidCommandBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidCopperBulbBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) protected voidCrafterBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) protected voidDiodeBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidDispenserBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidDoorBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidFenceGateBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidFrostedIceBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidHopperBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidLiquidBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidNoteBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidRedstoneLampBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidRedstoneTorchBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidRedStoneWireBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidSpongeBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidStructureBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidTntBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidTrapDoorBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) private static booleanBlocks.never(BlockState p_50806_, BlockGetter p_50807_, BlockPos p_50808_) static BooleanBlocks.never(BlockState p_50779_, BlockGetter p_50780_, BlockPos p_50781_, EntityType<?> p_50782_) AbstractBannerBlock.newBlockEntity(BlockPos pPos, BlockState pState) AbstractSkullBlock.newBlockEntity(BlockPos pPos, BlockState pState) BarrelBlock.newBlockEntity(BlockPos pPos, BlockState pState) BeaconBlock.newBlockEntity(BlockPos pPos, BlockState pState) BedBlock.newBlockEntity(BlockPos pPos, BlockState pState) BeehiveBlock.newBlockEntity(BlockPos pPos, BlockState pState) BellBlock.newBlockEntity(BlockPos pPos, BlockState pState) BlastFurnaceBlock.newBlockEntity(BlockPos pPos, BlockState pState) BrewingStandBlock.newBlockEntity(BlockPos pPos, BlockState pState) BrushableBlock.newBlockEntity(BlockPos pPos, BlockState pState) CalibratedSculkSensorBlock.newBlockEntity(BlockPos p_277925_, BlockState p_277938_) CampfireBlock.newBlockEntity(BlockPos pPos, BlockState pState) CeilingHangingSignBlock.newBlockEntity(BlockPos pPos, BlockState pState) ChestBlock.newBlockEntity(BlockPos pPos, BlockState pState) ChiseledBookShelfBlock.newBlockEntity(BlockPos pPos, BlockState pState) CommandBlock.newBlockEntity(BlockPos pPos, BlockState pState) ComparatorBlock.newBlockEntity(BlockPos pPos, BlockState pState) ConduitBlock.newBlockEntity(BlockPos pPos, BlockState pState) CrafterBlock.newBlockEntity(BlockPos pPos, BlockState pState) DaylightDetectorBlock.newBlockEntity(BlockPos pPos, BlockState pState) DecoratedPotBlock.newBlockEntity(BlockPos p_273396_, BlockState p_272674_) DispenserBlock.newBlockEntity(BlockPos pPos, BlockState pState) DropperBlock.newBlockEntity(BlockPos p_153179_, BlockState p_153180_) EnchantingTableBlock.newBlockEntity(BlockPos pPos, BlockState pState) EnderChestBlock.newBlockEntity(BlockPos pPos, BlockState pState) EndGatewayBlock.newBlockEntity(BlockPos pPos, BlockState pState) EndPortalBlock.newBlockEntity(BlockPos pPos, BlockState pState) EntityBlock.newBlockEntity(BlockPos pPos, BlockState pState) FurnaceBlock.newBlockEntity(BlockPos pPos, BlockState pState) HopperBlock.newBlockEntity(BlockPos pPos, BlockState pState) JigsawBlock.newBlockEntity(BlockPos pPos, BlockState pState) JukeboxBlock.newBlockEntity(BlockPos pPos, BlockState pState) LecternBlock.newBlockEntity(BlockPos pPos, BlockState pState) SculkCatalystBlock.newBlockEntity(BlockPos p_222117_, BlockState p_222118_) SculkSensorBlock.newBlockEntity(BlockPos pPos, BlockState pState) SculkShriekerBlock.newBlockEntity(BlockPos pPos, BlockState pState) ShulkerBoxBlock.newBlockEntity(BlockPos pPos, BlockState pState) SignBlock.newBlockEntity(BlockPos pPos, BlockState pState) SmokerBlock.newBlockEntity(BlockPos pPos, BlockState pState) SpawnerBlock.newBlockEntity(BlockPos pPos, BlockState pState) StructureBlock.newBlockEntity(BlockPos pPos, BlockState pState) TrappedChestBlock.newBlockEntity(BlockPos pPos, BlockState pState) TrialSpawnerBlock.newBlockEntity(BlockPos p_311941_, BlockState p_312821_) VaultBlock.newBlockEntity(BlockPos p_324543_, BlockState p_323652_) WallHangingSignBlock.newBlockEntity(BlockPos pPos, BlockState pState) private static voidTripWireHookBlock.notifyNeighbors(Block pBlock, Level pLevel, BlockPos pPos, Direction pDirection) static BooleanBlocks.ocelotOrParrot(BlockState p_50822_, BlockGetter p_50823_, BlockPos p_50824_, EntityType<?> p_50825_) voidAnvilBlock.onBrokenAfterFall(Level pLevel, BlockPos pPos, FallingBlockEntity pFallingBlock) voidBrushableBlock.onBrokenAfterFall(Level pLevel, BlockPos pPos, FallingBlockEntity pFallingBlock) default voidFallable.onBrokenAfterFall(Level pLevel, BlockPos pPos, FallingBlockEntity pFallingBlock) voidPointedDripstoneBlock.onBrokenAfterFall(Level pLevel, BlockPos pPos, FallingBlockEntity pFallingBlock) voidTntBlock.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 pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) protected voidAbstractCandleBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidBellBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidButtonBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidDoorBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidFenceGateBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidLeverBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidTrapDoorBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) voidAnvilBlock.onLand(Level pLevel, BlockPos pPos, BlockState pState, BlockState pReplaceableState, FallingBlockEntity pFallingBlock) voidConcretePowderBlock.onLand(Level pLevel, BlockPos pPos, BlockState pState, BlockState pReplaceableState, FallingBlockEntity pFallingBlock) 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 world, 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 pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) 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 pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) 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 pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) voidFrostedIceBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected voidHopperBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected voidLightningRodBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) 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 pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) voidSnifferEggBlock.onPlace(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) 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) voidAbstractCauldronBlock.onRemove(BlockState p_60515_, Level p_60516_, BlockPos p_60517_, BlockState p_60518_, boolean p_60519_) protected voidAbstractFurnaceBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidBarrelBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidBasePressurePlateBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidBaseRailBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidBrewingStandBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidButtonBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidCampfireBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidChestBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidChiseledBookShelfBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected voidComposterBlock.onRemove(BlockState p_60515_, Level p_60516_, BlockPos p_60517_, BlockState p_60518_, boolean p_60519_) protected voidCrafterBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected voidDecoratedPotBlock.onRemove(BlockState p_305821_, Level p_306245_, BlockPos p_305894_, BlockState p_306294_, boolean p_306159_) protected voidDiodeBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidDispenserBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidHopperBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidJukeboxBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidLecternBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidLeverBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidLightningRodBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected voidObserverBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidRedstoneTorchBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidRedStoneWireBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidSculkSensorBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected voidSculkShriekerBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected voidShulkerBoxBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidTripWireBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidTripWireHookBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, 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) Called to open this furnace's container.protected voidFurnaceBlock.openContainer(Level pLevel, BlockPos pPos, Player pPlayer) Called to open this furnace's container.protected voidSmokerBlock.openContainer(Level pLevel, BlockPos pPos, Player pPlayer) Called to open this furnace's container.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 pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidBambooStalkBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidBigDripleafBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidBigDripleafStemBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidBonemealableBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) 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 pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidCropBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidFungusBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidGlowLichenBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidGrassBlock.performBonemeal(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) voidGrowingPlantBodyBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidGrowingPlantHeadBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidMangroveLeavesBlock.performBonemeal(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) voidMangrovePropaguleBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidMossBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidMushroomBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidNetherrackBlock.performBonemeal(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) voidNyliumBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidPinkPetalsBlock.performBonemeal(ServerLevel p_273476_, RandomSource p_273093_, BlockPos p_272601_, BlockState p_272683_) voidPitcherCropBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidRootedDirtBlock.performBonemeal(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) voidSaplingBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidSeagrassBlock.performBonemeal(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) voidSeaPickleBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidSmallDripleafBlock.performBonemeal(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) voidStemBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidSweetBerryBushBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) voidTallFlowerBlock.performBonemeal(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) voidTallGrassBlock.performBonemeal(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) BarrierBlock.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) BubbleColumnBlock.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) BucketPickup.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) LiquidBlock.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) PowderSnowBlock.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) default ItemStackSimpleWaterloggedBlock.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) 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) 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 pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) 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) Called after a player has successfully harvested this block.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) Called after a player has successfully harvested this block.voidIceBlock.playerDestroy(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) Called after a player has successfully harvested this block.voidTurtleEggBlock.playerDestroy(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) Called after a player has successfully harvested this block.BaseFireBlock.playerWillDestroy(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) BedBlock.playerWillDestroy(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) BeehiveBlock.playerWillDestroy(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) Block.playerWillDestroy(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) DecoratedPotBlock.playerWillDestroy(Level p_273590_, BlockPos p_273343_, BlockState p_272869_, Player p_273002_) DoorBlock.playerWillDestroy(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) DoublePlantBlock.playerWillDestroy(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) ShulkerBoxBlock.playerWillDestroy(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) TntBlock.playerWillDestroy(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) TripWireBlock.playerWillDestroy(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) private 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) private voidLecternBlock.popBook(BlockState pState, Level pLevel, BlockPos pPos) 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) protected booleanBambooStalkBlock.propagatesSkylightDown(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanBarrierBlock.propagatesSkylightDown(BlockState pState, BlockGetter pReader, BlockPos pPos) protected booleanBushBlock.propagatesSkylightDown(BlockState pState, BlockGetter pReader, BlockPos pPos) protected booleanCrossCollisionBlock.propagatesSkylightDown(BlockState pState, BlockGetter pReader, BlockPos pPos) protected booleanGlowLichenBlock.propagatesSkylightDown(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanLightBlock.propagatesSkylightDown(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanLiquidBlock.propagatesSkylightDown(BlockState pState, BlockGetter pReader, BlockPos pPos) protected booleanPipeBlock.propagatesSkylightDown(BlockState pState, BlockGetter pReader, BlockPos pPos) protected booleanShulkerBoxBlock.propagatesSkylightDown(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanTintedGlassBlock.propagatesSkylightDown(BlockState p_154824_, BlockGetter p_154825_, BlockPos p_154826_) protected booleanTransparentBlock.propagatesSkylightDown(BlockState p_309084_, BlockGetter p_309133_, BlockPos p_309097_) protected booleanVineBlock.propagatesSkylightDown(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected booleanWallBlock.propagatesSkylightDown(BlockState pState, BlockGetter pReader, BlockPos pPos) voidLeverBlock.pull(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) static BlockStateBlock.pushEntitiesUp(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos) protected voidBambooSaplingBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidBambooStalkBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidBeetrootBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidBuddingAmethystBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidCactusBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidChorusFlowerBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidCocoaBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidCropBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidFarmBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidGrowingPlantHeadBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidIceBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidLeavesBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidLiquidBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidMangrovePropaguleBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidMushroomBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidNetherPortalBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidNetherWartBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidNyliumBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.voidPitcherCropBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidPointedDripstoneBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidRedStoneOreBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidSaplingBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidSnowLayerBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidSpreadingSnowyDirtBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidStemBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidSugarCaneBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidSweetBerryBushBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.voidTorchflowerCropBlock.randomTick(BlockState p_273361_, ServerLevel p_273515_, BlockPos p_273546_, RandomSource p_273261_) protected voidTurtleEggBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidVineBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperBulbBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperDoorBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperFullBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperGrateBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperSlabBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperStairBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidWeatheringCopperTrapDoorBlock.randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected voidAbstractCauldronBlock.receiveStalactiteDrip(BlockState pState, Level pLevel, BlockPos pPos, Fluid pFluid) protected voidCauldronBlock.receiveStalactiteDrip(BlockState pState, Level pLevel, BlockPos pPos, Fluid pFluid) protected voidLayeredCauldronBlock.receiveStalactiteDrip(BlockState pState, Level pLevel, BlockPos pPos, Fluid pFluid) 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(LevelAccessor 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) Called by BlockItem after this block has been placed.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) Called by BlockItem after this block has been placed.voidCrafterBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.voidDiodeBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.voidDoorBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.voidDoublePlantBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.voidJukeboxBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.voidPitcherCropBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.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) Called by BlockItem after this block has been placed.voidTripWireHookBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.voidWitherSkullBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.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 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(BlockState pState, BlockGetter pLevel, BlockPos pOffset, Direction pFace, BlockPos pPos) 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 pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected voidInfestedBlock.spawnAfterBreak(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected voidRedStoneOreBlock.spawnAfterBreak(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected voidSculkCatalystBlock.spawnAfterBreak(BlockState p_222109_, ServerLevel p_222110_, BlockPos p_222111_, ItemStack p_222112_, boolean p_222113_) protected voidSculkSensorBlock.spawnAfterBreak(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected voidSculkShriekerBlock.spawnAfterBreak(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected voidSpawnerBlock.spawnAfterBreak(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected voidBaseFireBlock.spawnDestroyParticles(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState) 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) 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 voidRedStoneWireBlock.spawnParticlesAlongLine(Level pLevel, RandomSource pRandom, BlockPos pPos, Vec3 pParticleVec, Direction pXDirection, Direction pZDirection, float pMin, float pMax) private voidFrogspawnBlock.spawnTadpoles(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(LevelAccessor pLevel, BlockPos pPos) protected booleanMultifaceSpreader.DefaultSpreaderConfig.stateCanBeReplaced(BlockGetter pLevel, BlockPos pPos, BlockPos pSpreadPos, Direction pDirection, BlockState pState) booleanSculkVeinBlock.SculkVeinSpreaderConfig.stateCanBeReplaced(BlockGetter pLevel, BlockPos pPos, BlockPos pSpreadPos, Direction pDirection, BlockState pState) voidBlock.stepOn(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) voidMagmaBlock.stepOn(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) voidRedStoneOreBlock.stepOn(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) voidSculkSensorBlock.stepOn(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) voidSculkShriekerBlock.stepOn(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) voidSlimeBlock.stepOn(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) voidTurtleEggBlock.stepOn(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) 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 pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBambooStalkBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBarrelBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBasePressurePlateBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBigDripleafBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBigDripleafStemBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) voidBrushableBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidBubbleColumnBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidButtonBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCactusBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidChestBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidChorusFlowerBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidChorusPlantBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCommandBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidComparatorBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidComposterBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCoralBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCoralFanBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCoralPlantBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCoralWallFanBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidCrafterBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidDetectorRailBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidDiodeBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidDirtPathBlock.tick(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) protected voidDispenserBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidEnderChestBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidFallingBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidFarmBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidFireBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidFrogspawnBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidFrostedIceBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidGrowingPlantBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidLeavesBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidLecternBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidLightningRodBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidMagmaBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidObserverBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidPointedDripstoneBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidRedstoneLampBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidRedstoneTorchBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidScaffoldingBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidSculkCatalystBlock.tick(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) protected voidSculkSensorBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidSculkShriekerBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) voidSnifferEggBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidSoulSandBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidSugarCaneBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidTargetBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidTripWireBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected voidTripWireHookBlock.tick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private static voidDaylightDetectorBlock.tickEntity(Level p_153113_, BlockPos p_153114_, BlockState p_153115_, DaylightDetectorBlockEntity p_153116_) 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) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)is called.protected booleanComparatorBlock.triggerEvent(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)is called.protected booleanNoteBlock.triggerEvent(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)is called.protected voidSpongeBlock.tryAbsorbWater(Level pLevel, BlockPos pPos) 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, LevelAccessor pLevel, 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) Updates the shapes of indirect neighbors of this block.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) protected voidDetectorRailBlock.updatePowerToConnected(Level pLevel, BlockPos pPos, BlockState pState, boolean pPowered) protected BlockStateAmethystClusterBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateAttachedStemBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockStateBambooSaplingBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBambooStalkBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBannerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBarrierBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseCoralPlantTypeBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseCoralWallFanBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBasePressurePlateBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseRailBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseTorchBlock.updateShape(BlockState p_304418_, Direction p_304475_, BlockState p_304669_, LevelAccessor p_304637_, BlockPos p_304633_, BlockPos p_304603_) protected BlockStateBedBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBeehiveBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBellBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBigDripleafBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBigDripleafStemBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.BrushableBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBubbleColumnBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBushBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCactusBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCakeBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCampfireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCandleBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCandleCakeBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCarpetBlock.updateShape(BlockState p_152926_, Direction p_152927_, BlockState p_152928_, LevelAccessor p_152929_, BlockPos p_152930_, BlockPos p_152931_) protected BlockStateCeilingHangingSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockStateChainBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateChestBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor facing and neighbor state, returning a new state.protected BlockStateChorusFlowerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateChorusPlantBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCocoaBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.ComparatorBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateConcretePowderBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockStateConduitBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralFanBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralPlantBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralWallFanBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateDecoratedPotBlock.updateShape(BlockState p_276307_, Direction p_276322_, BlockState p_276280_, LevelAccessor p_276320_, BlockPos p_276270_, BlockPos p_276312_) protected BlockStateDirtPathBlock.updateShape(BlockState p_153152_, Direction p_153153_, BlockState p_153154_, LevelAccessor p_153155_, BlockPos p_153156_, BlockPos p_153157_) protected BlockStateDoorBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateDoublePlantBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateEnderChestBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFaceAttachedHorizontalDirectionalBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFallingBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFarmBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFenceBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFenceGateBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFlowerPotBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFrogspawnBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGlowLichenBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGrowingPlantBodyBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGrowingPlantHeadBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateHangingRootsBlock.updateShape(BlockState p_153351_, Direction p_153352_, BlockState p_153353_, LevelAccessor p_153354_, BlockPos p_153355_, BlockPos p_153356_) protected BlockStateHeavyCoreBlock.updateShape(BlockState p_338756_, Direction p_338189_, BlockState p_338723_, LevelAccessor p_338514_, BlockPos p_338346_, BlockPos p_338401_) protected BlockStateHugeMushroomBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateIronBarsBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLadderBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLanternBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLeavesBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLightBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLightningRodBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLiquidBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMagmaBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMangrovePropaguleBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMangroveRootsBlock.updateShape(BlockState p_221514_, Direction p_221515_, BlockState p_221516_, LevelAccessor p_221517_, BlockPos p_221518_, BlockPos p_221519_) protected BlockStateMultifaceBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateNetherPortalBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateNoteBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateObserverBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.PitcherCropBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStatePointedDripstoneBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRedstoneWallTorchBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRedStoneWireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRepeaterBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateScaffoldingBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkSensorBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkShriekerBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkVeinBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSeagrassBlock.updateShape(BlockState p_154530_, Direction p_154531_, BlockState p_154532_, LevelAccessor p_154533_, BlockPos p_154534_, BlockPos p_154535_) protected BlockStateSeaPickleBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSlabBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSmallDripleafBlock.updateShape(BlockState p_154625_, Direction p_154626_, BlockState p_154627_, LevelAccessor p_154628_, BlockPos p_154629_, BlockPos p_154630_) protected BlockStateSnowLayerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSnowyDirtBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSoulFireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSoulSandBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSporeBlossomBlock.updateShape(BlockState p_154713_, Direction p_154714_, BlockState p_154715_, LevelAccessor p_154716_, BlockPos p_154717_, BlockPos p_154718_) protected BlockStateStairBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateStandingSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSugarCaneBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTrapDoorBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTripWireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTripWireHookBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateVineBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallBannerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.private BlockStateWallBlock.updateShape(LevelReader pLevel, BlockState pState, BlockPos pPos, BlockState pNeighbour, boolean pNorthConnection, boolean pEastConnection, boolean pSouthConnection, boolean pWestConnection) protected BlockStateWallHangingSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallTorchBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWaterloggedTransparentBlock.updateShape(BlockState p_313906_, Direction p_313739_, BlockState p_313829_, LevelAccessor p_313692_, BlockPos p_313842_, BlockPos p_313843_) 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) 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 ItemInteractionResultAbstractCauldronBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultBeehiveBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultCakeBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultCampfireBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultCandleBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultCandleCakeBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultCeilingHangingSignBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultChiseledBookShelfBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultComposterBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultDecoratedPotBlock.useItemOn(ItemStack p_316569_, BlockState p_316562_, Level p_316177_, BlockPos p_316898_, Player p_316632_, InteractionHand p_316424_, BlockHitResult p_316345_) protected ItemInteractionResultFenceBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultFlowerPotBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultJukeboxBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultLecternBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultNoteBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultPumpkinBlock.useItemOn(ItemStack p_316383_, BlockState p_316676_, Level p_316272_, BlockPos p_316484_, Player p_316367_, InteractionHand p_316216_, BlockHitResult p_316827_) protected ItemInteractionResultRedStoneOreBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultRespawnAnchorBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultSignBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultSweetBerryBushBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResultTntBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) VaultBlock.useItemOn(ItemStack p_324161_, BlockState p_323816_, Level p_324403_, BlockPos p_324623_, Player p_324219_, InteractionHand p_324416_, BlockHitResult p_324261_) protected ItemInteractionResultWallHangingSignBlock.useItemOn(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResultAbstractFurnaceBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultAnvilBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultBarrelBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultBeaconBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultBedBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultBellBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultBrewingStandBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultButtonBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultCakeBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultCandleCakeBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultCartographyTableBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) 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 pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultChiseledBookShelfBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultCommandBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultComparatorBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultComposterBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultCrafterBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultCraftingTableBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultDaylightDetectorBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultDecoratedPotBlock.useWithoutItem(BlockState p_316866_, Level p_316544_, BlockPos p_316541_, Player p_316732_, BlockHitResult p_316860_) protected InteractionResultDispenserBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultDoorBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultDragonEggBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultEnchantingTableBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultEnderChestBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultFenceBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultFenceGateBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultFletchingTableBlock.useWithoutItem(BlockState p_53501_, Level p_53502_, BlockPos p_53503_, Player p_53504_, BlockHitResult p_53506_) protected InteractionResultFlowerPotBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultGrindstoneBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultHopperBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultJigsawBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultJukeboxBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultLecternBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultLeverBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultLightBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultLoomBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultNoteBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultRedStoneWireBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultRepeaterBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultRespawnAnchorBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultShulkerBoxBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultSignBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultSmithingTableBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultStonecutterBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultStructureBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultSweetBerryBushBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResultTrapDoorBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) voidBlock.wasExploded(Level pLevel, BlockPos pPos, Explosion pExplosion) Called when this Block is destroyed by an ExplosionvoidTntBlock.wasExploded(Level pLevel, BlockPos pPos, Explosion pExplosion) Called when this Block is destroyed by an ExplosionMethod 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, DirectionProperty 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 pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidBellBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidButtonBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidDoorBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidFenceGateBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidLeverBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidTrapDoorBlock.onExplosionHit(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) Constructors in net.minecraft.world.level.block with parameters of type BlockPosModifierConstructorDescriptionChargeCursor(BlockPos pPos, int pCharge) privateChargeCursor(BlockPos pPos, int pCharge, int p_222301_, int p_222302_, Optional<Set<Direction>> p_222303_) (package private)FluidInfo(BlockPos pos, Fluid fluid, BlockState sourceState) Creates an instance of 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 BlockPosTheEndGatewayBlockEntity.exitPortalprivate 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(CompoundTag pTag) StructureBlockEntity.getStructurePos()Methods in net.minecraft.world.level.block.entity that return types with arguments of type BlockPosModifier and TypeMethodDescriptionStructureBlockEntity.getRelatedCorners(BlockPos pMinPos, BlockPos pMaxPos) 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 pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, GameEvent.Context pContext) booleanSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, GameEvent.Context pContext) 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(Level pLevel, BlockPos pPos, BlockState pState, CampfireBlockEntity pBlockEntity) 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) private static ContainerHopperBlockEntity.getContainerAt(Level pLevel, BlockPos pPos, BlockState pState, double pX, double pY, double pZ) 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) 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 p_155187_, BlockPos p_155188_, List<LivingEntity> p_155189_) 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 pLevel, BlockPos pPos, Holder<GameEvent> pGameEvent, Entity pEntity, Entity pPlayerEntity, float pDistance) 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) 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) private static voidContainerOpenersCounter.scheduleRecheck(Level pLevel, BlockPos pPos, BlockState pState) static voidAbstractFurnaceBlockEntity.serverTick(Level pLevel, BlockPos pPos, BlockState pState, AbstractFurnaceBlockEntity pBlockEntity) 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 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 p_155208_, BlockPos p_155209_, List<LivingEntity> p_155210_) 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 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) 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<?> pType, BlockPos pPos, BlockState pBlockState) BeaconBlockEntity(BlockPos pPos, BlockState pBlockState) BedBlockEntity(BlockPos pPos, BlockState pBlockState) BedBlockEntity(BlockPos pPos, BlockState pBlockState, DyeColor pColor) BeehiveBlockEntity(BlockPos pPos, BlockState pBlockState) BellBlockEntity(BlockPos pPos, BlockState pBlockState) BlastFurnaceBlockEntity(BlockPos pPos, BlockState pBlockState) BlockEntity(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) BrewingStandBlockEntity(BlockPos pPos, BlockState pState) BrushableBlockEntity(BlockPos pPos, BlockState pBlockState) CalibratedSculkSensorBlockEntity(BlockPos pPos, BlockState pBlockState) CampfireBlockEntity(BlockPos pPos, BlockState pBlockState) ChestBlockEntity(BlockPos pPos, BlockState pBlockState) protectedChestBlockEntity(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) ChiseledBookShelfBlockEntity(BlockPos pPos, BlockState pState) CommandBlockEntity(BlockPos pPos, BlockState pBlockState) ComparatorBlockEntity(BlockPos pPos, BlockState pBlockState) ConduitBlockEntity(BlockPos pPos, BlockState pBlockState) CrafterBlockEntity(BlockPos pPos, BlockState pState) DaylightDetectorBlockEntity(BlockPos pPos, BlockState pBlockState) DecoratedPotBlockEntity(BlockPos pPos, BlockState pState) DispenserBlockEntity(BlockPos pPos, BlockState pBlockState) protectedDispenserBlockEntity(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) DropperBlockEntity(BlockPos p_155498_, BlockState p_155499_) EnchantingTableBlockEntity(BlockPos pPos, BlockState pState) EnderChestBlockEntity(BlockPos pPos, BlockState pBlockState) FurnaceBlockEntity(BlockPos pPos, BlockState pBlockState) HangingSignBlockEntity(BlockPos p_250603_, BlockState p_251674_) HopperBlockEntity(BlockPos pPos, BlockState pBlockState) JigsawBlockEntity(BlockPos pPos, BlockState pBlockState) JukeboxBlockEntity(BlockPos pPos, BlockState pBlockState) LecternBlockEntity(BlockPos pPos, BlockState pBlockState) protectedRandomizableContainerBlockEntity(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) SculkCatalystBlockEntity(BlockPos pPos, BlockState pBlockState) SculkSensorBlockEntity(BlockPos pPos, BlockState pBlockState) protectedSculkSensorBlockEntity(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) SculkShriekerBlockEntity(BlockPos pPos, BlockState pBlockState) ShulkerBoxBlockEntity(BlockPos pPos, BlockState pBlockState) ShulkerBoxBlockEntity(DyeColor pColor, BlockPos pPos, BlockState pBlockState) SignBlockEntity(BlockPos pPos, BlockState pBlockState) SignBlockEntity(BlockEntityType pType, BlockPos pPos, BlockState pBlockState) SkullBlockEntity(BlockPos pPos, BlockState pBlockState) SmokerBlockEntity(BlockPos pPos, BlockState pBlockState) SpawnerBlockEntity(BlockPos pPos, BlockState pBlockState) StructureBlockEntity(BlockPos pPos, BlockState pBlockState) TheEndGatewayBlockEntity(BlockPos pPos, BlockState pBlockState) TheEndPortalBlockEntity(BlockPos pPos, BlockState pBlockState) protectedTheEndPortalBlockEntity(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) TrappedChestBlockEntity(BlockPos p_155862_, BlockState p_155863_) TrialSpawnerBlockEntity(BlockPos pPos, BlockState pState) VibrationUser(BlockPos pPos) VibrationUser(BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner with parameters of type BlockPosModifier and TypeMethodDescriptionstatic 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) SimpleWeightedRandomList<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) (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 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) Called after this block has been removed by a player.private static voidPistonMovingBlockEntity.fixEntityWithinPistonBase(BlockPos pPos, Entity pEntity, Direction pDir, double pProgress) private PistonMovingBlockEntityMovingPistonBlock.getBlockEntity(BlockGetter pBlockReader, BlockPos pPos) MovingPistonBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) PistonHeadBlock.getCloneItemStack(LevelReader pLevel, BlockPos pPos, BlockState pState) 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 pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected voidPistonHeadBlock.neighborChanged(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) MovingPistonBlock.newBlockEntity(BlockPos pPos, BlockState pState) 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) protected voidMovingPistonBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected voidPistonHeadBlock.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) PistonHeadBlock.playerWillDestroy(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) PistonBaseBlock.rotate(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) voidPistonBaseBlock.setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.static voidPistonMovingBlockEntity.tick(Level pLevel, BlockPos pPos, BlockState pState, PistonMovingBlockEntity pBlockEntity) protected booleanPistonBaseBlock.triggerEvent(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)is called.protected BlockStatePistonHeadBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected InteractionResultMovingPistonBlock.useWithoutItem(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) Constructors in net.minecraft.world.level.block.piston with parameters of type BlockPosModifierConstructorDescriptionPistonMovingBlockEntity(BlockPos pPos, BlockState pBlockState) PistonMovingBlockEntity(BlockPos pPos, BlockState pBlockState, BlockState pMovedState, Direction pDirection, boolean pExtending, boolean pIsSourcePiston) PistonStructureResolver(Level pLevel, BlockPos pPistonPos, Direction pPistonDirection, boolean pExtending) -
Uses of BlockPos in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type BlockPosModifier and TypeMethodDescriptionprotected 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) protected voidBlockBehaviour.entityInside(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) BlockBehaviour.OffsetFunction.evaluate(BlockState pState, BlockGetter pLevel, 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.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.getFaceOcclusionShape(BlockGetter pLevel, BlockPos pPos, Direction pDirection) BlockBehaviour.BlockStateBase.getInteractionShape(BlockGetter pLevel, BlockPos pPos) protected VoxelShapeBlockBehaviour.getInteractionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) intBlockBehaviour.BlockStateBase.getLightBlock(BlockGetter pLevel, BlockPos pPos) protected intBlockBehaviour.getLightBlock(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) BlockBehaviour.BlockStateBase.getOcclusionShape(BlockGetter pLevel, BlockPos pPos) protected VoxelShapeBlockBehaviour.getOcclusionShape(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getOffset(BlockGetter pLevel, BlockPos pPos) longprotected longBlockBehaviour.getSeed(BlockState pState, BlockPos pPos) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource), used for random model rotationsfloatBlockBehaviour.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 pBlock, BlockPos pFromPos, boolean pIsMoving) 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) protected booleanBlockBehaviour.isOcclusionShapeFullBlock(BlockState pState, BlockGetter pLevel, BlockPos pPos) booleanBlockBehaviour.BlockStateBase.isRedstoneConductor(BlockGetter pLevel, BlockPos pPos) booleanBlockBehaviour.BlockStateBase.isSolidRender(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, BlockPos pNeighborPos, boolean pMovedByPiston) voidBlockBehaviour.BlockStateBase.onExplosionHit(Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidBlockBehaviour.onExplosionHit(BlockState pState, Level 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.onRemove(Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected voidBlockBehaviour.onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) booleanBlockBehaviour.BlockStateBase.propagatesSkylightDown(BlockGetter pLevel, BlockPos pPos) protected booleanBlockBehaviour.propagatesSkylightDown(BlockState pState, BlockGetter pLevel, BlockPos pPos) 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(Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) protected BlockStateBlockBehaviour.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected ItemInteractionResultBlockBehaviour.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(Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidBlockBehaviour.onExplosionHit(BlockState pState, Level 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 pPos, LevelChunk.EntityCreationType pCreationType) ImposterProtoChunk.getBlockEntity(BlockPos pPos) LevelChunk.getBlockEntity(BlockPos pPos) LevelChunk.getBlockEntity(BlockPos pPos, LevelChunk.EntityCreationType pCreationType) ProtoChunk.getBlockEntity(BlockPos pPos) ChunkAccess.getBlockEntityNbt(BlockPos pPos) ImposterProtoChunk.getBlockEntityNbt(BlockPos pPos) abstract CompoundTagChunkAccess.getBlockEntityNbtForSaving(BlockPos pPos, HolderLookup.Provider pRegistries) ImposterProtoChunk.getBlockEntityNbtForSaving(BlockPos pPos, HolderLookup.Provider pRegistries) LevelChunk.getBlockEntityNbtForSaving(BlockPos pPos, HolderLookup.Provider pRegistries) ProtoChunk.getBlockEntityNbtForSaving(BlockPos pPos, HolderLookup.Provider pRegistries) BulkSectionAccess.getBlockState(BlockPos pPos) EmptyLevelChunk.getBlockState(BlockPos pPos) ImposterProtoChunk.getBlockState(BlockPos pPos) LevelChunk.getBlockState(BlockPos pPos) ProtoChunk.getBlockState(BlockPos pPos) EmptyLevelChunk.getFluidState(BlockPos pPos) ImposterProtoChunk.getFluidState(BlockPos pPos) LevelChunk.getFluidState(BlockPos pPos) ProtoChunk.getFluidState(BlockPos pPos) intEmptyLevelChunk.getLightEmission(BlockPos pPos) 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 pPos) voidProtoChunk.markPosForPostprocessing(BlockPos pPos) static shortProtoChunk.packOffsetCoordinates(BlockPos pPos) private BlockEntityLevelChunk.promotePendingBlockEntity(BlockPos pPos, CompoundTag pTag) abstract voidChunkAccess.removeBlockEntity(BlockPos pPos) voidEmptyLevelChunk.removeBlockEntity(BlockPos pPos) voidImposterProtoChunk.removeBlockEntity(BlockPos pPos) voidLevelChunk.removeBlockEntity(BlockPos pPos) voidProtoChunk.removeBlockEntity(BlockPos pPos) private voidLevelChunk.removeBlockEntityTicker(BlockPos pPos) abstract BlockStateChunkAccess.setBlockState(BlockPos pPos, BlockState pState, boolean pIsMoving) EmptyLevelChunk.setBlockState(BlockPos pPos, BlockState pState, boolean pIsMoving) ImposterProtoChunk.setBlockState(BlockPos pPos, BlockState pState, boolean pIsMoving) LevelChunk.setBlockState(BlockPos pPos, BlockState pState, boolean pIsMoving) ProtoChunk.setBlockState(BlockPos pPos, BlockState pState, boolean pIsMoving) 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> pOutput) voidLightChunk.findBlockLightSources(BiConsumer<BlockPos, BlockState> pOutput) voidChunkAccess.findBlocks(BiPredicate<BlockState, BlockPos> p_285343_, BiConsumer<BlockPos, BlockState> p_285030_) Deprecated, for removal: This API element is subject to removal in a future version.voidChunkAccess.findBlocks(BiPredicate<BlockState, BlockPos> p_285343_, BiConsumer<BlockPos, BlockState> p_285030_) Deprecated, for removal: This API element is subject to removal in a future version.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(BiPredicate<BlockState, BlockPos> p_285465_, BiConsumer<BlockPos, BlockState> p_285030_) voidImposterProtoChunk.findBlocks(BiPredicate<BlockState, BlockPos> p_285465_, BiConsumer<BlockPos, BlockState> p_285030_) voidImposterProtoChunk.findBlocks(Predicate<BlockState> pPredicate, BiConsumer<BlockPos, BlockState> pOutput) 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> pInfo, RandomState pRandom, BlockPos pPos) voidFlatLevelSource.addDebugScreenInfo(List<String> pInfo, RandomState pRandom, BlockPos pPos) voidNoiseBasedChunkGenerator.addDebugScreenInfo(List<String> pInfo, RandomState pRandom, BlockPos pPos) 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> p_224621_, 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 pContext, CanyonCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) Carves the given chunk with caves that originate from the givenchunkPos.booleanCaveWorldCarver.carve(CarvingContext pContext, CaveCarverConfiguration pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) Carves the given chunk with caves that originate from the givenchunkPos.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()Methods in net.minecraft.world.level.levelgen.feature that return types with arguments of type BlockPosModifier and TypeMethodDescriptionVegetationPatchFeature.placeGroundPatch(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, BlockPos pPos, Predicate<BlockState> pState, int pXRadius, int pZRadius) WaterloggedVegetationPatchFeature.placeGroundPatch(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, BlockPos pPos, Predicate<BlockState> pState, int pXRadius, int pZRadius) Methods in net.minecraft.world.level.levelgen.feature with parameters of type BlockPosModifier and TypeMethodDescriptionprivate 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 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 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) private 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) (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) 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 pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, BlockPos pPos, Predicate<BlockState> pState, int pXRadius, int pZRadius) 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 pLevel, VegetationPatchConfiguration pConfig, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) 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) 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> p_67644_, boolean p_67645_) privateSpikeConfiguration(boolean p_68109_, List<SpikeFeature.EndSpike> p_68110_, Optional<BlockPos> p_68111_) -
Uses of BlockPos in net.minecraft.world.level.levelgen.feature.foliageplacers
Fields in net.minecraft.world.level.levelgen.feature.foliageplacers declared as BlockPosMethods in net.minecraft.world.level.levelgen.feature.foliageplacers that return BlockPosMethods in net.minecraft.world.level.levelgen.feature.foliageplacers with parameters of type BlockPosModifier and 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 pLevel, BlockPos pPos) 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 pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) protected voidRootPlacer.placeRoot(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) 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 pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) protected voidRootPlacer.placeRoot(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) 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 pRandom, BlockPos pPos) NoiseProvider.getState(RandomSource pRandom, BlockPos pPos) NoiseThresholdProvider.getState(RandomSource pRandom, BlockPos pPos) RandomizedIntStateProvider.getState(RandomSource pRandom, BlockPos pPos) RotatedBlockProvider.getState(RandomSource pRandom, BlockPos pPos) RuleBasedBlockStateProvider.getState(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos) SimpleStateProvider.getState(RandomSource pRandom, BlockPos pPos) WeightedStateProvider.getState(RandomSource pRandom, BlockPos pPos) -
Uses of BlockPos in net.minecraft.world.level.levelgen.feature.treedecorators
Fields in net.minecraft.world.level.levelgen.feature.treedecorators with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final BiConsumer<BlockPos, BlockState> TreeDecorator.Context.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 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 pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) CherryTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) DarkOakTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) FancyTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) ForkingTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) GiantTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) MegaJungleTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) StraightTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) abstract List<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) UpwardsBranchingTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) protected static 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 pLevel, BlockPos pPos) 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 pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) CherryTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) DarkOakTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) FancyTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) ForkingTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) GiantTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) MegaJungleTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) StraightTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) abstract List<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) UpwardsBranchingTrunkPlacer.placeTrunk(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) protected static 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 TypeMethodDescriptionCarvingMaskPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) CountOnEveryLayerPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) Deprecated.EnvironmentScanPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) FixedPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) HeightmapPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) HeightRangePlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) InSquarePlacement.getPositions(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) PlacementModifier.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RandomOffsetPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RepeatingPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) Methods in net.minecraft.world.level.levelgen.placement with parameters of type BlockPosModifier and TypeMethodDescriptionprotected intCountPlacement.count(RandomSource pRandom, BlockPos pPos) protected intNoiseBasedCountPlacement.count(RandomSource pRandom, BlockPos pPos) protected intNoiseThresholdCountPlacement.count(RandomSource pRandom, BlockPos pPos) protected abstract intRepeatingPlacement.count(RandomSource pRandom, BlockPos pPos) PlacementContext.getBlockState(BlockPos pPos) CarvingMaskPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) CountOnEveryLayerPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) Deprecated.EnvironmentScanPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) FixedPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) HeightmapPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) HeightRangePlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) InSquarePlacement.getPositions(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) PlacementModifier.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RandomOffsetPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) RepeatingPlacement.getPositions(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) private static 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 pContext, RandomSource pRandom, BlockPos pPos) protected abstract booleanPlacementFilter.shouldPlace(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected booleanRarityFilter.shouldPlace(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected booleanSurfaceRelativeThresholdFilter.shouldPlace(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) protected booleanSurfaceWaterDepthFilter.shouldPlace(PlacementContext pContext, RandomSource pRandom, BlockPos pPos) Constructor parameters in net.minecraft.world.level.levelgen.placement with type arguments of type BlockPos -
Uses of BlockPos in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as BlockPosModifier and TypeFieldDescriptionprotected 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 p_162372_) 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 pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) abstract voidStructurePiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidTemplateStructurePiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) 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 pStructureTemplateManager, BlockPos pPos, Rotation pRotation) ListPoolElement.getBoundingBox(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) SinglePoolElement.getBoundingBox(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) 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 pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) ListPoolElement.getShuffledJigsawBlocks(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) SinglePoolElement.getShuffledJigsawBlocks(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) abstract List<StructureTemplate.StructureBlockInfo> 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 pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) booleanListPoolElement.place(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) booleanSinglePoolElement.place(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) 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 pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidIglooPieces.IglooPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidNetherFossilPieces.NetherFossilPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidOceanRuinPieces.OceanRuinPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidRuinedPortalPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidShipwreckPieces.ShipwreckPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) protected voidWoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker(String pName, BlockPos pPos, ServerLevelAccessor pLevel, RandomSource pRandom, BoundingBox pBox) 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 pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidDesertPyramidPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidIglooPieces.IglooPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidJungleTemplePiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidMineshaftPieces.MineShaftCorridor.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidMineshaftPieces.MineShaftCrossing.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidMineshaftPieces.MineShaftRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidMineshaftPieces.MineShaftStairs.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.BridgeCrossing.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.BridgeEndFiller.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.BridgeStraight.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleCorridorStairsPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleCorridorTBalconyPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleEntrance.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleSmallCorridorPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.CastleStalkRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.MonsterThrone.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.RoomCrossing.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFortressPieces.StairsRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidNetherFossilPieces.NetherFossilPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.MonumentBuilding.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentCoreRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentEntryRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentPenthouse.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentSimpleRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanMonumentPieces.OceanMonumentWingRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidOceanRuinPieces.OceanRuinPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidRuinedPortalPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidShipwreckPieces.ShipwreckPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.ChestCorridor.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.FillerCorridor.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.FiveCrossing.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.LeftTurn.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.Library.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.PortalRoom.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.PrisonHall.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.RightTurn.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.RoomCrossing.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.StairsDown.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.Straight.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidStrongholdPieces.StraightStairsDown.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) voidSwampHutPiece.postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) (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 pServerLevel, BlockPos pOffset, BlockPos pPos, List<StructureTemplate.StructureBlockInfo> pOriginalBlockInfos, List<StructureTemplate.StructureBlockInfo> pProcessedBlockInfos, StructurePlaceSettings pSettings) StructureProcessor.finalizeProcessing(ServerLevelAccessor pServerLevel, BlockPos pOffset, BlockPos pPos, List<StructureTemplate.StructureBlockInfo> pOriginalBlockInfos, List<StructureTemplate.StructureBlockInfo> pProcessedBlockInfos, StructurePlaceSettings pSettings) StructureTemplate.getBoundingBox(BlockPos pStartPos, Rotation pRotation, BlockPos pPivotPos, Mirror pMirror) protected static BoundingBoxStructureTemplate.getBoundingBox(BlockPos pStartPos, Rotation pRotation, BlockPos pPivotPos, Mirror pMirror, Vec3i pSize) StructureTemplate.getBoundingBox(StructurePlaceSettings pSettings, BlockPos pStartPos) 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 pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) BlockAgeProcessor.processBlock(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) BlockIgnoreProcessor.processBlock(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) BlockRotProcessor.processBlock(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) GravityProcessor.processBlock(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) JigsawReplacementProcessor.processBlock(LevelReader p_74127_, BlockPos p_74128_, BlockPos p_74129_, StructureTemplate.StructureBlockInfo p_74130_, StructureTemplate.StructureBlockInfo p_74131_, StructurePlaceSettings p_74132_) LavaSubmergedBlockProcessor.processBlock(LevelReader p_74140_, BlockPos p_74141_, BlockPos p_74142_, StructureTemplate.StructureBlockInfo p_74143_, StructureTemplate.StructureBlockInfo p_74144_, StructurePlaceSettings p_74145_) ProtectedBlockProcessor.processBlock(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) RuleProcessor.processBlock(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) StructureProcessor.processBlock(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) StructureTemplate.processBlockInfos(ServerLevelAccessor pServerLevel, BlockPos pOffset, BlockPos pPos, StructurePlaceSettings pSettings, List<StructureTemplate.StructureBlockInfo> pBlockInfos) 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 pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) booleanLinearPosTest.test(BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) 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 pPos) voidLevelLightEngine.checkBlock(BlockPos pPos) voidLightEngine.checkBlock(BlockPos pPos) voidLightEventListener.checkBlock(BlockPos pPos) private intChunkSkyLightSources.findLowestSourceBelow(BlockGetter pLevel, BlockPos pPos, BlockState pState) static intLightEngine.getLightBlockInto(BlockGetter pLevel, BlockState pState1, BlockPos pPos1, BlockState pState2, BlockPos pPos2, Direction pDirection, int pDefaultReturnValue) intLayerLightEventListener.DummyLightLayerEventListener.getLightValue(BlockPos pLevelPos) intLayerLightEventListener.getLightValue(BlockPos pLevelPos) intLightEngine.getLightValue(BlockPos pLevelPos) static VoxelShapeLightEngine.getOcclusionShape(BlockGetter pLevel, BlockPos pPos, BlockState pState, Direction pDirection) protected intLightEngine.getOpacity(BlockState pState, BlockPos pPos) intLevelLightEngine.getRawBrightness(BlockPos pBlockPos, int pAmount) protected BlockStatestatic booleanLightEngine.hasDifferentLightProperties(BlockGetter pLevel, BlockPos pPos, BlockState pState1, BlockState pState2) private static booleanChunkSkyLightSources.isEdgeOccluded(BlockGetter pLevel, BlockPos pPos1, BlockState pState1, BlockPos pPos2, 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
Methods 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 pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) voidWaterFluid.animateTick(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) 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, Level level, BlockPos pos) private booleanFlowingFluid.canHoldFluid(BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) private booleanFlowingFluid.canPassThrough(BlockGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private booleanFlowingFluid.canPassThroughWall(Direction pDirection, BlockGetter pLevel, BlockPos pPos, BlockState pState, BlockPos pSpreadPos, BlockState pSpreadState) protected booleanFlowingFluid.canSpreadTo(BlockGetter pLevel, BlockPos pFromPos, BlockState pFromBlockState, Direction pDirection, BlockPos pToPos, BlockState pToBlockState, FluidState pToFluidState, Fluid pFluid) private voidLavaFluid.fizz(LevelAccessor pLevel, BlockPos pPos) private static shortFlowingFluid.getCacheKey(BlockPos pSourcePos, BlockPos pSpreadPos) 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 pState, BlockGetter pLevel, BlockPos pPos) floatFlowingFluid.getHeight(FluidState pState, BlockGetter pLevel, BlockPos pPos) abstract floatFluid.getHeight(FluidState pState, BlockGetter pLevel, BlockPos pPos) floatFluidState.getHeight(BlockGetter pLevel, BlockPos pPos) protected FluidStateFlowingFluid.getNewLiquid(Level pLevel, BlockPos pPos, BlockState pBlockState) EmptyFluid.getShape(FluidState pState, BlockGetter pLevel, BlockPos pPos) FlowingFluid.getShape(FluidState pState, BlockGetter pLevel, BlockPos pPos) abstract VoxelShapeFluid.getShape(FluidState pState, BlockGetter pLevel, BlockPos pPos) FluidState.getShape(BlockGetter pLevel, BlockPos pPos) protected intFlowingFluid.getSlopeDistance(LevelReader pLevel, BlockPos pSpreadPos, int pDistance, Direction pDirection, BlockState pCurrentSpreadState, BlockPos pSourcePos, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> pStateCache, it.unimi.dsi.fastutil.shorts.Short2BooleanMap pWaterHoleCache) protected Map<Direction, FluidState> FlowingFluid.getSpread(Level pLevel, BlockPos pPos, BlockState pState) protected intFlowingFluid.getSpreadDelay(Level pLevel, BlockPos pPos, FluidState pCurrentState, FluidState pNewState) intLavaFluid.getSpreadDelay(Level pLevel, BlockPos pPos, FluidState pCurrentState, FluidState pNewState) 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) protected booleanFlowingFluid.isSolidFace(BlockGetter pLevel, BlockPos pNeighborPos, Direction pSide) private booleanFlowingFluid.isWaterHole(BlockGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pState, BlockPos pSpreadPos, BlockState pSpreadState) protected voidFluid.randomTick(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) voidFluidState.randomTick(Level pLevel, BlockPos pPos, RandomSource pRandom) voidLavaFluid.randomTick(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) 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(Level pLevel, BlockPos pPos, FluidState pState) 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(Level pLevel, BlockPos pPos, FluidState pFluidState, BlockState pBlockState) voidFlowingFluid.tick(Level pLevel, BlockPos pPos, FluidState pState) protected voidFluid.tick(Level pLevel, BlockPos pPos, FluidState pState) void -
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 pPos) 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(ProfilerFiller pProfiler, Node pNode, Map<Target, BlockPos> pTargetPos, float pMaxRange, int pAccuracy, float pSearchDepthMultiplier) PathFinder.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 BlockPosPortalShape.calculateBottomLeft(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 BlockPosPortalShape.calculateBottomLeft(BlockPos pPos) private booleanPortalForcer.canHostFrame(BlockPos pOriginalPos, BlockPos.MutableBlockPos pOffsetPos, Direction pDirection, int pOffsetScale) PortalForcer.createPortal(BlockPos pPos, 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 intPortalShape.getDistanceUntilEdgeAboveFrame(BlockPos pPos, Direction pDirection) Constructors in net.minecraft.world.level.portal with parameters of type BlockPosModifierConstructorDescriptionPortalShape(LevelAccessor pLevel, BlockPos pBottomLeft, Direction.Axis pAxis) -
Uses of BlockPos in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosCollectingNeighborUpdater.FullNeighborUpdate.neighborPosThe field for theneighborPosrecord component.private final BlockPosCollectingNeighborUpdater.ShapeUpdate.neighborPosThe field for theneighborPosrecord component.private final BlockPosCollectingNeighborUpdater.SimpleNeighborUpdate.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.sourcePosMethods in net.minecraft.world.level.redstone that return BlockPosModifier and TypeMethodDescriptionCollectingNeighborUpdater.FullNeighborUpdate.neighborPos()Returns the value of theneighborPosrecord component.CollectingNeighborUpdater.ShapeUpdate.neighborPos()Returns the value of theneighborPosrecord component.CollectingNeighborUpdater.SimpleNeighborUpdate.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) static voidNeighborUpdater.executeShapeUpdate(LevelAccessor pLevel, Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) static voidNeighborUpdater.executeUpdate(Level pLevel, BlockState pState, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) voidCollectingNeighborUpdater.neighborChanged(BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos) voidCollectingNeighborUpdater.neighborChanged(BlockState pState, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) voidInstantNeighborUpdater.neighborChanged(BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos) voidInstantNeighborUpdater.neighborChanged(BlockState pState, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) voidNeighborUpdater.neighborChanged(BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos) voidNeighborUpdater.neighborChanged(BlockState pState, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) voidCollectingNeighborUpdater.shapeUpdate(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) voidInstantNeighborUpdater.shapeUpdate(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) voidNeighborUpdater.shapeUpdate(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) voidCollectingNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlock, Direction pFacing) default voidNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlock, Direction pFacing) Constructors in net.minecraft.world.level.redstone with parameters of type BlockPosModifierConstructorDescription(package private)FullNeighborUpdate(BlockState state, BlockPos pos, Block block, BlockPos neighborPos, boolean movedByPiston) Creates an instance of aFullNeighborUpdaterecord class.(package private)MultiNeighborUpdate(BlockPos pSourcePos, Block pSourceBlock, Direction pSkipDirection) (package private)ShapeUpdate(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) Creates an instance of aShapeUpdaterecord class.(package private)SimpleNeighborUpdate(BlockPos pos, Block block, BlockPos neighborPos) 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.posMethods in net.minecraft.world.level.saveddata.maps that return BlockPosModifier and TypeMethodDescriptionMapFrame.getPos()MapBanner.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) BlockHitResult(Vec3 pLocation, Direction pDirection, BlockPos pBlockPos, boolean pInside) -
Uses of BlockPos in net.minecraft.world.phys.shapes
Methods in net.minecraft.world.phys.shapes with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanCollisionContext.isAbove(VoxelShape pShape, BlockPos pPos, boolean pCanAscend) booleanEntityCollisionContext.isAbove(VoxelShape pShape, BlockPos pPos, boolean pCanAscend) -
Uses of BlockPos in net.minecraft.world.ticks
Fields in net.minecraft.world.ticks declared as BlockPosModifier and TypeFieldDescriptionprivate final 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 pPos, T pType) booleanLevelTicks.hasScheduledTick(BlockPos pPos, T pType) booleanProtoChunkTicks.hasScheduledTick(BlockPos pPos, T pType) booleanTickAccess.hasScheduledTick(BlockPos pPos, T pType) booleanWorldGenTickAccess.hasScheduledTick(BlockPos pPos, T pType) static <T> SavedTick<T> static <T> ScheduledTick<T> private static CompoundTagSavedTick.saveTick(String pId, BlockPos pPos, int pDelay, TickPriority pPriority) booleanLevelTickAccess.willTickThisTick(BlockPos pPos, T pType) booleanLevelTicks.willTickThisTick(BlockPos pPos, T pType) booleanWorldGenTickAccess.willTickThisTick(BlockPos pPos, T pType) 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 with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanClientHooks.calculateFaceWithoutAO(BlockAndTintGetter getter, BlockState state, BlockPos pos, BakedQuad quad, boolean isFaceCubic, float[] brightness, int[] lightmap) ClientHooks.gatherAdditionalRenderers(BlockPos sectionOrigin, Level level) static booleanClientHooks.renderBlockOverlay(Player player, PoseStack mat, RenderBlockScreenEffectEvent.OverlayType type, BlockState block, BlockPos pos) static voidClientHooks.renderPistonMovedBlocks(BlockPos pos, BlockState state, PoseStack stack, MultiBufferSource bufferSource, Level level, boolean checkSides, int packedOverlay, BlockRenderDispatcher blockRenderer) -
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 ModelDataIBakedModelExtension.getModelData(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) -
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 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 TypeMethodDescriptionBakedModelWrapper.getModelData(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) CompositeModel.Baked.getModelData(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) -
Uses of BlockPos in net.neoforged.neoforge.client.model.data
Fields in net.neoforged.neoforge.client.model.data with type parameters of type BlockPosMethods in net.neoforged.neoforge.client.model.data with parameters of type BlockPosModifier and TypeMethodDescriptionstatic ModelDataMultipartModelData.create(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> selectors, BitSet bitset, BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData tileModelData) Retrieves model data for a block at the given position. -
Uses of BlockPos in net.neoforged.neoforge.client.model.lighting
Fields in net.neoforged.neoforge.client.model.lighting declared as BlockPosMethods in net.neoforged.neoforge.client.model.lighting with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidFlatQuadLighter.computeLightingAt(BlockAndTintGetter level, BlockPos pos, BlockState state) protected abstract voidQuadLighter.computeLightingAt(BlockAndTintGetter level, BlockPos pos, BlockState state) protected voidSmoothQuadLighter.computeLightingAt(BlockAndTintGetter level, BlockPos origin, BlockState state) static booleanLightPipelineAwareModelBlockRenderer.render(VertexConsumer vertexConsumer, QuadLighter lighter, BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) final voidQuadLighter.setup(BlockAndTintGetter level, BlockPos pos, BlockState state) Set up this lighter to light quads of the given block.voidLightPipelineAwareModelBlockRenderer.tesselateWithAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) voidLightPipelineAwareModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) -
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(Level 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(Level level, BlockPos pos, BlockState state, float 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(Level 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 that return BlockPosModifier and TypeMethodDescriptiondefault BlockPosIAbstractMinecartExtension.getCurrentRailPosition()Internal, returns the current spot to look for the attached rail.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, Level level, BlockPos pos) Returns whether the fluid can create a source.default booleanIFluidStateExtension.canConvertToSource(Level 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(BlockState state, BlockPos pos, float 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 Player player, Level level, BlockPos pos, @Nullable BlockHitResult hitResult, @Nullable ItemStack container) Empties the contents of the container and returns whether it was successful.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(BlockState state, HitResult target, LevelReader level, BlockPos pos, Player player) Called when A user uses the creative pick block button on this blockdefault ItemStackIBlockStateExtension.getCloneItemStack(HitResult target, LevelReader level, BlockPos pos, 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 (seeCamera.getBlockAtCamera()).default BlockStateIBlockStateExtension.getStateAtViewpoint(BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.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 booleanIBlockExtension.ignitedByLava(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when lava is updating, checks if a block face can catch fire from lava.default booleanIBlockStateExtension.ignitedByLava(BlockGetter level, BlockPos pos, Direction face) Called when lava is updating, checks if a block face can catch fire from lava.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.voidIAbstractMinecartExtension.moveMinecartOnRail(BlockPos pos) Moved to allow overrides.default voidIBlockExtension.onBlockExploded(BlockState state, Level level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default voidIBlockStateExtension.onBlockExploded(Level 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 voidIBlockExtension.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 voidIBlockStateExtension.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 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 TypeFieldDescription(package private) static final TicketType<ForcedChunkManager.TicketOwner<BlockPos>> ForcedChunkManager.BLOCK(package private) static final TicketType<ForcedChunkManager.TicketOwner<BlockPos>> ForcedChunkManager.BLOCK_TICKINGTicketHelper.blockTicketsMethods in net.neoforged.neoforge.common.world.chunk that return BlockPosModifier and TypeMethodDescriptionprivate static BlockPosForcedChunkManager.readBlockPos(CompoundTag compoundtag) Methods in net.neoforged.neoforge.common.world.chunk that return types with arguments of type BlockPosModifier and TypeMethodDescriptionTicketHelper.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 ticking) 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 ticking and not ticking.voidTicketHelper.removeTicket(BlockPos owner, long chunk, boolean ticking) Removes the ticket for the given chunk that a given block was responsible for.static CompoundTagForcedChunkManager.writeBlockPos(BlockPos blockpos) Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate static voidForcedChunkManager.readBlockForcedChunks(ResourceLocation controllerId, long chunkPos, CompoundTag modEntry, String key, Map<ForcedChunkManager.TicketOwner<BlockPos>, it.unimi.dsi.fastutil.longs.LongSet> blockForcedChunks) Reads the forge block forced chunks.static voidForcedChunkManager.readModForcedChunks(CompoundTag nbt, ForcedChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForcedChunkManager.TicketTracker<UUID> entityForcedChunks) Reads the mod forced chunks from the NBT compound.static voidForcedChunkManager.writeModForcedChunks(CompoundTag nbt, ForcedChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForcedChunkManager.TicketTracker<UUID> entityForcedChunks) Writes the mod forced chunks into the NBT compound.Constructor parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type BlockPosModifierConstructorDescription(package private)TicketHelper(ForcedChunksSavedData 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(Level 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, MobSpawnType 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, WeightedRandomList<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 booleanEventHooks.onPlayerSpawnSet(Player player, ResourceKey<Level> levelKey, BlockPos pos, boolean forced) 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. -
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, MobSpawnType 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) PlayerSetSpawnEvent(Player player, ResourceKey<Level> spawnLevel, @Nullable BlockPos newSpawn, boolean forced) 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 BlockPosMethods 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, float 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, WeightedRandomList<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) -
Uses of BlockPos in net.neoforged.neoforge.event.level.block
Constructors in net.neoforged.neoforge.event.level.block with parameters of type BlockPosModifierConstructorDescriptionCreateFluidSourceEvent(Level 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, Level 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 Player player, 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 Player player, 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.items
Methods in net.neoforged.neoforge.items with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanVanillaInventoryCodeHooks.dropperInsertHook(Level level, BlockPos pos, DispenserBlockEntity dropper, int slot, ItemStack stack) Copied from BlockDropper#dispense and added capability supportprivate static Optional<org.apache.commons.lang3.tuple.Pair<IItemHandler, Object>> VanillaInventoryCodeHooks.getAttachedItemHandler(Level level, BlockPos pos, Direction direction) static ItemStackVanillaInventoryCodeHooks.insertCrafterOutput(Level level, BlockPos pos, CrafterBlockEntity crafterBlockEntity, ItemStack stack) Added capability support for the Crafter dispensing the result -
Uses of BlockPos in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosSyncAttachmentsPayload.BlockEntityTarget.posThe field for theposrecord component.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 BlockPosModifier and TypeMethodDescriptionSyncAttachmentsPayload.BlockEntityTarget.pos()Returns the value of theposrecord 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.Constructors in net.neoforged.neoforge.network.payload with parameters of type BlockPosModifierConstructorDescriptionCreates an instance of aBlockEntityTargetrecord class.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)