Uses of Class
net.minecraft.core.BlockPos
Packages that use BlockPos
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client-only classes.-
Uses of BlockPos in net.minecraft
Fields in net.minecraft declared as BlockPosModifier and TypeFieldDescriptionfinal BlockPosBlockUtil.FoundRectangle.minCornerStarting position of the rectangle represented by this resultMethods in net.minecraft that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBlockUtil.getTopConnectedBlock(BlockGetter getter, BlockPos pos, Block baseBlock, Direction direction, Block endBlock) Methods in net.minecraft with parameters of type BlockPosModifier and TypeMethodDescriptionstatic StringCrashReportCategory.formatLocation(LevelHeightAccessor levelHeightAccess, BlockPos pos) static BlockUtil.FoundRectangleBlockUtil.getLargestRectangleAround(BlockPos centerPos, Direction.Axis axis1, int max1, Direction.Axis axis2, int max2, Predicate<BlockPos> posPredicate) Finds the rectangle with the largest area containing centerPos within the blocks specified by the predicateBlockUtil.getTopConnectedBlock(BlockGetter getter, BlockPos pos, Block baseBlock, Direction direction, Block endBlock) static voidCrashReportCategory.populateBlockDetails(CrashReportCategory category, LevelHeightAccessor levelHeightAccessor, BlockPos pos, BlockState state) Method parameters in net.minecraft with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic BlockUtil.FoundRectangleBlockUtil.getLargestRectangleAround(BlockPos centerPos, Direction.Axis axis1, int max1, Direction.Axis axis2, int max2, Predicate<BlockPos> posPredicate) Finds the rectangle with the largest area containing centerPos within the blocks specified by the predicateprivate static intBlockUtil.getLimit(Predicate<BlockPos> posPredicate, BlockPos.MutableBlockPos centerPos, Direction direction, int max) Finds the distance we can travel in the given direction while the predicate returns trueConstructors in net.minecraft with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanBlockPredicate.matches(ServerLevel level, BlockPos pos) booleanFluidPredicate.matches(ServerLevel level, BlockPos pos) booleanLightPredicate.matches(ServerLevel level, BlockPos pos) voidAnyBlockInteractionTrigger.trigger(ServerPlayer player, BlockPos pos, ItemStack stack) voidDefaultBlockInteractionTrigger.trigger(ServerPlayer player, BlockPos pos) voidItemUsedOnLocationTrigger.trigger(ServerPlayer player, BlockPos pos, ItemStack stack) voidUsedEnderEyeTrigger.trigger(ServerPlayer player, BlockPos pos) -
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 state, BlockPos pos, CompoundTag compound) voidDebugQueryHandler.queryBlockEntityTag(BlockPos pos, Consumer<CompoundTag> tag) -
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 state, BlockAndTintGetter level, BlockPos pos, int tintIndex) intBlockColors.getColor(BlockState state, BlockAndTintGetter level, BlockPos pos, int tintIndex) intBlockColors.getColor(BlockState state, Level level, BlockPos pos) 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 pos, BlockState state) intClientLevel.calculateBlockTint(BlockPos blockPos, ColorResolver colorResolver) booleanMultiPlayerGameMode.continueDestroyBlock(BlockPos posBlock, Direction directionFacing) booleanMultiPlayerGameMode.destroyBlock(BlockPos pos) voidClientLevel.destroyBlockProgress(int breakerId, BlockPos pos, int progress) intClientLevel.getBlockTint(BlockPos blockPos, ColorResolver colorResolver) ClientLevel.getModelData(BlockPos pos) voidClientLevel.globalLevelEvent(int id, BlockPos pos, int data) voidClientLevel.levelEvent(Player player, int type, BlockPos pos, int data) private booleanMultiPlayerGameMode.sameDestroyTarget(BlockPos pos) voidClientLevel.sendBlockUpdated(BlockPos pos, BlockState oldState, BlockState newState, int flags) Flags are as in setBlockStatebooleanClientLevel.setBlock(BlockPos pos, BlockState state, int flags, int recursionLeft) voidClientLevel.setBlocksDirty(BlockPos blockPos, BlockState oldState, BlockState newState) voidClientLevel.setDefaultSpawnPos(BlockPos spawnPos, float spawnAngle) voidClientLevel.setServerVerifiedBlockState(BlockPos pos, BlockState state, int flags) voidprivate voidClientLevel.spawnParticle(BlockPos pos, ParticleOptions particleData, VoxelShape voxelShape, double y) booleanMultiPlayerGameMode.startDestroyBlock(BlockPos loc, Direction face) Called when the player is hitting a block with an item.voidClientLevel.syncBlockState(BlockPos pos, BlockState state, Vec3 playerPos) private voidClientLevel.trySpawnDripParticles(BlockPos blockPos, BlockState blockState, ParticleOptions particleData, boolean shapeDownSolid) -
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 pos, BlockState state, LocalPlayer player) voidBlockStatePredictionHandler.retainSnapshot(BlockPos pos, BlockSnapshot snapshot) Sets the stored BlockSnapshot on the ServerVerifiedState for the given position.booleanBlockStatePredictionHandler.updateKnownServerState(BlockPos pos, BlockState state) -
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 pos, BlockState state) TerrainParticle.updateSprite(BlockState state, BlockPos pos) Constructors in net.minecraft.client.particle with parameters of type BlockPosModifierConstructorDescriptionTerrainParticle(ClientLevel level, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed, BlockState state, BlockPos pos) -
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 level, BlockPos pos, BlockState oldState, BlockState newState, int flags) voidLevelRenderer.destroyBlockProgress(int breakerId, BlockPos pos, int progress) private static intBiomeColors.getAverageColor(BlockAndTintGetter level, BlockPos blockPos, ColorResolver colorResolver) static intBiomeColors.getAverageFoliageColor(BlockAndTintGetter level, BlockPos blockPos) static intBiomeColors.getAverageGrassColor(BlockAndTintGetter level, BlockPos blockPos) static intBiomeColors.getAverageWaterColor(BlockAndTintGetter level, BlockPos blockPos) static intLevelRenderer.getLightColor(BlockAndTintGetter level, BlockPos pos) static intLevelRenderer.getLightColor(BlockAndTintGetter level, BlockState state, BlockPos pos) SectionOcclusionGraph.getRelativeFrom(BlockPos pos, SectionRenderDispatcher.RenderSection section, Direction direction) protected SectionRenderDispatcher.RenderSectionViewArea.getRenderSectionAt(BlockPos pos) voidLevelRenderer.globalLevelEvent(int type, BlockPos pos, int data) Handles a global level event.private booleanSectionOcclusionGraph.isInViewDistance(BlockPos pos, BlockPos origin) booleanLevelRenderer.isSectionCompiled(BlockPos pos) voidLevelRenderer.levelEvent(int type, BlockPos pos, int data) private voidLevelRenderer.notifyNearbyEntities(Level level, BlockPos pos, boolean playing) 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> song, BlockPos pos) private voidLevelRenderer.renderHitOutline(PoseStack poseStack, VertexConsumer consumer, Entity entity, double camX, double camY, double camZ, BlockPos pos, BlockState state) private voidLevelRenderer.setBlockDirty(BlockPos pos, boolean reRenderOnMainThread) voidLevelRenderer.setBlockDirty(BlockPos pos, BlockState oldState, BlockState newState) private voidLevelRenderer.shootParticles(int p_direction, BlockPos pos, RandomSource random, SimpleParticleType particleType) private voidLevelRenderer.stopJukeboxSong(BlockPos pos) voidLevelRenderer.stopJukeboxSongAndNotifyNearby(BlockPos pos) -
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 level, BlockState state, BlockPos pos, Direction direction, float[] shape, BitSet shapeFlags, boolean shade) private floatLiquidBlockRenderer.calculateAverageHeight(BlockAndTintGetter level, Fluid fluid, float currentHeight, float height1, float height2, BlockPos pos) private voidModelBlockRenderer.calculateShape(BlockAndTintGetter level, BlockState state, BlockPos pos, int[] vertices, Direction direction, float[] shape, BitSet shapeFlags) 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 level, Fluid fluid, BlockPos pos) private floatLiquidBlockRenderer.getHeight(BlockAndTintGetter level, Fluid fluid, BlockPos pos, BlockState blockState, FluidState fluidState) private intLiquidBlockRenderer.getLightColor(BlockAndTintGetter level, BlockPos pos) intModelBlockRenderer.Cache.getLightColor(BlockState state, BlockAndTintGetter level, BlockPos pos) floatModelBlockRenderer.Cache.getShadeBrightness(BlockState state, BlockAndTintGetter level, BlockPos pos) BlockModelShaper.getTexture(BlockState p_110883_, Level level, BlockPos pos) private static booleanLiquidBlockRenderer.isFaceOccludedByNeighbor(BlockGetter level, BlockPos pos, Direction side, float height, BlockState blockState) private static booleanLiquidBlockRenderer.isFaceOccludedBySelf(BlockGetter level, BlockPos pos, BlockState state, Direction face) private static booleanLiquidBlockRenderer.isFaceOccludedByState(BlockGetter level, Direction face, float height, BlockPos pos, BlockState state) private voidModelBlockRenderer.putQuadData(BlockAndTintGetter level, BlockState state, BlockPos pos, VertexConsumer consumer, PoseStack.Pose pose, BakedQuad quad, float brightness0, float brightness1, float brightness2, float brightness3, int lightmap0, int lightmap1, int lightmap2, int lightmap3, int packedOverlay) voidBlockRenderDispatcher.renderBatched(BlockState state, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random) voidBlockRenderDispatcher.renderBatched(BlockState state, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, ModelData modelData, RenderType renderType) voidBlockRenderDispatcher.renderBreakingTexture(BlockState state, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, VertexConsumer consumer) Deprecated.voidBlockRenderDispatcher.renderBreakingTexture(BlockState state, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, VertexConsumer consumer, ModelData modelData) voidBlockRenderDispatcher.renderLiquid(BlockPos pos, BlockAndTintGetter level, VertexConsumer consumer, BlockState blockState, FluidState fluidState) private voidModelBlockRenderer.renderModelFaceAO(BlockAndTintGetter level, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, List<BakedQuad> quads, float[] shape, BitSet shapeFlags, ModelBlockRenderer.AmbientOcclusionFace aoFace, int packedOverlay) private voidModelBlockRenderer.renderModelFaceFlat(BlockAndTintGetter level, BlockState state, BlockPos pos, int packedLight, int packedOverlay, boolean repackLight, PoseStack poseStack, VertexConsumer consumer, List<BakedQuad> quads, BitSet shapeFlags) static booleanLiquidBlockRenderer.shouldRenderFace(BlockAndTintGetter level, BlockPos pos, FluidState fluidState, BlockState selfState, Direction direction, BlockState otherState) static booleanLiquidBlockRenderer.shouldRenderFace(BlockAndTintGetter level, BlockPos pos, FluidState fluidState, BlockState blockState, Direction side, FluidState neighborFluid) Deprecated.Neo: use overload that accepts BlockStatevoidLiquidBlockRenderer.tesselate(BlockAndTintGetter level, BlockPos pos, VertexConsumer buffer, BlockState blockState, FluidState fluidState) voidModelBlockRenderer.tesselateBlock(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay) Deprecated.voidModelBlockRenderer.tesselateBlock(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay, ModelData modelData, RenderType renderType) voidModelBlockRenderer.tesselateWithAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay) Deprecated.voidModelBlockRenderer.tesselateWithAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay, ModelData modelData, RenderType renderType) voidModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay) Deprecated.voidModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay, 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 pos, int textColor) private voidPistonHeadRenderer.renderBlock(BlockPos pos, BlockState state, PoseStack poseStack, MultiBufferSource bufferSource, Level level, boolean extended, int packedOverlay) (package private) voidSignRenderer.renderSignText(BlockPos pos, SignText text, PoseStack poseStack, MultiBufferSource buffer, int packedLight, int lineHeight, int maxWidth, boolean isFrontText) -
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 direction) Methods in net.minecraft.client.renderer.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionprivate booleanSectionRenderDispatcher.RenderSection.doesChunkExistAt(BlockPos pos) RenderChunk.getBlockEntity(BlockPos pos) RenderChunkRegion.getBlockEntity(BlockPos pos) RenderChunk.getBlockState(BlockPos pos) RenderChunkRegion.getBlockState(BlockPos pos) intRenderChunkRegion.getBlockTint(BlockPos pos, ColorResolver colorResolver) RenderChunkRegion.getFluidState(BlockPos pos) 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 mobId, BlockPos entityPos, List<GoalDebugPayload.DebugGoal> goals) voidvoidWorldGenAttemptRenderer.addPos(BlockPos pos, float scale, float red, float green, float blue, float alpha) voidprivate static floatPathfindingRenderer.distanceToCamera(BlockPos pos, double x, double y, double z) private Collection<UUID> BeeDebugRenderer.getHiveMembers(BlockPos pos) private StringBeeDebugRenderer.getPosDescription(BeeDebugPayload.BeeInfo beeInfo, BlockPos pos) private Collection<UUID> BrainDebugRenderer.getPotentialTicketHolders(BlockPos pos) private Collection<UUID> BrainDebugRenderer.getTicketHolders(BlockPos pos) private static voidBeeDebugRenderer.highlightHive(PoseStack poseStack, MultiBufferSource buffer, BlockPos hivePos) private static voidBrainDebugRenderer.highlightPoi(PoseStack poseStack, MultiBufferSource buffer, BlockPos pos) private voidSupportBlockRenderer.highlightPosition(BlockPos pos, PoseStack poseStack, double camX, double camY, double camZ, MultiBufferSource buffer, double bias, float red, float green, float blue) private static voidRaidDebugRenderer.highlightRaidCenter(PoseStack poseStack, MultiBufferSource buffer, BlockPos pos) voidstatic voidDebugRenderer.renderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, float scale, float red, float green, float blue, float alpha) static voidDebugRenderer.renderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos startPos, BlockPos endPos, float red, float green, float blue, float alpha) static voidDebugRenderer.renderFilledUnitCube(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, float red, float green, float blue, float alpha) private voidBeeDebugRenderer.renderGhostHive(PoseStack poseStack, MultiBufferSource buffer, BlockPos hivePos, List<String> ghostHives) private voidBrainDebugRenderer.renderGhostPoi(PoseStack poseStack, MultiBufferSource buffer, BlockPos pos, List<String> poiName) private voidGameTestDebugRenderer.renderMarker(PoseStack poseStack, MultiBufferSource buffer, BlockPos pos, GameTestDebugRenderer.Marker marker) private static voidRaidDebugRenderer.renderTextOverBlock(PoseStack poseStack, MultiBufferSource buffer, String text, BlockPos pos, int color) private static voidBeeDebugRenderer.renderTextOverPos(PoseStack poseStack, MultiBufferSource buffer, String text, BlockPos pos, int layer, int color) private static voidBrainDebugRenderer.renderTextOverPos(PoseStack poseStack, MultiBufferSource buffer, String text, BlockPos pos, int layer, int color) voidBrainDebugRenderer.setFreeTicketCount(BlockPos pos, int freeTicketCount) Method parameters in net.minecraft.client.renderer.debug with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidRaidDebugRenderer.setRaidCenters(Collection<BlockPos> raidCenters) 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 entity, BlockPos pos) protected intDragonFireballRenderer.getBlockLightLevel(DragonFireball entity, BlockPos pos) protected intEntityRenderer.getBlockLightLevel(T entity, BlockPos pos) protected intExperienceOrbRenderer.getBlockLightLevel(ExperienceOrb entity, BlockPos pos) protected intGlowSquidRenderer.getBlockLightLevel(GlowSquid p_174146_, BlockPos p_174147_) protected intItemFrameRenderer.getBlockLightLevel(T entity, BlockPos pos) protected intMagmaCubeRenderer.getBlockLightLevel(MagmaCube entity, BlockPos pos) protected intShulkerBulletRenderer.getBlockLightLevel(ShulkerBullet entity, BlockPos pos) protected intThrownItemRenderer.getBlockLightLevel(T entity, BlockPos pos) protected intVexRenderer.getBlockLightLevel(Vex entity, BlockPos pos) protected intWitherBossRenderer.getBlockLightLevel(WitherBoss entity, BlockPos pos) protected intWitherSkullRenderer.getBlockLightLevel(WitherSkull entity, BlockPos pos) protected intEntityRenderer.getSkyLightLevel(T entity, BlockPos pos) private static voidEntityRenderDispatcher.renderBlockShadow(PoseStack.Pose pose, VertexConsumer vertexConsumer, ChunkAccess chunk, LevelReader level, BlockPos pos, double x, double y, double z, float size, float weight) -
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 entity, BlockPos pos) private floatCompassItemPropertyFunction.getRotationTowardsCompassTarget(Entity entity, long ticks, BlockPos pos) -
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 soundEvent, SoundSource source, float volume, float pitch, RandomSource random, BlockPos entity) -
Uses of BlockPos in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type BlockPosModifier and TypeMethodDescriptionvoidPunchTreeTutorialStepInstance.onDestroyBlock(ClientLevel level, BlockPos pos, BlockState state, float diggingStage) Called when a player hits block to destroy it.voidTutorial.onDestroyBlock(ClientLevel level, BlockPos pos, BlockState state, float diggingStage) default voidTutorialStepInstance.onDestroyBlock(ClientLevel level, BlockPos pos, BlockState state, float diggingStage) 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 level, BlockPos pos, int flags) booleanBlockInput.test(ServerLevel level, BlockPos pos) -
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> context, String name) default BlockPosCoordinates.getBlockPos(CommandSourceStack source) static BlockPosBlockPosArgument.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static BlockPosBlockPosArgument.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ServerLevel level, String name) static BlockPosBlockPosArgument.getSpawnablePos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) -
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 distance) Offset this vector upwards by the given distance.BlockPos.atY(int y) BlockPos.below()BlockPos.below(int distance) Offset this vector downwards by the given distance.SectionPos.center()static BlockPosBlockPos.containing(double x, double y, double z) static BlockPosBlockPos.containing(Position position) Calculate the cross product of this and the given VectorBlockPos.east()BlockPos.east(int distance) 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 scalar) BlockPos.MutableBlockPos.multiply(int scalar) BlockPos.north()BlockPos.north(int distance) static BlockPosBlockPos.of(long packedPos) BlockPos.MutableBlockPos.offset(int dx, int dy, int dz) BlockPos.offset(int dx, int dy, int dz) SectionPos.origin()GlobalPos.pos()Returns the value of theposrecord component.BlockPos.MutableBlockPos.relative(Direction.Axis axis, int amount) Offsets this Vector by the given distance in the specified direction.BlockPos.relative(Direction.Axis axis, int amount) Offsets this Vector by the given distance in the specified direction.SectionPos.relativeToBlockPos(short pos) BlockPos.south()BlockPos.south(int distance) BlockPos.west()BlockPos.west(int distance) Methods in net.minecraft.core that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBlockPos.betweenClosed(int x1, int y1, int z1, int x2, int y2, int z2) Creates an Iterable that returns all positions in the box specified by the given corners.BlockPos.betweenClosed(BlockPos firstPos, BlockPos secondPos) BlockPos.betweenClosedStream(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) BlockPos.betweenClosedStream(BlockPos firstPos, BlockPos secondPos) BlockPos.betweenClosedStream(BoundingBox box) BlockPos.betweenClosedStream(AABB aabb) SectionPos.blocksInside()BlockPos.findClosestMatch(BlockPos pos, int width, int height, Predicate<BlockPos> posFilter) BlockBox.iterator()BlockPos.randomBetweenClosed(RandomSource random, int amount, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) BlockPos.randomInCube(RandomSource random, int amount, BlockPos center, int radius) BlockPos.squareOutSouthEast(BlockPos pos) Deprecated.BlockPos.withinManhattan(BlockPos pos, int xSize, int ySize, int zSize) BlockPos.withinManhattanStream(BlockPos pos, int xSize, int ySize, int zSize) 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 pos, it.unimi.dsi.fastutil.longs.LongConsumer consumer) static longBlockPos.betweenClosed(BlockPos firstPos, BlockPos secondPos) BlockPos.betweenClosedStream(BlockPos firstPos, BlockPos secondPos) static intBlockPos.breadthFirstTraversal(BlockPos startPos, int depth, int visitLimit, BiConsumer<BlockPos, Consumer<BlockPos>> action, Predicate<BlockPos> predicate) booleanBlockPos.findClosestMatch(BlockPos pos, int width, int height, Predicate<BlockPos> posFilter) static BlockPosstatic BlockPosstatic BlockBoxstatic BlockBoxstatic GlobalPosGlobalPos.of(ResourceKey<Level> dimension, BlockPos pos) static SectionPosBlockPos.randomInCube(RandomSource random, int amount, BlockPos center, int radius) static shortSectionPos.sectionRelativePos(BlockPos pos) static Iterable<BlockPos.MutableBlockPos> BlockPos.spiralAround(BlockPos center, int size, Direction rotationDirection, Direction expansionDirection) BlockPos.squareOutSouthEast(BlockPos pos) Deprecated.BlockPos.withinManhattan(BlockPos pos, int xSize, int ySize, int zSize) BlockPos.withinManhattanStream(BlockPos pos, int xSize, int ySize, int zSize) 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 startPos, int depth, int visitLimit, BiConsumer<BlockPos, Consumer<BlockPos>> action, Predicate<BlockPos> predicate) static intBlockPos.breadthFirstTraversal(BlockPos startPos, int depth, int visitLimit, BiConsumer<BlockPos, Consumer<BlockPos>> action, Predicate<BlockPos> predicate) static intBlockPos.breadthFirstTraversal(BlockPos startPos, int depth, int visitLimit, BiConsumer<BlockPos, Consumer<BlockPos>> action, Predicate<BlockPos> predicate) BlockPos.findClosestMatch(BlockPos pos, int width, int height, Predicate<BlockPos> posFilter) 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 level, BlockPos pos, Player player, InteractionHand hand, ItemStack filledStack, BlockState state, SoundEvent emptySound) static ItemInteractionResultCauldronInteraction.fillBucket(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack emptyStack, ItemStack filledStack, Predicate<BlockState> statePredicate, SoundEvent fillSound) CauldronInteraction.interact(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack stack) -
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 level, BlockPos pos) private static booleanShearsDispenseItemBehavior.tryShearLivingEntity(ServerLevel level, BlockPos pos, 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 pos) (package private) static BlockPosTestCommand.createTestPositionAround(CommandSourceStack source) GameTestAssertPosException.getAbsolutePos()private static BlockPosReportGameListener.getBeaconPos(GameTestInfo testInfo) private BlockPosGameTestInfo.getOrCalculateNorthwestCorner()GameTestAssertPosException.getRelativePos()GameTestInfo.getStructureBlockPos()static BlockPosStructureUtils.getStructureOrigin(StructureBlockEntity structureBlockEntity) static BlockPosStructureUtils.getTransformedFarCorner(BlockPos pos, Vec3i offset, Rotation rotation) GameTestHelper.relativePos(BlockPos pos) Methods in net.minecraft.gametest.framework that return types with arguments of type BlockPosModifier and TypeMethodDescriptionStructureUtils.findNearestStructureBlock(BlockPos pos, int radius, ServerLevel level) StructureUtils.findStructureBlockContainingPos(BlockPos pos, int radius, ServerLevel serverLevel) StructureBlockPosFinder.findStructureBlockPos()TestFinder.findStructureBlockPos()StructureUtils.findStructureBlocks(BlockPos pos, int radius, ServerLevel level) StructureUtils.findStructureByTestFunction(BlockPos pos, int radius, ServerLevel level, String testName) StructureUtils.lookedAtStructureBlockPos(BlockPos pos, Entity entity, ServerLevel level) Methods in net.minecraft.gametest.framework with parameters of type BlockPosModifier and TypeMethodDescriptionGameTestHelper.absolutePos(BlockPos pos) static voidStructureUtils.addCommandBlockAndButtonToStartTest(BlockPos structureBlockPos, BlockPos offset, Rotation rotation, ServerLevel serverLevel) voidGameTestHelper.assertAtTickTimeContainerContains(long tickTime, BlockPos pos, Item item) voidGameTestHelper.assertAtTickTimeContainerEmpty(long tickTime, BlockPos pos) voidGameTestHelper.assertBlock(BlockPos pos, Predicate<Block> predicate, String exceptionMessage) voidGameTestHelper.assertBlock(BlockPos pos, Predicate<Block> predicate, Supplier<String> exceptionMessage) <T extends BlockEntity>
voidGameTestHelper.assertBlockEntityData(BlockPos pos, Predicate<T> predicate, Supplier<String> exceptionMessage) voidGameTestHelper.assertBlockNotPresent(Block block, BlockPos pos) voidGameTestHelper.assertBlockPresent(Block block, BlockPos pos) <T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty(BlockPos pos, Property<T> property, Predicate<T> predicate, String exceptionMessage) <T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty(BlockPos pos, Property<T> property, T value) voidGameTestHelper.assertBlockState(BlockPos pos, Predicate<BlockState> predicate, Supplier<String> exceptionMessage) voidGameTestHelper.assertContainerContains(BlockPos pos, Item item) voidGameTestHelper.assertContainerEmpty(BlockPos pos) voidGameTestHelper.assertEntitiesPresent(EntityType<?> entityType, BlockPos pos, int count, double radius) <E extends Entity,T>
voidGameTestHelper.assertEntityData(BlockPos pos, EntityType<E> type, Function<? super E, T> entityDataGetter, T testEntityData) voidGameTestHelper.assertEntityInstancePresent(Entity entity, BlockPos pos) <E extends Entity & InventoryCarrier>
voidGameTestHelper.assertEntityInventoryContains(BlockPos pos, EntityType<E> entityType, Item item) <E extends LivingEntity>
voidGameTestHelper.assertEntityIsHolding(BlockPos pos, EntityType<E> entityType, Item item) voidGameTestHelper.assertEntityNotPresent(EntityType<?> type, BlockPos pos) voidGameTestHelper.assertEntityPresent(EntityType<?> type, BlockPos pos) voidGameTestHelper.assertEntityPresent(EntityType<?> type, BlockPos pos, double expansionAmount) voidGameTestHelper.assertItemEntityCountIs(Item item, BlockPos pos, double expansionAmount, int count) voidGameTestHelper.assertItemEntityNotPresent(Item item, BlockPos pos, double radius) voidGameTestHelper.assertItemEntityPresent(Item item, BlockPos pos, double expansionAmount) voidGameTestHelper.assertRedstoneSignal(BlockPos pos, Direction direction, IntPredicate signalStrengthPredicate, Supplier<String> exceptionMessage) voidGameTestHelper.assertSameBlockState(BlockPos testPos, BlockPos comparisonPos) voidGameTestHelper.assertSameBlockStates(BoundingBox boundingBox, BlockPos pos) private static voidStructureUtils.clearBlock(int structureBlockY, BlockPos pos, ServerLevel serverLevel) static GameTestServerGameTestServer.create(Thread serverThread, LevelStorageSource.LevelStorageAccess storageSource, PackRepository packRepository, Collection<TestFunction> testBatches, BlockPos spawnPos) private static Optional<GameTestInfo> TestCommand.createGameTestInfo(BlockPos pos, ServerLevel level, RetryOptions retryOptions) static voidStructureUtils.createNewEmptyStructureBlock(String structureName, BlockPos pos, Vec3i size, Rotation rotation, ServerLevel serverLevel) private static StructureBlockEntityStructureUtils.createStructureBlock(GameTestInfo gameTestInfo, BlockPos pos, Rotation rotation, ServerLevel level) voidGameTestHelper.destroyBlock(BlockPos pos) private static booleanStructureUtils.doesStructureContain(BlockPos structureBlockPos, BlockPos posToTest, ServerLevel serverLevel) voidStructureUtils.findNearestStructureBlock(BlockPos pos, int radius, ServerLevel level) StructureUtils.findStructureBlockContainingPos(BlockPos pos, int radius, ServerLevel serverLevel) StructureUtils.findStructureBlocks(BlockPos pos, int radius, ServerLevel level) StructureUtils.findStructureByTestFunction(BlockPos pos, int radius, ServerLevel level, String testName) <T extends BlockEntity>
TGameTestHelper.getBlockEntity(BlockPos pos) GameTestHelper.getBlockState(BlockPos pos) private static BoundingBoxStructureUtils.getBoundingBoxAtGround(BlockPos pos, int radius, ServerLevel level) GameTestHelper.getEntities(EntityType<T> entityType, BlockPos pos, double radius) static BoundingBoxStructureUtils.getStructureBoundingBox(BlockPos pos, Vec3i offset, Rotation rotation) static BlockPosStructureUtils.getTransformedFarCorner(BlockPos pos, Vec3i offset, Rotation rotation) StructureUtils.lookedAtStructureBlockPos(BlockPos pos, Entity entity, ServerLevel level) voidstatic StructureBlockEntityStructureUtils.prepareTestStructure(GameTestInfo gameTestInfo, BlockPos pos, Rotation rotation, ServerLevel level) voidGameTestHelper.pressButton(BlockPos pos) voidvoidGameTestHelper.pulseRedstone(BlockPos pos, long delay) voidGameTestHelper.randomTick(BlockPos pos) GameTestHelper.relativePos(BlockPos pos) voidvoidGameTestHelper.setBlock(BlockPos pos, BlockState state) voidGameTestInfo.setNorthWestCorner(BlockPos northWestCorner) (package private) voidGameTestInfo.setStructureBlockPos(BlockPos pos) private static voidReportGameListener.showRedBox(ServerLevel serverLevel, BlockPos pos, String displayMessage) <E extends Entity>
EGameTestHelper.spawn(EntityType<E> type, BlockPos pos) <E extends Mob>
EGameTestHelper.spawnWithNoFreeWill(EntityType<E> type, BlockPos pos) voidGameTestHelper.succeedWhenBlockPresent(Block block, BlockPos pos) <E extends Entity,T>
voidGameTestHelper.succeedWhenEntityData(BlockPos pos, EntityType<E> type, Function<E, T> entityDataGetter, T testEntityData) voidGameTestHelper.succeedWhenEntityNotPresent(EntityType<?> type, BlockPos pos) voidGameTestHelper.succeedWhenEntityPresent(EntityType<?> type, BlockPos pos) voidGameTestHelper.tickPrecipitation(BlockPos pos) voidvoidvoidGameTestHelper.useBlock(BlockPos pos, Player player, BlockHitResult result) Method parameters in net.minecraft.gametest.framework with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidGameTestHelper.forEveryBlockInStructure(Consumer<BlockPos> consumer) Constructors in net.minecraft.gametest.framework with parameters of type BlockPosModifierConstructorDescriptionGameTestAssertPosException(String exceptionMessage, BlockPos absolutePos, BlockPos relativePos, long tick) privateGameTestServer(Thread serverThread, LevelStorageSource.LevelStorageAccess storageSource, PackRepository packRepository, WorldStem worldStem, Collection<TestFunction> testBatches, BlockPos spawnPos) StructureGridSpawner(BlockPos northTestNorthWestCorner, int testsPerRow, boolean clearOnBatch) -
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 buffer) Methods in net.minecraft.network with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidFriendlyByteBuf.writeBlockPos(io.netty.buffer.ByteBuf buffer, BlockPos pos) FriendlyByteBuf.writeBlockPos(BlockPos pos) 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 pos) 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 pos, BlockEntityType<?> type, CompoundTag nbt) static voidDebugPackets.sendGameTestAddMarker(ServerLevel level, BlockPos pos, String text, int color, int lifetimeMillis) static voidDebugPackets.sendHiveInfo(Level level, BlockPos pos, BlockState blockState, BeehiveBlockEntity hiveBlockEntity) static voidDebugPackets.sendNeighborsUpdatePacket(Level level, BlockPos pos) static voidDebugPackets.sendPoiAddedPacket(ServerLevel level, BlockPos pos) static voidDebugPackets.sendPoiRemovedPacket(ServerLevel level, BlockPos pos) static voidDebugPackets.sendPoiTicketCountPacket(ServerLevel level, BlockPos pos) private static voidDebugPackets.sendVillageSectionsPacket(ServerLevel level, BlockPos pos) Method parameters in net.minecraft.network.protocol.game with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidClientboundSectionBlocksUpdatePacket.runUpdates(BiConsumer<BlockPos, BlockState> consumer) Constructors in net.minecraft.network.protocol.game with parameters of type BlockPosModifierConstructorDescriptionClientboundAddEntityPacket(Entity entity, int data, BlockPos pos) ClientboundBlockDestructionPacket(int id, BlockPos pos, int progress) privateClientboundBlockEntityDataPacket(BlockPos pos, BlockEntityType<?> type, CompoundTag tag) ClientboundBlockEventPacket(BlockPos pos, Block block, int b0, int b1) ClientboundBlockUpdatePacket(BlockPos pos, BlockState blockState) ClientboundBlockUpdatePacket(BlockGetter blockGetter, BlockPos pos) ClientboundLevelEventPacket(int type, BlockPos pos, int data, boolean globalEvent) ClientboundOpenSignEditorPacket(BlockPos pos, boolean isFrontText) ClientboundSetDefaultSpawnPositionPacket(BlockPos pos, float angle) ServerboundBlockEntityTagQueryPacket(int transactionId, BlockPos pos) ServerboundJigsawGeneratePacket(BlockPos pos, int levels, boolean keepJigsaws) ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action action, BlockPos pos, Direction direction) ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action action, BlockPos pos, Direction direction, int sequence) ServerboundSetCommandBlockPacket(BlockPos pos, String command, CommandBlockEntity.Mode mode, boolean trackOutput, boolean conditional, boolean automatic) ServerboundSetJigsawBlockPacket(BlockPos pos, ResourceLocation name, ResourceLocation target, ResourceLocation pool, String finalState, JigsawBlockEntity.JointType joint, int selectionPriority, int placementPriority) ServerboundSetStructureBlockPacket(BlockPos pos, StructureBlockEntity.UpdateType updateType, StructureMode mode, String name, BlockPos offset, Vec3i size, Mirror mirror, Rotation rotation, String data, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) ServerboundSignUpdatePacket(BlockPos pos, boolean isFrontText, String line1, String line2, String line3, String line4) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type BlockPosModifierConstructorDescriptionClientboundExplodePacket(double x, double y, double z, float power, List<BlockPos> toBlow, Vec3 knockback, Explosion.BlockInteraction blockInteraction, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, Holder<SoundEvent> explosionSound) -
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 level, BlockPos pos, Player player) -
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 source, BlockPos pos, List<ItemStack> items, LootCommand.Callback callback) private static intLootCommand.blockReplace(CommandSourceStack source, BlockPos pos, int slot, int numSlots, List<ItemStack> items, LootCommand.Callback callback) private static intItemCommands.blockToBlock(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot) private static intItemCommands.blockToBlock(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, Holder<LootItemFunction> modifier) private static intItemCommands.blockToEntities(CommandSourceStack source, BlockPos pos, int sourceSlot, Collection<? extends Entity> targets, int slot) private static intItemCommands.blockToEntities(CommandSourceStack source, BlockPos pos, int sourceSlot, Collection<? extends Entity> targets, int slot, Holder<LootItemFunction> modifier) private static OptionalIntExecuteCommand.checkRegions(ServerLevel level, BlockPos begin, BlockPos end, BlockPos destination, boolean isMasked) private static intExecuteCommand.countItems(CommandSourceStack source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> filter) private static intLootCommand.dropBlockLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, BlockPos pos, ItemStack tool, LootCommand.DropConsumer dropConsumer) private static intLootCommand.dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, BlockPos pos, ItemStack tool, LootCommand.DropConsumer dropConsumet) private static intItemCommands.entityToBlock(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot) private static intItemCommands.entityToBlock(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, Holder<LootItemFunction> modifier) private static intFillBiomeCommand.fill(CommandSourceStack source, BlockPos from, BlockPos to, Holder.Reference<Biome> biome, Predicate<Holder<Biome>> filter) 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 level, BlockPos from, BlockPos to, Holder<Biome> biome, Predicate<Holder<Biome>> filter, Consumer<Supplier<Component>> messageOutput) private static intDebugPathCommand.fillBlocks(CommandSourceStack stack, BlockPos pos) SetBlockCommand.Filter.filter(BoundingBox boundingBox, BlockPos pos, BlockInput blockInput, ServerLevel level) private static ItemStackItemCommands.getBlockItem(CommandSourceStack source, BlockPos pos, int slot) (package private) static ContainerItemCommands.getContainer(CommandSourceStack source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exception) private static ContainerLootCommand.getContainer(CommandSourceStack source, BlockPos pos) private static booleanExecuteCommand.isChunkLoaded(ServerLevel level, BlockPos pos) private static intItemCommands.modifyBlockItem(CommandSourceStack source, BlockPos pos, int slot, Holder<LootItemFunction> modifier) static intPlaceCommand.placeFeature(CommandSourceStack source, Holder.Reference<ConfiguredFeature<?, ?>> feature, BlockPos pos) static intPlaceCommand.placeJigsaw(CommandSourceStack source, Holder<StructureTemplatePool> templatePool, ResourceLocation target, int maxDepth, BlockPos pos) static intPlaceCommand.placeStructure(CommandSourceStack source, Holder.Reference<Structure> p_structure, BlockPos pos) static intPlaceCommand.placeTemplate(CommandSourceStack source, ResourceLocation template, BlockPos pos, Rotation rotation, Mirror mirror, float integrity, int seed) private static BlockPosprivate static intSetBlockCommand.setBlock(CommandSourceStack source, BlockPos pos, BlockInput state, SetBlockCommand.Mode mode, Predicate<BlockInWorld> predicate) private static intItemCommands.setBlockItem(CommandSourceStack source, BlockPos pos, int slot, ItemStack item) private static intSetSpawnCommand.setSpawn(CommandSourceStack source, Collection<ServerPlayer> targets, BlockPos pos, float angle) private static intSetWorldSpawnCommand.setSpawn(CommandSourceStack source, BlockPos pos, float angle) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagArgument.Result<?> result, BlockPos sourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultWithPosition, String translationKey, boolean absoluteY, Duration duration) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagKeyArgument.Result<?> result, BlockPos sourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultWithPosition, String translationKey, boolean absoluteY, Duration duration) private static intLocateCommand.showLocateResult(CommandSourceStack source, BlockPos sourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultWithoutPosition, String translationKey, boolean absoluteY, String elementName, Duration duration) private static intDebugMobSpawningCommand.spawnMobs(CommandSourceStack source, MobCategory mobCategory, BlockPos pos) Method parameters in net.minecraft.server.commands with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagArgument.Result<?> result, BlockPos sourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultWithPosition, String translationKey, boolean absoluteY, Duration duration) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagKeyArgument.Result<?> result, BlockPos sourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultWithPosition, String translationKey, boolean absoluteY, Duration duration) private static intLocateCommand.showLocateResult(CommandSourceStack source, BlockPos sourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultWithoutPosition, String translationKey, boolean absoluteY, String elementName, Duration duration) 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 level, BlockPos pos, Player player) -
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 level, BlockPos pos) protected BlockPosServerLevel.findLightningTargetAround(BlockPos pos) ServerLevel.findNearestMapStructure(TagKey<Structure> structureTag, BlockPos pos, int radius, boolean skipExistingChunks) protected static BlockPosPlayerRespawnLogic.getOverworldRespawnPos(ServerLevel level, int x, int z) BlockDestructionProgress.getPos()ServerPlayer.getRaidOmenPosition()ServerPlayer.getRespawnPosition()static BlockPosPlayerRespawnLogic.getSpawnPosInChunk(ServerLevel level, ChunkPos chunkPos) Methods in net.minecraft.server.level that return types with arguments of type BlockPosModifier and TypeMethodDescriptionServerLevel.findClosestBiome3d(Predicate<Holder<Biome>> biomePredicate, BlockPos pos, int radius, int horizontalStep, int verticalStep) ServerLevel.findLightningRod(BlockPos pos) Methods in net.minecraft.server.level with parameters of type BlockPosModifier and TypeMethodDescriptionServerPlayer.adjustSpawnLocation(ServerLevel level, BlockPos pos) private booleanServerPlayer.bedBlocked(BlockPos pos, Direction direction) private booleanServerPlayer.bedInRange(BlockPos pos, Direction direction) voidChunkHolder.blockChanged(BlockPos pos) voidServerChunkCache.blockChanged(BlockPos pos) voidServerLevel.blockEvent(BlockPos pos, Block block, int eventID, int eventParam) voidServerLevel.blockUpdated(BlockPos pos, Block block) private voidChunkHolder.broadcastBlockEntity(List<ServerPlayer> players, Level level, BlockPos pos) private voidChunkHolder.broadcastBlockEntityIfNeeded(List<ServerPlayer> players, Level level, BlockPos pos, BlockState state) private static floatServerPlayer.RespawnPosAngle.calculateLookAtYaw(Vec3 position, BlockPos towardsPos) voidThreadedLevelLightEngine.checkBlock(BlockPos pos) protected voidServerPlayer.checkFallDamage(double y, boolean onGround, BlockState state, BlockPos pos) private voidServerPlayerGameMode.debugLogging(BlockPos pos, boolean terminate, int sequence, String message) voidServerPlayerGameMode.destroyAndAck(BlockPos pos, int sequence, String message) booleanServerPlayerGameMode.destroyBlock(BlockPos pos) Attempts to harvest a blockbooleanWorldGenRegion.destroyBlock(BlockPos pos, boolean dropBlock, Entity entity, int recursionLeft) voidServerLevel.destroyBlockProgress(int breakerId, BlockPos pos, int progress) booleanWorldGenRegion.ensureCanWrite(BlockPos pos) ServerLevel.findClosestBiome3d(Predicate<Holder<Biome>> biomePredicate, BlockPos pos, int radius, int horizontalStep, int verticalStep) ServerLevel.findLightningRod(BlockPos pos) protected BlockPosServerLevel.findLightningTargetAround(BlockPos pos) ServerLevel.findNearestMapStructure(TagKey<Structure> structureTag, BlockPos pos, int radius, boolean skipExistingChunks) private static Optional<ServerPlayer.RespawnPosAngle> ServerPlayer.findRespawnAndUseSpawnBlock(ServerLevel level, BlockPos pos, float angle, boolean forced, boolean keepInventory) WorldGenRegion.getBlockEntity(BlockPos pos) WorldGenRegion.getBlockState(BlockPos pos) WorldGenRegion.getCurrentDifficultyAt(BlockPos pos) WorldGenRegion.getFluidState(BlockPos pos) voidServerLevel.globalLevelEvent(int id, BlockPos pos, int data) voidDemoMode.handleBlockBreakAction(BlockPos pos, ServerboundPlayerActionPacket.Action action, Direction face, int maxBuildHeight, int sequence) voidServerPlayerGameMode.handleBlockBreakAction(BlockPos pos, ServerboundPlayerActionPacket.Action action, Direction face, int maxBuildHeight, int sequence) private floatServerPlayerGameMode.incrementDestroyProgress(BlockState state, BlockPos pos, int startTick) voidServerLevel.invalidateCapabilities(BlockPos pos) booleanServerLevel.isCloseToVillage(BlockPos pos, int sections) booleanWorldGenRegion.isFluidAtPosition(BlockPos pos, Predicate<FluidState> predicate) booleanServerLevel.isNaturalSpawningAllowed(BlockPos pos) booleanServerLevel.isPositionEntityTicking(BlockPos pos) booleanprivate booleanServerPlayer.isReachableBedBlock(BlockPos pos) booleanWorldGenRegion.isStateAtPosition(BlockPos pos, Predicate<BlockState> state) booleanvoidServerLevel.levelEvent(Player player, int type, BlockPos pos, int data) voidWorldGenRegion.levelEvent(Player player, int type, BlockPos pos, int data) private voidWorldGenRegion.markPosForPostprocessing(BlockPos pos) booleanServerLevel.mayInteract(Player player, BlockPos pos) booleanServerPlayer.mayInteract(Level level, BlockPos pos) voidServerLevel.neighborChanged(BlockPos pos, Block block, BlockPos fromPos) voidServerLevel.neighborChanged(BlockState state, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) static ServerPlayer.RespawnPosAnglevoidServerLevel.onBlockStateChange(BlockPos pos, BlockState blockState, BlockState newState) protected voidServerPlayer.onChangedBlock(ServerLevel level, BlockPos pos) voidWorldGenRegion.playSound(Player player, BlockPos pos, SoundEvent sound, SoundSource category, float volume, float pitch) 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 pos, boolean isMoving) voidServerLevel.sendBlockUpdated(BlockPos pos, BlockState oldState, BlockState newState, int flags) Flags are as in setBlockStatebooleanWorldGenRegion.setBlock(BlockPos pos, BlockState state, int flags, int recursionLeft) voidServerLevel.setDefaultSpawnPos(BlockPos pos, float angle) voidServerPlayer.setRaidOmenPosition(BlockPos raidOmenPosition) voidServerPlayer.setRespawnPosition(ResourceKey<Level> dimension, BlockPos position, float angle, boolean forced, boolean sendMessage) com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> ServerPlayer.startSleepInBed(BlockPos at) voidServerPlayer.startSleeping(BlockPos pos) private voidprivate voidvoidServerLevel.tickPrecipitation(BlockPos blockPos) voidServerLevel.updateNeighborsAt(BlockPos pos, Block block) voidServerLevel.updateNeighborsAtExceptFromFacing(BlockPos pos, Block blockType, Direction skipSide) 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 level, BlockPos targetPos, BlockState targetState, BlockPos attemptedPos, BlockState attemptedState) static voidParticleUtils.spawnParticleBelow(Level level, BlockPos pos, RandomSource random, ParticleOptions particle) static voidParticleUtils.spawnParticleInBlock(LevelAccessor level, BlockPos pos, int count, ParticleOptions particle) static voidParticleUtils.spawnParticleOnFace(Level level, BlockPos pos, Direction direction, ParticleOptions particle, Vec3 speed, double spread) static voidParticleUtils.spawnParticles(LevelAccessor level, BlockPos pos, int count, double xzSpread, double ySpread, boolean allowInAir, ParticleOptions particle) static voidParticleUtils.spawnParticlesAlongAxis(Direction.Axis axis, Level level, BlockPos pos, double spread, ParticleOptions particle, UniformInt count) static voidParticleUtils.spawnParticlesOnBlockFace(Level level, BlockPos pos, ParticleOptions particle, IntProvider count, Direction direction, Supplier<Vec3> speedSupplier, double spread) static voidParticleUtils.spawnParticlesOnBlockFaces(Level level, BlockPos pos, ParticleOptions particle, IntProvider count) static voidParticleUtils.spawnSmashAttackParticles(LevelAccessor level, BlockPos pos, int power) SpawnUtil.trySpawnMob(EntityType<T> entityType, MobSpawnType spawnType, ServerLevel level, BlockPos pos, int attempts, int spread, int yOffset, SpawnUtil.Strategy strategy) -
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 level, BlockPos pos, NonNullList<ItemStack> stackList) static voidContainers.dropContents(Level level, BlockPos pos, Container inventory) static voidContainers.dropContentsOnDestroy(BlockState state, BlockState newState, Level level, BlockPos pos) WorldlyContainerHolder.getContainer(BlockState state, LevelAccessor level, BlockPos pos) static voidRandomizableContainer.setBlockEntityLootTable(BlockGetter level, RandomSource random, BlockPos ps, ResourceKey<LootTable> lootTable) -
Uses of BlockPos in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidWeavingMobEffect.spawnCobwebsRandomlyAround(Level level, RandomSource random, BlockPos pos) -
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 level, BlockPos pos) default BlockPosSpawnPlacementType.adjustSpawnPosition(LevelReader level, BlockPos pos) Entity.blockPosition()ExperienceOrb.getBlockPosBelowThatAffectsMyMovement()PortalProcessor.getEntryPosition()Entity.getOnPos()protected BlockPosEntity.getOnPos(float yOffset) Entity.getOnPosLegacy()Deprecated.protected BlockPosEntity.getPrimaryStepSoundBlockPos(BlockPos pos) 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 level, BlockPos pos) Methods in net.minecraft.world.entity with parameters of type BlockPosModifier and TypeMethodDescriptionEntity.adjustSpawnLocation(ServerLevel level, BlockPos pos) default BlockPosSpawnPlacementType.adjustSpawnPosition(LevelReader level, BlockPos pos) private booleanTamableAnimal.canTeleportTo(BlockPos pos) booleanEntity.canTrample(BlockState state, BlockPos pos, float fallDistance) protected voidEntity.checkFallDamage(double y, boolean onGround, BlockState state, BlockPos pos) protected voidFlyingMob.checkFallDamage(double y, boolean onGround, BlockState state, BlockPos pos) protected voidLivingEntity.checkFallDamage(double y, boolean onGround, BlockState state, BlockPos pos) static booleanGlowSquid.checkGlowSquidSpawnRules(EntityType<? extends LivingEntity> glowSquid, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanMob.checkMobSpawnRules(EntityType<? extends Mob> type, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules(EntityType<T> entityType, ServerLevelAccessor serverLevel, MobSpawnType spawnType, BlockPos pos, RandomSource random) private static voidLightningBolt.clearCopperOnLightningStrike(Level level, BlockPos pos) EntityType.create(ServerLevel level, Consumer<T> consumer, BlockPos pos, MobSpawnType spawnType, boolean shouldOffsetY, boolean shouldOffsetYMore) floatEntity.getBlockExplosionResistance(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, FluidState fluidState, float explosionPower) Explosion resistance of a block relative to this entityprotected BlockPosEntity.getPrimaryStepSoundBlockPos(BlockPos pos) floatPathfinderMob.getWalkTargetValue(BlockPos pos) floatPathfinderMob.getWalkTargetValue(BlockPos pos, LevelReader level) protected static doubleEntityType.getYOffset(LevelReader level, BlockPos pos, boolean shouldOffsetYMore, AABB box) booleanEntity.isColliding(BlockPos pos, BlockState state) static booleanSpawnPlacements.isSpawnPositionOk(EntityType<?> entityType, LevelReader level, BlockPos pos) booleanSpawnPlacementType.isSpawnPositionOk(LevelReader level, BlockPos pos, EntityType<?> entityType) booleanEntity.isSupportedBy(BlockPos pos) booleanMob.isWithinRestriction(BlockPos pos) booleanEntity.mayInteract(Level level, BlockPos pos) voidprotected voidLivingEntity.onChangedBlock(ServerLevel level, BlockPos pos) voidEntity.placePortalTicket(BlockPos pos) protected voidEntity.playCombinationStepSounds(BlockState primaryState, BlockState secondaryState, BlockPos primaryPos, BlockPos secondaryPos) protected voidEntity.playMuffledStepSound(BlockState state, BlockPos pos) protected voidEntity.playStepSound(BlockPos pos, BlockState state) LightningBolt.randomStepCleaningCopper(Level level, BlockPos pos) private static voidLightningBolt.randomWalkCleaningCopper(Level level, BlockPos pos, BlockPos.MutableBlockPos mutable, int steps) voidMob.restrictTo(BlockPos pos, int distance) voidEntity.setAsInsidePortal(Portal portal, BlockPos pos) private voidLivingEntity.setPosToBed(BlockPos pos) Sets entity position to a supplied BlockPos plus a little offsetvoidLivingEntity.setRecordPlayingNearby(BlockPos jukebox, boolean partyParrot) Called when a record starts or stops playing.voidLivingEntity.setSleepingPos(BlockPos pos) booleanEntity.shouldBlockExplode(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, float explosionPower) EntityType.spawn(ServerLevel level, Consumer<T> consumer, BlockPos pos, MobSpawnType spawnType, boolean shouldOffsetY, boolean shouldOffsetYMore) EntityType.spawn(ServerLevel level, BlockPos pos, MobSpawnType spawnType) EntityType.spawn(ServerLevel serverLevel, ItemStack stack, Player player, BlockPos pos, MobSpawnType spawnType, boolean shouldOffsetY, boolean shouldOffsetYMore) voidLivingEntity.startSleeping(BlockPos pos) private voidTamableAnimal.teleportToAroundBlockPos(BlockPos pos) booleanSpawnPlacements.SpawnPredicate.test(EntityType<T> entityType, ServerLevelAccessor serverLevel, MobSpawnType spawnType, BlockPos pos, RandomSource random) private booleanLivingEntity.trapdoorUsableAsLadder(BlockPos pos, BlockState state) voidPortalProcessor.updateEntryPosition(BlockPos entryPosition) private booleanEntity.vibrationAndSoundEffectsFromBlock(BlockPos pos, BlockState state, boolean playStepSound, boolean broadcastGameEvent, Vec3 entityPos) private voidEntity.walkingStepSound(BlockPos pos, BlockState state) 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 mob, BlockPos pos) PrepareRamNearestTarget.RamCandidate.getStartPosition()PrepareRamNearestTarget.RamCandidate.getTargetPosition()private BlockPosHarvestFarmland.getValidFarmland(ServerLevel serverLevel) Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPrepareRamNearestTarget.calculateRammingStartPosition(PathfinderMob pathfinder, LivingEntity entity) JumpOnBed.getNearestBed(Mob mob) AnimalPanic.lookForWater(BlockGetter level, Entity entity) UseBonemeal.pickNextTarget(ServerLevel level, Villager villager) VillagerMakeLove.takeVacantBed(ServerLevel level, Villager villager) Methods in net.minecraft.world.entity.ai.behavior with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static booleanInteractWithDoor.areOtherMobsComingThroughDoor(LivingEntity entity, BlockPos pos, Optional<List<LivingEntity>> nearestLivingEntities) private static booleanValidateNearbyPoi.bedIsOccupied(ServerLevel level, BlockPos pos, LivingEntity entity) private booleanprivate static booleanYieldJobSite.canReachPos(PathfinderMob mob, BlockPos pos, PoiType poi) static <E extends Mob>
booleanLongJumpToRandomPos.defaultAcceptableLandingSpot(E mob, BlockPos pos) private Vec3PrepareRamNearestTarget.getEdgeOfBlock(BlockPos pos, BlockPos other) private static BlockPosGoToTargetLocation.getNearbyPos(Mob mob, BlockPos pos) private voidVillagerMakeLove.giveBedToChild(ServerLevel level, Villager villager, BlockPos pos) static booleanMoveToSkySeeingSpot.hasNoBlocksAbove(ServerLevel level, LivingEntity entity, BlockPos pos) private booleanLongJumpToRandomPos.isAcceptableLandingPosition(ServerLevel level, E entity, BlockPos pos) private booleanJumpOnBed.isBed(ServerLevel level, BlockPos pos) private static booleanInteractWithDoor.isMobComingThroughDoor(Brain<?> brain, BlockPos pos) private booleanPrepareRamNearestTarget.isWalkableBlock(PathfinderMob pathfinder, BlockPos pos) private static booleanYieldJobSite.nearbyWantsJobsite(Holder<PoiType> poi, Villager villager, BlockPos pos) InteractWithDoor.rememberDoorToClose(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> doorsToClose, Optional<Set<GlobalPos>> doorPositions, ServerLevel level, BlockPos pos) static voidBehaviorUtils.setWalkAndLookTargetMemories(LivingEntity livingEntity, BlockPos pos, float speed, int distance) private voidWorkAtComposter.spawnComposterFillEffects(ServerLevel level, BlockState preState, BlockPos pos, BlockState postState) private voidJumpOnBed.startWalkingTowardsBed(Mob mob, BlockPos pos) private booleanHarvestFarmland.validPos(BlockPos pos, ServerLevel serverLevel) private booleanUseBonemeal.validPos(BlockPos pos, ServerLevel level) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type BlockPosModifier and TypeMethodDescriptionGoToTargetLocation.create(MemoryModuleType<BlockPos> locationMemory, int closeEnoughDist, float speedModifier) static PathAcquirePoi.findPathToPois(Mob mob, Set<com.mojang.datafixers.util.Pair<Holder<PoiType>, BlockPos>> poiPositions) static BehaviorControl<PathfinderMob> SetWalkTargetAwayFrom.pos(MemoryModuleType<BlockPos> walkTargetAwayFromMemory, float speedModifier, int desiredDistance, boolean hasTarget) Constructors in net.minecraft.world.entity.ai.behavior with parameters of type BlockPosModifierConstructorDescriptionBlockPosTracker(BlockPos blockPos) PossibleJump(BlockPos jumpTarget, int weight) RamCandidate(BlockPos startPosition, BlockPos targetPosition, LivingEntity target) Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type BlockPosModifierConstructorDescriptionLongJumpToPreferredBlock(UniformInt timeBetweenLongJumps, int maxLongJumpHeight, int maxLongJumpWidth, float maxJumpVelocity, Function<E, SoundEvent> getJumpSound, TagKey<Block> preferredBlockTag, float preferredBlocksChance, BiPredicate<E, BlockPos> acceptableLandingSpot) LongJumpToRandomPos(UniformInt timeBetweenLongJumps, int maxLongJumpHeight, int maxLongJumpWidth, float maxJumpVelocity, Function<E, SoundEvent> getJumpSound, BiPredicate<E, BlockPos> acceptableLandingSpot) -
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 pos, BlockGetter level) private BlockPosGolemRandomStrollInVillageGoal.getRandomPoiWithinSection(SectionPos sectionPos) protected BlockPosPanicGoal.lookForWater(BlockGetter level, Entity entity, int range) Methods in net.minecraft.world.entity.ai.goal with parameters of type BlockPosModifier and TypeMethodDescriptionprivate BlockPosRemoveBlockGoal.getPosWithBlock(BlockPos pos, BlockGetter level) private booleanBreathAirGoal.givesAir(LevelReader level, BlockPos pos) private booleanMoveThroughVillageGoal.hasNotVisited(BlockPos pos) protected booleanCatLieOnBedGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destinationprotected booleanCatSitOnBlockGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destinationprotected abstract booleanMoveToBlockGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destinationprotected booleanRemoveBlockGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destinationvoidRemoveBlockGoal.playBreakSound(Level level, BlockPos pos) voidRemoveBlockGoal.playDestroyProgressSound(LevelAccessor level, BlockPos pos) private booleanDolphinJumpGoal.surfaceIsClear(BlockPos pos, int dx, int dz, int scale) private booleanDolphinJumpGoal.waterIsClear(BlockPos pos, int dx, int dz, int scale) -
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 pos, float speedModifier, int closeEnoughDist) 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 level, Hoglin hoglin) PiglinSpecificSensor.findNearestRepellent(ServerLevel level, LivingEntity livingEntity) Methods in net.minecraft.world.entity.ai.sensing with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static booleanPiglinSpecificSensor.isValidRepellent(ServerLevel level, BlockPos pos) -
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 random, int horizontalDistance, int verticalDistance) Gets a random position within a certain distance.static BlockPosRandomPos.generateRandomDirectionWithinRadians(RandomSource random, int maxHorizontalDifference, int yRange, int y, double x, double z, double maxAngleDelta) static BlockPosAirAndWaterRandomPos.generateRandomPos(PathfinderMob mob, int maxDistance, int yRange, int y, double x, double z, double amplifier, boolean shortCircuit) private static BlockPosDefaultRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, int radius, boolean shortCircuit, BlockPos pos) static BlockPosLandRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, int radius, boolean shortCircuit, BlockPos pos) static BlockPosRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, int range, RandomSource random, BlockPos pos) static BlockPosLandRandomPos.movePosUpOutOfSolid(PathfinderMob mob, BlockPos pos) static BlockPosRandomPos.moveUpOutOfSolid(BlockPos pos, int maxY, Predicate<BlockPos> posPredicate) static BlockPosRandomPos.moveUpToAboveSolid(BlockPos pos, int aboveSolidAmount, int maxY, Predicate<BlockPos> posPredicate) 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 mob, int radius, boolean shortCircuit, BlockPos pos) static BlockPosLandRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, int radius, boolean shortCircuit, BlockPos pos) static BlockPosRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, int range, RandomSource random, BlockPos pos) static booleanGoalUtils.hasMalus(PathfinderMob mob, BlockPos pos) static booleanGoalUtils.isNotStable(PathNavigation navigation, BlockPos pos) static booleanGoalUtils.isOutsideLimits(BlockPos pos, PathfinderMob mob) static booleanGoalUtils.isRestricted(boolean shortCircuit, PathfinderMob mob, BlockPos pos) static booleanGoalUtils.isSolid(PathfinderMob mob, BlockPos pos) static booleanGoalUtils.isWater(PathfinderMob mob, BlockPos pos) static BlockPosLandRandomPos.movePosUpOutOfSolid(PathfinderMob mob, BlockPos pos) static BlockPosRandomPos.moveUpOutOfSolid(BlockPos pos, int maxY, Predicate<BlockPos> posPredicate) static BlockPosRandomPos.moveUpToAboveSolid(BlockPos pos, int aboveSolidAmount, int maxY, Predicate<BlockPos> posPredicate) 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> posSupplier, ToDoubleFunction<BlockPos> toDoubleFunction) Tries 10 times to maximize the return value of the position to double function based on the supplied positionstatic Vec3RandomPos.generateRandomPos(Supplier<BlockPos> posSupplier, ToDoubleFunction<BlockPos> toDoubleFunction) Tries 10 times to maximize the return value of the position to double function based on the supplied positionstatic Vec3RandomPos.generateRandomPos(PathfinderMob mob, Supplier<BlockPos> posSupplier) static Vec3LandRandomPos.getPos(PathfinderMob mob, int radius, int yRange, ToDoubleFunction<BlockPos> toDoubleFunction) static BlockPosRandomPos.moveUpOutOfSolid(BlockPos pos, int maxY, Predicate<BlockPos> posPredicate) static BlockPosRandomPos.moveUpToAboveSolid(BlockPos pos, int aboveSolidAmount, int maxY, Predicate<BlockPos> posPredicate) 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 level, BlockPos pos) -
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>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findAll(Predicate<Holder<PoiType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findAllClosestFirstWithType(Predicate<Holder<PoiType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findAllWithType(Predicate<Holder<PoiType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findClosest(Predicate<Holder<PoiType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findClosest(Predicate<Holder<PoiType>> typePredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findClosestWithType(Predicate<Holder<PoiType>> typePredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.getRandom(Predicate<Holder<PoiType>> typePredicate, Predicate<BlockPos> posPredicate, PoiManager.Occupancy status, BlockPos pos, int distance, RandomSource random) PoiManager.take(Predicate<Holder<PoiType>> typePredicate, BiPredicate<Holder<PoiType>, BlockPos> combinedTypePosPredicate, BlockPos pos, int distance) Methods in net.minecraft.world.entity.ai.village.poi with parameters of type BlockPosModifier and TypeMethodDescriptionvoidvoidvoidPoiManager.ensureLoadedAndValid(LevelReader levelReader, BlockPos pos, int coordinateOffset) booleanbooleanbooleanPoiManager.existsAtPosition(ResourceKey<PoiType> type, BlockPos pos) PoiManager.find(Predicate<Holder<PoiType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findAll(Predicate<Holder<PoiType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findAllClosestFirstWithType(Predicate<Holder<PoiType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findAllWithType(Predicate<Holder<PoiType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findClosest(Predicate<Holder<PoiType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findClosest(Predicate<Holder<PoiType>> typePredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.findClosestWithType(Predicate<Holder<PoiType>> typePredicate, BlockPos pos, int distance, PoiManager.Occupancy status) longPoiManager.getCountInRange(Predicate<Holder<PoiType>> typePredicate, BlockPos pos, int distance, PoiManager.Occupancy status) intPoiManager.getFreeTickets(BlockPos pos) Deprecated.intPoiSection.getFreeTickets(BlockPos pos) Deprecated.PoiManager.getInRange(Predicate<Holder<PoiType>> typePredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiManager.getInSquare(Predicate<Holder<PoiType>> typePredicate, BlockPos pos, int distance, PoiManager.Occupancy status) PoiSection.getPoiRecord(BlockPos pos) PoiManager.getRandom(Predicate<Holder<PoiType>> typePredicate, Predicate<BlockPos> posPredicate, PoiManager.Occupancy status, BlockPos pos, int distance, RandomSource random) booleanbooleanvoidvoidPoiManager.take(Predicate<Holder<PoiType>> typePredicate, BiPredicate<Holder<PoiType>, BlockPos> combinedTypePosPredicate, BlockPos pos, int distance) Method parameters in net.minecraft.world.entity.ai.village.poi with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidPoiManager.take(Predicate<Holder<PoiType>> typePredicate, BiPredicate<Holder<PoiType>, BlockPos> combinedTypePosPredicate, BlockPos pos, int distance) private voidPoiManager.updateFromSection(LevelChunkSection section, SectionPos sectionPos, BiConsumer<BlockPos, Holder<PoiType>> posToTypeConsumer) 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> bat, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected voidBat.checkFallDamage(double y, boolean onGround, BlockState state, BlockPos pos) -
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> predicate, double distance) Bee.getBlacklistedHives()Methods in net.minecraft.world.entity.animal with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidBee.BeeGoToHiveGoal.blacklistTarget(BlockPos pos) static booleanAnimal.checkAnimalSpawnRules(EntityType<? extends Animal> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected voidBee.checkFallDamage(double y, boolean onGround, BlockState state, BlockPos pos) protected voidParrot.checkFallDamage(double y, boolean onGround, BlockState state, BlockPos pos) static booleanFox.checkFoxSpawnRules(EntityType<Fox> fox, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanMushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> mushroomCow, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource randomSource) static booleanOcelot.checkOcelotSpawnRules(EntityType<Ocelot> ocelot, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanParrot.checkParrotSpawnRules(EntityType<Parrot> parrot, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanPolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> polarBear, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanRabbit.checkRabbitSpawnRules(EntityType<Rabbit> rabbit, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanWaterAnimal.checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> waterAnimal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanTropicalFish.checkTropicalFishSpawnRules(EntityType<TropicalFish> tropicalFish, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanTurtle.checkTurtleSpawnRules(EntityType<Turtle> turtle, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanWolf.checkWolfSpawnRules(EntityType<Wolf> wolf, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) (package private) booleanBee.closerThan(BlockPos pos, int distance) private booleanBee.doesHiveHaveSpace(BlockPos hivePos) private static Rabbit.VariantRabbit.getRandomRabbitVariant(LevelAccessor level, BlockPos pos) floatAnimal.getWalkTargetValue(BlockPos pos, LevelReader level) floatBee.getWalkTargetValue(BlockPos pos, LevelReader level) floatMushroomCow.getWalkTargetValue(BlockPos pos, LevelReader level) floatTurtle.getWalkTargetValue(BlockPos pos, LevelReader level) private booleanBee.BeeGoToHiveGoal.hasReachedTarget(BlockPos pos) protected static booleanAnimal.isBrightEnoughToSpawn(BlockAndTintGetter level, BlockPos pos) (package private) booleanBee.isFlowerValid(BlockPos pos) booleanTurtle.TurtlePathNavigation.isStableDestination(BlockPos pos) (package private) booleanBee.BeeGoToHiveGoal.isTargetBlacklisted(BlockPos pos) (package private) booleanBee.isTooFarAway(BlockPos pos) protected booleanFox.FoxEatBerriesGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destinationprotected booleanRabbit.RaidGardenGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destinationprotected booleanTurtle.TurtleGoToWaterGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destinationprotected booleanTurtle.TurtleLayEggGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destinationprivate booleanBee.BeeGoToHiveGoal.pathfindDirectlyTowards(BlockPos pos) (package private) voidBee.pathfindRandomlyTowards(BlockPos pos) protected voidAbstractFish.playStepSound(BlockPos pos, BlockState block) protected voidBee.playStepSound(BlockPos pos, BlockState block) protected voidChicken.playStepSound(BlockPos pos, BlockState block) protected voidCow.playStepSound(BlockPos pos, BlockState block) protected voidIronGolem.playStepSound(BlockPos pos, BlockState block) protected voidPanda.playStepSound(BlockPos pos, BlockState block) protected voidParrot.playStepSound(BlockPos pos, BlockState block) protected voidPig.playStepSound(BlockPos pos, BlockState block) protected voidPolarBear.playStepSound(BlockPos pos, BlockState block) protected voidSheep.playStepSound(BlockPos pos, BlockState block) protected voidTurtle.playStepSound(BlockPos pos, BlockState block) protected voidWolf.playStepSound(BlockPos pos, BlockState block) voidBee.setHivePos(BlockPos hivePos) voidTurtle.setHomePos(BlockPos homePos) voidParrot.setRecordPlayingNearby(BlockPos pos, boolean isPartying) Called when a record starts or stops playing.voidBee.setSavedFlowerPos(BlockPos savedFlowerPos) (package private) voidTurtle.setTravelPos(BlockPos travelPos) voidDolphin.setTreasurePos(BlockPos pos) -
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 y, boolean onGround, BlockState state, BlockPos pos) static voidAllayAi.hearNoteblock(LivingEntity entity, BlockPos pos) 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 pos, BlockState state) voidAllay.setJukeboxPlaying(BlockPos jukeboxPos, boolean jukeboxPlaying) -
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> entityType, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected voidArmadillo.playStepSound(BlockPos pos, BlockState state) -
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> axolotl, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) floatAxolotl.getWalkTargetValue(BlockPos pos, LevelReader level) -
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 pos, BlockState block) -
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> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) private static <E extends Mob>
booleanFrogAi.isAcceptableLandingSpot(E mob, BlockPos pos) protected voidFrog.playStepSound(BlockPos pos, BlockState state) -
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> goat, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected voidGoat.playStepSound(BlockPos pos, BlockState state) -
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> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanZombieHorse.checkZombieHorseSpawnRules(EntityType<? extends Animal> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected voidAbstractHorse.playStepSound(BlockPos pos, BlockState block) protected voidLlama.playStepSound(BlockPos pos, BlockState block) -
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 pos, BlockState state) private SnifferSniffer.storeExploredPosition(BlockPos pos) -
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 crystal, BlockPos pos, DamageSource damageSource) voidEndCrystal.setBeamTarget(BlockPos beamTarget) voidEnderDragon.setFightOrigin(BlockPos fightOrigin) -
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 crystal, BlockPos pos, DamageSource dmgSrc, Player plyr) voidDragonHoldingPatternPhase.onCrystalDestroyed(EndCrystal crystal, BlockPos pos, DamageSource dmgSrc, Player plyr) voidDragonPhaseInstance.onCrystalDestroyed(EndCrystal crystal, BlockPos pos, DamageSource damageSource, Player player) -
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 pos, Direction direction) protected AABBItemFrame.calculateBoundingBox(BlockPos pos, Direction direction) protected AABBPainting.calculateBoundingBox(BlockPos pos, Direction p_direction) static LeashFenceKnotEntityLeashFenceKnotEntity.getOrCreateKnot(Level level, BlockPos pos) Constructors in net.minecraft.world.entity.decoration with parameters of type BlockPosModifierConstructorDescriptionprotectedBlockAttachedEntity(EntityType<? extends BlockAttachedEntity> entityType, Level level, BlockPos pos) GlowItemFrame(Level p_149610_, BlockPos p_149611_, Direction p_149612_) protectedHangingEntity(EntityType<? extends HangingEntity> entityType, Level level, BlockPos pos) ItemFrame(EntityType<? extends ItemFrame> entityType, Level level, BlockPos pos, Direction direction) LeashFenceKnotEntity(Level level, BlockPos pos) 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 block, BlockPos pos) static FallingBlockEntityFallingBlockEntity.fall(Level level, BlockPos pos, BlockState blockState) voidFallingBlockEntity.setStartPos(BlockPos startPos) -
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 level, BlockPos destinationPos, BlockState carriedState, BlockState destinationState, BlockState belowDestinationState, BlockPos belowDestinationPos) (package private) booleanstatic booleanMonster.checkAnyLightMonsterSpawnRules(EntityType<? extends Monster> type, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) Static predicate for determining whether a monster can spawn at the provided location.static booleanDrowned.checkDrownedSpawnRules(EntityType<Drowned> drowned, ServerLevelAccessor serverLevel, MobSpawnType mobSpawnType, BlockPos pos, RandomSource random) static booleanEndermite.checkEndermiteSpawnRules(EntityType<Endermite> endermite, LevelAccessor serverLevel, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected voidStrider.checkFallDamage(double y, boolean onGround, BlockState state, BlockPos pos) static booleanGhast.checkGhastSpawnRules(EntityType<Ghast> ghast, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanGuardian.checkGuardianSpawnRules(EntityType<? extends Guardian> guardian, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanHusk.checkHuskSpawnRules(EntityType<Husk> husk, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanMagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> magmaCube, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanMonster.checkMonsterSpawnRules(EntityType<? extends Monster> type, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) 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> patrollingMonster, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanSilverfish.checkSilverfishSpawnRules(EntityType<Silverfish> silverfish, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanSlime.checkSlimeSpawnRules(EntityType<Slime> slime, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanStray.checkStraySpawnRules(EntityType<Stray> stray, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanStrider.checkStriderSpawnRules(EntityType<Strider> strider, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> zombifiedPiglin, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected DirectionShulker.findAttachableSurface(BlockPos pos) floatGiant.getWalkTargetValue(BlockPos pos, LevelReader level) floatGuardian.getWalkTargetValue(BlockPos pos, LevelReader level) floatMonster.getWalkTargetValue(BlockPos pos, LevelReader level) floatPillager.getWalkTargetValue(BlockPos pos, LevelReader level) floatSilverfish.getWalkTargetValue(BlockPos pos, LevelReader level) floatStrider.getWalkTargetValue(BlockPos pos, LevelReader level) static booleanMonster.isDarkEnoughToSpawn(ServerLevelAccessor level, BlockPos pos, RandomSource random) Static predicate for determining if the current light level and environmental conditions allow for a monster to spawn.private static booleanDrowned.isDeepEnoughToSpawn(LevelAccessor level, BlockPos pos) private booleanShulker.isPositionBlocked(BlockPos pos) booleanStrider.StriderPathNavigation.isStableDestination(BlockPos pos) protected booleanDrowned.DrownedGoToBeachGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destinationprotected booleanStrider.StriderGoToLavaGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destinationvoidZombie.ZombieAttackTurtleEggGoal.playBreakSound(Level level, BlockPos pos) voidZombie.ZombieAttackTurtleEggGoal.playDestroyProgressSound(LevelAccessor level, BlockPos pos) protected voidAbstractSkeleton.playStepSound(BlockPos pos, BlockState block) protected voidEndermite.playStepSound(BlockPos pos, BlockState block) protected voidRavager.playStepSound(BlockPos pos, BlockState block) protected voidSilverfish.playStepSound(BlockPos pos, BlockState block) protected voidSpider.playStepSound(BlockPos pos, BlockState block) protected voidStrider.playStepSound(BlockPos pos, BlockState block) protected voidZoglin.playStepSound(BlockPos pos, BlockState block) protected voidZombie.playStepSound(BlockPos pos, BlockState block) voidVex.setBoundOrigin(BlockPos boundOrigin) voidPatrollingMonster.setPatrolTarget(BlockPos patrolTarget) -
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 owner, Vec3 targetPos) -
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> hoglin, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) floatHoglin.getWalkTargetValue(BlockPos pos, LevelReader level) (package private) static booleanHoglinAi.isPosNearNearestRepellent(Hoglin hoglin, BlockPos pos) protected voidHoglin.playStepSound(BlockPos pos, BlockState block) -
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> piglin, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) protected voidPiglin.playStepSound(BlockPos pos, BlockState block) protected voidPiglinBrute.playStepSound(BlockPos pos, BlockState block) -
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 level, BlockPos pos) floatWarden.getWalkTargetValue(BlockPos pos, LevelReader level) private static booleanWardenSpawnTracker.hasNearbyWarden(ServerLevel level, BlockPos pos) 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 pos, BlockState state) static voidWardenAi.setDisturbanceLocation(Warden warden, BlockPos disturbanceLocation) static OptionalIntWardenSpawnTracker.tryWarn(ServerLevel level, BlockPos pos, ServerPlayer player) -
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 level, BlockPos pos, int maxDistance) (package private) BlockPosWanderingTrader.getWanderTarget()Methods in net.minecraft.world.entity.npc with parameters of type BlockPosModifier and TypeMethodDescriptionprivate BlockPosWanderingTraderSpawner.findSpawnPositionNear(LevelReader level, BlockPos pos, int maxDistance) private booleanWanderingTraderSpawner.hasEnoughSpace(BlockGetter level, BlockPos pos) private booleanWanderingTrader.WanderToPositionGoal.isTooFarAway(BlockPos pos, double distance) voidWanderingTrader.setWanderTarget(BlockPos wanderTarget) private intCatSpawner.spawnCat(BlockPos pos, ServerLevel serverLevel) private intCatSpawner.spawnInHut(ServerLevel serverLevel, BlockPos pos) private intCatSpawner.spawnInVillage(ServerLevel serverLevel, BlockPos pos) voidVillager.startSleeping(BlockPos pos) -
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 level, BlockPos pos, GameType gameMode) booleanPlayer.canInteractWithBlock(BlockPos pos, double distance) protected booleanfloatPlayer.getDigSpeed(BlockState p_36282_, BlockPos pos) booleanPlayer.hasCorrectToolForDrops(BlockState p_state, Level level, BlockPos pos) booleanPlayer.mayUseItemAt(BlockPos pos, Direction facing, ItemStack stack) Returns whether this player can modify the block at a certain location with the given stack.protected voidPlayer.playStepSound(BlockPos pos, BlockState state) com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> Player.startSleepInBed(BlockPos bedPos) 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 pos) private voidFishingHook.catchingFish(BlockPos pos) private voidfloatWitherSkull.getBlockExplosionResistance(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, FluidState fluidState, float explosionPower) Explosion resistance of a block relative to this entityprivate FishingHook.OpenWaterTypeFishingHook.getOpenWaterTypeForArea(BlockPos firstPos, BlockPos secondPos) private FishingHook.OpenWaterTypeFishingHook.getOpenWaterTypeForBlock(BlockPos pos) booleanProjectile.mayInteract(Level level, BlockPos pos) 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 offsetMultiplier, int maxTry) 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 player, BlockPos pos) Raids.getNearbyRaid(BlockPos pos, int distance) private RaidRaids.getOrCreateRaid(ServerLevel serverLevel, BlockPos pos) private booleanRaider.RaiderMoveThroughVillageGoal.hasNotVisited(BlockPos pos) voidprivate voidprivate voidprivate voidRaid.spawnGroup(BlockPos pos) 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 y, boolean onGround, BlockState state, BlockPos pos) static doubleDismountHelper.findCeilingFrom(BlockPos pos, int ceiling, Function<BlockPos, VoxelShape> shapeForPos) static Vec3DismountHelper.findSafeDismountLocation(EntityType<?> entityType, CollisionGetter level, BlockPos pos, boolean onlySafePositions) floatMinecartTNT.getBlockExplosionResistance(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, FluidState fluidState, float explosionPower) Explosion resistance of a block relative to this entityprivate booleanAbstractMinecart.isRedstoneConductor(BlockPos pos) protected voidAbstractMinecart.moveAlongTrack(BlockPos pos, BlockState state) protected voidMinecartFurnace.moveAlongTrack(BlockPos pos, BlockState state) voidAbstractMinecart.moveMinecartOnRail(BlockPos pos) static VoxelShapeDismountHelper.nonClimbableShape(BlockGetter level, BlockPos pos) booleanMinecartTNT.shouldBlockExplode(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, float explosionPower) Method parameters in net.minecraft.world.entity.vehicle with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic doubleDismountHelper.findCeilingFrom(BlockPos pos, int ceiling, Function<BlockPos, VoxelShape> shapeForPos) -
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> levelPosConsumer) default <T> TContainerLevelAccess.evaluate(BiFunction<Level, BlockPos, T> levelPosConsumer, T defaultValue) default voidContainerLevelAccess.execute(BiConsumer<Level, BlockPos> levelPosConsumer) -
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 level, BlockPos pos, int data) static booleanBoneMealItem.applyBonemeal(ItemStack p_40628_, Level p_40629_, BlockPos p_40630_, Player player) static InteractionResultLeadItem.bindPlayerMobs(Player player, Level level, BlockPos pos) booleanDebugStickItem.canAttackBlock(BlockState state, Level level, BlockPos pos, Player player) booleanItem.canAttackBlock(BlockState state, Level level, BlockPos pos, Player player) booleanMaceItem.canAttackBlock(BlockState state, Level level, BlockPos pos, Player player) booleanSwordItem.canAttackBlock(BlockState state, Level level, BlockPos pos, Player player) booleanTridentItem.canAttackBlock(BlockState state, Level level, BlockPos pos, Player player) protected booleanBucketItem.canBlockContainFluid(Player player, Level worldIn, BlockPos posIn, BlockState blockstate) protected booleanHangingSignItem.canPlace(LevelReader level, BlockState state, BlockPos pos) protected booleanStandingAndWallBlockItem.canPlace(LevelReader level, BlockState state, BlockPos pos) voidBucketItem.checkExtraContent(Player player, Level level, ItemStack containerStack, BlockPos pos) default voidDispensibleContainerItem.checkExtraContent(Player player, Level level, ItemStack containerStack, BlockPos pos) voidMobBucketItem.checkExtraContent(Player player, Level level, ItemStack containerStack, BlockPos pos) booleanBucketItem.emptyContents(Player player, Level level, BlockPos pos, BlockHitResult result) Deprecated.booleanBucketItem.emptyContents(Player player, Level level, BlockPos pos, BlockHitResult result, ItemStack container) booleanDispensibleContainerItem.emptyContents(Player player, Level level, BlockPos pos, BlockHitResult result) Deprecated.booleanSolidBucketItem.emptyContents(Player player, Level level, BlockPos pos, BlockHitResult result) private Optional<BlockState> AxeItem.evaluateNewBlockState(Level level, BlockPos pos, Player player, BlockState state, UseOnContext p_40529_) private BlockStateMapItem.getCorrectStateForFluidBlock(Level level, BlockState state, BlockPos pos) protected SoundEventBlockItem.getPlaceSound(BlockState p_state, Level world, BlockPos pos, Player entity) static booleanDeprecated.static booleanBoneMealItem.growWaterPlant(ItemStack stack, Level level, BlockPos pos, Direction clickedSide) private booleanDebugStickItem.handleInteraction(Player player, BlockState stateClicked, LevelAccessor accessor, BlockPos pos, boolean shouldCycleState, ItemStack debugStack) LeadItem.leashableInArea(Level level, BlockPos pos, Predicate<Leashable> predicate) protected booleanHangingEntityItem.mayPlace(Player player, Direction direction, ItemStack hangingEntityStack, BlockPos pos) protected booleanbooleanItem.mineBlock(ItemStack stack, Level level, BlockState state, BlockPos pos, LivingEntity miningEntity) Called when aBlockis destroyed using this Item.voidItemStack.mineBlock(Level level, BlockState state, BlockPos pos, Player player) Called when a Block is destroyed using this ItemStackbooleanShearsItem.mineBlock(ItemStack stack, Level level, BlockState state, BlockPos pos, LivingEntity entityLiving) Called when aBlockis destroyed using this Item.protected voidBucketItem.playEmptySound(Player player, LevelAccessor level, BlockPos pos) protected voidMobBucketItem.playEmptySound(Player player, LevelAccessor level, BlockPos pos) private voidprivate voidMobBucketItem.spawn(ServerLevel serverLevel, ItemStack bucketedMobStack, BlockPos pos) private static voidJukeboxSongPlayer.spawnMusicParticles(LevelAccessor level, BlockPos pos) static ItemInteractionResultJukeboxPlayable.tryInsertIntoJukebox(Level level, BlockPos pos, ItemStack stack, Player player) private static voidBlockItem.updateBlockEntityComponents(Level level, BlockPos poa, ItemStack stack) private BlockStateBlockItem.updateBlockStateFromTag(BlockPos pos, Level level, ItemStack stack, BlockState state) protected booleanBlockItem.updateCustomBlockEntityTag(BlockPos pos, Level level, Player player, ItemStack stack, BlockState state) static booleanBlockItem.updateCustomBlockEntityTag(Level level, Player player, BlockPos pos, ItemStack stack) protected booleanSignItem.updateCustomBlockEntityTag(BlockPos pos, Level level, Player player, ItemStack stack, BlockState state) Constructors in net.minecraft.world.item with parameters of type BlockPosModifierConstructorDescriptionJukeboxSongPlayer(JukeboxSongPlayer.OnSongChanged onSongChanged, BlockPos blockPos) -
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 context, BlockPos pos, Direction direction) 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 xSection, int y, int zSection) Level.getBlockRandomPos(int x, int y, int z, int yMask) default BlockPosCommonLevelAccessor.getHeightmapPos(Heightmap.Types heightmapType, BlockPos pos) default BlockPosLevelReader.getHeightmapPos(Heightmap.Types heightmapType, BlockPos pos) LevelSimulatedReader.getHeightmapPos(Heightmap.Types heightmapType, BlockPos pos) ChunkPos.getMiddleBlockPosition(int y) private static BlockPosNaturalSpawner.getRandomPosWithin(Level level, LevelChunk chunk) Level.getSharedSpawnPos()private static BlockPosNaturalSpawner.getTopNonCollidingPos(LevelReader level, EntityType<?> entityType, int x, int z) 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 entity, AABB box) ForcedChunksSavedData.getBlockForcedChunks()Explosion.getToBlow()Methods in net.minecraft.world.level with parameters of type BlockPosModifier and TypeMethodDescriptionvoidvoidLevel.addDestroyBlockEffect(BlockPos pos, BlockState state) private static voidExplosion.addOrAppendStack(List<com.mojang.datafixers.util.Pair<ItemStack, BlockPos>> drops, ItemStack stack, BlockPos pos) static longvoidLevel.blockEntityChanged(BlockPos pos) voidLevel.blockEvent(BlockPos pos, Block block, int eventID, int eventParam) default voidLevelAccessor.blockUpdated(BlockPos pos, Block block) abstract voidBaseSpawner.broadcastEvent(Level level, BlockPos pos, int eventId) default booleandefault booleanLevelReader.canSeeSkyFromBelowWater(BlockPos pos) private booleanNaturalSpawner.SpawnState.canSpawn(EntityType<?> entityType, BlockPos pos, ChunkAccess chunk) private static booleanNaturalSpawner.canSpawnMobAt(ServerLevel level, StructureManager structureManager, ChunkGenerator generator, MobCategory category, MobSpawnSettings.SpawnerData data, BlockPos pos) voidBaseSpawner.clientTick(Level level, BlockPos pos) default BlockHitResultBlockGetter.clipWithInteractionOverride(Vec3 startVec, Vec3 endVec, BlockPos pos, VoxelShape shape, BlockState state) private <T> ScheduledTick<T> LevelAccessor.createTick(BlockPos pos, T type, int delay) private <T> ScheduledTick<T> LevelAccessor.createTick(BlockPos pos, T type, int delay, TickPriority priority) private voidbooleanLevel.destroyBlock(BlockPos pos, boolean dropBlock, Entity entity, int recursionLeft) default booleanLevelWriter.destroyBlock(BlockPos pos, boolean dropBlock) Sets a block to air, but also plays the sound and particles and can spawn dropsdefault booleanLevelWriter.destroyBlock(BlockPos pos, boolean dropBlock, Entity entity) booleanLevelWriter.destroyBlock(BlockPos pos, boolean dropBlock, Entity entity, int recursionLeft) abstract voidLevel.destroyBlockProgress(int breakerId, BlockPos pos, int progress) default booleanWorldGenLevel.ensureCanWrite(BlockPos pos) default voidLevelAccessor.gameEvent(Holder<GameEvent> gameEvent, BlockPos pos, GameEvent.Context context) default voidLevelAccessor.gameEvent(ResourceKey<GameEvent> gameEvent, BlockPos pos, GameEvent.Context context) default voidClipContext.Block.get(BlockState state, BlockGetter block, BlockPos pos, CollisionContext collisionContext) ClipContext.ShapeGetter.get(BlockState state, BlockGetter block, BlockPos pos, CollisionContext collisionContext) StructureManager.getAllStructuresAt(BlockPos pos) default intSignalGetter.getBestNeighborSignal(BlockPos pos) Returns the highest redstone signal the given position receives from neighboring blocks.BlockGetter.getBlockEntity(BlockPos pos) default <T extends BlockEntity>
Optional<T> BlockGetter.getBlockEntity(BlockPos pos, BlockEntityType<T> blockEntityType) default <T extends BlockEntity>
Optional<T> CommonLevelAccessor.getBlockEntity(BlockPos pos, BlockEntityType<T> blockEntityType) EmptyBlockGetter.getBlockEntity(BlockPos pos) Level.getBlockEntity(BlockPos pos) <T extends BlockEntity>
Optional<T> LevelSimulatedReader.getBlockEntity(BlockPos pos, BlockEntityType<T> type) PathNavigationRegion.getBlockEntity(BlockPos pos) EntityBasedExplosionDamageCalculator.getBlockExplosionResistance(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, FluidState fluid) ExplosionDamageCalculator.getBlockExplosionResistance(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, FluidState fluid) SimpleExplosionDamageCalculator.getBlockExplosionResistance(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, FluidState fluid) default doubleBlockGetter.getBlockFloorHeight(BlockPos pos) ClipContext.getBlockShape(BlockState blockState, BlockGetter level, BlockPos pos) BlockGetter.getBlockState(BlockPos pos) EmptyBlockGetter.getBlockState(BlockPos pos) Level.getBlockState(BlockPos pos) PathNavigationRegion.getBlockState(BlockPos pos) intBlockAndTintGetter.getBlockTint(BlockPos blockPos, ColorResolver colorResolver) default intLevelReader.getBlockTint(BlockPos blockPos, ColorResolver colorResolver) default intBlockAndTintGetter.getBrightness(LightLayer lightType, BlockPos blockPos) default ChunkAccessprivate ChunkAccessLevel.getChunkAt(BlockPos pos) default intSignalGetter.getControlInputSignal(BlockPos pos, Direction direction, boolean diodesOnly) Returns the control signal emitted from the given position in the given direction.Level.getCurrentDifficultyAt(BlockPos pos) LevelAccessor.getCurrentDifficultyAt(BlockPos pos) default intSignalGetter.getDirectSignal(BlockPos pos, Direction direction) Returns the direct redstone signal emitted from the given position in the given direction.default intSignalGetter.getDirectSignalTo(BlockPos pos) Returns the direct redstone signal the given position receives from neighboring blocks.ClipContext.getFluidShape(FluidState state, BlockGetter level, BlockPos pos) BlockGetter.getFluidState(BlockPos pos) EmptyBlockGetter.getFluidState(BlockPos pos) Level.getFluidState(BlockPos pos) PathNavigationRegion.getFluidState(BlockPos pos) default BlockPosCommonLevelAccessor.getHeightmapPos(Heightmap.Types heightmapType, BlockPos pos) default BlockPosLevelReader.getHeightmapPos(Heightmap.Types heightmapType, BlockPos pos) LevelSimulatedReader.getHeightmapPos(Heightmap.Types heightmapType, BlockPos pos) default intBlockGetter.getLightEmission(BlockPos pos) default floatLevelReader.getLightLevelDependentMagicValue(BlockPos pos) Deprecated.default intLevelReader.getMaxLocalRawBrightness(BlockPos pos) default intLevelReader.getMaxLocalRawBrightness(BlockPos pos, int amount) BaseSpawner.getOrCreateDisplayEntity(Level level, BlockPos pos) private SpawnDataBaseSpawner.getOrCreateNextSpawnData(Level level, RandomSource random, BlockPos pos) default floatLevelReader.getPathfindingCostFromLightLevels(BlockPos pos) doublePotentialCalculator.PointCharge.getPotentialChange(BlockPos pos) doublePotentialCalculator.getPotentialEnergyChange(BlockPos pos, double charge) private static Optional<MobSpawnSettings.SpawnerData> NaturalSpawner.getRandomSpawnMobAt(ServerLevel level, StructureManager structureManager, ChunkGenerator generator, MobCategory category, RandomSource random, BlockPos pos) default intBlockAndTintGetter.getRawBrightness(BlockPos blockPos, int amount) (package private) static BiomeNaturalSpawner.getRoughBiome(BlockPos pos, ChunkAccess chunk) default intReturns the redstone signal emitted from the given position in the given direction.StructureManager.getStructureAt(BlockPos pos, Structure structure) StructureManager.getStructureWithPieceAt(BlockPos pos, Predicate<Holder<Structure>> predicate) StructureManager.getStructureWithPieceAt(BlockPos pos, HolderSet<Structure> structures) StructureManager.getStructureWithPieceAt(BlockPos pos, TagKey<Structure> structureTag) StructureManager.getStructureWithPieceAt(BlockPos pos, Structure structure) voidLevel.globalLevelEvent(int id, BlockPos pos, int data) booleanStructureManager.hasAnyStructureAt(BlockPos pos) default booleanLevelReader.hasChunkAt(BlockPos pos) Deprecated.default booleanLevelReader.hasChunksAt(BlockPos from, BlockPos to) Deprecated.default booleanSignalGetter.hasNeighborSignal(BlockPos pos) 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 pos) Checks to see if an air block exists at the provided location.booleanLevel.isFluidAtPosition(BlockPos pos, Predicate<FluidState> predicate) booleanLevelSimulatedReader.isFluidAtPosition(BlockPos pos, Predicate<FluidState> predicate) static booleanNaturalSpawner.isInNetherFortressBounds(BlockPos pos, ServerLevel level, MobCategory category, StructureManager structureManager) static booleanLevel.isInSpawnableBounds(BlockPos pos) booleanLevel.isInWorldBounds(BlockPos pos) Check if the given BlockPos has valid coordinatesprivate static booleanLevel.isInWorldBoundsHorizontal(BlockPos pos) booleanprivate booleanBaseSpawner.isNearPlayer(Level level, BlockPos pos) default booleanLevelHeightAccessor.isOutsideBuildHeight(BlockPos pos) booleanLevel.isRainingAt(BlockPos pos) Check if precipitation is currently happening at a positionbooleanLevel.isStateAtPosition(BlockPos pos, Predicate<BlockState> state) booleanLevelSimulatedReader.isStateAtPosition(BlockPos pos, Predicate<BlockState> state) default booleanCollisionGetter.isUnobstructed(BlockState state, BlockPos pos, CollisionContext context) static booleanNaturalSpawner.isValidEmptySpawnBlock(BlockGetter block, BlockPos pos, BlockState blockState, FluidState fluidState, EntityType<?> entityType) booleanSpawnData.CustomSpawnRules.isValidPosition(BlockPos pos, ServerLevel level) default booleandefault voidLevelAccessor.levelEvent(int type, BlockPos pos, int data) voidLevelAccessor.levelEvent(Player player, int type, BlockPos pos, int data) voidBaseSpawner.load(Level level, BlockPos pos, CompoundTag tag) booleanLevel.loadedAndEntityCanStandOn(BlockPos pos, Entity entity) booleanLevel.loadedAndEntityCanStandOnFace(BlockPos pos, Entity entity, Direction direction) voidLevel.markAndNotifyBlock(BlockPos p_46605_, LevelChunk levelchunk, BlockState blockstate, BlockState p_46606_, int p_46607_, int p_46608_) booleanLevel.mayInteract(Player player, BlockPos pos) private static WeightedRandomList<MobSpawnSettings.SpawnerData> NaturalSpawner.mobsAt(ServerLevel level, StructureManager structureManager, ChunkGenerator generator, MobCategory category, BlockPos pos, Holder<Biome> biome) voidLevel.neighborChanged(BlockPos pos, Block block, BlockPos fromPos) voidLevel.neighborChanged(BlockState state, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) voidLevel.neighborShapeChanged(Direction direction, BlockState queried, BlockPos pos, BlockPos offsetPos, int flags, int recursionLevel) default voidLevelAccessor.neighborShapeChanged(Direction direction, BlockState queried, BlockPos pos, BlockPos offsetPos, int flags, int recursionLevel) voidLevel.onBlockStateChange(BlockPos pos, BlockState blockState, BlockState newState) voidLevel.playLocalSound(BlockPos pos, SoundEvent sound, SoundSource category, float volume, float pitch, boolean distanceDelay) voidLevel.playSound(Entity entity, BlockPos pos, SoundEvent sound, SoundSource category, float volume, float pitch) voidLevel.playSound(Player player, BlockPos pos, SoundEvent sound, SoundSource category, float volume, float pitch) Plays a sound.default voidLevelAccessor.playSound(Player player, BlockPos pos, SoundEvent sound, SoundSource source) voidLevelAccessor.playSound(Player player, BlockPos pos, SoundEvent sound, SoundSource source, float volume, float pitch) Plays a sound.booleanLevel.removeBlock(BlockPos pos, boolean isMoving) booleanLevelWriter.removeBlock(BlockPos pos, boolean isMoving) voidLevel.removeBlockEntity(BlockPos pos) default voidLevelAccessor.scheduleTick(BlockPos pos, Block block, int delay) default voidLevelAccessor.scheduleTick(BlockPos pos, Block block, int delay, TickPriority priority) default voidLevelAccessor.scheduleTick(BlockPos pos, Fluid fluid, int delay) default voidLevelAccessor.scheduleTick(BlockPos pos, Fluid fluid, int delay, TickPriority priority) abstract voidLevel.sendBlockUpdated(BlockPos pos, BlockState oldState, BlockState newState, int flags) Flags are as in setBlockStatevoidBaseSpawner.serverTick(ServerLevel serverLevel, BlockPos pos) booleanLevel.setBlock(BlockPos pos, BlockState newState, int flags) Sets a block state into this world.Flags are as follows: 1 will notify neighboring blocks throughupdates.invalid reference
neighborChangedbooleanLevel.setBlock(BlockPos pos, BlockState state, int flags, int recursionLeft) default booleanLevelWriter.setBlock(BlockPos pos, BlockState newState, int flags) Sets a block state into this world.Flags are as follows: 1 will cause a block update.booleanLevelWriter.setBlock(BlockPos pos, BlockState state, int flags, int recursionLeft) booleanLevel.setBlockAndUpdate(BlockPos pos, BlockState state) Convenience method to update the block on both the client and servervoidLevel.setBlocksDirty(BlockPos blockPos, BlockState oldState, BlockState newState) voidBaseSpawner.setEntityId(EntityType<?> type, Level level, RandomSource random, BlockPos pos) protected voidBaseSpawner.setNextSpawnData(Level level, BlockPos pos, SpawnData nextSpawnData) booleanEntityBasedExplosionDamageCalculator.shouldBlockExplode(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, float power) booleanExplosionDamageCalculator.shouldBlockExplode(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, float power) booleanSimpleExplosionDamageCalculator.shouldBlockExplode(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, float power) booleanLevel.shouldTickBlocksAt(BlockPos pos) static voidNaturalSpawner.spawnCategoryForPosition(MobCategory category, ServerLevel level, BlockPos pos) static voidNaturalSpawner.spawnCategoryForPosition(MobCategory category, ServerLevel level, ChunkAccess chunk, BlockPos pos, NaturalSpawner.SpawnPredicate filter, NaturalSpawner.AfterSpawnCallback callback) booleanStructureManager.structureHasPieceAt(BlockPos pos, StructureStart structureStart) booleanNaturalSpawner.SpawnPredicate.test(EntityType<?> entityType, BlockPos pos, ChunkAccess chunk) voidLevel.updateNeighborsAt(BlockPos pos, Block block) voidLevel.updateNeighborsAtExceptFromFacing(BlockPos pos, Block blockType, Direction skipSide) voidLevel.updateNeighbourForOutputSignal(BlockPos pos, Block block) 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>> drops, ItemStack stack, BlockPos pos) static <T,C> T BlockGetter.traverseBlocks(Vec3 from, Vec3 to, C context, BiFunction<C, BlockPos, T> tester, Function<C, T> onFail) 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 level, BlockPos centerPos, BlockPos offsetPos) PointCharge(BlockPos pos, double charge) Constructor parameters in net.minecraft.world.level with type arguments of type BlockPosModifierConstructorDescriptionExplosion(Level level, Entity source, double x, double y, double z, float radius, boolean fire, Explosion.BlockInteraction blockInteraction, List<BlockPos> positions) Explosion(Level level, Entity source, double x, double y, double z, float radius, List<BlockPos> toBlow, Explosion.BlockInteraction blockInteraction, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, Holder<SoundEvent> explosionSound) -
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> points, Climate.Sampler sampler) 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 x, int y, int z, int radius, int increment, Predicate<Holder<Biome>> biomePredicate, RandomSource random, boolean findClosest, Climate.Sampler sampler) BiomeSource.findBiomeHorizontal(int x, int y, int z, int radius, Predicate<Holder<Biome>> biomePredicate, RandomSource random, Climate.Sampler sampler) FixedBiomeSource.findBiomeHorizontal(int x, int y, int z, int radius, int increment, Predicate<Holder<Biome>> biomePredicate, RandomSource random, boolean findClosest, Climate.Sampler sampler) BiomeSource.findClosestBiome3d(BlockPos pos, int radius, int horizontalStep, int verticalStep, Predicate<Holder<Biome>> biomePredicate, Climate.Sampler sampler, LevelReader level) FixedBiomeSource.findClosestBiome3d(BlockPos pos, int radius, int horizontalStep, int verticalStep, Predicate<Holder<Biome>> biomePredicate, Climate.Sampler sampler, LevelReader level) Methods in net.minecraft.world.level.biome with parameters of type BlockPosModifier and TypeMethodDescriptionvoidBiomeSource.addDebugInfo(List<String> info, BlockPos pos, Climate.Sampler sampler) voidMultiNoiseBiomeSource.addDebugInfo(List<String> info, BlockPos pos, Climate.Sampler sampler) booleanBiome.coldEnoughToSnow(BlockPos pos) BiomeSource.findClosestBiome3d(BlockPos pos, int radius, int horizontalStep, int verticalStep, Predicate<Holder<Biome>> biomePredicate, Climate.Sampler sampler, LevelReader level) FixedBiomeSource.findClosestBiome3d(BlockPos pos, int radius, int horizontalStep, int verticalStep, Predicate<Holder<Biome>> biomePredicate, Climate.Sampler sampler, LevelReader level) private floatBiome.getHeightAdjustedTemperature(BlockPos pos) BiomeManager.getNoiseBiomeAtPosition(BlockPos pos) Biome.getPrecipitationAt(BlockPos pos) private floatBiome.getTemperature(BlockPos pos) Deprecated.abstract floatBiome.TemperatureModifier.modifyTemperature(BlockPos pos, float temperature) booleanBiome.shouldFreeze(LevelReader level, BlockPos pos) booleanBiome.shouldFreeze(LevelReader level, BlockPos water, boolean mustBeAtEdge) booleanBiome.shouldMeltFrozenOceanIcebergSlightly(BlockPos pos) booleanBiome.shouldSnow(LevelReader level, BlockPos pos) booleanBiome.warmEnoughToRain(BlockPos pos) 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 level, BlockPos pos, Fluid fluid) static BlockPosPointedDripstoneBlock.findStalactiteTipAboveCauldron(Level level, BlockPos pos) private static BlockPosPointedDripstoneBlock.findTip(BlockState state, LevelAccessor level, BlockPos pos, int maxIterations, boolean isTipMerge) default BlockPosBonemealableBlock.getParticlePos(BlockPos pos) MangroveLeavesBlock.getParticlePos(BlockPos p_316180_) RootedDirtBlock.getParticlePos(BlockPos p_316883_) SculkSpreader.ChargeCursor.getPos()private static BlockPosSculkSpreader.ChargeCursor.getValidMovementPos(LevelAccessor level, BlockPos pos, RandomSource random) 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 level, BlockPos pos, Direction.AxisDirection axis, BiPredicate<BlockPos, BlockState> positionalStatePredicate, Predicate<BlockState> statePredicate, int maxIterations) PointedDripstoneBlock.findRootBlock(Level level, BlockPos pos, BlockState state, int maxIterations) RailState.getConnections()GrowingPlantBodyBlock.getHeadPos(BlockGetter level, BlockPos pos, Block block) Methods in net.minecraft.world.level.block with parameters of type BlockPosModifier and TypeMethodDescriptionvoidSculkSensorBlock.activate(Entity entity, Level level, BlockPos pos, BlockState state, int power, int frequency) private static voidChiseledBookShelfBlock.addBook(Level level, BlockPos pos, Player player, ChiseledBookShelfBlockEntity blockEntity, ItemStack bookStack, int slot) voidSculkSpreader.addCursors(BlockPos pos, int charge) (package private) static BlockStateComposterBlock.addItem(Entity entity, BlockState state, LevelAccessor level, BlockPos pos, ItemStack stack) voidSaplingBlock.advanceTree(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) private static booleanChorusFlowerBlock.allNeighborsEmpty(LevelReader level, BlockPos pos, Direction excludingSide) private static booleanBlocks.always(BlockState state, BlockGetter blockGetter, BlockPos pos) static BooleanBlocks.always(BlockState state, BlockGetter blockGetter, BlockPos pos, EntityType<?> entity) private voidBeehiveBlock.angerNearbyBees(Level level, BlockPos pos) voidAbstractCandleBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBaseFireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBeehiveBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBlastFurnaceBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBrewingStandBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBrushableBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidBubbleColumnBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidCampfireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) 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 state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEnderChestBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndGatewayBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndPortalBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidEndRodBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidFallingBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidFurnaceBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLeavesBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLeverBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidLightningRodBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) 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 state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidPointedDripstoneBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedStoneOreBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedstoneTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedstoneWallTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRedStoneWireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRepeaterBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidRespawnAnchorBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidSculkSensorBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidSmokerBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) 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 state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWallTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWetSpongeBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).voidWitherRoseBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).protected voidDragonEggBlock.attack(BlockState state, Level level, BlockPos pos, Player player) protected voidNoteBlock.attack(BlockState state, Level level, BlockPos pos, Player player) protected voidRedStoneOreBlock.attack(BlockState state, Level level, BlockPos pos, Player player) private booleanSculkVeinBlock.attemptPlaceSculk(SculkSpreader spreader, LevelAccessor level, BlockPos pos, RandomSource random) default booleanSculkBehaviour.attemptSpreadVein(LevelAccessor level, BlockPos pos, BlockState state, Collection<Direction> directions, boolean markForPostprocessing) booleanBellBlock.attemptToRing(Entity entity, Level level, BlockPos pos, Direction direction) booleanBellBlock.attemptToRing(Level level, BlockPos pos, Direction direction) intSculkBehaviour.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) intSculkBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) intSculkVeinBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) private static DripstoneThicknessPointedDripstoneBlock.calculateDripstoneThickness(LevelReader level, BlockPos pos, Direction dir, boolean isTipMerge) private intComparatorBlock.calculateOutputSignal(Level level, BlockPos pos, BlockState state) static voidTripWireHookBlock.calculateState(Level level, BlockPos pos, BlockState hookState, boolean attaching, boolean shouldNotifyNeighbours, int searchRange, BlockState state) private intRedStoneWireBlock.calculateTargetStrength(Level level, BlockPos pos) private static DirectionPointedDripstoneBlock.calculateTipDirection(LevelReader level, BlockPos pos, Direction dir) static booleanFaceAttachedHorizontalDirectionalBlock.canAttach(LevelReader reader, BlockPos pos, Direction direction) private booleanLadderBlock.canAttachTo(BlockGetter blockReader, BlockPos pos, Direction direction) static booleanMultifaceBlock.canAttachTo(BlockGetter level, Direction direction, BlockPos pos, BlockState state) booleanWallHangingSignBlock.canAttachTo(LevelReader level, BlockState state, BlockPos pos, Direction direction) private static booleanSpreadingSnowyDirtBlock.canBeGrass(BlockState state, LevelReader levelReader, BlockPos pos) private static booleanNyliumBlock.canBeNylium(BlockState state, LevelReader reader, BlockPos pos) static booleanBaseFireBlock.canBePlacedAt(Level level, BlockPos pos, Direction direction) booleanFireBlock.canCatchFire(BlockGetter world, BlockPos pos, Direction face) Side sensitive version that calls the block function.private static booleanPointedDripstoneBlock.canDripThrough(BlockGetter level, BlockPos pos, BlockState state) private static booleanBigDripleafBlock.canEntityTilt(BlockPos pos, Entity entity) private booleanPitcherCropBlock.canGrow(LevelReader reader, BlockPos pos, BlockState state, int age) private static booleanPitcherCropBlock.canGrowInto(LevelReader level, BlockPos pos) private static booleanShulkerBoxBlock.canOpen(BlockState state, Level level, BlockPos pos, ShulkerBoxBlockEntity blockEntity) booleanWallHangingSignBlock.canPlace(BlockState state, LevelReader level, BlockPos pos) protected static booleanBigDripleafBlock.canPlaceAt(LevelHeightAccessor level, BlockPos pos, BlockState state) private static booleanSculkBlock.canPlaceGrowth(LevelAccessor level, BlockPos pos) booleanBarrierBlock.canPlaceLiquid(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) booleanKelpBlock.canPlaceLiquid(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) booleanKelpPlantBlock.canPlaceLiquid(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) booleanLiquidBlockContainer.canPlaceLiquid(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) booleanSeagrassBlock.canPlaceLiquid(Player p_296226_, BlockGetter p_296449_, BlockPos p_154511_, BlockState p_154512_, Fluid p_295712_) default booleanSimpleWaterloggedBlock.canPlaceLiquid(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) booleanSlabBlock.canPlaceLiquid(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) booleanTallSeagrassBlock.canPlaceLiquid(Player p_296027_, BlockGetter p_154753_, BlockPos p_154754_, BlockState p_154755_, Fluid p_154756_) private static booleanSpreadingSnowyDirtBlock.canPropagate(BlockState state, LevelReader level, BlockPos pos) booleanCarvedPumpkinBlock.canSpawnGolem(LevelReader level, BlockPos pos) static booleanWitherSkullBlock.canSpawnMob(Level level, BlockPos pos, ItemStack stack) private booleanVineBlock.canSpread(BlockGetter blockReader, BlockPos pos) booleanMultifaceSpreader.canSpreadInAnyDirection(BlockState state, BlockGetter level, BlockPos pos, Direction spreadDirection) booleanMultifaceSpreader.DefaultSpreaderConfig.canSpreadInto(BlockGetter level, BlockPos pos, MultifaceSpreader.SpreadPos spreadPos) booleanMultifaceSpreader.SpreadConfig.canSpreadInto(BlockGetter level, BlockPos pos, MultifaceSpreader.SpreadPos spreadPos) private booleanVineBlock.canSupportAtFace(BlockGetter level, BlockPos pos, Direction direction) static booleanBlock.canSupportCenter(LevelReader level, BlockPos pos, Direction direction) static booleanBlock.canSupportRigidBlock(BlockGetter level, BlockPos pos) protected booleanAmethystClusterBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBambooSaplingBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBambooStalkBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBannerBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBaseCoralPlantTypeBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBaseCoralWallFanBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBasePressurePlateBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBaseRailBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBaseTorchBlock.canSurvive(BlockState p_304413_, LevelReader p_304885_, BlockPos p_304808_) protected booleanBellBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBigDripleafBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBigDripleafStemBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBubbleColumnBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanBushBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanCactusBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanCakeBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanCandleBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanCandleCakeBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanCarpetBlock.canSurvive(BlockState p_152922_, LevelReader p_152923_, BlockPos p_152924_) protected booleanCeilingHangingSignBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanChorusFlowerBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanChorusPlantBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanCocoaBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanCropBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanDiodeBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanDirtPathBlock.canSurvive(BlockState p_153148_, LevelReader p_153149_, BlockPos p_153150_) protected booleanDoorBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanDoublePlantBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanFaceAttachedHorizontalDirectionalBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanFarmBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanFireBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanFrogspawnBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanGrindstoneBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanGrowingPlantBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanHangingRootsBlock.canSurvive(BlockState p_153347_, LevelReader p_153348_, BlockPos p_153349_) protected booleanLadderBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanLanternBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanMangrovePropaguleBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanMultifaceBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanMushroomBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) booleanPitcherCropBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanPointedDripstoneBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanRedstoneWallTorchBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanRedStoneWireBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanScaffoldingBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanSeaPickleBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanSmallDripleafBlock.canSurvive(BlockState p_154615_, LevelReader p_154616_, BlockPos p_154617_) protected booleanSnowLayerBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanSoulFireBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanSporeBlossomBlock.canSurvive(BlockState p_154709_, LevelReader p_154710_, BlockPos p_154711_) protected booleanStandingSignBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanSugarCaneBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanTallSeagrassBlock.canSurvive(BlockState p_154768_, LevelReader p_154769_, BlockPos p_154770_) protected booleanTripWireHookBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanVineBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanWallBannerBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanWallSignBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanWallTorchBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) static booleanWallTorchBlock.canSurvive(LevelReader level, BlockPos pos, Direction facing) protected booleanDiodeBlock.canSurviveOn(LevelReader level, BlockPos pos, BlockState state) private booleanRedStoneWireBlock.canSurviveOn(BlockGetter level, BlockPos pos, BlockState state) private static booleanStairBlock.canTakeShape(BlockState state, BlockGetter level, BlockPos pos, Direction face) private static booleanPointedDripstoneBlock.canTipGrow(BlockState state, ServerLevel level, BlockPos pos) default voidChangeOverTimeBlock.changeOverTime(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) private static voidLecternBlock.changePowered(Level level, BlockPos pos, BlockState state, boolean powered) static voidRespawnAnchorBlock.charge(Entity entity, Level level, BlockPos pos, BlockState state) voidCopperBulbBlock.checkAndFlip(BlockState state, ServerLevel level, BlockPos pos) private voidFireBlock.checkBurnOut(Level level, BlockPos pos, int chance, RandomSource random, int age, Direction face) private voidRedStoneWireBlock.checkCornerChangeAt(Level level, BlockPos pos) 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 level, BlockPos pos, BlockState state) private voidBasePressurePlateBlock.checkPressed(Entity entity, Level level, BlockPos pos, BlockState state, int currentSignal) protected voidButtonBlock.checkPressed(BlockState state, Level level, BlockPos pos) private voidDetectorRailBlock.checkPressed(Level level, BlockPos pos, BlockState state) private voidTripWireBlock.checkPressed(Level level, BlockPos pos) static voidWitherSkullBlock.checkSpawn(Level level, BlockPos pos) static voidWitherSkullBlock.checkSpawn(Level level, BlockPos pos, SkullBlockEntity blockEntity) protected voidComparatorBlock.checkTickOnNeighbor(Level level, BlockPos pos, BlockState state) Check the output signal of this diode and schedule a new block tick if it should change.protected voidDiodeBlock.checkTickOnNeighbor(Level level, BlockPos pos, BlockState state) 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 state, Level level, BlockPos pos, boolean override) ChestBlock.combine(BlockState state, Level level, BlockPos pos, boolean override) EnderChestBlock.combine(BlockState state, Level level, BlockPos pos, boolean override) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> doubleBlockTypeGetter, Function<BlockState, Direction> directionGetter, DirectionProperty directionProperty, BlockState state, LevelAccessor level, BlockPos pos, BiPredicate<LevelAccessor, BlockPos> blockedChestTest) static BlockStateDoublePlantBlock.copyWaterloggedFrom(LevelReader level, BlockPos pos, BlockState state) private static voidPointedDripstoneBlock.createDripstone(LevelAccessor level, BlockPos pos, Direction direction, DripstoneThickness thickness) private static voidPointedDripstoneBlock.createMergedTips(BlockState state, LevelAccessor level, BlockPos pos) static voidSculkSensorBlock.deactivate(Level level, BlockPos pos, BlockState state) private voidTurtleEggBlock.decreaseEggs(Level level, BlockPos pos, BlockState state) default booleanSculkBehaviour.depositCharge(LevelAccessor level, BlockPos pos, RandomSource random) voidBlock.destroy(LevelAccessor level, BlockPos pos, BlockState state) Called after this block has been removed by a player.private voidFrogspawnBlock.destroyBlock(Level level, BlockPos pos) private voidTurtleEggBlock.destroyEgg(Level level, BlockState state, BlockPos pos, Entity entity, int chance) protected voidCrafterBlock.dispenseFrom(BlockState state, ServerLevel level, BlockPos pos) protected voidDispenserBlock.dispenseFrom(ServerLevel level, BlockState state, BlockPos pos) protected voidDropperBlock.dispenseFrom(ServerLevel p_52944_, BlockState p_302455_, BlockPos p_52945_) private voidCrafterBlock.dispenseItem(ServerLevel level, BlockPos pos, CrafterBlockEntity crafter, ItemStack stack, BlockState state, RecipeHolder<CraftingRecipe> recipe) static voidCampfireBlock.dowse(Entity entity, LevelAccessor level, BlockPos pos, BlockState state) static voidBeehiveBlock.dropHoneycomb(Level level, BlockPos pos) static voidBlock.dropResources(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity) static voidBlock.dropResources(BlockState state, Level level, BlockPos pos) static voidBlock.dropResources(BlockState state, Level level, BlockPos pos, BlockEntity blockEntity, Entity entity, ItemStack tool) protected static InteractionResultCakeBlock.eat(LevelAccessor level, BlockPos pos, BlockState state, Player player) private static voidTripWireHookBlock.emitState(Level level, BlockPos pos, boolean attached, boolean powered, boolean wasAttached, boolean wasPowered) (package private) static BlockStateComposterBlock.empty(Entity entity, BlockState state, LevelAccessor level, BlockPos pos) protected voidBaseFireBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidBasePressurePlateBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidBigDripleafBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidBubbleColumnBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidButtonBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidCactusBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidCampfireBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidCropBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidDetectorRailBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidEndGatewayBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidEndPortalBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidFrogspawnBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidHoneyBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidHopperBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidLavaCauldronBlock.entityInside(BlockState p_153506_, Level p_153507_, BlockPos p_153508_, Entity p_153509_) protected voidLayeredCauldronBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidNetherPortalBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) voidPitcherCropBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidPowderSnowBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidSweetBerryBushBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidTripWireBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidWaterlilyBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidWebBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) protected voidWitherRoseBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) private voidCommandBlock.execute(BlockState state, Level level, BlockPos pos, BaseCommandBlock logic, boolean canTrigger) private static voidCommandBlock.executeChain(Level level, BlockPos pos, Direction direction) private voidRespawnAnchorBlock.explode(BlockState state, Level level, BlockPos pos2) static voidDeprecated.private static voidTntBlock.explode(Level level, BlockPos pos, LivingEntity entity) Deprecated.static voidAbstractCandleBlock.extinguish(Player player, BlockState state, LevelAccessor level, BlockPos pos) static BlockStateComposterBlock.extractProduce(Entity entity, BlockState state, Level level, BlockPos pos) voidBedBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidFarmBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidHayBlock.fallOn(Level p_153362_, BlockState p_153363_, BlockPos p_153364_, Entity p_153365_, float p_153366_) voidHoneyBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidPointedDripstoneBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidPowderSnowBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidSlimeBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidTurtleEggBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) private booleanFrostedIceBlock.fewerNeigboursThan(BlockGetter level, BlockPos pos, int neighborsRequired) PointedDripstoneBlock.findBlockVertical(LevelAccessor level, BlockPos pos, Direction.AxisDirection axis, BiPredicate<BlockPos, BlockState> positionalStatePredicate, Predicate<BlockState> statePredicate, int maxIterations) BedBlock.findBunkBedStandUpPosition(EntityType<?> entityType, CollisionGetter collisionGetter, BlockPos pos, Direction stateFacing, Direction entityFacing) private static BlockPosPointedDripstoneBlock.findFillableCauldronBelowStalactiteTip(Level level, BlockPos pos, Fluid fluid) protected booleanPoweredRailBlock.findPoweredRailSignal(Level level, BlockPos pos, BlockState state, boolean searchForward, int recursionCount) PointedDripstoneBlock.findRootBlock(Level level, BlockPos pos, BlockState state, int maxIterations) static BlockPosPointedDripstoneBlock.findStalactiteTipAboveCauldron(Level level, BlockPos pos) BedBlock.findStandUpPosition(EntityType<?> entityType, CollisionGetter collisionGetter, BlockPos pos, Direction p_direction, float yRot) RespawnAnchorBlock.findStandUpPosition(EntityType<?> entityType, CollisionGetter level, BlockPos pos) RespawnAnchorBlock.findStandUpPosition(EntityType<?> entityType, CollisionGetter level, BlockPos pos, boolean simulate) BedBlock.findStandUpPositionAtOffset(EntityType<?> entityType, CollisionGetter collisionGetter, BlockPos pos, int[][] offsets, boolean simulate) private static BlockPosPointedDripstoneBlock.findTip(BlockState state, LevelAccessor level, BlockPos pos, int maxIterations, boolean isTipMerge) private voidLiquidBlock.fizz(LevelAccessor level, BlockPos pos) static voidChorusFlowerBlock.generatePlant(LevelAccessor level, BlockPos pos, RandomSource random, int maxHorizontalDistance) protected intDiodeBlock.getAlternateSignal(SignalGetter level, BlockPos pos, BlockState state) protected intAbstractFurnaceBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intBarrelBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intBeehiveBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intBrewingStandBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intCakeBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intCandleCakeBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.protected intChestBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intChiseledBookShelfBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.protected intCommandBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intComposterBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intCopperBulbBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.protected intCrafterBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.protected intDecoratedPotBlock.getAnalogOutputSignal(BlockState p_306206_, Level p_306113_, BlockPos p_306305_) protected intDetectorRailBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intDispenserBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intEndPortalFrameBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intHopperBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intJukeboxBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intLavaCauldronBlock.getAnalogOutputSignal(BlockState p_153502_, Level p_153503_, BlockPos p_153504_) protected intLayeredCauldronBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.protected intLecternBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intRespawnAnchorBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected intSculkSensorBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.protected intShulkerBoxBlock.getAnalogOutputSignal(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.static DirectionBedBlock.getBedOrientation(BlockGetter level, BlockPos pos) protected VoxelShapeCeilingHangingSignBlock.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) ChorusFlowerBlock.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeFenceGateBlock.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeLeavesBlock.getBlockSupportShape(BlockState state, BlockGetter reader, BlockPos pos) protected VoxelShapeMudBlock.getBlockSupportShape(BlockState p_221566_, BlockGetter p_221567_, BlockPos p_221568_) protected VoxelShapeShulkerBoxBlock.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeSnowLayerBlock.getBlockSupportShape(BlockState state, BlockGetter reader, BlockPos pos) protected VoxelShapeSoulSandBlock.getBlockSupportShape(BlockState state, BlockGetter reader, BlockPos pos) protected VoxelShapeWallHangingSignBlock.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) static FluidPointedDripstoneBlock.getCauldronFillFluidType(ServerLevel level, BlockPos pos) AbstractBannerBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) AttachedStemBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) BambooSaplingBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) BigDripleafStemBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) Block.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) Deprecated.CandleCakeBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) 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 level, BlockPos pos, BlockState state) DecoratedPotBlock.getCloneItemStack(LevelReader p_304622_, BlockPos p_294412_, BlockState p_294723_) EndGatewayBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) EndPortalBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) FlowerPotBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) FrostedIceBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) GrowingPlantBodyBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) LightBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) NetherPortalBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) NetherWartBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) ShulkerBoxBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) StemBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) SweetBerryBushBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) TallSeagrassBlock.getCloneItemStack(LevelReader p_304988_, BlockPos p_154750_, BlockState p_154751_) protected VoxelShapeBambooStalkBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBellBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBigDripleafBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCactusBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeComposterBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCrossCollisionBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeFenceGateBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeGrindstoneBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeHoneyBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeLecternBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeLiquidBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeMudBlock.getCollisionShape(BlockState p_221561_, BlockGetter p_221562_, BlockPos p_221563_, CollisionContext p_221564_) PitcherCropBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapePowderSnowBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeScaffoldingBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSculkShriekerBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSnowLayerBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSoulSandBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeWallBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeWallHangingSignBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) private RedstoneSideRedStoneWireBlock.getConnectingSide(BlockGetter level, BlockPos pos, Direction face) private RedstoneSideRedStoneWireBlock.getConnectingSide(BlockGetter level, BlockPos pos, Direction direction, boolean nonNormalCubeAbove) private BlockStateRedStoneWireBlock.getConnectionState(BlockGetter level, BlockState state, BlockPos pos) static ContainerChestBlock.getContainer(ChestBlock chest, BlockState state, Level level, BlockPos pos, boolean override) ComposterBlock.getContainer(BlockState state, LevelAccessor level, BlockPos pos) private ResourceLocationNoteBlock.getCustomSoundId(Level level, BlockPos pos) private static intSculkBlock.getDecayPenalty(SculkSpreader spreader, BlockPos cursorPos, BlockPos rootPos, int charge) protected floatBambooSaplingBlock.getDestroyProgress(BlockState state, Player player, BlockGetter level, BlockPos pos) Get the hardness of this Block relative to the ability of the given playerprotected floatBambooStalkBlock.getDestroyProgress(BlockState state, Player player, BlockGetter level, BlockPos pos) Get the hardness of this Block relative to the ability of the given playerprivate static DimensionTransitionNetherPortalBlock.getDimensionTransitionFromExit(Entity entity, BlockPos pos, BlockUtil.FoundRectangle rectangle, ServerLevel level, DimensionTransition.PostDimensionTransition postDimensionTransition) protected intBasePressurePlateBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intButtonBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intDetectorRailBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intDiodeBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intLecternBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intLeverBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intLightningRodBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.protected intObserverBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intRedstoneTorchBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intRedStoneWireBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.intSculkSensorBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.protected intTrappedChestBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intTripWireHookBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.static intScaffoldingBlock.getDistance(BlockGetter level, BlockPos pos) Block.getDrops(BlockState state, ServerLevel level, BlockPos pos, BlockEntity blockEntity) Block.getDrops(BlockState state, ServerLevel level, BlockPos pos, BlockEntity blockEntity, Entity entity, ItemStack tool) intAnvilBlock.getDustColor(BlockState state, BlockGetter reader, BlockPos pos) intColoredFallingBlock.getDustColor(BlockState state, BlockGetter level, BlockPos pos) intConcretePowderBlock.getDustColor(BlockState state, BlockGetter reader, BlockPos pos) intFallingBlock.getDustColor(BlockState state, BlockGetter level, BlockPos pos) private DimensionTransitionNetherPortalBlock.getExitPortal(ServerLevel level, Entity entity, BlockPos pos, BlockPos exitPos, boolean isNether, WorldBorder worldBorder) 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 level, BlockPos pos, BlockState state) protected static floatCropBlock.getGrowthSpeed(BlockState blockState, BlockGetter p_52274_, BlockPos p_52275_) GrowingPlantBodyBlock.getHeadPos(BlockGetter level, BlockPos pos, Block block) protected intBambooStalkBlock.getHeightAboveUpToMax(BlockGetter level, BlockPos pos) protected intBambooStalkBlock.getHeightBelowUpToMax(BlockGetter level, BlockPos pos) private intFireBlock.getIgniteOdds(LevelReader level, BlockPos pos) protected intComparatorBlock.getInputSignal(Level level, BlockPos pos, BlockState state) protected intDiodeBlock.getInputSignal(Level level, BlockPos pos, BlockState state) private <T extends AbstractMinecart>
List<T> DetectorRailBlock.getInteractingMinecartOfType(Level level, BlockPos pos, Class<T> cartType, Predicate<Entity> filter) protected VoxelShapeAbstractCauldronBlock.getInteractionShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeComposterBlock.getInteractionShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeHopperBlock.getInteractionShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeScaffoldingBlock.getInteractionShape(BlockState state, BlockGetter level, BlockPos pos) private ItemFrameComparatorBlock.getItemFrame(Level level, Direction facing, BlockPos pos) protected intLeavesBlock.getLightBlock(BlockState state, BlockGetter level, BlockPos pos) protected intTintedGlassBlock.getLightBlock(BlockState p_154828_, BlockGetter p_154829_, BlockPos p_154830_) private PitcherCropBlock.PosAndStatePitcherCropBlock.getLowerHalf(LevelReader level, BlockPos pos, BlockState state) protected MenuProviderAnvilBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderBaseEntityBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderCartographyTableBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderChestBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderCraftingTableBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderEnchantingTableBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderGrindstoneBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderLecternBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderLoomBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderSmithingTableBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderStonecutterBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) private BlockStateRedStoneWireBlock.getMissingConnections(BlockGetter level, BlockState state, BlockPos pos) default Optional<BlockState> ChangeOverTimeBlock.getNextState(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected VoxelShapeFenceBlock.getOcclusionShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeFenceGateBlock.getOcclusionShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeLecternBlock.getOcclusionShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapePointedDripstoneBlock.getOcclusionShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapePowderSnowBlock.getOcclusionShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeSculkShriekerBlock.getOcclusionShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeSkullBlock.getOcclusionShape(BlockState state, BlockGetter level, BlockPos pos) protected intComparatorBlock.getOutputSignal(BlockGetter level, BlockPos pos, BlockState state) protected intDiodeBlock.getOutputSignal(BlockGetter level, BlockPos pos, BlockState state) default BlockPosBonemealableBlock.getParticlePos(BlockPos pos) MangroveLeavesBlock.getParticlePos(BlockPos p_316180_) RootedDirtBlock.getParticlePos(BlockPos p_316883_) EndGatewayBlock.getPortalDestination(ServerLevel level, Entity entity, BlockPos pos) EndPortalBlock.getPortalDestination(ServerLevel level, Entity entity, BlockPos pos) NetherPortalBlock.getPortalDestination(ServerLevel level, Entity entity, BlockPos pos) Portal.getPortalDestination(ServerLevel level, Entity entity, BlockPos pos) private RailStateBaseRailBlock.getRailDirection(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart) private BlockStateSculkBlock.getRandomGrowthState(LevelAccessor level, BlockPos pos, RandomSource random, boolean isWorldGeneration) private AABBDetectorRailBlock.getSearchBB(BlockPos pos) protected longBedBlock.getSeed(BlockState state, BlockPos pos) 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 state, BlockPos pos) 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 state, BlockPos pos) 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 state, BlockGetter level, BlockPos pos) protected floatLightBlock.getShadeBrightness(BlockState state, BlockGetter level, BlockPos pos) protected floatMudBlock.getShadeBrightness(BlockState p_221552_, BlockGetter p_221553_, BlockPos p_221554_) protected floatSnowLayerBlock.getShadeBrightness(BlockState state, BlockGetter level, BlockPos pos) protected floatSoulSandBlock.getShadeBrightness(BlockState state, BlockGetter level, BlockPos pos) protected floatStructureVoidBlock.getShadeBrightness(BlockState state, BlockGetter level, BlockPos pos) protected floatTransparentBlock.getShadeBrightness(BlockState p_308911_, BlockGetter p_308952_, BlockPos p_308918_) protected VoxelShapeAbstractCauldronBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeAirBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeAmethystClusterBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeAnvilBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeAttachedStemBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeAzaleaBlock.getShape(BlockState p_152084_, BlockGetter p_152085_, BlockPos p_152086_, CollisionContext p_152087_) protected VoxelShapeBambooSaplingBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBambooStalkBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBannerBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBaseCoralFanBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBaseCoralPlantBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBaseCoralPlantTypeBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBaseCoralWallFanBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBaseFireBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBasePressurePlateBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBaseRailBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBaseTorchBlock.getShape(BlockState p_304673_, BlockGetter p_304919_, BlockPos p_304930_, CollisionContext p_304757_) protected VoxelShapeBedBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBeetrootBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBellBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBigDripleafBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBigDripleafStemBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBrewingStandBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBubbleColumnBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeButtonBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCactusBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCakeBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCampfireBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCandleBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCandleCakeBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCarpetBlock.getShape(BlockState p_152917_, BlockGetter p_152918_, BlockPos p_152919_, CollisionContext p_152920_) protected VoxelShapeCarrotBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCeilingHangingSignBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeChainBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeChestBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCocoaBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeComposterBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeConduitBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCoralPlantBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCropBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeCrossCollisionBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeDaylightDetectorBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeDeadBushBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeDecoratedPotBlock.getShape(BlockState p_273112_, BlockGetter p_273055_, BlockPos p_273137_, CollisionContext p_273151_) protected VoxelShapeDiodeBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeDirtPathBlock.getShape(BlockState p_153143_, BlockGetter p_153144_, BlockPos p_153145_, CollisionContext p_153146_) protected VoxelShapeDoorBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeDragonEggBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeEnchantingTableBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeEnderChestBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeEndPortalBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeEndPortalFrameBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeFarmBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeFenceGateBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeFireBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeFlowerBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeFlowerPotBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeFrogspawnBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeFungusBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeGrindstoneBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeGrowingPlantBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) 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 state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeLadderBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeLanternBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeLecternBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeLeverBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeLightBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeLiquidBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeMangrovePropaguleBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeMultifaceBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeMushroomBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeNetherPortalBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeNetherSproutsBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeNetherWartBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) 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 state, BlockGetter level, BlockPos pos, CollisionContext context) PitcherCropBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapePointedDripstoneBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapePotatoBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeRedstoneWallTorchBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeRedStoneWireBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeRodBlock.getShape(BlockState p_154346_, BlockGetter p_154347_, BlockPos p_154348_, CollisionContext p_154349_) protected VoxelShapeRootsBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSaplingBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeScaffoldingBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSculkSensorBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSeagrassBlock.getShape(BlockState p_154525_, BlockGetter p_154526_, BlockPos p_154527_, CollisionContext p_154528_) protected VoxelShapeSeaPickleBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeShulkerBoxBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSignBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSkullBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSlabBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSmallDripleafBlock.getShape(BlockState p_154610_, BlockGetter p_154611_, BlockPos p_154612_, CollisionContext p_154613_) SnifferEggBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSnowLayerBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSporeBlossomBlock.getShape(BlockState p_154699_, BlockGetter p_154700_, BlockPos p_154701_, CollisionContext p_154702_) protected VoxelShapeStairBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeStemBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeStonecutterBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeStructureVoidBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSugarCaneBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSweetBerryBushBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeTallGrassBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) 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 state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeTripWireBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeTripWireHookBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeTurtleEggBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeVineBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeWallBannerBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeWallBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeWallHangingSignBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeWallSignBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeWallSkullBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeWallTorchBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeWaterlilyBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected intBasePressurePlateBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intButtonBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) 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 blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intDetectorRailBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intDiodeBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.intJukeboxBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected intLecternBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intLeverBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intLightningRodBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected intObserverBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intPoweredBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intRedstoneTorchBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intRedstoneWallTorchBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intRedStoneWireBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intSculkSensorBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected intTargetBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intTrappedChestBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intTripWireHookBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected abstract intBasePressurePlateBlock.getSignalStrength(Level level, BlockPos pos) Calculates what the signal strength of a pressure plate at the given location should be.protected intPressurePlateBlock.getSignalStrength(Level level, BlockPos pos) Calculates what the signal strength of a pressure plate at the given location should be.protected intWeightedPressurePlateBlock.getSignalStrength(Level level, BlockPos pos) Calculates what the signal strength of a pressure plate at the given location should be.MultifaceSpreader.getSpreadFromFaceTowardDirection(BlockState state, BlockGetter level, BlockPos pos, Direction spreadDirection, Direction face, MultifaceSpreader.SpreadPredicate predicate) abstract MultifaceSpreader.SpreadPosMultifaceSpreader.SpreadType.getSpreadPos(BlockPos pos, Direction face, Direction spreadDirection) private static StairsShapeStairBlock.getStairsShape(BlockState state, BlockGetter level, BlockPos pos) Returns a stair shape property based on the surrounding stairs from the given blockstate and positionstatic BlockStateBaseFireBlock.getState(BlockGetter reader, BlockPos pos) protected BlockStateFireBlock.getStateForPlacement(BlockGetter level, BlockPos pos) MultifaceBlock.getStateForPlacement(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) MultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) MultifaceSpreader.SpreadConfig.getStateForPlacement(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) private BlockStateFireBlock.getStateWithAge(LevelAccessor level, BlockPos pos, int age) static BlockStateChorusPlantBlock.getStateWithConnections(BlockGetter level, BlockPos pos, BlockState state) private BlockStateVineBlock.getUpdatedState(BlockState state, BlockGetter level, BlockPos pos) private static BlockPosSculkSpreader.ChargeCursor.getValidMovementPos(LevelAccessor level, BlockPos pos, RandomSource random) protected VoxelShapeFenceBlock.getVisualShape(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) protected VoxelShapeIronBarsBlock.getVisualShape(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) protected VoxelShapeMudBlock.getVisualShape(BlockState p_221556_, BlockGetter p_221557_, BlockPos p_221558_, CollisionContext p_221559_) protected VoxelShapePowderSnowBlock.getVisualShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSnowLayerBlock.getVisualShape(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) protected VoxelShapeSoulSandBlock.getVisualShape(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) 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 level, BlockState state, BlockPos pos, int ageIncrement) private static voidPointedDripstoneBlock.grow(ServerLevel server, BlockPos pos, Direction direction) protected voidBambooSaplingBlock.growBamboo(Level level, BlockPos state) protected voidBambooStalkBlock.growBamboo(BlockState state, Level level, BlockPos pos, RandomSource random, int age) voidCropBlock.growCrops(Level level, BlockPos pos, BlockState state) booleanMushroomBlock.growMushroom(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) static voidPointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) private static voidPointedDripstoneBlock.growStalagmiteBelow(ServerLevel level, BlockPos pos) private static voidChorusFlowerBlock.growTreeRecursive(LevelAccessor level, BlockPos branchPos, RandomSource random, BlockPos originalBranchPos, int maxHorizontalDistance, int iterations) private voidLayeredCauldronBlock.handleEntityOnFireInside(BlockState state, Level level, BlockPos pos) static voidComposterBlock.handleFill(Level level, BlockPos pos, boolean success) voidBlock.handlePrecipitation(BlockState state, Level level, BlockPos pos, Biome.Precipitation precipitation) voidCauldronBlock.handlePrecipitation(BlockState state, Level level, BlockPos pos, Biome.Precipitation precipitation) voidLayeredCauldronBlock.handlePrecipitation(BlockState state, Level level, BlockPos pos, Biome.Precipitation precipitation) private booleanRailState.hasConnection(BlockPos pos) private booleanRailState.hasNeighborRail(BlockPos pos) protected booleanRedstoneTorchBlock.hasNeighborSignal(Level level, BlockPos pos, BlockState state) protected booleanRedstoneWallTorchBlock.hasNeighborSignal(Level level, BlockPos pos, BlockState state) private booleanstatic booleanSculkVeinBlock.hasSubstrateAccess(LevelAccessor level, BlockState state, BlockPos pos) static booleanCropBlock.hasSufficientLight(LevelReader level, BlockPos pos) static booleanSnifferEggBlock.hatchBoost(BlockGetter level, BlockPos pos) private voidFrogspawnBlock.hatchFrogspawn(ServerLevel level, BlockPos pos, RandomSource random) private booleanBeehiveBlock.hiveContainsBees(Level level, BlockPos pos) static BlockStateComposterBlock.insertItem(Entity entity, BlockState state, ServerLevel level, ItemStack stack, BlockPos pos) private static voidRedStoneOreBlock.interact(BlockState state, Level level, BlockPos pos) static booleanVineBlock.isAcceptableNeighbour(BlockGetter blockReader, BlockPos neighborPos, Direction attachedFace) private static booleanChestBlock.isBlockedChestByBlock(BlockGetter level, BlockPos pos) booleanAzaleaBlock.isBonemealSuccess(Level p_220712_, RandomSource p_220713_, BlockPos p_220714_, BlockState p_220715_) booleanBambooSaplingBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBambooStalkBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBigDripleafBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBigDripleafStemBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBonemealableBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) 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 level, RandomSource random, BlockPos pos, BlockState state) booleanCropBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanFungusBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGlowLichenBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGrassBlock.isBonemealSuccess(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) booleanGrowingPlantBodyBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGrowingPlantHeadBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMangroveLeavesBlock.isBonemealSuccess(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) booleanMangrovePropaguleBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMossBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMushroomBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanNetherrackBlock.isBonemealSuccess(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) booleanNyliumBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanPinkPetalsBlock.isBonemealSuccess(Level p_272604_, RandomSource p_273609_, BlockPos p_272988_, BlockState p_273231_) booleanPitcherCropBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanRootedDirtBlock.isBonemealSuccess(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) booleanSaplingBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSeagrassBlock.isBonemealSuccess(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) booleanSeaPickleBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSmallDripleafBlock.isBonemealSuccess(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) booleanStemBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSweetBerryBushBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanTallFlowerBlock.isBonemealSuccess(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) booleanTallGrassBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) private booleanScaffoldingBlock.isBottom(BlockGetter level, BlockPos pos, int distance) private static booleanBedBlock.isBunkBed(BlockGetter level, BlockPos pos) private static booleanChestBlock.isCatSittingOnChest(LevelAccessor level, BlockPos pos) static booleanChestBlock.isChestBlockedAt(LevelAccessor level, BlockPos pos) protected booleanBambooStalkBlock.isCollisionShapeFullBlock(BlockState state, BlockGetter level, BlockPos pos) protected booleanPointedDripstoneBlock.isCollisionShapeFullBlock(BlockState state, BlockGetter level, BlockPos pos) protected booleanAbstractCauldronBlock.isEntityInsideContent(BlockState state, BlockPos pos, Entity entity) booleanBaseRailBlock.isFlexibleRail(BlockState state, BlockGetter world, BlockPos pos) booleanTrapDoorBlock.isLadder(BlockState state, LevelReader world, BlockPos pos, LivingEntity entity) booleanDiodeBlock.isLocked(LevelReader level, BlockPos pos, BlockState state) Check if neighboring blocks are locking this diode.booleanRepeaterBlock.isLocked(LevelReader level, BlockPos pos, BlockState state) Check if neighboring blocks are locking this diode.private static booleanSculkSpreader.ChargeCursor.isMovementUnobstructed(LevelAccessor level, BlockPos fromPos, BlockPos toPos) protected booleanFireBlock.isNearRain(Level level, BlockPos pos) private static booleanFarmBlock.isNearWater(LevelReader level, BlockPos pos) private static booleanstatic booleanprotected booleanPoweredRailBlock.isSameRailWithPower(Level level, BlockPos state, boolean searchForward, int recursionCount, RailShape shape) static booleanTurtleEggBlock.isSand(BlockGetter reader, BlockPos pos) private booleanHoneyBlock.isSlidingDown(BlockPos pos, Entity entity) static booleanCampfireBlock.isSmokeyPos(Level level, BlockPos pos) private static booleanPointedDripstoneBlock.isStalactiteStartPos(BlockState state, LevelReader level, BlockPos pos) abstract booleanSupportType.isSupporting(BlockState state, BlockGetter level, BlockPos pos, Direction face) private static booleanRedstoneTorchBlock.isToggledTooFrequently(Level level, BlockPos pos, boolean logToggle) private static booleanSculkSpreader.ChargeCursor.isUnobstructed(LevelAccessor level, BlockPos pos, Direction direction) booleanAzaleaBlock.isValidBonemealTarget(LevelReader p_256329_, BlockPos p_256107_, BlockState p_255771_) booleanBambooSaplingBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanBambooStalkBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanBigDripleafBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanBigDripleafStemBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanBonemealableBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) 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 level, BlockPos pos, BlockState state) booleanCropBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanFungusBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanGlowLichenBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanGrassBlock.isValidBonemealTarget(LevelReader p_256229_, BlockPos p_256432_, BlockState p_255677_) booleanGrowingPlantBodyBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanGrowingPlantHeadBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanMangroveLeavesBlock.isValidBonemealTarget(LevelReader p_256534_, BlockPos p_256299_, BlockState p_255926_) booleanMangrovePropaguleBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanMossBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanMushroomBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanNetherrackBlock.isValidBonemealTarget(LevelReader p_256620_, BlockPos p_55003_, BlockState p_55004_) booleanNyliumBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanPinkPetalsBlock.isValidBonemealTarget(LevelReader p_272968_, BlockPos p_273762_, BlockState p_273662_) booleanPitcherCropBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanRootedDirtBlock.isValidBonemealTarget(LevelReader p_256100_, BlockPos p_255943_, BlockState p_255655_) booleanSaplingBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanSeagrassBlock.isValidBonemealTarget(LevelReader p_295512_, BlockPos p_154506_, BlockState p_154507_) booleanSeaPickleBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanSmallDripleafBlock.isValidBonemealTarget(LevelReader p_255772_, BlockPos p_154595_, BlockState p_154596_) booleanStemBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanSweetBerryBushBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanTallFlowerBlock.isValidBonemealTarget(LevelReader p_256234_, BlockPos p_57304_, BlockState p_57305_) booleanTallGrassBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) static booleanEnchantingTableBlock.isValidBookShelf(Level level, BlockPos enchantingTablePos, BlockPos bookshelfPos) private booleanFireBlock.isValidFireLocation(BlockGetter level, BlockPos pos) private static booleanPointedDripstoneBlock.isValidPointedDripstonePlacement(LevelReader level, BlockPos pos, Direction dir) booleanMultifaceBlock.isValidStateForPlacement(BlockGetter level, BlockState state, BlockPos pos, Direction direction) private static booleanRespawnAnchorBlock.isWaterThatWouldFlow(BlockPos pos, Level level) static booleanDoorBlock.isWoodenDoor(Level level, BlockPos pos) private booleanBedBlock.kickVillagerOutOfBed(Level level, BlockPos pos) static voidLayeredCauldronBlock.lowerFillLevel(BlockState state, Level level, BlockPos pos) private static voidLeverBlock.makeParticle(BlockState state, LevelAccessor level, BlockPos pos, float alpha) static voidCampfireBlock.makeParticles(Level level, BlockPos pos, boolean isSignalFire, boolean spawnExtraSmoke) private voidHoneyBlock.maybeDoSlideAchievement(Entity entity, BlockPos pos) static voidPointedDripstoneBlock.maybeTransferFluid(BlockState state, ServerLevel level, BlockPos pos, float randChance) protected booleanAttachedStemBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanAzaleaBlock.mayPlaceOn(BlockState p_152089_, BlockGetter p_152090_, BlockPos p_152091_) protected booleanBushBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanCropBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanDeadBushBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) private static booleanFrogspawnBlock.mayPlaceOn(BlockGetter level, BlockPos pos) protected booleanFungusBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanMangrovePropaguleBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanMushroomBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanNetherSproutsBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanNetherWartBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanPitcherCropBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanRootsBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanSeagrassBlock.mayPlaceOn(BlockState p_154539_, BlockGetter p_154540_, BlockPos p_154541_) protected booleanSeaPickleBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanSmallDripleafBlock.mayPlaceOn(BlockState p_154636_, BlockGetter p_154637_, BlockPos p_154638_) protected booleanStemBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanTallSeagrassBlock.mayPlaceOn(BlockState p_154774_, BlockGetter p_154775_, BlockPos p_154776_) protected booleanWaterlilyBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanWitherRoseBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected voidIceBlock.melt(BlockState state, Level level, BlockPos pos) protected voidAbstractSkullBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) protected voidBaseRailBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidBellBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidBigDripleafBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) protected voidCommandBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidCopperBulbBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) protected voidCrafterBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) protected voidDiodeBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidDispenserBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidDoorBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidFenceGateBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidFrostedIceBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidHopperBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidLiquidBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidNoteBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidRedstoneLampBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidRedstoneTorchBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidRedStoneWireBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidSpongeBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidStructureBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidTntBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidTrapDoorBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) private static booleanBlocks.never(BlockState state, BlockGetter blockGetter, BlockPos pos) static BooleanBlocks.never(BlockState state, BlockGetter blockGetter, BlockPos pos, EntityType<?> entity) AbstractBannerBlock.newBlockEntity(BlockPos pos, BlockState state) AbstractSkullBlock.newBlockEntity(BlockPos pos, BlockState state) BarrelBlock.newBlockEntity(BlockPos pos, BlockState state) BeaconBlock.newBlockEntity(BlockPos pos, BlockState state) BedBlock.newBlockEntity(BlockPos pos, BlockState state) BeehiveBlock.newBlockEntity(BlockPos pos, BlockState state) BellBlock.newBlockEntity(BlockPos pos, BlockState state) BlastFurnaceBlock.newBlockEntity(BlockPos pos, BlockState state) BrewingStandBlock.newBlockEntity(BlockPos pos, BlockState state) BrushableBlock.newBlockEntity(BlockPos pos, BlockState state) CalibratedSculkSensorBlock.newBlockEntity(BlockPos p_277925_, BlockState p_277938_) CampfireBlock.newBlockEntity(BlockPos pos, BlockState state) CeilingHangingSignBlock.newBlockEntity(BlockPos pos, BlockState state) ChestBlock.newBlockEntity(BlockPos pos, BlockState state) ChiseledBookShelfBlock.newBlockEntity(BlockPos pos, BlockState state) CommandBlock.newBlockEntity(BlockPos pos, BlockState state) ComparatorBlock.newBlockEntity(BlockPos pos, BlockState state) ConduitBlock.newBlockEntity(BlockPos pos, BlockState state) CrafterBlock.newBlockEntity(BlockPos pos, BlockState state) DaylightDetectorBlock.newBlockEntity(BlockPos pos, BlockState state) DecoratedPotBlock.newBlockEntity(BlockPos p_273396_, BlockState p_272674_) DispenserBlock.newBlockEntity(BlockPos pos, BlockState state) DropperBlock.newBlockEntity(BlockPos p_153179_, BlockState p_153180_) EnchantingTableBlock.newBlockEntity(BlockPos pos, BlockState state) EnderChestBlock.newBlockEntity(BlockPos pos, BlockState state) EndGatewayBlock.newBlockEntity(BlockPos pos, BlockState state) EndPortalBlock.newBlockEntity(BlockPos pos, BlockState state) EntityBlock.newBlockEntity(BlockPos pos, BlockState state) FurnaceBlock.newBlockEntity(BlockPos pos, BlockState state) HopperBlock.newBlockEntity(BlockPos pos, BlockState state) JigsawBlock.newBlockEntity(BlockPos pos, BlockState state) JukeboxBlock.newBlockEntity(BlockPos pos, BlockState state) LecternBlock.newBlockEntity(BlockPos pos, BlockState state) SculkCatalystBlock.newBlockEntity(BlockPos p_222117_, BlockState p_222118_) SculkSensorBlock.newBlockEntity(BlockPos pos, BlockState state) SculkShriekerBlock.newBlockEntity(BlockPos pos, BlockState state) ShulkerBoxBlock.newBlockEntity(BlockPos pos, BlockState state) SignBlock.newBlockEntity(BlockPos pos, BlockState state) SmokerBlock.newBlockEntity(BlockPos pos, BlockState state) SpawnerBlock.newBlockEntity(BlockPos pos, BlockState state) StructureBlock.newBlockEntity(BlockPos pos, BlockState state) TrappedChestBlock.newBlockEntity(BlockPos pos, BlockState state) TrialSpawnerBlock.newBlockEntity(BlockPos p_311941_, BlockState p_312821_) VaultBlock.newBlockEntity(BlockPos p_324543_, BlockState p_323652_) WallHangingSignBlock.newBlockEntity(BlockPos pos, BlockState state) private static voidTripWireHookBlock.notifyNeighbors(Block block, Level level, BlockPos pos, Direction direction) static BooleanBlocks.ocelotOrParrot(BlockState state, BlockGetter blockGetter, BlockPos pos, EntityType<?> entity) voidAnvilBlock.onBrokenAfterFall(Level level, BlockPos pos, FallingBlockEntity fallingBlock) voidBrushableBlock.onBrokenAfterFall(Level level, BlockPos pos, FallingBlockEntity fallingBlock) default voidFallable.onBrokenAfterFall(Level level, BlockPos pos, FallingBlockEntity fallingBlock) voidPointedDripstoneBlock.onBrokenAfterFall(Level level, BlockPos pos, FallingBlockEntity fallingBlock) voidTntBlock.onCaughtFire(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) default voidSculkBehaviour.onDischarged(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) voidSculkVeinBlock.onDischarged(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) protected voidAbstractCandleBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidBellBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidButtonBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidDoorBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidFenceGateBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidLeverBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidTrapDoorBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) voidAnvilBlock.onLand(Level level, BlockPos pos, BlockState state, BlockState replaceableState, FallingBlockEntity fallingBlock) voidConcretePowderBlock.onLand(Level level, BlockPos pos, BlockState state, BlockState replaceableState, FallingBlockEntity fallingBlock) default voidFallable.onLand(Level level, BlockPos pos, BlockState state, BlockState replaceableState, FallingBlockEntity fallingBlock) voidLightningRodBlock.onLightningStrike(BlockState state, Level level, BlockPos pos) 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 state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidBaseRailBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) voidBrushableBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidCarvedPumpkinBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidComposterBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidCopperBulbBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidCoralFanBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidCoralPlantBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidCoralWallFanBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidDetectorRailBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidDiodeBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidFallingBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidFireBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidFrogspawnBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) voidFrostedIceBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidHopperBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidLightningRodBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidLiquidBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidMagmaBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidObserverBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidRedstoneTorchBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidRedStoneWireBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidScaffoldingBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidSculkSensorBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) voidSnifferEggBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidSoulSandBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidSpongeBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidTargetBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidTntBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidTripWireBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidTurtleEggBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidWetSpongeBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) voidAbstractCauldronBlock.onRemove(BlockState p_60515_, Level p_60516_, BlockPos p_60517_, BlockState p_60518_, boolean p_60519_) protected voidAbstractFurnaceBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidBarrelBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidBasePressurePlateBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidBaseRailBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidBrewingStandBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidButtonBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidCampfireBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidChestBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidChiseledBookShelfBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected voidComposterBlock.onRemove(BlockState p_60515_, Level p_60516_, BlockPos p_60517_, BlockState p_60518_, boolean p_60519_) protected voidCrafterBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected voidDecoratedPotBlock.onRemove(BlockState p_305821_, Level p_306245_, BlockPos p_305894_, BlockState p_306294_, boolean p_306159_) protected voidDiodeBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidDispenserBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidHopperBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidJukeboxBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidLecternBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidLeverBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidLightningRodBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected voidObserverBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidRedstoneTorchBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidRedStoneWireBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidSculkSensorBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected voidSculkShriekerBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected voidShulkerBoxBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidTripWireBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidTripWireHookBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) static booleanTurtleEggBlock.onSand(BlockGetter level, BlockPos pos) protected abstract voidAbstractFurnaceBlock.openContainer(Level level, BlockPos pos, Player player) Called to open this furnace's container.protected voidBlastFurnaceBlock.openContainer(Level level, BlockPos pos, Player player) Called to open this furnace's container.protected voidFurnaceBlock.openContainer(Level level, BlockPos pos, Player player) Called to open this furnace's container.protected voidSmokerBlock.openContainer(Level level, BlockPos pos, Player player) Called to open this furnace's container.private voidLecternBlock.openScreen(Level level, BlockPos pos, Player player) voidAzaleaBlock.performBonemeal(ServerLevel p_220707_, RandomSource p_220708_, BlockPos p_220709_, BlockState p_220710_) voidBambooSaplingBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBambooStalkBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBigDripleafBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBigDripleafStemBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBonemealableBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) 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 level, RandomSource random, BlockPos pos, BlockState state) voidCropBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidFungusBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGlowLichenBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGrassBlock.performBonemeal(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) voidGrowingPlantBodyBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGrowingPlantHeadBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMangroveLeavesBlock.performBonemeal(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) voidMangrovePropaguleBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMossBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMushroomBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidNetherrackBlock.performBonemeal(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) voidNyliumBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidPinkPetalsBlock.performBonemeal(ServerLevel p_273476_, RandomSource p_273093_, BlockPos p_272601_, BlockState p_272683_) voidPitcherCropBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidRootedDirtBlock.performBonemeal(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) voidSaplingBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSeagrassBlock.performBonemeal(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) voidSeaPickleBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSmallDripleafBlock.performBonemeal(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) voidStemBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSweetBerryBushBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidTallFlowerBlock.performBonemeal(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) voidTallGrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) BarrierBlock.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) BubbleColumnBlock.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) BucketPickup.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) LiquidBlock.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) PowderSnowBlock.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) default ItemStackSimpleWaterloggedBlock.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) protected static booleanBigDripleafBlock.place(LevelAccessor level, BlockPos pos, FluidState fluidState, Direction direction) protected static booleanBigDripleafStemBlock.place(LevelAccessor level, BlockPos pos, FluidState fluidState, Direction direction) private voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> featureRegistry, ResourceKey<ConfiguredFeature<?, ?>> featureKey, ServerLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos) static voidDoublePlantBlock.placeAt(LevelAccessor level, BlockState state, BlockPos pos, int flags) private static voidLecternBlock.placeBook(LivingEntity entity, Level level, BlockPos pos, BlockState state, ItemStack stack) private voidChorusFlowerBlock.placeDeadFlower(Level level, BlockPos pos) private voidChorusFlowerBlock.placeGrownFlower(Level level, BlockPos pos, int age) booleanCampfireBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanCandleBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanKelpBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanKelpPlantBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanLiquidBlockContainer.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanSeagrassBlock.placeLiquid(LevelAccessor p_154520_, BlockPos p_154521_, BlockState p_154522_, FluidState p_154523_) default booleanSimpleWaterloggedBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanSlabBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanTallSeagrassBlock.placeLiquid(LevelAccessor p_154758_, BlockPos p_154759_, BlockState p_154760_, FluidState p_154761_) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor level, RandomSource random, BlockPos pos, Direction direction) voidBeehiveBlock.playerDestroy(Level level, Player player, BlockPos pos, BlockState state, BlockEntity te, ItemStack stack) Called after a player has successfully harvested this block.voidBlock.playerDestroy(Level level, Player player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack tool) Called after a player has successfully harvested this block.voidDoublePlantBlock.playerDestroy(Level level, Player player, BlockPos pos, BlockState state, BlockEntity te, ItemStack stack) Called after a player has successfully harvested this block.voidIceBlock.playerDestroy(Level level, Player player, BlockPos pos, BlockState state, BlockEntity te, ItemStack stack) Called after a player has successfully harvested this block.voidTurtleEggBlock.playerDestroy(Level level, Player player, BlockPos pos, BlockState state, BlockEntity te, ItemStack stack) Called after a player has successfully harvested this block.BaseFireBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) BedBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) BeehiveBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) Block.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) DecoratedPotBlock.playerWillDestroy(Level p_273590_, BlockPos p_273343_, BlockState p_272869_, Player p_273002_) DoorBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) DoublePlantBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) ShulkerBoxBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) TntBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) TripWireBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) private voidNoteBlock.playNote(Entity entity, BlockState state, Level level, BlockPos pos) protected voidButtonBlock.playSound(Player player, LevelAccessor level, BlockPos pos, boolean hitByArrow) private voidprotected static voidLeverBlock.playSound(Player player, LevelAccessor level, BlockPos pos, BlockState state) protected voidprivate static voidBigDripleafBlock.playTiltSound(Level level, BlockPos pos, SoundEvent sound) private voidLecternBlock.popBook(BlockState state, Level level, BlockPos pos) voidBlock.popExperience(ServerLevel level, BlockPos pos, int amount) Spawns the given amount of experience into the Level as experience orb entities.static voidBlock.popResource(Level level, BlockPos pos, ItemStack stack) Spawns the given stack into the Level at the given position, respecting the doTileDrops gamerulestatic voidBlock.popResourceFromFace(Level level, BlockPos pos, Direction direction, ItemStack stack) voidButtonBlock.press(BlockState state, Level level, BlockPos pos, Player player) protected static voidDoublePlantBlock.preventDropFromBottomPart(Level level, BlockPos pos, BlockState state, Player player) protected booleanBambooStalkBlock.propagatesSkylightDown(BlockState state, BlockGetter level, BlockPos pos) protected booleanBarrierBlock.propagatesSkylightDown(BlockState state, BlockGetter reader, BlockPos pos) protected booleanBushBlock.propagatesSkylightDown(BlockState state, BlockGetter reader, BlockPos pos) protected booleanCrossCollisionBlock.propagatesSkylightDown(BlockState state, BlockGetter reader, BlockPos pos) protected booleanGlowLichenBlock.propagatesSkylightDown(BlockState state, BlockGetter level, BlockPos pos) protected booleanLightBlock.propagatesSkylightDown(BlockState state, BlockGetter level, BlockPos pos) protected booleanLiquidBlock.propagatesSkylightDown(BlockState state, BlockGetter reader, BlockPos pos) protected booleanPipeBlock.propagatesSkylightDown(BlockState state, BlockGetter reader, BlockPos pos) protected booleanShulkerBoxBlock.propagatesSkylightDown(BlockState state, BlockGetter level, BlockPos pos) 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 state, BlockGetter level, BlockPos pos) protected booleanWallBlock.propagatesSkylightDown(BlockState state, BlockGetter reader, BlockPos pos) voidLeverBlock.pull(BlockState state, Level level, BlockPos pos, Player player) static BlockStateBlock.pushEntitiesUp(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos) protected voidBambooSaplingBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidBambooStalkBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidBeetrootBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidBuddingAmethystBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidCactusBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidChorusFlowerBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidCocoaBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidCropBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidFarmBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidGrowingPlantHeadBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidIceBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidLeavesBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidLiquidBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidMangrovePropaguleBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidMushroomBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidNetherPortalBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidNetherWartBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidNyliumBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.voidPitcherCropBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidPointedDripstoneBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidRedStoneOreBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidSaplingBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidSnowLayerBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidSpreadingSnowyDirtBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidStemBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidSugarCaneBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidSweetBerryBushBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) 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 state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidVineBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperBulbBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperDoorBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperFullBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperGrateBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperSlabBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperStairBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidWeatheringCopperTrapDoorBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected voidAbstractCauldronBlock.receiveStalactiteDrip(BlockState state, Level level, BlockPos pos, Fluid fluid) protected voidCauldronBlock.receiveStalactiteDrip(BlockState state, Level level, BlockPos pos, Fluid fluid) protected voidLayeredCauldronBlock.receiveStalactiteDrip(BlockState state, Level level, BlockPos pos, Fluid fluid) private voidComparatorBlock.refreshOutputState(Level level, BlockPos pos, BlockState state) static booleanSculkVeinBlock.regrow(LevelAccessor level, BlockPos pos, BlockState state, Collection<Direction> directions) voidBeehiveBlock.releaseBeesAndResetHoneyLevel(Level level, BlockState state, BlockPos pos, Player player, BeehiveBlockEntity.BeeReleaseStatus beeReleaseStatus) private static voidChiseledBookShelfBlock.removeBook(Level level, BlockPos pos, Player player, ChiseledBookShelfBlockEntity blockEntity, int slot) private booleanSpongeBlock.removeWaterBreadthFirstSearch(Level level, BlockPos pos) static voidLecternBlock.resetBookState(Entity entity, Level level, BlockPos pos, BlockState state, boolean hasBook) voidBeehiveBlock.resetHoneyLevel(Level level, BlockState state, BlockPos pos) private static voidBigDripleafBlock.resetTilt(BlockState state, Level level, BlockPos pos) protected static booleanBaseCoralPlantTypeBlock.scanForWater(BlockState state, BlockGetter level, BlockPos pos) protected booleanCoralBlock.scanForWater(BlockGetter level, BlockPos pos) private BlockStateNoteBlock.setInstrument(LevelAccessor level, BlockPos pos, BlockState state) private static voidAbstractCandleBlock.setLit(LevelAccessor level, BlockState state, BlockPos pos, boolean lit) voidDoorBlock.setOpen(Entity entity, Level level, BlockState state, BlockPos pos, boolean open) private static voidTargetBlock.setOutputPower(LevelAccessor level, BlockState state, int power, BlockPos pos, int waitTime) voidBedBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.voidBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.voidCommandBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.voidCrafterBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.voidDiodeBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.voidDoorBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.voidDoublePlantBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.voidJukeboxBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.voidPitcherCropBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) 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 level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.voidTripWireHookBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.voidWitherSkullBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.voidWitherWallSkullBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by ItemBlocks after a block is set in the world, to allow post-place logicprivate static voidBigDripleafBlock.setTilt(BlockState state, Level level, BlockPos pos, Tilt p_tilt) private voidBigDripleafBlock.setTiltAndScheduleTick(BlockState state, Level level, BlockPos pos, Tilt tilt, SoundEvent sound) private static booleanBaseRailBlock.shouldBeRemoved(BlockPos pos, Level level, RailShape shape) private static booleanFarmBlock.shouldMaintainFarmland(BlockGetter level, BlockPos pos) booleanDiodeBlock.shouldPrioritize(BlockGetter level, BlockPos pos, BlockState state) Check if this diode should have a higher tick priority than default.static booleanBlock.shouldRenderFace(BlockState state, BlockGetter level, BlockPos offset, Direction face, BlockPos pos) private static booleanConcretePowderBlock.shouldSolidify(BlockGetter level, BlockPos pos, BlockState state) private static booleanConcretePowderBlock.shouldSolidify(BlockGetter level, BlockPos pos, BlockState state, FluidState fluidState) private booleanLiquidBlock.shouldSpreadLiquid(Level level, BlockPos pos, BlockState state) Deprecated.protected booleanComparatorBlock.shouldTurnOn(Level level, BlockPos pos, BlockState state) protected booleanDiodeBlock.shouldTurnOn(Level level, BlockPos pos, BlockState state) private booleanSculkSpreader.ChargeCursor.shouldUpdate(LevelAccessor level, BlockPos pos, boolean isWorldGeneration) private BlockStateWallBlock.sideUpdate(LevelReader level, BlockPos firstPos, BlockState firstState, BlockPos secondPos, BlockState secondState, Direction dir) static voidLecternBlock.signalPageChange(Level level, BlockPos pos, BlockState state) private booleanFrostedIceBlock.slightlyMelt(BlockState state, Level level, BlockPos pos) protected voidDropExperienceBlock.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishprotected voidInfestedBlock.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishprotected voidRedStoneOreBlock.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) 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 state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishprotected voidSculkShriekerBlock.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishprotected voidSpawnerBlock.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishprotected voidBaseFireBlock.spawnDestroyParticles(Level level, Player player, BlockPos pos, BlockState state) protected voidBlock.spawnDestroyParticles(Level level, Player player, BlockPos pos, BlockState state) static voidPointedDripstoneBlock.spawnDripParticle(Level level, BlockPos pos, BlockState state) private static voidPointedDripstoneBlock.spawnDripParticle(Level level, BlockPos pos, BlockState state, Fluid p_fluid) private static voidPointedDripstoneBlock.spawnFallingStalactite(BlockState state, ServerLevel level, BlockPos pos) private static voidCarvedPumpkinBlock.spawnGolemInWorld(Level level, BlockPattern.BlockPatternMatch patternMatch, Entity golem, BlockPos pos) private voidInfestedBlock.spawnInfestation(ServerLevel level, BlockPos pos) private voidBeehiveBlock.spawnParticle(Level level, BlockPos pos, VoxelShape shape, double y) private static voidRedStoneOreBlock.spawnParticles(Level level, BlockPos pos) private voidRedStoneWireBlock.spawnParticlesAlongLine(Level level, RandomSource random, BlockPos pos, Vec3 particleVec, Direction xDirection, Direction zDirection, float min, float max) private voidFrogspawnBlock.spawnTadpoles(ServerLevel level, BlockPos pos, RandomSource random) longMultifaceSpreader.spreadAll(BlockState state, LevelAccessor level, BlockPos pos, boolean markForPostprocessing) private longMultifaceSpreader.spreadFromFaceTowardAllDirections(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, boolean markForPostprocessing) MultifaceSpreader.spreadFromFaceTowardDirection(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, Direction face, boolean markForPostprocessing) MultifaceSpreader.spreadFromFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, RandomSource random, boolean markForPostprocessing) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, RandomSource random) private voidObserverBlock.startSignal(LevelAccessor level, BlockPos pos) protected booleanMultifaceSpreader.DefaultSpreaderConfig.stateCanBeReplaced(BlockGetter level, BlockPos pos, BlockPos spreadPos, Direction direction, BlockState state) booleanSculkVeinBlock.SculkVeinSpreaderConfig.stateCanBeReplaced(BlockGetter level, BlockPos pos, BlockPos spreadPos, Direction direction, BlockState state) voidBlock.stepOn(Level level, BlockPos pos, BlockState state, Entity entity) voidMagmaBlock.stepOn(Level level, BlockPos pos, BlockState state, Entity entity) voidRedStoneOreBlock.stepOn(Level level, BlockPos pos, BlockState state, Entity entity) voidSculkSensorBlock.stepOn(Level level, BlockPos pos, BlockState state, Entity entity) voidSculkShriekerBlock.stepOn(Level level, BlockPos pos, BlockState state, Entity entity) voidSlimeBlock.stepOn(Level level, BlockPos pos, BlockState state, Entity entity) voidTurtleEggBlock.stepOn(Level level, BlockPos pos, BlockState state, Entity entity) private static booleanPitcherCropBlock.sufficientLight(LevelReader level, BlockPos pos) private voidDragonEggBlock.teleport(BlockState state, Level level, BlockPos pos) booleanMultifaceSpreader.SpreadPredicate.test(BlockGetter level, BlockPos pos, MultifaceSpreader.SpreadPos spreadPos) protected voidAbstractCauldronBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBambooStalkBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBarrelBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBasePressurePlateBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBigDripleafBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBigDripleafStemBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) voidBrushableBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBubbleColumnBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidButtonBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCactusBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidChestBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidChorusFlowerBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidChorusPlantBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCommandBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidComparatorBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidComposterBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralFanBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralPlantBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCoralWallFanBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCrafterBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDetectorRailBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDiodeBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDirtPathBlock.tick(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) protected voidDispenserBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidEnderChestBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFallingBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFarmBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFireBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFrogspawnBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFrostedIceBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidGrowingPlantBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLeavesBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLecternBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLightningRodBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidMagmaBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidObserverBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidPointedDripstoneBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidRedstoneLampBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidRedstoneTorchBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidScaffoldingBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSculkCatalystBlock.tick(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) protected voidSculkSensorBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSculkShriekerBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) voidSnifferEggBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSoulSandBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSugarCaneBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTargetBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTripWireBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTripWireHookBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) private static voidDaylightDetectorBlock.tickEntity(Level level, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity) private voidTrapDoorBlock.toggle(BlockState state, Level level, BlockPos pos, Player player) private BlockStateWallBlock.topUpdate(LevelReader level, BlockState state, BlockPos pos, BlockState secondState) private static booleanConcretePowderBlock.touchesLiquid(BlockGetter level, BlockPos pos, BlockState state) protected booleanBaseEntityBlock.triggerEvent(BlockState state, Level level, BlockPos pos, int id, int param) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)is called.protected booleanComparatorBlock.triggerEvent(BlockState state, Level level, BlockPos pos, int id, int param) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)is called.protected booleanNoteBlock.triggerEvent(BlockState state, Level level, BlockPos pos, int id, int param) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)is called.protected voidSpongeBlock.tryAbsorbWater(Level level, BlockPos pos) protected voidBlock.tryDropExperience(ServerLevel level, BlockPos pos, ItemStack heldItem, IntProvider amount) static booleanLecternBlock.tryPlaceBook(LivingEntity entity, Level level, BlockPos pos, BlockState state, ItemStack stack) static voidSculkSensorBlock.tryResonateVibration(Entity entity, Level level, BlockPos pos, int frequency) protected voidBaseCoralPlantTypeBlock.tryScheduleDieTick(BlockState state, LevelAccessor level, BlockPos pos) private voidBeehiveBlock.trySpawnDripParticles(Level level, BlockPos pos, BlockState state) private voidCarvedPumpkinBlock.trySpawnGolem(Level level, BlockPos pos) static voidFarmBlock.turnToDirt(Entity entity, BlockState state, Level level, BlockPos pos) voidSculkSpreader.ChargeCursor.update(LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) private static voidLecternBlock.updateBelow(Level level, BlockPos pos, BlockState state) static voidBubbleColumnBlock.updateColumn(LevelAccessor level, BlockPos pos, BlockState state) static voidBubbleColumnBlock.updateColumn(LevelAccessor level, BlockPos pos, BlockState fluid, BlockState state) voidSculkSpreader.updateCursors(LevelAccessor level, BlockPos pos, RandomSource random, boolean shouldConvertBlocks) protected BlockStateBaseRailBlock.updateDir(Level level, BlockPos pos, BlockState state, boolean alwaysPlace) private static BlockStateLeavesBlock.updateDistance(BlockState state, LevelAccessor level, BlockPos pos) static BlockStateBlock.updateFromNeighbourShapes(BlockState currentState, LevelAccessor level, BlockPos pos) 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 state, LevelAccessor level, BlockPos pos, int flags, int recursionLeft) Updates the shapes of indirect neighbors of this block.protected voidDiodeBlock.updateNeighborsInFront(Level level, BlockPos pos, BlockState state) protected voidObserverBlock.updateNeighborsInFront(Level level, BlockPos pos, BlockState state) private voidRedStoneWireBlock.updateNeighborsOfNeighboringWires(Level level, BlockPos pos) protected voidBasePressurePlateBlock.updateNeighbours(Level level, BlockPos pos) Notify block and block below of changesprivate voidButtonBlock.updateNeighbours(BlockState state, Level level, BlockPos pos) private voidLeverBlock.updateNeighbours(BlockState state, Level level, BlockPos pos) private voidLightningRodBlock.updateNeighbours(BlockState state, Level level, BlockPos pos) private static voidSculkSensorBlock.updateNeighbours(Level level, BlockPos pos, BlockState state) static voidBlock.updateOrDestroy(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos, int flags) Replaces oldState with newState, possibly playing effects and creating drops.static voidBlock.updateOrDestroy(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos, int flags, int recursionLeft) private voidRedStoneWireBlock.updatePowerStrength(Level level, BlockPos pos, BlockState state) protected voidDetectorRailBlock.updatePowerToConnected(Level level, BlockPos pos, BlockState state, boolean powered) protected BlockStateAmethystClusterBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateAttachedStemBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockStateBambooSaplingBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBambooStalkBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBannerBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBarrierBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseCoralPlantTypeBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseCoralWallFanBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBasePressurePlateBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseRailBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBeehiveBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBellBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBigDripleafBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBigDripleafStemBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.BrushableBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBubbleColumnBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBushBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCactusBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCakeBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCampfireBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCandleBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCandleCakeBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockStateChainBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateChestBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor facing and neighbor state, returning a new state.protected BlockStateChorusFlowerBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateChorusPlantBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCocoaBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.ComparatorBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateConcretePowderBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockStateConduitBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralFanBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralPlantBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralWallFanBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateDoublePlantBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateEnderChestBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFaceAttachedHorizontalDirectionalBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFallingBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFarmBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFenceBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFenceGateBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFireBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFlowerPotBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFrogspawnBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGlowLichenBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGrowingPlantBodyBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGrowingPlantHeadBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateIronBarsBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLadderBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLanternBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLeavesBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLightBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLightningRodBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLiquidBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMagmaBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMangrovePropaguleBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateNetherPortalBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateNoteBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateObserverBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.PitcherCropBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStatePointedDripstoneBlock.updateShape(BlockState state, Direction p_direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRedstoneWallTorchBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRedStoneWireBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRepeaterBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateScaffoldingBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkSensorBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkShriekerBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkVeinBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSignBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSlabBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSnowyDirtBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSoulFireBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSoulSandBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateStandingSignBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSugarCaneBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTrapDoorBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTripWireBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTripWireHookBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateVineBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallBannerBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.private BlockStateWallBlock.updateShape(LevelReader level, BlockState state, BlockPos pos, BlockState neighbour, boolean northConnection, boolean eastConnection, boolean southConnection, boolean westConnection) protected BlockStateWallHangingSignBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallSignBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallTorchBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 state, Level level, BlockPos pos) private voidRedStoneWireBlock.updatesOnShapeChange(Level level, BlockPos pos, BlockState oldState, BlockState newState) private voidTripWireBlock.updateSource(Level level, BlockPos pos, BlockState state) protected BlockStateBaseRailBlock.updateState(BlockState state, Level level, BlockPos pos, boolean movedByPiston) protected voidBaseRailBlock.updateState(BlockState state, Level level, BlockPos pos, Block neighborBlock) protected voidPoweredRailBlock.updateState(BlockState state, Level level, BlockPos pos, Block block) protected voidRailBlock.updateState(BlockState state, Level level, BlockPos pos, Block block) static InteractionResultCaveVines.use(Entity entity, BlockState state, Level level, BlockPos pos) protected ItemInteractionResultAbstractCauldronBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultBeehiveBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultCakeBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultCampfireBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultCandleBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultCandleCakeBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultCeilingHangingSignBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultChiseledBookShelfBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultComposterBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) 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 stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultFlowerPotBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultJukeboxBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultLecternBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultNoteBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) 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 stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultRespawnAnchorBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultSignBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultSweetBerryBushBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResultTntBlock.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) 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 stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultAbstractFurnaceBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultAnvilBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultBarrelBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultBeaconBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultBedBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultBellBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultBrewingStandBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultButtonBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultCakeBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultCandleCakeBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultCartographyTableBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) 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 state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultChiseledBookShelfBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultCommandBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultComparatorBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultComposterBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultCrafterBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultCraftingTableBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultDaylightDetectorBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultDecoratedPotBlock.useWithoutItem(BlockState p_316866_, Level p_316544_, BlockPos p_316541_, Player p_316732_, BlockHitResult p_316860_) protected InteractionResultDispenserBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultDoorBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultDragonEggBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultEnchantingTableBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultEnderChestBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultFenceBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultFenceGateBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultFletchingTableBlock.useWithoutItem(BlockState p_53501_, Level p_53502_, BlockPos p_53503_, Player p_53504_, BlockHitResult p_53506_) protected InteractionResultFlowerPotBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultGrindstoneBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultHopperBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultJigsawBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultJukeboxBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultLecternBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultLeverBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultLightBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultLoomBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultNoteBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultRedStoneWireBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultRepeaterBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultRespawnAnchorBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultShulkerBoxBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultSignBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultSmithingTableBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultStonecutterBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultStructureBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultSweetBerryBushBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultTrapDoorBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) voidBlock.wasExploded(Level level, BlockPos pos, Explosion explosion) Called when this Block is destroyed by an ExplosionvoidTntBlock.wasExploded(Level level, BlockPos pos, Explosion explosion) 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> blockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> doubleBlockTypeGetter, Function<BlockState, Direction> directionGetter, DirectionProperty directionProperty, BlockState state, LevelAccessor level, BlockPos pos, BiPredicate<LevelAccessor, BlockPos> blockedChestTest) PointedDripstoneBlock.findBlockVertical(LevelAccessor level, BlockPos pos, Direction.AxisDirection axis, BiPredicate<BlockPos, BlockState> positionalStatePredicate, Predicate<BlockState> statePredicate, int maxIterations) protected voidAbstractCandleBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidBellBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidButtonBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidDoorBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidFenceGateBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidLeverBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidTrapDoorBlock.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) Constructors in net.minecraft.world.level.block with parameters of type BlockPosModifierConstructorDescriptionChargeCursor(BlockPos pos, int charge) privateChargeCursor(BlockPos pos, int charge, int decayDelay, int updateDelay, Optional<Set<Direction>> facings) (package private)FluidInfo(BlockPos pos, Fluid fluid, BlockState sourceState) Creates an instance of aFluidInforecord class.InputContainer(BlockState state, LevelAccessor level, BlockPos pos) OutputContainer(BlockState state, LevelAccessor level, BlockPos pos, ItemStack stack) (package private)PosAndState(BlockPos pos, BlockState state) Creates an instance of aPosAndStaterecord class.RailState(Level level, BlockPos pos, BlockState p_state) 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 level, BlockPos pos) private static BlockPosTheEndGatewayBlockEntity.findOrCreateValidTeleportPos(ServerLevel level, BlockPos pos) private static BlockPosTheEndGatewayBlockEntity.findTallestBlock(BlockGetter level, BlockPos pos, int radius, boolean allowBedrock) private static BlockPosTheEndGatewayBlockEntity.findValidSpawnInChunk(LevelChunk chunk) BlockEntity.getBlockPos()TickingBlockEntity.getPos()static BlockPosBlockEntity.getPosFromTag(CompoundTag tag) StructureBlockEntity.getStructurePos()Methods in net.minecraft.world.level.block.entity that return types with arguments of type BlockPosModifier and TypeMethodDescriptionStructureBlockEntity.getRelatedCorners(BlockPos minPos, BlockPos maxPos) Methods in net.minecraft.world.level.block.entity with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidSkullBlockEntity.animation(Level level, BlockPos pos, BlockState state, SkullBlockEntity blockEntity) private static voidConduitBlockEntity.animationTick(Level level, BlockPos pos, List<BlockPos> positions, Entity entity, int tickCount) private static voidBeaconBlockEntity.applyEffects(Level level, BlockPos pos, int beaconLevel, Holder<MobEffect> primaryEffect, Holder<MobEffect> secondaryEffect) private static voidConduitBlockEntity.applyEffects(Level level, BlockPos pos, List<BlockPos> positions) private static booleanBellBlockEntity.areRaidersNearby(BlockPos pos, List<LivingEntity> raiders) static voidTheEndGatewayBlockEntity.beamAnimationTick(Level level, BlockPos pos, BlockState state, TheEndGatewayBlockEntity blockEntity) private voidSculkCatalystBlockEntity.CatalystListener.bloom(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) static voidEnchantingTableBlockEntity.bookAnimationTick(Level level, BlockPos pos, BlockState state, EnchantingTableBlockEntity enchantingTable) private static Optional<BoundingBox> StructureBlockEntity.calculateEnclosingBoundingBox(BlockPos pos, Stream<BlockPos> relatedCorners) booleanCalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> gameEvent, GameEvent.Context context) booleanSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> gameEvent, GameEvent.Context context) booleanSculkShriekerBlockEntity.VibrationUser.canReceiveVibration(ServerLevel p_281256_, BlockPos p_281528_, Holder<GameEvent> p_316788_, GameEvent.Context p_282914_) static voidBellBlockEntity.clientTick(Level level, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static voidConduitBlockEntity.clientTick(Level level, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static voidSpawnerBlockEntity.clientTick(Level level, BlockPos pos, BlockState state, SpawnerBlockEntity blockEntity) static voidCampfireBlockEntity.cookTick(Level level, BlockPos pos, BlockState state, CampfireBlockEntity blockEntity) static voidCampfireBlockEntity.cooldownTick(Level level, BlockPos pos, BlockState state, CampfireBlockEntity blockEntity) BlockEntityType.BlockEntitySupplier.create(BlockPos pos, BlockState state) BlockEntityType.create(BlockPos pos, BlockState state) private static CommandSourceStackSignBlockEntity.createCommandSourceStack(Player player, Level level, BlockPos pos) BeehiveBlockEntity.Occupant.createEntity(Level level, BlockPos pos) voidContainerOpenersCounter.decrementOpeners(Player player, Level level, BlockPos pos, BlockState state) private static voidBrewingStandBlockEntity.doBrew(Level level, BlockPos pos, NonNullList<ItemStack> items) private static voidShulkerBoxBlockEntity.doNeighborUpdates(Level level, BlockPos pos, BlockState state) private static booleanHopperBlockEntity.ejectItems(Level level, BlockPos pos, HopperBlockEntity blockEntity) static voidHopperBlockEntity.entityInside(Level level, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity) booleanSignBlockEntity.executeClickCommandsIfPresent(Player player, Level level, BlockPos pos, boolean frontText) private static LivingEntityConduitBlockEntity.findDestroyTarget(Level level, BlockPos pos, UUID targetId) private static Vec3TheEndGatewayBlockEntity.findExitPortalXZPosTentative(ServerLevel level, BlockPos pos) private static BlockPosTheEndGatewayBlockEntity.findExitPosition(Level level, BlockPos pos) private static BlockPosTheEndGatewayBlockEntity.findOrCreateValidTeleportPos(ServerLevel level, BlockPos pos) private static BlockPosTheEndGatewayBlockEntity.findTallestBlock(BlockGetter level, BlockPos pos, int radius, boolean allowBedrock) private static ContainerHopperBlockEntity.getAttachedContainer(Level level, BlockPos pos, HopperBlockEntity blockEntity) private intCalibratedSculkSensorBlockEntity.VibrationUser.getBackSignal(Level level, BlockPos pos, BlockState state) private static ContainerHopperBlockEntity.getBlockContainer(Level level, BlockPos pos, BlockState state) BlockEntityType.getBlockEntity(BlockGetter level, BlockPos pos) static ContainerHopperBlockEntity.getContainerAt(Level level, BlockPos pos) private static ContainerHopperBlockEntity.getContainerAt(Level level, BlockPos pos, BlockState state, double x, double y, double z) private static AABBConduitBlockEntity.getDestroyRangeAABB(BlockPos pos) static intChestBlockEntity.getOpenCount(BlockGetter level, BlockPos pos) ContainerOpenersCounter.getPlayersWithContainerOpen(Level level, BlockPos pos) TheEndGatewayBlockEntity.getPortalPosition(ServerLevel level, BlockPos pos) StructureBlockEntity.getRelatedCorners(BlockPos minPos, BlockPos maxPos) private static ContainerHopperBlockEntity.getSourceContainer(Level level, Hopper hopper, BlockPos pos, BlockState state) voidContainerOpenersCounter.incrementOpeners(Player player, Level level, BlockPos pos, BlockState state) private static booleanBellBlockEntity.isRaiderWithinRange(BlockPos pos, LivingEntity raider) static voidChestBlockEntity.lidAnimateTick(Level level, BlockPos pos, BlockState state, ChestBlockEntity blockEntity) static voidEnderChestBlockEntity.lidAnimateTick(Level level, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity) static BlockEntityBlockEntity.loadStatic(BlockPos pos, BlockState state, CompoundTag tag, HolderLookup.Provider registries) private static voidBellBlockEntity.makeRaidersGlow(Level level, BlockPos pos, List<LivingEntity> raiders) private voidShulkerBoxBlockEntity.moveCollidedEntities(Level level, BlockPos pos, BlockState state) protected abstract voidContainerOpenersCounter.onClose(Level level, BlockPos pos, BlockState state) protected abstract voidContainerOpenersCounter.onOpen(Level level, BlockPos pos, BlockState state) voidSculkSensorBlockEntity.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> gameEvent, Entity entity, Entity playerEntity, float distance) 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 level, BlockPos pos, BlockState state, int count, int openCount) static voidCampfireBlockEntity.particleTick(Level level, BlockPos pos, BlockState state, CampfireBlockEntity blockEntity) static voidBeaconBlockEntity.playSound(Level level, BlockPos pos, SoundEvent sound) (package private) static voidChestBlockEntity.playSound(Level level, BlockPos pos, BlockState state, SoundEvent sound) static voidTheEndGatewayBlockEntity.portalTick(Level level, BlockPos pos, BlockState state, TheEndGatewayBlockEntity blockEntity) static voidHopperBlockEntity.pushItemsTick(Level level, BlockPos pos, BlockState state, HopperBlockEntity blockEntity) voidContainerOpenersCounter.recheckOpeners(Level level, BlockPos pos, BlockState state) private static booleanBeehiveBlockEntity.releaseOccupant(Level level, BlockPos pos, BlockState state, BeehiveBlockEntity.Occupant occupant, List<Entity> storedInHives, BeehiveBlockEntity.BeeReleaseStatus releaseStatus, BlockPos storedFlowerPos) voidBellBlockEntity.ResonationEndAction.run(Level level, BlockPos pos, List<LivingEntity> raiders) private static voidContainerOpenersCounter.scheduleRecheck(Level level, BlockPos pos, BlockState state) static voidAbstractFurnaceBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) static voidBeehiveBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, BeehiveBlockEntity beehive) static voidBellBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static voidBrewingStandBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, BrewingStandBlockEntity blockEntity) static voidConduitBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static voidCrafterBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, CrafterBlockEntity crafter) static voidSculkCatalystBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, SculkCatalystBlockEntity sculkCatalyst) static voidSpawnerBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, SpawnerBlockEntity blockEntity) protected static voidBlockEntity.setChanged(Level level, BlockPos pos, BlockState state) voidTheEndGatewayBlockEntity.setExitPosition(BlockPos exitPortal, boolean exactTeleport) voidStructureBlockEntity.setStructurePos(BlockPos structurePos) private static voidBellBlockEntity.showBellParticles(Level level, BlockPos pos, List<LivingEntity> raiders) protected voidChestBlockEntity.signalOpenCount(Level level, BlockPos pos, BlockState state, int eventId, int eventParam) protected voidTrappedChestBlockEntity.signalOpenCount(Level p_155865_, BlockPos p_155866_, BlockState p_155867_, int p_155868_, int p_155869_) private static voidTheEndGatewayBlockEntity.spawnGatewayPortal(ServerLevel level, BlockPos pos, EndGatewayConfiguration config) static voidBeaconBlockEntity.tick(Level level, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity) private static voidBellBlockEntity.tick(Level level, BlockPos pos, BlockState state, BellBlockEntity blockEntity, BellBlockEntity.ResonationEndAction resonationEndAction) voidBlockEntityTicker.tick(Level level, BlockPos pos, BlockState state, T blockEntity) static voidJukeboxBlockEntity.tick(Level level, BlockPos pos, BlockState state, JukeboxBlockEntity jukebox) static voidShulkerBoxBlockEntity.tick(Level level, BlockPos pos, BlockState state, ShulkerBoxBlockEntity blockEntity) static voidSignBlockEntity.tick(Level level, BlockPos pos, BlockState state, SignBlockEntity sign) private static voidBeehiveBlockEntity.tickOccupants(Level level, BlockPos pos, BlockState state, List<BeehiveBlockEntity.BeeData> data, BlockPos savedFlowerPos) static voidTheEndGatewayBlockEntity.triggerCooldown(Level level, BlockPos pos, BlockState state, TheEndGatewayBlockEntity blockEntity) private static booleanHopperBlockEntity.tryMoveItems(Level level, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier validator) private voidShulkerBoxBlockEntity.updateAnimation(Level level, BlockPos pos, BlockState state) private static voidConduitBlockEntity.updateClientTarget(Level level, BlockPos pos, ConduitBlockEntity blockEntity) private static voidConduitBlockEntity.updateDestroyTarget(Level level, BlockPos pos, BlockState state, List<BlockPos> positions, ConduitBlockEntity blockEntity) private static booleanConduitBlockEntity.updateShape(Level level, BlockPos pos, List<BlockPos> positions) Method parameters in net.minecraft.world.level.block.entity with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate static voidConduitBlockEntity.animationTick(Level level, BlockPos pos, List<BlockPos> positions, Entity entity, int tickCount) private static voidConduitBlockEntity.applyEffects(Level level, BlockPos pos, List<BlockPos> positions) private static Optional<BoundingBox> StructureBlockEntity.calculateEnclosingBoundingBox(BlockPos pos, Stream<BlockPos> relatedCorners) private static voidConduitBlockEntity.updateDestroyTarget(Level level, BlockPos pos, BlockState state, List<BlockPos> positions, ConduitBlockEntity blockEntity) private static voidConduitBlockEntity.updateHunting(ConduitBlockEntity blockEntity, List<BlockPos> positions) private static booleanConduitBlockEntity.updateShape(Level level, BlockPos pos, List<BlockPos> positions) Constructors in net.minecraft.world.level.block.entity with parameters of type BlockPosModifierConstructorDescriptionprotectedAbstractFurnaceBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState blockState, RecipeType<? extends AbstractCookingRecipe> recipeType) BannerBlockEntity(BlockPos pos, BlockState blockState) BannerBlockEntity(BlockPos pos, BlockState blockState, DyeColor baseColor) BarrelBlockEntity(BlockPos pos, BlockState blockState) protectedBaseContainerBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState blockState) BeaconBlockEntity(BlockPos pos, BlockState blockState) BedBlockEntity(BlockPos pos, BlockState blockState) BedBlockEntity(BlockPos pos, BlockState blockState, DyeColor color) BeehiveBlockEntity(BlockPos pos, BlockState blockState) BellBlockEntity(BlockPos pos, BlockState blockState) BlastFurnaceBlockEntity(BlockPos pos, BlockState blockState) BlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState blockState) BrewingStandBlockEntity(BlockPos pos, BlockState state) BrushableBlockEntity(BlockPos pos, BlockState blockState) CalibratedSculkSensorBlockEntity(BlockPos pos, BlockState blockState) CampfireBlockEntity(BlockPos pos, BlockState blockState) ChestBlockEntity(BlockPos pos, BlockState blockState) protectedChestBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState blockState) ChiseledBookShelfBlockEntity(BlockPos pos, BlockState state) CommandBlockEntity(BlockPos pos, BlockState blockState) ComparatorBlockEntity(BlockPos pos, BlockState blockState) ConduitBlockEntity(BlockPos pos, BlockState blockState) CrafterBlockEntity(BlockPos pos, BlockState state) DaylightDetectorBlockEntity(BlockPos pos, BlockState blockState) DecoratedPotBlockEntity(BlockPos pos, BlockState state) DispenserBlockEntity(BlockPos pos, BlockState blockState) protectedDispenserBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState blockState) DropperBlockEntity(BlockPos p_155498_, BlockState p_155499_) EnchantingTableBlockEntity(BlockPos pos, BlockState state) EnderChestBlockEntity(BlockPos pos, BlockState blockState) FurnaceBlockEntity(BlockPos pos, BlockState blockState) HangingSignBlockEntity(BlockPos p_250603_, BlockState p_251674_) HopperBlockEntity(BlockPos pos, BlockState blockState) JigsawBlockEntity(BlockPos pos, BlockState blockState) JukeboxBlockEntity(BlockPos pos, BlockState blockState) LecternBlockEntity(BlockPos pos, BlockState blockState) protectedRandomizableContainerBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState blockState) SculkCatalystBlockEntity(BlockPos pos, BlockState blockState) SculkSensorBlockEntity(BlockPos pos, BlockState blockState) protectedSculkSensorBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState blockState) SculkShriekerBlockEntity(BlockPos pos, BlockState blockState) ShulkerBoxBlockEntity(BlockPos pos, BlockState blockState) ShulkerBoxBlockEntity(DyeColor color, BlockPos pos, BlockState blockState) SignBlockEntity(BlockPos pos, BlockState blockState) SignBlockEntity(BlockEntityType type, BlockPos pos, BlockState blockState) SkullBlockEntity(BlockPos pos, BlockState blockState) SmokerBlockEntity(BlockPos pos, BlockState blockState) SpawnerBlockEntity(BlockPos pos, BlockState blockState) StructureBlockEntity(BlockPos pos, BlockState blockState) TheEndGatewayBlockEntity(BlockPos pos, BlockState blockState) TheEndPortalBlockEntity(BlockPos pos, BlockState blockState) protectedTheEndPortalBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState blockState) TrappedChestBlockEntity(BlockPos p_155862_, BlockState p_155863_) TrialSpawnerBlockEntity(BlockPos pos, BlockState state) VibrationUser(BlockPos pos) VibrationUser(BlockPos pos) -
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 level, BlockPos pos, RandomSource random) static voidTrialSpawner.addDetectPlayerParticles(Level level, BlockPos pos, RandomSource random, int type, ParticleOptions particle) static voidTrialSpawner.addEjectItemParticles(Level level, BlockPos pos, RandomSource random) static voidTrialSpawner.addSpawnParticles(Level level, BlockPos pos, RandomSource random, SimpleParticleType particleType) voidTrialSpawner.applyOminous(ServerLevel level, BlockPos pos) TrialSpawnerState.calculatePositionToSpawnSpawner(ServerLevel level, BlockPos pos, TrialSpawner spawner, TrialSpawnerData spawnerData) intTrialSpawnerData.countAdditionalPlayers(BlockPos pos) PlayerDetector.detect(ServerLevel level, PlayerDetector.EntitySelector entitySelector, BlockPos pos, double maxDistance, boolean requireLineOfSight) voidTrialSpawner.ejectReward(ServerLevel level, BlockPos pos, ResourceKey<LootTable> lootTable) voidTrialSpawnerState.ParticleEmission.emit(Level level, RandomSource random, BlockPos pos, boolean isOminous) voidTrialSpawnerState.emitParticles(Level level, BlockPos pos, boolean isOminous) (package private) SimpleWeightedRandomList<ItemStack> TrialSpawnerData.getDispensingItems(ServerLevel level, TrialSpawnerConfig config, BlockPos pos) private static longTrialSpawnerData.lowResolutionPosition(ServerLevel level, BlockPos pos) voidTrialSpawner.removeOminous(ServerLevel level, BlockPos pos) private static EntityTrialSpawnerState.selectEntityToSpawnItemAbove(List<Player> player, Set<UUID> currentMobs, TrialSpawner spawner, BlockPos pos, ServerLevel level) private static booleanTrialSpawner.shouldMobBeUntracked(ServerLevel level, BlockPos pos, UUID uuid) TrialSpawner.spawnMob(ServerLevel level, BlockPos pos) private voidTrialSpawnerState.spawnOminousOminousItemSpawner(ServerLevel level, BlockPos pos, TrialSpawner spawner) (package private) TrialSpawnerStateTrialSpawnerState.tickAndGetNext(BlockPos pos, TrialSpawner spawner, ServerLevel level) voidTrialSpawner.tickClient(Level level, BlockPos pos, boolean isOminous) voidTrialSpawner.tickServer(ServerLevel level, BlockPos pos, boolean isOminous) voidTrialSpawnerData.tryDetectPlayers(ServerLevel level, BlockPos pos, TrialSpawner spawner) -
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 level, VaultState state, VaultConfig config, VaultSharedData sharedData, BlockPos pos) private voidVaultState.ejectResultItem(ServerLevel level, BlockPos pos, ItemStack stack, float ejectionProgress) static voidVaultBlockEntity.Client.emitActivationParticles(Level level, BlockPos pos, BlockState state, VaultSharedData sharedData, ParticleOptions particle) private static voidVaultBlockEntity.Client.emitConnectionParticlesForNearbyPlayers(Level level, BlockPos pos, BlockState state, VaultSharedData sharedData) static voidVaultBlockEntity.Client.emitDeactivationParticles(Level level, BlockPos pos, ParticleOptions particle) private static voidVaultBlockEntity.Client.emitIdleParticles(Level level, BlockPos pos, VaultSharedData sharedData, ParticleOptions particle) private static ItemStackVaultBlockEntity.Server.getRandomDisplayItemFromLootTable(ServerLevel level, BlockPos pos, ResourceKey<LootTable> lootTable) private static booleanVaultBlockEntity.Client.isWithinConnectionRange(BlockPos pos, VaultSharedData sharedData, Player player) private static Vec3VaultBlockEntity.Client.keyholePos(BlockPos pos, Direction facing) protected voidVaultState.onEnter(ServerLevel level, BlockPos pos, VaultConfig config, VaultSharedData sharedData, boolean isOminous) protected voidVaultState.onExit(ServerLevel level, BlockPos pos, VaultConfig config, VaultSharedData sharedData) voidVaultState.onTransition(ServerLevel level, BlockPos pos, VaultState state, VaultConfig config, VaultSharedData sharedData, boolean isOminous) private static voidVaultBlockEntity.Client.playIdleSounds(Level level, BlockPos pos, VaultSharedData sharedData) private static voidVaultBlockEntity.Server.playInsertFailSound(ServerLevel level, VaultServerData serverData, BlockPos pos, SoundEvent sound) private static Vec3VaultBlockEntity.Client.randomPosCenterOfCage(BlockPos pos, RandomSource random) private static Vec3VaultBlockEntity.Client.randomPosInsideCage(BlockPos pos, RandomSource random) VaultBlockEntity.Server.resolveItemsToEject(ServerLevel level, VaultConfig config, BlockPos pos, Player player) (package private) static voidVaultBlockEntity.Server.setVaultState(ServerLevel level, BlockPos pos, BlockState oldState, BlockState newState, VaultConfig config, VaultSharedData sharedData) static voidVaultBlockEntity.Client.tick(Level level, BlockPos pos, BlockState state, VaultClientData clientData, VaultSharedData sharedData) static voidVaultBlockEntity.Server.tick(ServerLevel level, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) VaultState.tickAndGetNext(ServerLevel level, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) static voidVaultBlockEntity.Server.tryInsertKey(ServerLevel level, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, Player player, ItemStack stack) private static voidVaultBlockEntity.Server.unlock(ServerLevel level, BlockState state, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, List<ItemStack> itemsToEject) (package private) voidVaultSharedData.updateConnectedPlayersWithinRange(ServerLevel level, BlockPos pos, VaultServerData serverData, VaultConfig config, double deactivationRange) private static VaultStateVaultState.updateStateForConnectedPlayers(ServerLevel level, BlockPos pos, VaultConfig config, VaultServerData severData, VaultSharedData sharedData, double deactivationRange) 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 level, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, RandomSource random) private booleanTreeGrower.hasFlowers(LevelAccessor level, BlockPos pos) private static booleanTreeGrower.isTwoByTwoSapling(BlockState state, BlockGetter level, BlockPos pos, int xOffset, int yOffset) -
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 originPos, Direction direction) private booleanPistonStructureResolver.addBranchingBlocks(BlockPos fromPos) protected booleanPistonHeadBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) private voidPistonBaseBlock.checkIfExtend(Level level, BlockPos pos, BlockState state) voidMovingPistonBlock.destroy(LevelAccessor level, BlockPos pos, BlockState state) Called after this block has been removed by a player.private static voidPistonMovingBlockEntity.fixEntityWithinPistonBase(BlockPos pos, Entity entity, Direction dir, double progress) private PistonMovingBlockEntityMovingPistonBlock.getBlockEntity(BlockGetter blockReader, BlockPos pos) MovingPistonBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) PistonHeadBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state) protected VoxelShapeMovingPistonBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) PistonMovingBlockEntity.getCollisionShape(BlockGetter level, BlockPos pos) private booleanPistonBaseBlock.getNeighborSignal(SignalGetter signalGetter, BlockPos pos, Direction p_direction) protected VoxelShapeMovingPistonBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapePistonBaseBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapePistonHeadBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) static booleanPistonBaseBlock.isPushable(BlockState state, Level level, BlockPos pos, Direction movementDirection, boolean allowDestroy, Direction pistonFacing) Checks if the piston can push the given BlockState.private static booleanPistonMovingBlockEntity.matchesStickyCritera(AABB box, Entity entity, BlockPos pos) private booleanPistonBaseBlock.moveBlocks(Level level, BlockPos pos, Direction facing, boolean extending) private static AABBPistonMovingBlockEntity.moveByPositionAndProgress(BlockPos pos, AABB aabb, PistonMovingBlockEntity pistonMovingBlockEntity) private static voidPistonMovingBlockEntity.moveCollidedEntities(Level level, BlockPos pos, float partialTick, PistonMovingBlockEntity piston) private static voidPistonMovingBlockEntity.moveStuckEntities(Level level, BlockPos pos, float partialTick, PistonMovingBlockEntity piston) protected voidPistonBaseBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected voidPistonHeadBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) MovingPistonBlock.newBlockEntity(BlockPos pos, BlockState state) static BlockEntityMovingPistonBlock.newMovingBlockEntity(BlockPos pos, BlockState blockState, BlockState movedState, Direction direction, boolean extending, boolean isSourcePiston) protected voidPistonBaseBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected voidMovingPistonBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected voidPistonHeadBlock.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) PistonHeadBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) PistonBaseBlock.rotate(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) voidPistonBaseBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.static voidPistonMovingBlockEntity.tick(Level level, BlockPos pos, BlockState state, PistonMovingBlockEntity blockEntity) protected booleanPistonBaseBlock.triggerEvent(BlockState state, Level level, BlockPos pos, int id, int param) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)is called.protected BlockStatePistonHeadBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected InteractionResultMovingPistonBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) Constructors in net.minecraft.world.level.block.piston with parameters of type BlockPosModifierConstructorDescriptionPistonMovingBlockEntity(BlockPos pos, BlockState blockState) PistonMovingBlockEntity(BlockPos pos, BlockState blockState, BlockState movedState, Direction direction, boolean extending, boolean isSourcePiston) PistonStructureResolver(Level level, BlockPos pistonPos, Direction pistonDirection, boolean extending) -
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 state, Level level, BlockPos pos, Player player) voidbooleanBlockBehaviour.BlockStateBase.canSurvive(LevelReader level, BlockPos pos) protected booleanBlockBehaviour.canSurvive(BlockState state, LevelReader level, BlockPos pos) booleanBlockBehaviour.BlockStateBase.emissiveRendering(BlockGetter level, BlockPos pos) final booleanBlockBehaviour.BlockStateBase.entityCanStandOn(BlockGetter level, BlockPos pos, Entity entity) final booleanBlockBehaviour.BlockStateBase.entityCanStandOnFace(BlockGetter level, BlockPos pos, Entity entity, Direction face) voidBlockBehaviour.BlockStateBase.entityInside(Level level, BlockPos pos, Entity entity) protected voidBlockBehaviour.entityInside(BlockState state, Level level, BlockPos pos, Entity entity) BlockBehaviour.OffsetFunction.evaluate(BlockState state, BlockGetter level, BlockPos pos) intBlockBehaviour.BlockStateBase.getAnalogOutputSignal(Level level, BlockPos pos) protected intBlockBehaviour.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.BlockBehaviour.BlockStateBase.getBlockSupportShape(BlockGetter level, BlockPos pos) protected VoxelShapeBlockBehaviour.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getCollisionShape(BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getCollisionShape(BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBlockBehaviour.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) floatBlockBehaviour.BlockStateBase.getDestroyProgress(Player player, BlockGetter level, BlockPos pos) protected floatBlockBehaviour.getDestroyProgress(BlockState state, Player player, BlockGetter level, BlockPos pos) Get the hardness of this Block relative to the ability of the given playerfloatBlockBehaviour.BlockStateBase.getDestroySpeed(BlockGetter level, BlockPos pos) intBlockBehaviour.BlockStateBase.getDirectSignal(BlockGetter level, BlockPos pos, Direction direction) protected intBlockBehaviour.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.BlockBehaviour.BlockStateBase.getFaceOcclusionShape(BlockGetter level, BlockPos pos, Direction direction) BlockBehaviour.BlockStateBase.getInteractionShape(BlockGetter level, BlockPos pos) protected VoxelShapeBlockBehaviour.getInteractionShape(BlockState state, BlockGetter level, BlockPos pos) intBlockBehaviour.BlockStateBase.getLightBlock(BlockGetter level, BlockPos pos) protected intBlockBehaviour.getLightBlock(BlockState state, BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getMapColor(BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getMenuProvider(Level level, BlockPos pos) protected MenuProviderBlockBehaviour.getMenuProvider(BlockState state, Level level, BlockPos pos) BlockBehaviour.BlockStateBase.getOcclusionShape(BlockGetter level, BlockPos pos) protected VoxelShapeBlockBehaviour.getOcclusionShape(BlockState state, BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getOffset(BlockGetter level, BlockPos pos) longprotected longBlockBehaviour.getSeed(BlockState state, BlockPos pos) 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 level, BlockPos pos) protected floatBlockBehaviour.getShadeBrightness(BlockState state, BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getShape(BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getShape(BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBlockBehaviour.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) intBlockBehaviour.BlockStateBase.getSignal(BlockGetter level, BlockPos pos, Direction direction) protected intBlockBehaviour.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.BlockBehaviour.BlockStateBase.getVisualShape(BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeBlockBehaviour.getVisualShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) voidBlockBehaviour.BlockStateBase.handleNeighborChanged(Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) booleanBlockBehaviour.BlockStateBase.hasPostProcess(BlockGetter level, BlockPos pos) booleanBlockBehaviour.BlockStateBase.isCollisionShapeFullBlock(BlockGetter level, BlockPos pos) protected booleanBlockBehaviour.isCollisionShapeFullBlock(BlockState state, BlockGetter level, BlockPos pos) booleanBlockBehaviour.BlockStateBase.isFaceSturdy(BlockGetter level, BlockPos pos, Direction direction) booleanBlockBehaviour.BlockStateBase.isFaceSturdy(BlockGetter level, BlockPos pos, Direction face, SupportType supportType) protected booleanBlockBehaviour.isOcclusionShapeFullBlock(BlockState state, BlockGetter level, BlockPos pos) booleanBlockBehaviour.BlockStateBase.isRedstoneConductor(BlockGetter level, BlockPos pos) booleanBlockBehaviour.BlockStateBase.isSolidRender(BlockGetter level, BlockPos pos) booleanBlockBehaviour.BlockStateBase.isSuffocating(BlockGetter level, BlockPos pos) booleanBlockBehaviour.BlockStateBase.isValidSpawn(BlockGetter level, BlockPos pos, EntityType<?> entityType) booleanBlockBehaviour.BlockStateBase.isViewBlocking(BlockGetter level, BlockPos pos) protected voidBlockBehaviour.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) voidBlockBehaviour.BlockStateBase.onExplosionHit(Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidBlockBehaviour.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) voidBlockBehaviour.BlockStateBase.onPlace(Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidBlockBehaviour.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) voidBlockBehaviour.BlockStateBase.onRemove(Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected voidBlockBehaviour.onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) booleanBlockBehaviour.BlockStateBase.propagatesSkylightDown(BlockGetter level, BlockPos pos) protected booleanBlockBehaviour.propagatesSkylightDown(BlockState state, BlockGetter level, BlockPos pos) voidBlockBehaviour.BlockStateBase.randomTick(ServerLevel level, BlockPos pos, RandomSource random) protected voidBlockBehaviour.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.voidBlockBehaviour.BlockStateBase.spawnAfterBreak(ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) protected voidBlockBehaviour.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishbooleanBlockBehaviour.StateArgumentPredicate.test(BlockState state, BlockGetter level, BlockPos pos, A value) booleanBlockBehaviour.StatePredicate.test(BlockState state, BlockGetter level, BlockPos pos) voidBlockBehaviour.BlockStateBase.tick(ServerLevel level, BlockPos pos, RandomSource random) protected voidBlockBehaviour.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) booleanBlockBehaviour.BlockStateBase.triggerEvent(Level level, BlockPos pos, int id, int param) protected booleanBlockBehaviour.triggerEvent(BlockState state, Level level, BlockPos pos, int id, int param) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)is called.final voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int flags) voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int flags, int recursionLeft) protected voidBlockBehaviour.updateIndirectNeighbourShapes(BlockState state, LevelAccessor level, BlockPos pos, int flags, int recursionLeft) Updates the shapes of indirect neighbors of this block.final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, int flags) final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, int flags, int recursionLeft) BlockBehaviour.BlockStateBase.updateShape(Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) protected BlockStateBlockBehaviour.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected ItemInteractionResultBlockBehaviour.useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultBlockBehaviour.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) Method parameters in net.minecraft.world.level.block.state with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidBlockBehaviour.BlockStateBase.onExplosionHit(Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected voidBlockBehaviour.onExplosionHit(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) -
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 com.google.common.cache.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 pos, Direction finger, Direction thumb, int palmOffset, int thumbOffset, int fingerOffset) Offsets the position of pos in the direction of finger and thumb facing by offset amounts, follows the right-hand rule for cross products (finger, thumb, palm)Methods in net.minecraft.world.level.block.state.pattern that return types with arguments of type BlockPosModifier and TypeMethodDescriptionstatic com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> BlockPattern.createLevelCache(LevelReader level, boolean forceLoad) Methods in net.minecraft.world.level.block.state.pattern with parameters of type BlockPosModifier and TypeMethodDescriptionBlockPattern.find(LevelReader level, BlockPos pos) Calculates whether the given world position matches the pattern.private BlockPattern.BlockPatternMatchBlockPattern.matches(BlockPos pos, Direction finger, Direction thumb, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> cache) Checks that the given pattern invalid input: '&' rotation is at the block coordinates.BlockPattern.matches(LevelReader level, BlockPos pos, Direction finger, Direction thumb) protected static BlockPosBlockPattern.translateAndRotate(BlockPos pos, Direction finger, Direction thumb, int palmOffset, int thumbOffset, int fingerOffset) 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 pos, Direction finger, Direction thumb, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> cache) 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 level, BlockPos pos, boolean loadChunks) BlockPatternMatch(BlockPos frontTopLeft, Direction forwards, Direction up, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> cache, int width, int height, int depth) Constructor parameters in net.minecraft.world.level.block.state.pattern with type arguments of type BlockPosModifierConstructorDescriptionBlockPatternMatch(BlockPos frontTopLeft, Direction forwards, Direction up, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> cache, int width, int height, int depth) -
Uses of BlockPos in net.minecraft.world.level.border
Methods in net.minecraft.world.level.border that return BlockPosModifier and TypeMethodDescriptionWorldBorder.clampToBounds(double x, double y, double z) WorldBorder.clampToBounds(BlockPos pos) WorldBorder.clampToBounds(Vec3 pos) Methods in net.minecraft.world.level.border with parameters of type BlockPosModifier and TypeMethodDescriptionWorldBorder.clampToBounds(BlockPos pos) booleanWorldBorder.isWithinBounds(BlockPos pos) -
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 packedPos, int yOffset, ChunkPos chunkPos) Methods in net.minecraft.world.level.chunk that return types with arguments of type BlockPosModifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure(ServerLevel level, HolderSet<Structure> structure, BlockPos pos, int searchRadius, boolean skipKnownStructures) LevelChunk.getBlockEntities()ProtoChunk.getBlockEntities()ChunkAccess.getBlockEntitiesPos()ProtoChunk.getBlockEntityNbts()ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structureHoldersSet, ServerLevel level, StructureManager structureManager, BlockPos pos, boolean skipKnownStructures, ConcentricRingsStructurePlacement placement) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structureHoldersSet, LevelReader level, StructureManager structureManager, int x, int y, int z, boolean skipKnownStructures, long seed, RandomSpreadStructurePlacement spreadPlacement) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> structureHoldersSet, LevelReader level, StructureManager structureManager, boolean skipKnownStructures, StructurePlacement placement, ChunkPos chunkPos) Methods in net.minecraft.world.level.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionabstract voidChunkGenerator.addDebugScreenInfo(List<String> info, RandomState random, BlockPos pos) private BlockEntityLevelChunk.createBlockEntity(BlockPos pos) ChunkGenerator.findNearestMapStructure(ServerLevel level, HolderSet<Structure> structure, BlockPos pos, int searchRadius, boolean skipKnownStructures) EmptyLevelChunk.getBlockEntity(BlockPos pos, LevelChunk.EntityCreationType creationType) ImposterProtoChunk.getBlockEntity(BlockPos pos) LevelChunk.getBlockEntity(BlockPos pos) LevelChunk.getBlockEntity(BlockPos pos, LevelChunk.EntityCreationType creationType) ProtoChunk.getBlockEntity(BlockPos pos) ChunkAccess.getBlockEntityNbt(BlockPos pos) ImposterProtoChunk.getBlockEntityNbt(BlockPos pos) abstract CompoundTagChunkAccess.getBlockEntityNbtForSaving(BlockPos pos, HolderLookup.Provider registries) ImposterProtoChunk.getBlockEntityNbtForSaving(BlockPos pos, HolderLookup.Provider registries) LevelChunk.getBlockEntityNbtForSaving(BlockPos pos, HolderLookup.Provider registries) ProtoChunk.getBlockEntityNbtForSaving(BlockPos pos, HolderLookup.Provider registries) BulkSectionAccess.getBlockState(BlockPos pos) EmptyLevelChunk.getBlockState(BlockPos pos) ImposterProtoChunk.getBlockState(BlockPos pos) LevelChunk.getBlockState(BlockPos pos) ProtoChunk.getBlockState(BlockPos pos) EmptyLevelChunk.getFluidState(BlockPos pos) ImposterProtoChunk.getFluidState(BlockPos pos) LevelChunk.getFluidState(BlockPos pos) ProtoChunk.getFluidState(BlockPos pos) intEmptyLevelChunk.getLightEmission(BlockPos pos) ChunkGenerator.getMobsAt(Holder<Biome> biome, StructureManager structureManager, MobCategory category, BlockPos pos) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structureHoldersSet, ServerLevel level, StructureManager structureManager, BlockPos pos, boolean skipKnownStructures, ConcentricRingsStructurePlacement placement) BulkSectionAccess.getSection(BlockPos pos) (package private) booleanvoidChunkAccess.markPosForPostprocessing(BlockPos pos) voidImposterProtoChunk.markPosForPostprocessing(BlockPos pos) voidProtoChunk.markPosForPostprocessing(BlockPos pos) static shortProtoChunk.packOffsetCoordinates(BlockPos pos) private BlockEntityLevelChunk.promotePendingBlockEntity(BlockPos pos, CompoundTag tag) abstract voidChunkAccess.removeBlockEntity(BlockPos pos) voidEmptyLevelChunk.removeBlockEntity(BlockPos pos) voidImposterProtoChunk.removeBlockEntity(BlockPos pos) voidLevelChunk.removeBlockEntity(BlockPos pos) voidProtoChunk.removeBlockEntity(BlockPos pos) private voidLevelChunk.removeBlockEntityTicker(BlockPos pos) abstract BlockStateChunkAccess.setBlockState(BlockPos pos, BlockState state, boolean isMoving) EmptyLevelChunk.setBlockState(BlockPos pos, BlockState state, boolean isMoving) ImposterProtoChunk.setBlockState(BlockPos pos, BlockState state, boolean isMoving) LevelChunk.setBlockState(BlockPos pos, BlockState state, boolean isMoving) ProtoChunk.setBlockState(BlockPos pos, BlockState state, boolean isMoving) UpgradeData.BlockFixer.updateShape(BlockState state, Direction direction, BlockState offsetState, LevelAccessor level, BlockPos pos, BlockPos offsetPos) private static BlockStateUpgradeData.updateState(BlockState state, Direction direction, LevelAccessor level, BlockPos pos, BlockPos offsetPos) Method parameters in net.minecraft.world.level.chunk with type arguments of type BlockPosModifier and TypeMethodDescriptionfinal voidChunkAccess.findBlockLightSources(BiConsumer<BlockPos, BlockState> output) voidLightChunk.findBlockLightSources(BiConsumer<BlockPos, BlockState> output) 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> predicate, BiConsumer<BlockPos, BlockState> output) 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> predicate, BiConsumer<BlockPos, BlockState> output) 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 pos) abstract voidDragonRespawnAnimation.tick(ServerLevel level, EndDragonFight manager, List<EndCrystal> crystals, int ticks, BlockPos pos) Constructors in net.minecraft.world.level.dimension.end with parameters of type BlockPosModifierConstructorDescriptionEndDragonFight(ServerLevel level, long seed, EndDragonFight.Data data, BlockPos origin) -
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 pos) -
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 level, BlockPos pos) booleanVibrationSystem.User.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> gameEvent, GameEvent.Context context) static floatVibrationSystem.Listener.distanceBetweenInBlocks(BlockPos pos1, BlockPos pos2) voidVibrationSystem.User.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> gameEvent, Entity entity, Entity playerEntity, float distance) -
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> info, RandomState random, BlockPos pos) voidFlatLevelSource.addDebugScreenInfo(List<String> info, RandomState random, BlockPos pos) voidNoiseBasedChunkGenerator.addDebugScreenInfo(List<String> info, RandomState random, BlockPos pos) default RandomSourceColumn.scan(LevelSimulatedReader level, BlockPos pos, int maxDistance, Predicate<BlockState> columnPredicate, Predicate<BlockState> tipPredicate) 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 level, BlockPos pos, RandomSource random, boolean leader) SurfaceSystem.topMaterial(SurfaceRules.RuleSource rule, CarvingContext context, Function<BlockPos, Holder<Biome>> biomeGetter, ChunkAccess chunk, NoiseChunk noiseChunk, BlockPos pos, boolean hasFluid) Deprecated.Method parameters in net.minecraft.world.level.levelgen with type arguments of type BlockPosModifier and TypeMethodDescriptionSurfaceSystem.topMaterial(SurfaceRules.RuleSource rule, CarvingContext context, Function<BlockPos, Holder<Biome>> biomeGetter, ChunkAccess chunk, NoiseChunk noiseChunk, BlockPos pos, boolean hasFluid) Deprecated.Constructor parameters in net.minecraft.world.level.levelgen with type arguments of type BlockPosModifierConstructorDescriptionprotectedContext(SurfaceSystem system, RandomState randomState, ChunkAccess chunk, NoiseChunk noiseChunk, Function<BlockPos, Holder<Biome>> biomeGetter, Registry<Biome> p_224621_, WorldGenerationContext context) -
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 chunk, BlockPos pos) private static booleanBlendingData.isGround(ChunkAccess chunk, BlockPos pos) -
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 level, BlockPos pos) booleanAnyOfPredicate.test(WorldGenLevel p_190387_, BlockPos p_190388_) booleanHasSturdyFacePredicate.test(WorldGenLevel level, BlockPos pos) booleanInsideWorldBoundsPredicate.test(WorldGenLevel level, BlockPos pos) booleanNotPredicate.test(WorldGenLevel level, BlockPos pos) final booleanStateTestingPredicate.test(WorldGenLevel level, BlockPos pos) booleanTrueBlockPredicate.test(WorldGenLevel level, BlockPos pos) booleanUnobstructedPredicate.test(WorldGenLevel level, BlockPos pos) booleanWouldSurvivePredicate.test(WorldGenLevel level, BlockPos pos) -
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 context, C config, BlockPos pos, Aquifer aquifer) CarvingContext.topMaterial(Function<BlockPos, Holder<Biome>> biomeMapper, ChunkAccess access, BlockPos pos, boolean hasFluid) Deprecated.Method parameters in net.minecraft.world.level.levelgen.carver with type arguments of type BlockPosModifier and TypeMethodDescriptionbooleanCanyonWorldCarver.carve(CarvingContext context, CanyonCarverConfiguration config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) Carves the given chunk with caves that originate from the givenchunkPos.booleanCaveWorldCarver.carve(CarvingContext context, CaveCarverConfiguration config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) Carves the given chunk with caves that originate from the givenchunkPos.booleanConfiguredWorldCarver.carve(CarvingContext context, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) abstract booleanWorldCarver.carve(CarvingContext context, C config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) 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 context, C config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, CarvingMask carvingMask, BlockPos.MutableBlockPos pos, BlockPos.MutableBlockPos checkPos, Aquifer aquifer, org.apache.commons.lang3.mutable.MutableBoolean reachedSurface) Carves a single block, replacing it with the appropriate state if possible, and handles replacing exposed dirt with grass.protected booleanWorldCarver.carveEllipsoid(CarvingContext context, C config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, Aquifer aquifer, double x, double y, double z, double horizontalRadius, double verticalRadius, CarvingMask carvingMask, WorldCarver.CarveSkipChecker skipChecker) 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 context, CaveCarverConfiguration config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, Aquifer aquifer, double x, double y, double z, float radius, double horizontalVerticalRatio, CarvingMask carvingMask, WorldCarver.CarveSkipChecker skipChecker) protected voidCaveWorldCarver.createTunnel(CarvingContext context, CaveCarverConfiguration config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, long seed, Aquifer aquifer, double x, double y, double z, double horizontalRadiusMultiplier, double verticalRadiusMultiplier, float thickness, float yaw, float pitch, int branchIndex, int branchCount, double horizontalVerticalRatio, CarvingMask carvingMask, WorldCarver.CarveSkipChecker skipChecker) private voidCanyonWorldCarver.doCarve(CarvingContext context, CanyonCarverConfiguration config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, long seed, Aquifer aquifer, double x, double y, double z, float thickness, float yaw, float pitch, int branchIndex, int branchCount, double horizontalVerticalRatio, CarvingMask carvingMask) CarvingContext.topMaterial(Function<BlockPos, Holder<Biome>> biomeMapper, ChunkAccess access, BlockPos pos, boolean hasFluid) 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 level, BlockPos.MutableBlockPos pos, int distance) private static BlockPosBasaltColumnsFeature.findSurface(LevelAccessor level, int seaLevel, BlockPos.MutableBlockPos pos, int distance) private static BlockPosReplaceBlobsFeature.findTarget(LevelAccessor level, BlockPos.MutableBlockPos topPos, Block block) static BlockPosEndPodiumFeature.getLocation(BlockPos pos) (package private) BlockPosFeaturePlaceContext.origin()Methods in net.minecraft.world.level.levelgen.feature that return types with arguments of type BlockPosModifier and TypeMethodDescriptionVegetationPatchFeature.placeGroundPatch(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos pos, Predicate<BlockState> state, int xRadius, int zRadius) WaterloggedVegetationPatchFeature.placeGroundPatch(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos pos, Predicate<BlockState> state, int xRadius, int zRadius) Methods in net.minecraft.world.level.levelgen.feature with parameters of type BlockPosModifier and TypeMethodDescriptionprivate booleanIcebergFeature.belowIsAir(BlockGetter level, BlockPos pos) private booleanDripstoneClusterFeature.canBeAdjacentToWater(LevelAccessor level, BlockPos pos) private booleanDripstoneClusterFeature.canPlacePool(WorldGenLevel level, BlockPos pos) private booleanSculkPatchFeature.canSpreadFrom(LevelAccessor level, BlockPos pos) private voidIcebergFeature.carve(int radius, int localY, BlockPos pos, LevelAccessor level, boolean placeWater, double perpendicularAngle, BlockPos ellipseOrigin, int majorRadius, int minorRadius) static booleanFeature.checkNeighbors(Function<BlockPos, BlockState> adjacentStateAccessor, BlockPos pos, Predicate<BlockState> filter) static voidEndPlatformFeature.createEndPlatform(ServerLevelAccessor level, BlockPos pos, boolean dropBlocks) private static voidPointedDripstoneFeature.createPatchOfDripstoneBlocks(LevelAccessor level, RandomSource random, BlockPos pos, PointedDripstoneConfiguration config) private booleanTreeFeature.doPlace(WorldGenLevel level, RandomSource random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootBlockSetter, BiConsumer<BlockPos, BlockState> trunkBlockSetter, FoliagePlacer.FoliageSetter foliageBlockSetter, TreeConfiguration config) private voidIcebergFeature.generateCutOut(RandomSource random, LevelAccessor level, int majorAxis, int height, BlockPos pos, boolean elliptical, int ellipseRadius, double angle, int minorAxis) private voidIcebergFeature.generateIcebergBlock(LevelAccessor level, RandomSource random, BlockPos pos, int height, int localX, int localY, int localZ, int radius, int majorRadius, boolean elliptical, int minorRadius, double angle, boolean placeSnow, BlockState state) private static OptionalIntUnderwaterMagmaFeature.getFloorY(WorldGenLevel level, BlockPos pos, UnderwaterMagmaConfiguration config) static BlockPosEndPodiumFeature.getLocation(BlockPos pos) private intTreeFeature.getMaxFreeTreeHeight(LevelSimulatedReader level, int trunkHeight, BlockPos topPosition, TreeConfiguration config) PointedDripstoneFeature.getTipDirection(LevelAccessor level, BlockPos pos, RandomSource random) protected static voidDripstoneUtils.growPointedDripstone(LevelAccessor level, BlockPos pos, Direction direction, int height, boolean mergeTip) static booleanFeature.isAdjacentToAir(Function<BlockPos, BlockState> adjacentStateAccessor, BlockPos pos) private static booleanBasaltColumnsFeature.isAirOrLavaOcean(LevelAccessor level, int seaLevel, BlockPos pos) static booleanTreeFeature.isAirOrLeaves(LevelSimulatedReader level, BlockPos pos) booleanSpikeFeature.EndSpike.isCenterWithinChunk(BlockPos pos) protected static booleanDripstoneUtils.isCircleMostlyEmbeddedInStone(WorldGenLevel level, BlockPos pos, int radius) private static booleanDeltaFeature.isClear(LevelAccessor level, BlockPos pos, DeltaFeatureConfiguration config) protected static booleanDripstoneUtils.isEmptyOrWater(LevelAccessor level, BlockPos pos) protected static booleanDripstoneUtils.isEmptyOrWaterOrLava(LevelAccessor level, BlockPos pos) private static booleanWaterloggedVegetationPatchFeature.isExposed(WorldGenLevel level, Set<BlockPos> positions, BlockPos pos, BlockPos.MutableBlockPos mutablePos) private static booleanWaterloggedVegetationPatchFeature.isExposedDirection(WorldGenLevel level, BlockPos pos, BlockPos.MutableBlockPos mutablePos, Direction direction) static booleanFeature.isGrassOrDirt(LevelSimulatedReader level, BlockPos pos) private static booleanTwistingVinesFeature.isInvalidPlacementLocation(LevelAccessor level, BlockPos pos) private booleanDripstoneClusterFeature.isLava(LevelReader level, BlockPos pos) private static booleanHugeFungusFeature.isReplaceable(WorldGenLevel level, BlockPos pos, HugeFungusConfiguration config, boolean checkConfig) private booleanUnderwaterMagmaFeature.isValidPlacement(WorldGenLevel level, BlockPos pos) protected booleanAbstractHugeMushroomFeature.isValidPosition(LevelAccessor level, BlockPos pos, int maxHeight, BlockPos.MutableBlockPos mutablePos, HugeMushroomFeatureConfiguration config) private static booleanTreeFeature.isVine(LevelSimulatedReader level, BlockPos pos) private booleanUnderwaterMagmaFeature.isWaterOrAir(LevelAccessor level, BlockPos pos) protected abstract voidAbstractHugeMushroomFeature.makeCap(LevelAccessor level, RandomSource random, BlockPos pos, int treeHeight, BlockPos.MutableBlockPos mutablePos, HugeMushroomFeatureConfiguration config) 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 root, boolean pointingUp, RandomSource random, int radius, FloatProvider bluntnessBase, FloatProvider scaleBase) protected voidFeature.markAboveForPostProcessing(WorldGenLevel level, BlockPos basePos) If the above two blocks are not air, marks them for post-processing.private booleanBlockPileFeature.mayPlaceOn(LevelAccessor level, BlockPos pos, RandomSource random) (package private) BlockPosprivate voidScatteredOreFeature.offsetTargetPos(BlockPos.MutableBlockPos mutablePos, RandomSource random, BlockPos pos, int magnitude) booleanConfiguredFeature.place(WorldGenLevel reader, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos) booleanFeature.place(FC config, WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin) booleanWeightedPlacedFeature.place(WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos) private voidBasaltPillarFeature.placeBaseHangOff(LevelAccessor level, RandomSource random, BlockPos pos) private booleanBasaltColumnsFeature.placeColumn(LevelAccessor level, int seaLevel, BlockPos pos, int distance, int reach) private voidDripstoneClusterFeature.placeColumn(WorldGenLevel level, RandomSource random, BlockPos pos, int x, int z, float wetness, double chance, int height, float density, DripstoneClusterConfiguration config) protected booleanCoralFeature.placeCoralBlock(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state) private voidLargeDripstoneFeature.placeDebugMarkers(WorldGenLevel level, BlockPos pos, Column.Range range, LargeDripstoneFeature.WindOffsetter windOffsetter) private static voidRootSystemFeature.placeDirt(BlockPos pos, int maxY, WorldGenLevel level, RootSystemConfiguration config, RandomSource random) private static booleanRootSystemFeature.placeDirtAndTree(WorldGenLevel level, ChunkGenerator chunkGenerator, RootSystemConfiguration config, RandomSource random, BlockPos.MutableBlockPos mutablePos, BlockPos basePos) protected static booleanDripstoneUtils.placeDripstoneBlockIfPossible(LevelAccessor level, BlockPos pos) protected booleanCoralClawFeature.placeFeature(LevelAccessor p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract booleanCoralFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state) 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 level, VegetationPatchConfiguration config, RandomSource random, BlockPos pos, Predicate<BlockState> state, int xRadius, int zRadius) WaterloggedVegetationPatchFeature.placeGroundPatch(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos pos, Predicate<BlockState> state, int xRadius, int zRadius) static booleanMultifaceGrowthFeature.placeGrowthIfPossible(WorldGenLevel level, BlockPos pos, BlockState state, MultifaceGrowthConfiguration config, RandomSource random, List<Direction> directions) private booleanBasaltPillarFeature.placeHangOff(LevelAccessor level, RandomSource random, BlockPos pos) private voidHugeFungusFeature.placeHat(WorldGenLevel level, RandomSource random, HugeFungusConfiguration config, BlockPos pos, int height, boolean huge) private voidHugeFungusFeature.placeHatDropBlock(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state, boolean weepingVines) private voidWeepingVinesFeature.placeRoofNetherWart(LevelAccessor level, RandomSource random, BlockPos pos) private voidWeepingVinesFeature.placeRoofWeepingVines(LevelAccessor level, RandomSource random, BlockPos pos) private static voidRootSystemFeature.placeRoots(WorldGenLevel level, RootSystemConfiguration config, RandomSource random, BlockPos basePos, BlockPos.MutableBlockPos mutablePos) private voidHugeFungusFeature.placeStem(WorldGenLevel level, RandomSource random, HugeFungusConfiguration config, BlockPos pos, int height, boolean huge) private static voidDesertWellFeature.placeSusSand(WorldGenLevel level, BlockPos pos) protected voidAbstractHugeMushroomFeature.placeTrunk(LevelAccessor level, RandomSource random, BlockPos pos, HugeMushroomFeatureConfiguration config, int maxHeight, BlockPos.MutableBlockPos mutablePos) protected booleanVegetationPatchFeature.placeVegetation(WorldGenLevel level, VegetationPatchConfiguration config, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos) protected booleanWaterloggedVegetationPatchFeature.placeVegetation(WorldGenLevel level, VegetationPatchConfiguration config, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos) private voidIcebergFeature.removeFloatingSnowLayer(LevelAccessor level, BlockPos pos) private voidDripstoneClusterFeature.replaceBlocksWithDripstoneBlocks(WorldGenLevel level, BlockPos pos, int thickness, Direction direction) protected voidFeature.safeSetBlock(WorldGenLevel level, BlockPos pos, BlockState state, Predicate<BlockState> oldState) protected voidFeature.setBlock(LevelWriter level, BlockPos pos, BlockState state) protected voidTreeFeature.setBlock(LevelWriter level, BlockPos pos, BlockState state) private static voidTreeFeature.setBlockKnownShape(LevelWriter level, BlockPos pos, BlockState state) private voidIcebergFeature.setIcebergBlock(BlockPos pos, LevelAccessor level, RandomSource random, int heightRemaining, int height, boolean elliptical, boolean placeSnow, BlockState state) private doubleIcebergFeature.signedDistanceCircle(int x, int z, BlockPos center, int radius, RandomSource random) private doubleIcebergFeature.signedDistanceEllipse(int x, int z, BlockPos center, int majorRadius, int minorRadius, double angle) 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 level, BlockPos pos, int majorRadius, int height, boolean elliptical, int minorRadius) 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 level, RootSystemConfiguration config, BlockPos pos) private voidBlockPileFeature.tryPlaceBlock(LevelAccessor level, BlockPos pos, RandomSource random, BlockPileConfiguration config) private static voidHugeFungusFeature.tryPlaceWeepingVines(BlockPos pos, LevelAccessor level, RandomSource random) static booleanTreeFeature.validTreePos(LevelSimulatedReader level, BlockPos pos) Method parameters in net.minecraft.world.level.levelgen.feature with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic booleanOreFeature.canPlaceOre(BlockState state, Function<BlockPos, BlockState> adjacentStateAccessor, RandomSource random, OreConfiguration config, OreConfiguration.TargetBlockState targetState, BlockPos.MutableBlockPos mutablePos) static booleanFeature.checkNeighbors(Function<BlockPos, BlockState> adjacentStateAccessor, BlockPos pos, Predicate<BlockState> filter) protected voidVegetationPatchFeature.distributeVegetation(FeaturePlaceContext<VegetationPatchConfiguration> context, WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, Set<BlockPos> possiblePositions, int xRadius, int zRadius) private booleanTreeFeature.doPlace(WorldGenLevel level, RandomSource random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootBlockSetter, BiConsumer<BlockPos, BlockState> trunkBlockSetter, FoliagePlacer.FoliageSetter foliageBlockSetter, TreeConfiguration config) static booleanFeature.isAdjacentToAir(Function<BlockPos, BlockState> adjacentStateAccessor, BlockPos pos) private static booleanWaterloggedVegetationPatchFeature.isExposed(WorldGenLevel level, Set<BlockPos> positions, BlockPos pos, BlockPos.MutableBlockPos mutablePos) private static DiscreteVoxelShapeTreeFeature.updateLeaves(LevelAccessor level, BoundingBox box, Set<BlockPos> rootPositions, Set<BlockPos> trunkPositions, Set<BlockPos> foliagePositions) Constructors in net.minecraft.world.level.levelgen.feature with parameters of type BlockPosModifierConstructorDescriptionFeaturePlaceContext(Optional<ConfiguredFeature<?, ?>> topFeature, WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin, FC config) (package private)LargeDripstone(BlockPos root, boolean pointingUp, int radius, double bluntness, double scale) -
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 crystalInvulnerable, List<SpikeFeature.EndSpike> spikes, BlockPos crystalBeamTarget) Constructor parameters in net.minecraft.world.level.levelgen.feature.configurations with type arguments of type BlockPosModifierConstructorDescriptionprivateEndGatewayConfiguration(Optional<BlockPos> exit, boolean exact) privateSpikeConfiguration(boolean crystalInvulnerable, List<SpikeFeature.EndSpike> spikes, Optional<BlockPos> crystalBeamTarget) -
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 level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, BlockPos pos, int range, int localY, boolean large) protected final voidFoliagePlacer.placeLeavesRowWithHangingLeavesBelow(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, BlockPos pos, int range, int localY, boolean large, float hangingLeavesChance, float hangingLeavesExtensionChance) voidFoliagePlacer.FoliageSetter.set(BlockPos pos, BlockState state) private static booleanFoliagePlacer.tryPlaceExtension(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, float extensionChance, BlockPos logPos, BlockPos.MutableBlockPos pos) protected static booleanFoliagePlacer.tryPlaceLeaf(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, BlockPos pos) Constructors in net.minecraft.world.level.levelgen.feature.foliageplacers with parameters of type BlockPosModifierConstructorDescriptionFoliageAttachment(BlockPos pos, int radiusOffset, boolean doubleTrunk) -
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 pos, Direction direction, RandomSource random, BlockPos trunkOrigin) Methods in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type BlockPosModifier and TypeMethodDescriptionprotected booleanMangroveRootPlacer.canPlaceRoot(LevelSimulatedReader level, BlockPos pos) protected booleanRootPlacer.canPlaceRoot(LevelSimulatedReader level, BlockPos pos) protected BlockStateRootPlacer.getPotentiallyWaterloggedState(LevelSimulatedReader level, BlockPos pos, BlockState state) RootPlacer.getTrunkOrigin(BlockPos pos, RandomSource random) protected voidMangroveRootPlacer.placeRoot(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration treeConfig) protected voidRootPlacer.placeRoot(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration treeConfig) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, BlockPos trunkOrigin, TreeConfiguration treeConfig) abstract booleanRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, BlockPos trunkOrigin, TreeConfiguration treeConfig) MangroveRootPlacer.potentialRootPositions(BlockPos pos, Direction direction, RandomSource random, BlockPos trunkOrigin) private booleanMangroveRootPlacer.simulateRoots(LevelSimulatedReader level, RandomSource random, BlockPos pos, Direction direction, BlockPos trunkOrigin, List<BlockPos> roots, int length) Method parameters in net.minecraft.world.level.levelgen.feature.rootplacers with type arguments of type BlockPosModifier and TypeMethodDescriptionprotected voidMangroveRootPlacer.placeRoot(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration treeConfig) protected voidRootPlacer.placeRoot(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration treeConfig) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, BlockPos trunkOrigin, TreeConfiguration treeConfig) abstract booleanRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, BlockPos trunkOrigin, TreeConfiguration treeConfig) private booleanMangroveRootPlacer.simulateRoots(LevelSimulatedReader level, RandomSource random, BlockPos pos, Direction direction, BlockPos trunkOrigin, List<BlockPos> roots, int length) -
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 pos, double delta) protected BlockStateNoiseProvider.getRandomState(List<BlockState> possibleStates, BlockPos pos, double delta) protected doubleDualNoiseProvider.getSlowNoiseValue(BlockPos pos) abstract BlockStateBlockStateProvider.getState(RandomSource random, BlockPos pos) DualNoiseProvider.getState(RandomSource random, BlockPos pos) NoiseProvider.getState(RandomSource random, BlockPos pos) NoiseThresholdProvider.getState(RandomSource random, BlockPos pos) RandomizedIntStateProvider.getState(RandomSource random, BlockPos pos) RotatedBlockProvider.getState(RandomSource random, BlockPos pos) RuleBasedBlockStateProvider.getState(WorldGenLevel level, RandomSource random, BlockPos pos) SimpleStateProvider.getState(RandomSource random, BlockPos pos) WeightedStateProvider.getState(RandomSource random, BlockPos pos) -
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 pos, BooleanProperty sideProperty, TreeDecorator.Context context) private booleanAttachedToLeavesDecorator.hasRequiredEmptyBlocks(TreeDecorator.Context context, BlockPos pos, Direction direction) booleanprivate voidAlterGroundDecorator.placeBlockAt(TreeDecorator.Context context, BlockPos pos) private voidAlterGroundDecorator.placeBlockAt(TreeDecorator.Context context, BlockPos pos, AlterGroundEvent.StateProvider eventProvider) private voidAlterGroundDecorator.placeCircle(TreeDecorator.Context context, BlockPos pos) private voidAlterGroundDecorator.placeCircle(TreeDecorator.Context context, BlockPos pos, AlterGroundEvent.StateProvider eventProvider) voidTreeDecorator.Context.placeVine(BlockPos pos, BooleanProperty sideProperty) voidTreeDecorator.Context.setBlock(BlockPos pos, BlockState state) Constructor parameters in net.minecraft.world.level.levelgen.feature.treedecorators with type arguments of type BlockPosModifierConstructorDescriptionContext(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> decorationSetter, RandomSource random, Set<BlockPos> logs, Set<BlockPos> leaves, Set<BlockPos> roots) Context(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> decorationSetter, RandomSource random, Set<BlockPos> logs, Set<BlockPos> leaves, Set<BlockPos> roots) -
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 level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter, Direction p_direction, int secondBranchStartOffsetFromTop, boolean doubleBranch, BlockPos.MutableBlockPos currentPos) private Direction.AxisFancyTrunkPlacer.getLogAxis(BlockPos pos, BlockPos otherPos) private intprivate static booleanTrunkPlacer.isDirt(LevelSimulatedReader level, BlockPos pos) booleanTrunkPlacer.isFree(LevelSimulatedReader level, BlockPos pos) private voidFancyTrunkPlacer.makeBranches(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int maxHeight, BlockPos pos, List<FancyTrunkPlacer.FoliageCoords> foliageCoords, TreeConfiguration config) private booleanFancyTrunkPlacer.makeLimb(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos basePos, BlockPos offsetPos, boolean modifyWorld, TreeConfiguration config) protected booleanTrunkPlacer.placeLog(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected booleanTrunkPlacer.placeLog(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter) private voidGiantTrunkPlacer.placeLogIfFreeWithOffset(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config, BlockPos offsetPos, int offsetX, int offsetY, int offsetZ) BendingTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) CherryTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) DarkOakTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) FancyTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) ForkingTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) GiantTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) MegaJungleTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) StraightTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) abstract List<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) UpwardsBranchingTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) protected static voidTrunkPlacer.setDirtAt(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected booleanTrunkPlacer.validTreePos(LevelSimulatedReader level, BlockPos pos) protected booleanUpwardsBranchingTrunkPlacer.validTreePos(LevelSimulatedReader level, BlockPos pos) Method parameters in net.minecraft.world.level.levelgen.feature.trunkplacers with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachmentCherryTrunkPlacer.generateBranch(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter, Direction p_direction, int secondBranchStartOffsetFromTop, boolean doubleBranch, BlockPos.MutableBlockPos currentPos) private voidFancyTrunkPlacer.makeBranches(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int maxHeight, BlockPos pos, List<FancyTrunkPlacer.FoliageCoords> foliageCoords, TreeConfiguration config) private booleanFancyTrunkPlacer.makeLimb(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos basePos, BlockPos offsetPos, boolean modifyWorld, TreeConfiguration config) private voidUpwardsBranchingTrunkPlacer.placeBranch(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, TreeConfiguration treeConfig, List<FoliagePlacer.FoliageAttachment> foliageAttachments, BlockPos.MutableBlockPos pos, int y, Direction direction, int extraBranchLength, int extraBranchSteps) protected booleanTrunkPlacer.placeLog(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected booleanTrunkPlacer.placeLog(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter) protected voidTrunkPlacer.placeLogIfFree(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config) private voidGiantTrunkPlacer.placeLogIfFreeWithOffset(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config, BlockPos offsetPos, int offsetX, int offsetY, int offsetZ) BendingTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) CherryTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) DarkOakTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) FancyTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) ForkingTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) GiantTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) MegaJungleTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) StraightTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) abstract List<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) UpwardsBranchingTrunkPlacer.placeTrunk(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) protected static voidTrunkPlacer.setDirtAt(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config) 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 context, RandomSource random, BlockPos pos) CountOnEveryLayerPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) Deprecated.EnvironmentScanPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) FixedPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) HeightmapPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) HeightRangePlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) InSquarePlacement.getPositions(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions(PlacementContext context, RandomSource random, BlockPos pos) PlacementModifier.getPositions(PlacementContext context, RandomSource random, BlockPos pos) RandomOffsetPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) RepeatingPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) Methods in net.minecraft.world.level.levelgen.placement with parameters of type BlockPosModifier and TypeMethodDescriptionprotected intCountPlacement.count(RandomSource random, BlockPos pos) protected intNoiseBasedCountPlacement.count(RandomSource random, BlockPos pos) protected intNoiseThresholdCountPlacement.count(RandomSource random, BlockPos pos) protected abstract intRepeatingPlacement.count(RandomSource random, BlockPos pos) PlacementContext.getBlockState(BlockPos pos) CarvingMaskPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) CountOnEveryLayerPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) Deprecated.EnvironmentScanPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) FixedPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) HeightmapPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) HeightRangePlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) InSquarePlacement.getPositions(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) PlacementFilter.getPositions(PlacementContext context, RandomSource random, BlockPos pos) PlacementModifier.getPositions(PlacementContext context, RandomSource random, BlockPos pos) RandomOffsetPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) RepeatingPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos pos) private static booleanFixedPlacement.isSameChunk(int x, int z, BlockPos pos) static FixedPlacementbooleanPlacedFeature.place(WorldGenLevel level, ChunkGenerator generator, RandomSource random, BlockPos pos) booleanPlacedFeature.placeWithBiomeCheck(WorldGenLevel level, ChunkGenerator generator, RandomSource random, BlockPos pos) private booleanPlacedFeature.placeWithContext(PlacementContext context, RandomSource source, BlockPos pos) protected booleanBiomeFilter.shouldPlace(PlacementContext p_226317_, RandomSource p_226318_, BlockPos p_226319_) protected booleanBlockPredicateFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos pos) protected abstract booleanPlacementFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos pos) protected booleanRarityFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos pos) protected booleanSurfaceRelativeThresholdFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos pos) protected booleanSurfaceWaterDepthFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos pos) 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 context, Rotation rotation) 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 level, BoundingBox box, RandomSource random, BlockPos pos, ResourceKey<LootTable> lootTable, BlockState state) BoundingBox.encapsulate(BlockPos pos) Deprecated.protected abstract voidTemplateStructurePiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) voidPoolElementStructurePiece.place(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, BlockPos pos, boolean keepJigsaws) voidPoolElementStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) abstract voidStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidTemplateStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) static BlockStateStructurePiece.reorient(BlockGetter level, BlockPos pos, BlockState state) Method parameters in net.minecraft.world.level.levelgen.structure with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic Optional<BoundingBox> BoundingBox.encapsulatingPositions(Iterable<BlockPos> positions) voidBoundingBox.forAllCorners(Consumer<BlockPos> pos) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type BlockPosModifierConstructorDescriptionBoundingBox(BlockPos pos) 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 structureTemplateManager, StructurePoolElement element, BlockPos position, int groundLevelDelta, Rotation rotation, BoundingBox boundingBox, LiquidSettings liquidSettings) TemplateStructurePiece(StructurePieceType type, int genDepth, StructureTemplateManager structureTemplateManager, ResourceLocation location, String templateName, StructurePlaceSettings placeSettings, BlockPos templatePosition) -
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 element, ResourceLocation startJigsawName, BlockPos pos, Rotation rotation, StructureTemplateManager structureTemplateManager, WorldgenRandom random) Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type BlockPosModifier and TypeMethodDescriptionstatic Optional<Structure.GenerationStub> JigsawPlacement.addPieces(Structure.GenerationContext context, Holder<StructureTemplatePool> startPool, Optional<ResourceLocation> startJigsawName, int maxDepth, BlockPos pos, boolean useExpansionHack, Optional<Heightmap.Types> projectStartToHeightmap, int maxDistanceFromCenter, PoolAliasLookup aliasLookup, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) static booleanJigsawPlacement.generateJigsaw(ServerLevel level, Holder<StructureTemplatePool> startPool, ResourceLocation startJigsawName, int maxDepth, BlockPos pos, boolean keepJigsaws) EmptyPoolElement.getBoundingBox(StructureTemplateManager p_227172_, BlockPos p_227173_, Rotation p_227174_) FeaturePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation) ListPoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation) SinglePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation) abstract BoundingBoxStructurePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation) SinglePoolElement.getDataMarkers(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, boolean relativePosition) JigsawPlacement.getRandomNamedJigsaw(StructurePoolElement element, ResourceLocation startJigsawName, BlockPos pos, Rotation rotation, StructureTemplateManager structureTemplateManager, WorldgenRandom random) EmptyPoolElement.getShuffledJigsawBlocks(StructureTemplateManager p_227176_, BlockPos p_227177_, Rotation p_227178_, RandomSource p_227179_) FeaturePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) ListPoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) SinglePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) abstract List<StructureTemplate.StructureBlockInfo> StructurePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) voidStructurePoolElement.handleDataMarker(LevelAccessor level, StructureTemplate.StructureBlockInfo blockInfo, BlockPos pos, Rotation rotation, RandomSource random, BoundingBox box) 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 structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanListPoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanSinglePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) abstract booleanStructurePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) -
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> aliases, BlockPos pos, long seed) -
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 location, BlockPos pos, int down) Methods in net.minecraft.world.level.levelgen.structure.structures that return types with arguments of type BlockPosModifier and TypeMethodDescriptionOceanRuinPieces.allPositions(RandomSource random, BlockPos pos) DesertPyramidPiece.getPotentialSuspiciousSandWorldPositions()Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidDesertPyramidPiece.addCellarRoom(BlockPos pos, WorldGenLevel level, BoundingBox box) private voidDesertPyramidPiece.addCellarStairs(BlockPos pos, WorldGenLevel level, BoundingBox box) private static voidOceanRuinPieces.addClusterRuins(StructureTemplateManager structureTemplateManager, RandomSource random, Rotation p_rotation, BlockPos pos, OceanRuinStructure structure, StructurePieceAccessor structurePieceAccessor) private voidRuinedPortalPiece.addNetherrackDripColumn(RandomSource random, LevelAccessor level, BlockPos pos) (package private) static EndCityPieces.EndCityPieceEndCityPieces.addPiece(StructureTemplateManager structureTemplateManager, EndCityPieces.EndCityPiece piece, BlockPos startPos, String name, Rotation rotation, boolean overwrite) private static voidOceanRuinPieces.addPiece(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure, boolean isLarge, float integrity) static voidIglooPieces.addPieces(StructureTemplateManager structureTemplateManager, BlockPos startPos, Rotation rotation, StructurePieceAccessor pieces, RandomSource random) static voidNetherFossilPieces.addPieces(StructureTemplateManager structureManager, StructurePieceAccessor pieces, RandomSource random, BlockPos pos) static voidOceanRuinPieces.addPieces(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure) ShipwreckPieces.addRandomPiece(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor pieces, RandomSource random, boolean isBeached) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x1(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation p_rotation, Direction direction, WoodlandMansionPieces.FloorRoomCollection floorRooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation rotation, Direction frontDirection, Direction sideDirection, WoodlandMansionPieces.FloorRoomCollection floorRooms, boolean isStairs) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation p_rotation, Direction frontDirection, Direction sideDirection, WoodlandMansionPieces.FloorRoomCollection floorRooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2Secret(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation rotation, WoodlandMansionPieces.FloorRoomCollection floorRooms) OceanRuinPieces.allPositions(RandomSource random, BlockPos pos) private booleanRuinedPortalPiece.canBlockBeReplacedByNetherrackOrMagma(LevelAccessor level, BlockPos pos) private booleanMineshaftPieces.MineShaftCorridor.canHangChainBelow(LevelReader level, BlockPos pos, BlockState state) private booleanMineshaftPieces.MineShaftCorridor.canPlaceColumnOnTopOf(LevelReader level, BlockPos pos, BlockState state) voidWoodlandMansionPieces.MansionPiecePlacer.createMansion(BlockPos pos, Rotation rotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, WoodlandMansionPieces.MansionGrid grid) private voidWoodlandMansionPieces.MansionPiecePlacer.createRoof(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation rotation, WoodlandMansionPieces.SimpleGrid layout, WoodlandMansionPieces.SimpleGrid nextFloorLayout) booleanEndCityPieces.SectionGenerator.generate(StructureTemplateManager structureTemplateManager, int counter, EndCityPieces.EndCityPiece piece, BlockPos startPos, List<StructurePiece> pieces, RandomSource random) static voidWoodlandMansionPieces.generateMansion(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, RandomSource random) private voidEndCityStructure.generatePieces(StructurePiecesBuilder builder, BlockPos startPos, Rotation rotation, Structure.GenerationContext context) private voidWoodlandMansionStructure.generatePieces(StructurePiecesBuilder builder, Structure.GenerationContext context, BlockPos pos, Rotation rotation) private intOceanRuinPieces.OceanRuinPiece.getHeight(BlockPos templatePos, BlockGetter level, BlockPos pos) protected voidEndCityPieces.EndCityPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidIglooPieces.IglooPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidNetherFossilPieces.NetherFossilPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidOceanRuinPieces.OceanRuinPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidRuinedPortalPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidShipwreckPieces.ShipwreckPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) protected voidWoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker(String name, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox box) private static booleanprivate static BlockPosIglooPieces.IglooPiece.makePosition(ResourceLocation location, BlockPos pos, int down) private static StructurePlaceSettingsRuinedPortalPiece.makeSettings(Mirror mirror, Rotation rotation, RuinedPortalPiece.VerticalPlacement verticalPlacement, BlockPos pos, RuinedPortalPiece.Properties properties) private voidRuinedPortalPiece.maybeAddLeavesAbove(RandomSource random, LevelAccessor level, BlockPos pos) private voidRuinedPortalPiece.maybeAddVines(RandomSource random, LevelAccessor level, BlockPos pos) private voidRuinedPortalPiece.placeNetherrackOrMagma(RandomSource random, LevelAccessor level, BlockPos pos) private static voidDesertPyramidStructure.placeSuspiciousSand(BoundingBox boundingBox, WorldGenLevel worldGenLevel, BlockPos pos) voidBuriedTreasurePieces.BuriedTreasurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidDesertPyramidPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidIglooPieces.IglooPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidJungleTemplePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftStairs.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.BridgeCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.BridgeEndFiller.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.BridgeStraight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleCorridorStairsPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleCorridorTBalconyPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleEntrance.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleStalkRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.MonsterThrone.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.StairsRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFossilPieces.NetherFossilPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.MonumentBuilding.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentCoreRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentEntryRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentPenthouse.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentSimpleRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentWingRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanRuinPieces.OceanRuinPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidRuinedPortalPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidShipwreckPieces.ShipwreckPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.ChestCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.FillerCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.FiveCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.LeftTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.Library.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.PortalRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.PrisonHall.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.RightTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.StairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.Straight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.StraightStairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidSwampHutPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) (package private) static booleanEndCityPieces.recursiveChildren(StructureTemplateManager structureTemplateManager, EndCityPieces.SectionGenerator sectionGenerator, int counter, EndCityPieces.EndCityPiece piece, BlockPos startPos, List<StructurePiece> pieces, RandomSource random) static voidEndCityPieces.startHouseTower(StructureTemplateManager structureTemplateManager, BlockPos startPos, Rotation rotation, List<StructurePiece> pieces, RandomSource random) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type BlockPosModifierConstructorDescriptionEndCityPiece(StructureTemplateManager structureTemplateManager, String name, BlockPos startPos, Rotation rotation, boolean overwrite) IglooPiece(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos startPos, Rotation rotation, int down) NetherFossilPiece(StructureTemplateManager structureManager, ResourceLocation location, BlockPos pos, Rotation rotation) OceanRuinPiece(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos pos, Rotation rotation, float integrity, OceanRuinStructure.Type biomeType, boolean isLarge) RuinedPortalPiece(StructureTemplateManager structureTemplateManager, BlockPos templatePosition, RuinedPortalPiece.VerticalPlacement verticalPlacement, RuinedPortalPiece.Properties properties, ResourceLocation location, StructureTemplate template, Rotation rotation, Mirror mirror, BlockPos pivotPos) ShipwreckPiece(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos pos, Rotation rotation, boolean isBeached) WoodlandMansionPiece(StructureTemplateManager structureTemplateManager, String templateName, BlockPos templatePosition, Rotation rotation) WoodlandMansionPiece(StructureTemplateManager structureTemplateManager, String templateName, BlockPos templatePosition, Rotation rotation, Mirror mirror) -
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 decorator, BlockPos start, StructurePlaceSettings settings, BlockPos end) static BlockPosStructureTemplate.calculateRelativePosition(StructurePlaceSettings decorator, BlockPos pos) StructurePlaceSettings.getRotationPivot()StructureTemplate.getZeroPositionWithTransform(BlockPos targetPos, Mirror mirror, Rotation rotation) static BlockPosStructureTemplate.getZeroPositionWithTransform(BlockPos pos, Mirror mirror, Rotation rotation, int sizeX, int sizeZ) StructureTemplate.StructureBlockInfo.pos()Returns the value of theposrecord component.static BlockPosMethods 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 decorator, BlockPos start, StructurePlaceSettings settings, BlockPos end) static BlockPosStructureTemplate.calculateRelativePosition(StructurePlaceSettings decorator, BlockPos pos) private voidStructureTemplate.fillEntityList(Level level, BlockPos startPos, BlockPos endPos) voidStructureTemplate.fillFromWorld(Level level, BlockPos pos, Vec3i size, boolean withEntities, Block toIgnore) StructureTemplate.filterBlocks(BlockPos pos, StructurePlaceSettings settings, Block block) it.unimi.dsi.fastutil.objects.ObjectArrayList<StructureTemplate.StructureBlockInfo> StructureTemplate.filterBlocks(BlockPos pos, StructurePlaceSettings settings, Block block, boolean relativePosition) CappedProcessor.finalizeProcessing(ServerLevelAccessor serverLevel, BlockPos offset, BlockPos pos, List<StructureTemplate.StructureBlockInfo> originalBlockInfos, List<StructureTemplate.StructureBlockInfo> processedBlockInfos, StructurePlaceSettings settings) StructureProcessor.finalizeProcessing(ServerLevelAccessor serverLevel, BlockPos offset, BlockPos pos, List<StructureTemplate.StructureBlockInfo> originalBlockInfos, List<StructureTemplate.StructureBlockInfo> processedBlockInfos, StructurePlaceSettings settings) StructureTemplate.getBoundingBox(BlockPos startPos, Rotation rotation, BlockPos pivotPos, Mirror mirror) protected static BoundingBoxStructureTemplate.getBoundingBox(BlockPos startPos, Rotation rotation, BlockPos pivotPos, Mirror mirror, Vec3i size) StructureTemplate.getBoundingBox(StructurePlaceSettings settings, BlockPos startPos) StructurePlaceSettings.getRandomPalette(List<StructureTemplate.Palette> palettes, BlockPos pos) StructureTemplate.getZeroPositionWithTransform(BlockPos targetPos, Mirror mirror, Rotation rotation) static BlockPosStructureTemplate.getZeroPositionWithTransform(BlockPos pos, Mirror mirror, Rotation rotation, int sizeX, int sizeZ) booleanStructureTemplate.placeInWorld(ServerLevelAccessor serverLevel, BlockPos offset, BlockPos pos, StructurePlaceSettings settings, RandomSource random, int flags) 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 level, BlockPos offset, BlockPos pos, StructureTemplate.StructureBlockInfo blockInfo, StructureTemplate.StructureBlockInfo relativeBlockInfo, StructurePlaceSettings settings) BlockAgeProcessor.processBlock(LevelReader level, BlockPos offset, BlockPos pos, StructureTemplate.StructureBlockInfo blockInfo, StructureTemplate.StructureBlockInfo relativeBlockInfo, StructurePlaceSettings settings) BlockIgnoreProcessor.processBlock(LevelReader level, BlockPos offset, BlockPos pos, StructureTemplate.StructureBlockInfo blockInfo, StructureTemplate.StructureBlockInfo relativeBlockInfo, StructurePlaceSettings settings) BlockRotProcessor.processBlock(LevelReader level, BlockPos offset, BlockPos pos, StructureTemplate.StructureBlockInfo blockInfo, StructureTemplate.StructureBlockInfo relativeBlockInfo, StructurePlaceSettings settings) GravityProcessor.processBlock(LevelReader level, BlockPos offset, BlockPos pos, StructureTemplate.StructureBlockInfo blockInfo, StructureTemplate.StructureBlockInfo relativeBlockInfo, StructurePlaceSettings settings) 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 level, BlockPos offset, BlockPos pos, StructureTemplate.StructureBlockInfo blockInfo, StructureTemplate.StructureBlockInfo relativeBlockInfo, StructurePlaceSettings settings) RuleProcessor.processBlock(LevelReader level, BlockPos offset, BlockPos pos, StructureTemplate.StructureBlockInfo blockInfo, StructureTemplate.StructureBlockInfo relativeBlockInfo, StructurePlaceSettings settings) StructureProcessor.processBlock(LevelReader level, BlockPos offset, BlockPos pos, StructureTemplate.StructureBlockInfo blockInfo, StructureTemplate.StructureBlockInfo relativeBlockInfo, StructurePlaceSettings settings) StructureTemplate.processBlockInfos(ServerLevelAccessor serverLevel, BlockPos offset, BlockPos pos, StructurePlaceSettings settings, List<StructureTemplate.StructureBlockInfo> blockInfos) StructureTemplate.processBlockInfos(ServerLevelAccessor serverLevel, BlockPos offset, BlockPos pos, StructurePlaceSettings settings, List<StructureTemplate.StructureBlockInfo> blockInfos, 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 rotationPivot) booleanAxisAlignedLinearPosTest.test(BlockPos localPos, BlockPos relativePos, BlockPos structurePos, RandomSource random) booleanLinearPosTest.test(BlockPos localPos, BlockPos relativePos, BlockPos structurePos, RandomSource random) booleanPosAlwaysTrueTest.test(BlockPos p_230301_, BlockPos p_230302_, BlockPos p_230303_, RandomSource p_230304_) abstract booleanPosRuleTest.test(BlockPos localPos, BlockPos relativePos, BlockPos structurePos, RandomSource random) booleanProcessorRule.test(BlockState inputState, BlockState existingState, BlockPos localPos, BlockPos relativePos, BlockPos structurePos, RandomSource random) static BlockPosstatic Vec3static voidStructureTemplate.updateShapeAtEdge(LevelAccessor level, int flags, DiscreteVoxelShape shape, BlockPos pos) 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 pos, BlockPos blockPos, CompoundTag nbt) -
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 pos) voidLevelLightEngine.checkBlock(BlockPos pos) voidLightEngine.checkBlock(BlockPos pos) voidLightEventListener.checkBlock(BlockPos pos) private intChunkSkyLightSources.findLowestSourceBelow(BlockGetter level, BlockPos pos, BlockState state) static intLightEngine.getLightBlockInto(BlockGetter level, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int defaultReturnValue) intLayerLightEventListener.DummyLightLayerEventListener.getLightValue(BlockPos levelPos) intLayerLightEventListener.getLightValue(BlockPos levelPos) intLightEngine.getLightValue(BlockPos levelPos) static VoxelShapeLightEngine.getOcclusionShape(BlockGetter level, BlockPos pos, BlockState state, Direction direction) protected intLightEngine.getOpacity(BlockState state, BlockPos pos) intLevelLightEngine.getRawBrightness(BlockPos blockPos, int amount) protected BlockStatestatic booleanLightEngine.hasDifferentLightProperties(BlockGetter level, BlockPos pos, BlockState state1, BlockState state2) private static booleanChunkSkyLightSources.isEdgeOccluded(BlockGetter level, BlockPos pos1, BlockState state1, BlockPos pos2, BlockState state2) private booleanChunkSkyLightSources.updateEdge(BlockGetter level, int index, int minY, BlockPos pos1, BlockState state1, BlockPos pos2, BlockState state2) default voidLightEventListener.updateSectionStatus(BlockPos pos, boolean isQueueEmpty) -
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 level, BlockPos pos, FluidState state, RandomSource random) voidFluidState.animateTick(Level level, BlockPos pos, RandomSource random) voidLavaFluid.animateTick(Level level, BlockPos pos, FluidState state, RandomSource random) voidWaterFluid.animateTick(Level level, BlockPos pos, FluidState state, RandomSource random) protected abstract voidFlowingFluid.beforeDestroyingBlock(LevelAccessor level, BlockPos pos, BlockState state) protected voidLavaFluid.beforeDestroyingBlock(LevelAccessor level, BlockPos pos, BlockState state) protected voidWaterFluid.beforeDestroyingBlock(LevelAccessor level, BlockPos pos, BlockState state) booleanEmptyFluid.canBeReplacedWith(FluidState fluidState, BlockGetter blockReader, BlockPos pos, Fluid fluid, Direction direction) protected abstract booleanFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid fluid, Direction direction) booleanFluidState.canBeReplacedWith(BlockGetter level, BlockPos pos, Fluid fluid, Direction direction) booleanLavaFluid.canBeReplacedWith(FluidState fluidState, BlockGetter blockReader, BlockPos pos, Fluid fluid, Direction direction) booleanWaterFluid.canBeReplacedWith(FluidState fluidState, BlockGetter blockReader, BlockPos pos, Fluid fluid, Direction direction) booleanFlowingFluid.canConvertToSource(FluidState state, Level level, BlockPos pos) private booleanFlowingFluid.canHoldFluid(BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) private booleanFlowingFluid.canPassThrough(BlockGetter level, Fluid fluid, BlockPos pos, BlockState state, Direction direction, BlockPos spreadPos, BlockState spreadState, FluidState fluidState) private booleanFlowingFluid.canPassThroughWall(Direction direction, BlockGetter level, BlockPos pos, BlockState state, BlockPos spreadPos, BlockState spreadState) protected booleanFlowingFluid.canSpreadTo(BlockGetter level, BlockPos fromPos, BlockState fromBlockState, Direction direction, BlockPos toPos, BlockState toBlockState, FluidState toFluidState, Fluid fluid) private voidLavaFluid.fizz(LevelAccessor level, BlockPos pos) private static shortFlowingFluid.getCacheKey(BlockPos sourcePos, BlockPos spreadPos) EmptyFluid.getFlow(BlockGetter blockReader, BlockPos pos, FluidState fluidState) FlowingFluid.getFlow(BlockGetter blockReader, BlockPos pos, FluidState fluidState) protected abstract Vec3Fluid.getFlow(BlockGetter blockReader, BlockPos pos, FluidState fluidState) FluidState.getFlow(BlockGetter level, BlockPos pos) floatEmptyFluid.getHeight(FluidState state, BlockGetter level, BlockPos pos) floatFlowingFluid.getHeight(FluidState state, BlockGetter level, BlockPos pos) abstract floatFluid.getHeight(FluidState state, BlockGetter level, BlockPos pos) floatFluidState.getHeight(BlockGetter level, BlockPos pos) protected FluidStateFlowingFluid.getNewLiquid(Level level, BlockPos pos, BlockState blockState) EmptyFluid.getShape(FluidState state, BlockGetter level, BlockPos pos) FlowingFluid.getShape(FluidState state, BlockGetter level, BlockPos pos) abstract VoxelShapeFluid.getShape(FluidState state, BlockGetter level, BlockPos pos) FluidState.getShape(BlockGetter level, BlockPos pos) protected intFlowingFluid.getSlopeDistance(LevelReader level, BlockPos spreadPos, int distance, Direction p_direction, BlockState currentSpreadState, BlockPos sourcePos, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> stateCache, it.unimi.dsi.fastutil.shorts.Short2BooleanMap waterHoleCache) protected Map<Direction, FluidState> FlowingFluid.getSpread(Level level, BlockPos pos, BlockState state) protected intFlowingFluid.getSpreadDelay(Level level, BlockPos pos, FluidState currentState, FluidState newState) intLavaFluid.getSpreadDelay(Level level, BlockPos pos, FluidState currentState, FluidState newState) private booleanLavaFluid.hasFlammableNeighbours(LevelReader level, BlockPos pos) private static booleanFlowingFluid.hasSameAbove(FluidState fluidState, BlockGetter level, BlockPos pos) private booleanLavaFluid.isFlammable(LevelReader level, BlockPos pos) Deprecated.Forge: useLavaFluid.isFlammable(LevelReader,BlockPos, Direction)insteadprivate booleanLavaFluid.isFlammable(LevelReader p_level, BlockPos p_pos, Direction face) protected booleanFlowingFluid.isSolidFace(BlockGetter level, BlockPos neighborPos, Direction side) private booleanFlowingFluid.isWaterHole(BlockGetter level, Fluid fluid, BlockPos pos, BlockState state, BlockPos spreadPos, BlockState spreadState) protected voidFluid.randomTick(Level level, BlockPos pos, FluidState state, RandomSource random) voidFluidState.randomTick(Level level, BlockPos pos, RandomSource random) voidLavaFluid.randomTick(Level level, BlockPos pos, FluidState state, RandomSource random) booleanFluidState.shouldRenderBackwardUpFace(BlockGetter level, BlockPos pos) private intFlowingFluid.sourceNeighborCount(LevelReader level, BlockPos pos) Returns the number of immediately adjacent source blocks of the same fluid that lie on the horizontal plane.protected voidFlowingFluid.spread(Level level, BlockPos pos, FluidState state) protected voidFlowingFluid.spreadTo(LevelAccessor level, BlockPos pos, BlockState blockState, Direction direction, FluidState fluidState) protected voidLavaFluid.spreadTo(LevelAccessor level, BlockPos pos, BlockState blockState, Direction direction, FluidState fluidState) private voidFlowingFluid.spreadToSides(Level level, BlockPos pos, FluidState fluidState, BlockState blockState) voidFlowingFluid.tick(Level level, BlockPos pos, FluidState state) protected voidFluid.tick(Level level, BlockPos pos, FluidState state) 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 index) Path.getTarget()PathfindingContext.mobPosition()Methods in net.minecraft.world.level.pathfinder that return types with arguments of type BlockPosModifier and TypeMethodDescriptionFlyNodeEvaluator.iteratePathfindingStartNodeCandidatePositions(Mob mob) Methods in net.minecraft.world.level.pathfinder with parameters of type BlockPosModifier and TypeMethodDescriptionprotected booleanFlyNodeEvaluator.canStartAt(BlockPos pos) protected booleanWalkNodeEvaluator.canStartAt(BlockPos pos) private PathTypePathTypeCache.compute(BlockGetter level, BlockPos pos, int index, long packedPos) floatNode.distanceManhattan(BlockPos pos) floatNode.distanceTo(BlockPos pos) floatNode.distanceToSqr(BlockPos pos) PathfindingContext.getBlockState(BlockPos pos) protected doubleWalkNodeEvaluator.getFloorLevel(BlockPos pos) static doubleWalkNodeEvaluator.getFloorLevel(BlockGetter level, BlockPos pos) protected NodePathTypeCache.getOrCompute(BlockGetter level, BlockPos pos) NodeEvaluator.getPathType(Mob mob, BlockPos pos) protected static PathTypeWalkNodeEvaluator.getPathTypeFromState(BlockGetter level, BlockPos pos) static PathTypeWalkNodeEvaluator.getPathTypeStatic(Mob mob, BlockPos pos) protected NodeWalkNodeEvaluator.getStartNode(BlockPos pos) voidPathTypeCache.invalidate(BlockPos pos) private PathPathFinder.reconstructPath(Node point, BlockPos targetPos, boolean reachesTarget) 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 profiler, Node p_node, Map<Target, BlockPos> targetPos, float maxRange, int accuracy, float searchDepthMultiplier) PathFinder.findPath(PathNavigationRegion region, Mob mob, Set<BlockPos> targetPositions, float maxRange, int accuracy, float searchDepthMultiplier) 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 BlockPosMethods in net.minecraft.world.level.portal that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPortalForcer.findClosestPortalPosition(BlockPos exitPos, boolean isNether, WorldBorder worldBorder) Methods in net.minecraft.world.level.portal with parameters of type BlockPosModifier and TypeMethodDescriptionprivate BlockPosPortalShape.calculateBottomLeft(BlockPos pos) private booleanPortalForcer.canHostFrame(BlockPos originalPos, BlockPos.MutableBlockPos offsetPos, Direction p_direction, int offsetScale) PortalForcer.createPortal(BlockPos pos, Direction.Axis axis) PortalForcer.findClosestPortalPosition(BlockPos exitPos, boolean isNether, WorldBorder worldBorder) static Optional<PortalShape> PortalShape.findEmptyPortalShape(LevelAccessor level, BlockPos bottomLeft, Direction.Axis axis) static Optional<PortalShape> PortalShape.findPortalShape(LevelAccessor level, BlockPos bottomLeft, Predicate<PortalShape> predicate, Direction.Axis axis) private intPortalShape.getDistanceUntilEdgeAboveFrame(BlockPos pos, Direction direction) Constructors in net.minecraft.world.level.portal with parameters of type BlockPosModifierConstructorDescriptionPortalShape(LevelAccessor level, BlockPos bottomLeft, Direction.Axis axis) -
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 pos, CollectingNeighborUpdater.NeighborUpdates updates) static voidNeighborUpdater.executeShapeUpdate(LevelAccessor level, Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) static voidNeighborUpdater.executeUpdate(Level level, BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) voidCollectingNeighborUpdater.neighborChanged(BlockPos pos, Block neighborBlock, BlockPos neighborPos) voidCollectingNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) voidInstantNeighborUpdater.neighborChanged(BlockPos pos, Block neighborBlock, BlockPos neighborPos) voidInstantNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) voidNeighborUpdater.neighborChanged(BlockPos pos, Block neighborBlock, BlockPos neighborPos) voidNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) voidCollectingNeighborUpdater.shapeUpdate(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) voidInstantNeighborUpdater.shapeUpdate(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) voidNeighborUpdater.shapeUpdate(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) voidCollectingNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction facing) default voidNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction facing) 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 sourcePos, Block sourceBlock, Direction skipDirection) (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 stack, BlockPos pos, String type, Holder<MapDecorationType> mapDecorationType) static Stringstatic MapBannerMapBanner.fromWorld(BlockGetter level, BlockPos pos) voidMapItemSavedData.removedFromFrame(BlockPos pos, int entityId) booleanMapItemSavedData.toggleBanner(LevelAccessor accessor, BlockPos pos) 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 loadedPlayerTag, boolean wasModded, BlockPos spawnPos, float spawnAngle, long gameTime, long dayTime, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Settings worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, UUID wanderingTraderId, Set<String> knownServerBrands, Set<String> removedFeatureFlags, TimerQueue<MinecraftServer> scheduledEvents, CompoundTag customBossEvents, EndDragonFight.Data endDragonFightData, LevelSettings settings, WorldOptions worldOptions, PrimaryLevelData.SpecialWorldProperty specialWorldProperty, com.mojang.serialization.Lifecycle worldGenSettingsLifecycle) -
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 locationPredicateBuilder, BlockPos offset) 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 startPos, BlockPos endPos) static BlockHitResultCreates a new BlockRayTraceResult marked as a miss.BlockHitResult.withPosition(BlockPos pos) Constructors in net.minecraft.world.phys with parameters of type BlockPosModifierConstructorDescriptionprivateBlockHitResult(boolean miss, Vec3 location, Direction direction, BlockPos blockPos, boolean inside) BlockHitResult(Vec3 location, Direction direction, BlockPos blockPos, boolean inside) -
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 shape, BlockPos pos, boolean canAscend) booleanEntityCollisionContext.isAbove(VoxelShape shape, BlockPos pos, boolean canAscend) -
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 pos, T type) booleanLevelTicks.hasScheduledTick(BlockPos pos, T type) booleanProtoChunkTicks.hasScheduledTick(BlockPos pos, T type) booleanTickAccess.hasScheduledTick(BlockPos pos, T type) booleanWorldGenTickAccess.hasScheduledTick(BlockPos pos, T type) static <T> SavedTick<T> static <T> ScheduledTick<T> private static CompoundTagSavedTick.saveTick(String id, BlockPos pos, int delay, TickPriority priority) booleanLevelTickAccess.willTickThisTick(BlockPos pos, T type) booleanLevelTicks.willTickThisTick(BlockPos pos, T type) booleanWorldGenTickAccess.willTickThisTick(BlockPos pos, T type) Method parameters in net.minecraft.world.ticks with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate voidLevelTicks.runCollectedTicks(BiConsumer<BlockPos, T> ticker) voidLevelTicks.tick(long gameTime, int maxAllowedTicks, BiConsumer<BlockPos, T> ticker) 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>> containerGetter) -
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.default intIBlockStateExtension.getFlammability(BlockGetter level, BlockPos pos, Direction face) Chance that fire will spread and consume this block.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 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 with type parameters of type BlockPosModifier and TypeFieldDescriptionAuxiliaryLightDataPayload.entriesThe field for theentriesrecord component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type BlockPosModifier and TypeMethodDescriptionAuxiliaryLightDataPayload.entries()Returns the value of theentriesrecord component.Constructor parameters in net.neoforged.neoforge.network.payload with type arguments of type BlockPosModifierConstructorDescriptionAuxiliaryLightDataPayload(ChunkPos pos, Map<BlockPos, Byte> entries) Creates an instance of aAuxiliaryLightDataPayloadrecord class. -
Uses of BlockPos in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static intGenerateCommand.executeGeneration(CommandSourceStack source, BlockPos pos, int chunkRadius, boolean progressBar)