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
Methods in net.minecraft with parameters of type BlockPosModifier and TypeMethodDescriptionstatic StringCrashReportCategory.formatLocation(LevelHeightAccessor levelHeightAccessor, BlockPos pos) static voidCrashReportCategory.populateBlockDetails(CrashReportCategory category, LevelHeightAccessor levelHeightAccessor, BlockPos pos, BlockState state) static CrashReportCategoryCrashReportCategory.populateBlockLocationDetails(CrashReportCategory category, LevelHeightAccessor levelHeightAccessor, BlockPos pos) -
Uses of BlockPos in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion 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, ItemInstance tool) voidDefaultBlockInteractionTrigger.trigger(ServerPlayer player, BlockPos pos) voidItemUsedOnLocationTrigger.trigger(ServerPlayer player, BlockPos pos, ItemInstance tool) voidUsedEnderEyeTrigger.trigger(ServerPlayer player, BlockPos feature) -
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 blockPos, @Nullable CompoundTag entityTag) voidDebugQueryHandler.queryBlockEntityTag(BlockPos blockPos, Consumer<CompoundTag> callback) -
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, @Nullable BlockAndTintGetter level, @Nullable BlockPos pos, int tintIndex) intBlockColors.getColor(BlockState state, @Nullable BlockAndTintGetter level, @Nullable BlockPos pos, int tintIndex) intBlockColors.getColor(BlockState state, Level level, BlockPos blockPos) intConstructor parameters in net.minecraft.client.color.block with type arguments of type BlockPos -
Uses of BlockPos in net.minecraft.client.gui.components.debug
Methods in net.minecraft.client.gui.components.debug with parameters of type BlockPosModifier and TypeMethodDescriptionvoidDebugEntryLookingAt.DebugEntryLookingAtState.extractInfo(List<String> result, Level level, BlockPos pos) voidDebugEntryLookingAt.DebugEntryLookingAtTags.extractInfo(List<String> result, Level level, BlockPos pos) abstract voidDebugEntryLookingAt.extractInfo(List<String> result, Level level, BlockPos pos) DebugEntryLookingAt.BlockStateInfo.getInstance(Level level, BlockPos pos) DebugEntryLookingAt.BlockTagInfo.getInstance(Level level, BlockPos pos) protected abstract StateTypeDebugEntryLookingAt.DebugEntryLookingAtState.getInstance(Level level, BlockPos pos) protected abstract TDebugEntryLookingAt.DebugEntryLookingAtTags.getInstance(Level level, BlockPos pos) DebugEntryLookingAt.FluidStateInfo.getInstance(Level level, BlockPos pos) DebugEntryLookingAt.FluidTagInfo.getInstance(Level level, BlockPos pos) -
Uses of BlockPos in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as BlockPos -
Uses of BlockPos in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as BlockPosFields in net.minecraft.client.multiplayer with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final ClientDebugSubscriber.ValueMap<BlockPos, V> ClientDebugSubscriber.ValueMaps.blockValuesMethods in net.minecraft.client.multiplayer that return types with arguments of type BlockPosModifier and TypeMethodDescriptionprivate static <T> ClientDebugSubscriber.ValueMapType<BlockPos, T> ClientDebugSubscriber.blocks()Methods in net.minecraft.client.multiplayer with parameters of type BlockPosModifier and TypeMethodDescriptionvoidClientLevel.addBreakingBlockEffect(BlockPos pos, Direction direction) Deprecated.voidClientLevel.addBreakingBlockEffect(BlockPos pos, Direction direction, @Nullable HitResult hitResult) voidClientLevel.addDestroyBlockEffect(BlockPos pos, BlockState blockState) intClientLevel.calculateBlockTint(BlockPos pos, ColorResolver colorResolver) booleanMultiPlayerGameMode.continueDestroyBlock(BlockPos pos, Direction direction) booleanMultiPlayerGameMode.destroyBlock(BlockPos pos) voidClientLevel.destroyBlockProgress(int id, BlockPos blockPos, int progress) intClientLevel.getBlockTint(BlockPos pos, ColorResolver resolver) intClientLevel.getClientLeafTintColor(BlockPos pos) ClientLevel.getModelData(BlockPos pos) voidClientLevel.globalLevelEvent(int type, BlockPos pos, int data) voidMultiPlayerGameMode.handlePickItemFromBlock(BlockPos pos, boolean includeData) voidClientLevel.levelEvent(@Nullable Entity source, int type, BlockPos pos, int data) private booleanMultiPlayerGameMode.sameDestroyTarget(BlockPos pos) voidClientLevel.sendBlockUpdated(BlockPos pos, BlockState old, BlockState current, int updateFlags) Flags are as in setBlockStatebooleanClientLevel.setBlock(BlockPos pos, BlockState blockState, int updateFlags, int updateLimit) voidClientLevel.setBlocksDirty(BlockPos pos, BlockState oldState, BlockState newState) voidClientLevel.setServerVerifiedBlockState(BlockPos pos, BlockState blockState, int updateFlag) private voidClientLevel.spawnParticle(BlockPos pos, ParticleOptions dripParticle, VoxelShape dripShape, double height) booleanMultiPlayerGameMode.startDestroyBlock(BlockPos pos, Direction direction) Called when the player is hitting a block with an item.voidClientLevel.syncBlockState(BlockPos pos, BlockState state, Vec3 playerPos) private voidClientLevel.trySpawnDripParticles(BlockPos pos, BlockState state, ParticleOptions dripParticle, boolean isTopSolid) <T> voidClientDebugSubscriber.updateBlock(long gameTime, BlockPos blockPos, DebugSubscription.Update<T> update) -
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 blockState) -
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 BlockPosConstructors in net.minecraft.client.particle with parameters of type BlockPosModifierConstructorDescriptionTerrainParticle(ClientLevel level, double x, double y, double z, double xa, double ya, double za, BlockState blockState, 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 declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosOctree.cameraSectionCenterprivate @Nullable BlockPosLevelRenderer.lastTranslucentSortBlockPosFields in net.minecraft.client.renderer with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map<BlockPos, SoundInstance> LevelEventHandler.playingJukeboxSongsMethods in net.minecraft.client.renderer that return types with arguments of type BlockPosModifier and TypeMethodDescriptionprivate static @Nullable org.apache.commons.lang3.tuple.Pair<BlockState, BlockPos> ScreenEffectRenderer.getOverlayBlock(Player player) Methods in net.minecraft.client.renderer with parameters of type BlockPosModifier and TypeMethodDescriptionvoidLevelRenderer.blockChanged(BlockGetter level, BlockPos pos, BlockState old, BlockState current, int updateFlags) voidLevelRenderer.destroyBlockProgress(int id, BlockPos pos, int progress) private static intBiomeColors.getAverageColor(BlockAndTintGetter level, BlockPos pos, ColorResolver colorResolver) static intBiomeColors.getAverageDryFoliageColor(BlockAndTintGetter level, BlockPos pos) static intBiomeColors.getAverageFoliageColor(BlockAndTintGetter level, BlockPos pos) static intBiomeColors.getAverageGrassColor(BlockAndTintGetter level, BlockPos pos) static intBiomeColors.getAverageWaterColor(BlockAndTintGetter level, BlockPos pos) static RenderTypeItemBlockRenderTypes.getBlockModelRenderType(BlockStateModel model, BlockAndTintGetter level, BlockPos pos, BlockState state) static intLevelRenderer.getLightCoords(LevelRenderer.BrightnessGetter brightnessGetter, BlockAndTintGetter level, BlockState state, BlockPos pos) static intLevelRenderer.getLightCoords(BlockAndTintGetter level, BlockPos pos) private Biome.PrecipitationWeatherEffectRenderer.getPrecipitationAt(Level level, BlockPos pos) protected @Nullable SectionRenderDispatcher.RenderSectionViewArea.getRenderSectionAt(BlockPos pos) voidLevelEventHandler.globalLevelEvent(int type, BlockPos pos, int data) Handles a global level event.booleanLevelRenderer.isSectionCompiledAndVisible(BlockPos blockPos) voidLevelEventHandler.levelEvent(int eventType, BlockPos pos, int data) private voidLevelEventHandler.notifyNearbyEntities(Level level, BlockPos pos, boolean isPlaying) Notifies living entities in a 3 block range of the specifiedposthat a record is or isn't playing nearby, dependent on the specifiedplayingparameter.intLevelRenderer.BrightnessGetter.packedBrightness(BlockAndTintGetter level, BlockPos pos) private voidLevelEventHandler.playJukeboxSong(Holder<JukeboxSong> songHolder, BlockPos pos) private voidLevelRenderer.setBlockDirty(BlockPos pos, boolean playerChanged) voidLevelRenderer.setBlockDirty(BlockPos pos, BlockState oldState, BlockState newState) private voidLevelEventHandler.shootParticles(int data, BlockPos pos, RandomSource random, SimpleParticleType particle) private voidLevelEventHandler.stopJukeboxSong(BlockPos pos) private voidLevelEventHandler.stopJukeboxSongAndNotifyNearby(BlockPos pos) -
Uses of BlockPos in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as BlockPosModifier and TypeFieldDescriptionMovingBlockRenderState.blockPosMovingBlockRenderState.randomSeedPosMethods in net.minecraft.client.renderer.block with parameters of type BlockPosModifier and TypeMethodDescriptionvoidModelBlockRenderer.AmbientOcclusionRenderStorage.calculate(BlockAndTintGetter level, BlockState state, BlockPos centerPosition, Direction direction, boolean shade) private floatLiquidBlockRenderer.calculateAverageHeight(BlockAndTintGetter level, Fluid type, float heightSelf, float height2, float height1, BlockPos cornerPos) private static voidModelBlockRenderer.calculateShape(BlockAndTintGetter level, BlockState state, BlockPos pos, BakedQuad quad, ModelBlockRenderer.CommonRenderStorage storage) @Nullable BlockEntityMovingBlockRenderState.getBlockEntity(BlockPos pos) MovingBlockRenderState.getBlockState(BlockPos pos) intMovingBlockRenderState.getBlockTint(BlockPos pos, ColorResolver color) MovingBlockRenderState.getFluidState(BlockPos pos) private floatLiquidBlockRenderer.getHeight(BlockAndTintGetter level, Fluid fluidType, BlockPos pos) private floatLiquidBlockRenderer.getHeight(BlockAndTintGetter level, Fluid fluidType, BlockPos pos, BlockState state, FluidState fluidState) private intLiquidBlockRenderer.getLightCoords(BlockAndTintGetter level, BlockPos pos) intModelBlockRenderer.Cache.getLightCoords(BlockState state, BlockAndTintGetter level, BlockPos pos) BlockModelShaper.getParticleMaterial(BlockState blockState, BlockAndTintGetter level, BlockPos pos) floatModelBlockRenderer.Cache.getShadeBrightness(BlockState state, BlockAndTintGetter level, BlockPos pos) private voidModelBlockRenderer.putQuadData(BlockAndTintGetter level, BlockState state, BlockPos pos, BakedQuadOutput output, PoseStack.Pose pose, BakedQuad quad, ModelBlockRenderer.CommonRenderStorage renderStorage, int overlayCoords) voidBlockRenderDispatcher.renderBatched(BlockState blockState, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, BakedQuadOutput output, boolean cull, List<BlockModelPart> parts) voidBlockRenderDispatcher.renderBreakingTexture(BlockState state, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, BakedQuadOutput output) voidBlockRenderDispatcher.renderLiquid(BlockPos pos, BlockAndTintGetter level, VertexConsumer builder, BlockState blockState, FluidState fluidState) static voidModelBlockRenderer.renderModel(PoseStack.Pose pose, BakedQuadOutput output, BlockStateModel model, int tintColor, int lightCoords, int overlayCoords, BlockAndTintGetter level, BlockPos pos, BlockState state) private voidModelBlockRenderer.renderModelFaceAO(BlockAndTintGetter level, BlockState state, BlockPos pos, PoseStack poseStack, BakedQuadOutput output, List<BakedQuad> quads, ModelBlockRenderer.AmbientOcclusionRenderStorage storage, int overlayCoords) private voidModelBlockRenderer.renderModelFaceFlat(BlockAndTintGetter level, BlockState state, BlockPos pos, int lightCoords, int overlayCoords, boolean checkLight, PoseStack poseStack, BakedQuadOutput output, List<BakedQuad> quads, ModelBlockRenderer.CommonRenderStorage shapeState) private voidModelBlockRenderer.renderModelQuadFlat(BlockAndTintGetter level, BlockState state, BlockPos pos, int lightCoords, int overlayCoords, boolean checkLight, PoseStack poseStack, BakedQuadOutput output, BakedQuad quad, ModelBlockRenderer.CommonRenderStorage shapeState) voidBlockRenderDispatcher.renderSingleBlock(BlockState state, PoseStack poseStack, MultiBufferSource bufferSource, int lightCoords, int overlayCoords, BlockAndTintGetter level, BlockPos pos) protected static booleanModelBlockRenderer.shouldRenderFace(BlockAndTintGetter level, BlockPos pos, BlockState state, boolean cullEnabled, Direction direction, BlockPos neighborPos) private static booleanModelBlockRenderer.shouldRenderFace(BlockAndTintGetter level, BlockState state, boolean cullEnabled, Direction direction, BlockPos neighborPos) Deprecated.voidLiquidBlockRenderer.tesselate(BlockAndTintGetter level, BlockPos pos, VertexConsumer builder, BlockState blockState, FluidState fluidState) voidModelBlockRenderer.tesselateBlock(BlockAndTintGetter level, List<BlockModelPart> parts, BlockState blockState, BlockPos pos, PoseStack poseStack, BakedQuadOutput output, boolean cull, int overlayCoords) voidModelBlockRenderer.tesselateWithAO(BlockAndTintGetter level, List<BlockModelPart> parts, BlockState state, BlockPos pos, PoseStack poseStack, BakedQuadOutput output, boolean cull, int overlayCoords) voidModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter level, List<BlockModelPart> parts, BlockState state, BlockPos pos, PoseStack poseStack, BakedQuadOutput output, boolean cull, int overlayCoords) -
Uses of BlockPos in net.minecraft.client.renderer.block.model
Methods in net.minecraft.client.renderer.block.model with parameters of type BlockPosModifier and TypeMethodDescriptionSingleVariant.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) -
Uses of BlockPos in net.minecraft.client.renderer.block.model.multipart
Methods in net.minecraft.client.renderer.block.model.multipart with parameters of type BlockPosModifier and TypeMethodDescriptionvoidMultiPartModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> output) @Nullable ObjectMultiPartModel.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) booleanMultiPartModel.hasTranslucency(BlockAndTintGetter level, BlockPos pos, BlockState state) MultiPartModel.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of BlockPos in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static MovingBlockRenderStatePistonHeadRenderer.createMovingBlock(BlockPos pos, BlockState blockState, Holder<Biome> biome, Level level) private static booleanAbstractSignRenderer.isOutlineVisible(BlockPos pos) private voidBlockEntityWithBoundingBoxRenderer.renderInvisibleBlocks(BlockEntityWithBoundingBoxRenderState state, BlockPos localPos, Vec3i size) private voidBlockEntityWithBoundingBoxRenderer.renderStructureVoids(BlockEntityWithBoundingBoxRenderState state, BlockPos startingPosition, Vec3i size) -
Uses of BlockPos in net.minecraft.client.renderer.blockentity.state
Fields in net.minecraft.client.renderer.blockentity.state declared as BlockPos -
Uses of BlockPos in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map<BlockPos, BlockEntity> SectionCopy.blockEntitiesMethods in net.minecraft.client.renderer.chunk that return BlockPosModifier and TypeMethodDescriptionSectionRenderDispatcher.RenderSection.CompileTask.getRenderOrigin()SectionRenderDispatcher.RenderSection.getRenderOrigin()Methods in net.minecraft.client.renderer.chunk with parameters of type BlockPosModifier and TypeMethodDescription@Nullable BlockEntityRenderSectionRegion.getBlockEntity(BlockPos pos) @Nullable BlockEntitySectionCopy.getBlockEntity(BlockPos pos) RenderSectionRegion.getBlockState(BlockPos pos) SectionCopy.getBlockState(BlockPos pos) intRenderSectionRegion.getBlockTint(BlockPos pos, ColorResolver resolver) RenderSectionRegion.getFluidState(BlockPos pos) private static intRenderSectionRegion.getModelData(BlockPos pos) void -
Uses of BlockPos in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map<BlockPos, GameTestBlockHighlightRenderer.Marker> GameTestBlockHighlightRenderer.markersMethods in net.minecraft.client.renderer.debug that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBeeDebugRenderer.createHiveBlacklistMap(DebugValueAccess debugValues) BeeDebugRenderer.getGhostHives(DebugValueAccess debugValues) BrainDebugRenderer.getGhostPois(DebugValueAccess debugValues) Methods in net.minecraft.client.renderer.debug with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static voidSolidFaceRenderer.addFaceIfSturdy(BlockPos blockPos, BlockState blockState, BlockGetter level, Direction direction, Vec3 cornerA, Vec3 cornerB, int color) private static floatPathfindingRenderer.distanceToCamera(BlockPos n, double camX, double camY, double camZ) private Collection<UUID> BeeDebugRenderer.getHiveMembers(BlockPos hivePos, DebugValueAccess debugValues) private StringBeeDebugRenderer.getPosDescription(Entity entity, BlockPos pos) private static voidBeeDebugRenderer.highlightHive(BlockPos hivePos) private static voidPoiDebugRenderer.highlightPoi(BlockPos poiPos) voidGameTestBlockHighlightRenderer.highlightPos(BlockPos absolutePos, BlockPos relativePos) private voidSupportBlockRenderer.highlightPosition(BlockPos pos, double offset, int color) private static voidRaidDebugRenderer.highlightRaidCenter(BlockPos raidCenter) private voidBeeDebugRenderer.renderGhostHive(BlockPos ghostHivePos, List<String> hiveMemberNames) private voidPoiDebugRenderer.renderGhostPoi(BlockPos poiPos, List<String> names) private voidBeeDebugRenderer.renderHiveInfo(BlockPos hivePos, DebugHiveInfo hive, Collection<UUID> beesWhoBlacklistThisHive, DebugValueAccess debugValues) private voidGameTestBlockHighlightRenderer.renderMarker(BlockPos pos, GameTestBlockHighlightRenderer.Marker marker) private static voidRaidDebugRenderer.renderTextOverBlock(String text, BlockPos pos, int color) private static voidBeeDebugRenderer.renderTextOverHive(String text, BlockPos hivePos, int row, int color) -
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 entity, BlockPos blockPos) protected intBlazeRenderer.getBlockLightLevel(Blaze entity, BlockPos blockPos) protected intDisplayRenderer.getBlockLightLevel(T entity, BlockPos blockPos) protected intDragonFireballRenderer.getBlockLightLevel(DragonFireball entity, BlockPos blockPos) protected intEntityRenderer.getBlockLightLevel(T entity, BlockPos blockPos) protected intExperienceOrbRenderer.getBlockLightLevel(ExperienceOrb entity, BlockPos blockPos) protected intGlowSquidRenderer.getBlockLightLevel(GlowSquid entity, BlockPos blockPos) protected intItemFrameRenderer.getBlockLightLevel(T entity, BlockPos blockPos) protected intMagmaCubeRenderer.getBlockLightLevel(MagmaCube entity, BlockPos blockPos) protected intShulkerBulletRenderer.getBlockLightLevel(ShulkerBullet entity, BlockPos blockPos) protected intThrownItemRenderer.getBlockLightLevel(T entity, BlockPos blockPos) protected intVexRenderer.getBlockLightLevel(Vex entity, BlockPos blockPos) protected intWitherBossRenderer.getBlockLightLevel(WitherBoss entity, BlockPos blockPos) protected intWitherSkullRenderer.getBlockLightLevel(WitherSkull entity, BlockPos blockPos) protected intDisplayRenderer.getSkyLightLevel(T entity, BlockPos blockPos) protected intEntityRenderer.getSkyLightLevel(T entity, BlockPos blockPos) -
Uses of BlockPos in net.minecraft.client.renderer.item.properties.numeric
Methods in net.minecraft.client.renderer.item.properties.numeric with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static doubleCompassAngleState.getAngleFromEntityToPos(ItemOwner owner, BlockPos position) private floatCompassAngleState.getRotationTowardsCompassTarget(ItemOwner owner, long gameTime, BlockPos compassTargetPos) -
Uses of BlockPos in net.minecraft.client.renderer.state
Fields in net.minecraft.client.renderer.state declared as BlockPosModifier and TypeFieldDescriptionCameraRenderState.blockPosprivate final BlockPosBlockOutlineRenderState.posThe field for theposrecord component.Methods in net.minecraft.client.renderer.state that return BlockPosModifier and TypeMethodDescriptionBlockOutlineRenderState.pos()Returns the value of theposrecord component.Constructors in net.minecraft.client.renderer.state with parameters of type BlockPosModifierConstructorDescriptionBlockBreakingRenderState(ClientLevel level, BlockPos pos, int progress) BlockOutlineRenderState(BlockPos pos, boolean isTranslucent, boolean highContrast, VoxelShape shape) Deprecated.BlockOutlineRenderState(BlockPos pos, boolean isTranslucent, boolean highContrast, VoxelShape shape, List<CustomBlockOutlineRenderer> customRenderers) BlockOutlineRenderState(BlockPos pos, boolean isTranslucent, boolean highContrast, VoxelShape shape, @Nullable VoxelShape collisionShape, @Nullable VoxelShape occlusionShape, @Nullable VoxelShape interactionShape) Deprecated.BlockOutlineRenderState(BlockPos pos, boolean isTranslucent, boolean highContrast, VoxelShape shape, @Nullable VoxelShape collisionShape, @Nullable VoxelShape occlusionShape, @Nullable VoxelShape interactionShape, List<CustomBlockOutlineRenderer> customRenderers) Creates an instance of aBlockOutlineRenderStaterecord class. -
Uses of BlockPos in net.minecraft.client.resources.model
Methods in net.minecraft.client.resources.model with parameters of type BlockPosModifier and TypeMethodDescriptionvoidWeightedVariants.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> output) @Nullable ObjectWeightedVariants.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) booleanWeightedVariants.hasTranslucency(BlockAndTintGetter level, BlockPos pos, BlockState state) WeightedVariants.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of BlockPos in net.minecraft.client.resources.sounds
Constructors in net.minecraft.client.resources.sounds with parameters of type BlockPosModifierConstructorDescriptionSimpleSoundInstance(SoundEvent sound, SoundSource source, float volume, float pitch, RandomSource random, BlockPos pos) -
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 percent) Called when a player hits block to destroy it.voidTutorial.onDestroyBlock(ClientLevel level, BlockPos pos, BlockState state, float percent) default voidTutorialStepInstance.onDestroyBlock(ClientLevel level, BlockPos pos, BlockState state, float percent) 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 update) 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 sender) 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.coreClasses in net.minecraft.core that implement interfaces with type arguments of type BlockPosFields 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 steps) BlockPos.atY(int y) BlockPos.below()BlockPos.below(int steps) SectionPos.center()static BlockPosBlockPos.containing(double x, double y, double z) static BlockPosBlockPos.containing(Position pos) BlockPos.east()BlockPos.east(int steps) 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 scale) BlockPos.MutableBlockPos.multiply(int scale) BlockPos.north()BlockPos.north(int steps) static BlockPosBlockPos.of(long blockNode) BlockPos.MutableBlockPos.offset(int x, int y, int z) BlockPos.offset(int x, int y, int z) SectionPos.origin()GlobalPos.pos()Returns the value of theposrecord component.BlockPos.MutableBlockPos.relative(Direction.Axis axis, int steps) BlockPos.relative(Direction.Axis axis, int steps) SectionPos.relativeToBlockPos(short relative) BlockPos.south()BlockPos.south(int steps) BlockPos.west()BlockPos.west(int steps) Methods in net.minecraft.core that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBlockPos.betweenClosed(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) Creates an Iterable that returns all positions in the box specified by the given corners.BlockPos.betweenClosed(BlockPos a, BlockPos b) BlockPos.betweenClosed(AABB box) BlockPos.betweenClosedStream(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) BlockPos.betweenClosedStream(BlockPos a, BlockPos b) BlockPos.betweenClosedStream(BoundingBox boundingBox) BlockPos.betweenClosedStream(AABB box) BlockPos.betweenCornersInDirection(int firstCornerX, int firstCornerY, int firstCornerZ, int secondCornerX, int secondCornerY, int secondCornerZ, Vec3 direction) BlockPos.betweenCornersInDirection(BlockPos firstCorner, BlockPos secondCorner, Vec3 direction) BlockPos.betweenCornersInDirection(AABB aabb, Vec3 direction) SectionPos.blocksInside()BlockPos.findClosestMatch(BlockPos startPos, int horizontalSearchRadius, int verticalSearchRadius, Predicate<BlockPos> predicate) BlockBox.iterator()BlockPos.randomBetweenClosed(RandomSource random, int limit, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) BlockPos.randomInCube(RandomSource random, int limit, BlockPos center, int sizeToScanInAllDirections) BlockPos.squareOutSouthEast(BlockPos from) Deprecated.BlockPos.withinManhattan(BlockPos origin, int reachX, int reachY, int reachZ) BlockPos.withinManhattanStream(BlockPos origin, int reachX, int reachY, int reachZ) 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 blockPos, it.unimi.dsi.fastutil.longs.LongConsumer sectionConsumer) static longBlockPos.betweenClosed(BlockPos a, BlockPos b) BlockPos.betweenClosedStream(BlockPos a, BlockPos b) BlockPos.betweenCornersInDirection(BlockPos firstCorner, BlockPos secondCorner, Vec3 direction) static intBlockPos.breadthFirstTraversal(BlockPos startPos, int maxDepth, int maxCount, BiConsumer<BlockPos, Consumer<BlockPos>> neighbourProvider, Function<BlockPos, BlockPos.TraversalNodeStatus> nodeProcessor) booleanBlockPos.findClosestMatch(BlockPos startPos, int horizontalSearchRadius, int verticalSearchRadius, Predicate<BlockPos> predicate) booleanGlobalPos.isCloseEnough(ResourceKey<Level> dimension, BlockPos pos, int maxDistance) static BlockPosstatic BlockPosstatic BlockBoxstatic BlockBoxstatic GlobalPosGlobalPos.of(ResourceKey<Level> dimension, BlockPos pos) static SectionPosBlockPos.randomInCube(RandomSource random, int limit, BlockPos center, int sizeToScanInAllDirections) static shortSectionPos.sectionRelativePos(BlockPos pos) static Iterable<BlockPos.MutableBlockPos> BlockPos.spiralAround(BlockPos center, int radius, Direction firstDirection, Direction secondDirection) BlockPos.squareOutSouthEast(BlockPos from) Deprecated.BlockPos.withinManhattan(BlockPos origin, int reachX, int reachY, int reachZ) BlockPos.withinManhattanStream(BlockPos origin, int reachX, int reachY, int reachZ) 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 maxDepth, int maxCount, BiConsumer<BlockPos, Consumer<BlockPos>> neighbourProvider, Function<BlockPos, BlockPos.TraversalNodeStatus> nodeProcessor) static intBlockPos.breadthFirstTraversal(BlockPos startPos, int maxDepth, int maxCount, BiConsumer<BlockPos, Consumer<BlockPos>> neighbourProvider, Function<BlockPos, BlockPos.TraversalNodeStatus> nodeProcessor) static intBlockPos.breadthFirstTraversal(BlockPos startPos, int maxDepth, int maxCount, BiConsumer<BlockPos, Consumer<BlockPos>> neighbourProvider, Function<BlockPos, BlockPos.TraversalNodeStatus> nodeProcessor) BlockPos.findClosestMatch(BlockPos startPos, int horizontalSearchRadius, int verticalSearchRadius, Predicate<BlockPos> predicate) Constructors in net.minecraft.core with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.core.cauldron
Methods in net.minecraft.core.cauldron with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static InteractionResultCauldronInteraction.bannerInteraction(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand) private static InteractionResultCauldronInteraction.dyedItemIteration(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand) static InteractionResultCauldronInteraction.emptyBucket(Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand, BlockState newState, SoundEvent soundEvent) static InteractionResultCauldronInteraction.fillBucket(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand, ItemStack newItem, Predicate<BlockState> canFill, SoundEvent soundEvent) private static InteractionResultCauldronInteraction.fillLavaInteraction(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand) private static InteractionResultCauldronInteraction.fillPowderSnowInteraction(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand) private static InteractionResultCauldronInteraction.fillWaterInteraction(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand) CauldronInteraction.interact(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand) private static booleanCauldronInteraction.isUnderWater(Level level, BlockPos pos) private static InteractionResultCauldronInteraction.shulkerBoxInteraction(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack itemInHand) -
Uses of BlockPos in net.minecraft.core.dispenser
Fields in net.minecraft.core.dispenser declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosBlockSource.posThe field for theposrecord component.Methods in net.minecraft.core.dispenser that return BlockPosModifier and TypeMethodDescriptionBlockSource.pos()Returns the value of theposrecord component.Methods in net.minecraft.core.dispenser with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static RailShapeMinecartDispenseItemBehavior.getRailShape(BlockState blockFront, ServerLevel level, BlockPos pos) private static booleanShearsDispenseItemBehavior.tryShearBeehive(ServerLevel level, ItemStack tool, BlockPos pos) private static booleanShearsDispenseItemBehavior.tryShearEntity(ServerLevel level, BlockPos pos, ItemStack tool) Constructors in net.minecraft.core.dispenser with parameters of type BlockPosModifierConstructorDescriptionBlockSource(ServerLevel level, BlockPos pos, BlockState state, DispenserBlockEntity blockEntity) Creates an instance of aBlockSourcerecord class. -
Uses of BlockPos in net.minecraft.core.particles
Fields in net.minecraft.core.particles declared as BlockPosModifier and TypeFieldDescriptionprivate final @Nullable BlockPosBlockParticleOption.posNeo: Position of the block this particle was spawned for, if available, to provide model data for the particle texture selectionMethods in net.minecraft.core.particles that return BlockPosModifier and TypeMethodDescription@Nullable BlockPosBlockParticleOption.getPos()Neo: returns the position of the block this particle was spawned for, if availableConstructors in net.minecraft.core.particles with parameters of type BlockPosModifierConstructorDescriptionBlockParticleOption(ParticleType<BlockParticleOption> type, BlockState state, @Nullable BlockPos pos) Neo: construct aBlockParticleOptionfor the given type andBlockStateand optionally the position of the block this particle is being spawned for -
Uses of BlockPos in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosGameTestAssertPosException.absolutePosprivate final BlockPosStructureGridSpawner.firstTestNorthWestCornerprivate final BlockPosGameTestAssertPosException.relativePosprivate @Nullable BlockPosGameTestInfo.testBlockPosFields in net.minecraft.gametest.framework with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final UnaryOperator<Supplier<Stream<BlockPos>>> TestFinder.Builder.structureBlockPosFinderWrapperMethods in net.minecraft.gametest.framework that return BlockPosModifier and TypeMethodDescriptionGameTestHelper.absolutePos(BlockPos relativePos) private static BlockPosTestCommand.createTestPositionAround(CommandSourceStack source) private BlockPosBlockBasedTestInstance.findStartBlock(GameTestHelper helper) @Nullable BlockPosGameTestAssertPosException.getAbsolutePos()@Nullable BlockPosGameTestAssertPosException.getRelativePos()@Nullable BlockPosGameTestInfo.getTestBlockPos()GameTestInfo.getTestOrigin()static BlockPosStructureUtils.getTransformedFarCorner(BlockPos structurePosition, Vec3i size, Rotation rotation) GameTestHelper.relativePos(BlockPos absolutePos) Methods in net.minecraft.gametest.framework that return types with arguments of type BlockPosModifier and TypeMethodDescriptionStructureUtils.findNearestTest(BlockPos relativeToPos, int searchRadius, ServerLevel level) BlockBasedTestInstance.findTestBlocks(GameTestHelper helper, TestBlockMode mode) StructureUtils.findTestBlocks(BlockPos centerPos, int searchRadius, ServerLevel level) StructureUtils.findTestContainingPos(BlockPos pos, int searchRadius, ServerLevel level) TestFinder.findTestPos()TestPosFinder.findTestPos()StructureUtils.lookedAtTestPos(BlockPos pos, Entity camera, ServerLevel level) Methods in net.minecraft.gametest.framework with parameters of type BlockPosModifier and TypeMethodDescriptionGameTestHelper.absolutePos(BlockPos relativePos) voidGameTestHelper.assertAtTickTimeContainerContains(long time, BlockPos pos, Item item) voidGameTestHelper.assertAtTickTimeContainerEmpty(long time, BlockPos pos) voidGameTestHelper.assertBlock(BlockPos pos, Predicate<Block> predicate, Function<Block, Component> errorMessage) <T extends BlockEntity>
voidGameTestHelper.assertBlockEntityData(BlockPos pos, Class<T> type, Predicate<T> predicate, Supplier<Component> errorMessage) voidGameTestHelper.assertBlockNotPresent(Block blockType, BlockPos pos) voidGameTestHelper.assertBlockPresent(Block blockType, BlockPos pos) <T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty(BlockPos pos, Property<T> property, Predicate<T> predicate, Component errorMessage) <T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty(BlockPos pos, Property<T> property, T value) voidGameTestHelper.assertBlockState(BlockPos pos, Predicate<BlockState> predicate, Function<BlockState, Component> errorMessage) voidGameTestHelper.assertBlockState(BlockPos pos, BlockState expected) voidGameTestHelper.assertBlockTag(TagKey<Block> tag, BlockPos pos) voidGameTestHelper.assertContainerContains(BlockPos pos, Item item) voidGameTestHelper.assertContainerContainsSingle(BlockPos pos, Item item) voidGameTestHelper.assertContainerEmpty(BlockPos pos) voidGameTestHelper.assertEntitiesPresent(EntityType<?> entityType, BlockPos pos, int numOfExpectedEntities, double distance) <E extends Entity, T>
voidGameTestHelper.assertEntityData(BlockPos pos, EntityType<E> entityType, Function<? super E, T> dataAccessor, @Nullable T data) <E extends Entity, T>
voidGameTestHelper.assertEntityData(BlockPos pos, EntityType<E> entityType, Predicate<E> test) voidGameTestHelper.assertEntityInstancePresent(Entity entity, BlockPos pos) voidGameTestHelper.assertEntityInstancePresent(Entity entity, BlockPos pos, double inflate) <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<?> entityType, BlockPos pos) voidGameTestHelper.assertEntityPresent(EntityType<?> entityType, BlockPos pos) voidGameTestHelper.assertEntityPresent(EntityType<?> entityType, BlockPos pos, double distance) GameTestHelper.assertionException(BlockPos pos, String descriptionId, Object... arguments) GameTestHelper.assertionException(BlockPos pos, Component description) voidGameTestHelper.assertItemEntityCountIs(Item itemType, BlockPos pos, double distance, int count) voidGameTestHelper.assertItemEntityNotPresent(Item itemType, BlockPos pos, double distance) voidGameTestHelper.assertItemEntityPresent(Item itemType, BlockPos pos, double distance) voidGameTestHelper.assertRedstoneSignal(BlockPos pos, Direction direction, IntPredicate levelPredicate, Supplier<Component> errorMessage) voidGameTestHelper.assertSameBlockState(BlockPos sourcePos, BlockPos targetPos) voidGameTestHelper.assertSameBlockStates(BoundingBox sourceBoundingBox, BlockPos targetBoundingBoxCorner) private static voidStructureUtils.clearBlock(int airIfAboveThisY, BlockPos pos, ServerLevel level) private static Optional<GameTestInfo> TestCommand.createGameTestInfo(BlockPos testBlockPos, CommandSourceStack source, RetryOptions retryOptions) static TestInstanceBlockEntityStructureUtils.createNewEmptyTest(Identifier id, BlockPos structurePos, Vec3i size, Rotation rotation, ServerLevel level) private @Nullable TestInstanceBlockEntityGameTestInfo.createTestInstanceBlock(BlockPos testPos, Rotation rotation, ServerLevel level) voidGameTestHelper.despawnItem(BlockPos pos, double distance) voidGameTestHelper.destroyBlock(BlockPos pos) private static booleanStructureUtils.doesStructureContain(BlockPos testInstanceBlockPos, BlockPos pos, ServerLevel level) voidStructureUtils.findNearestTest(BlockPos relativeToPos, int searchRadius, ServerLevel level) StructureUtils.findTestBlocks(BlockPos centerPos, int searchRadius, ServerLevel level) StructureUtils.findTestContainingPos(BlockPos pos, int searchRadius, ServerLevel level) <T extends BlockEntity>
TGameTestHelper.getBlockEntity(BlockPos pos, Class<T> type) GameTestHelper.getBlockState(BlockPos pos) GameTestHelper.getEntities(EntityType<T> entityType, BlockPos pos, double distance) static BoundingBoxStructureUtils.getStructureBoundingBox(BlockPos northWestCorner, Vec3i size, Rotation rotation) static BlockPosStructureUtils.getTransformedFarCorner(BlockPos structurePosition, Vec3i size, Rotation rotation) StructureUtils.lookedAtTestPos(BlockPos pos, Entity camera, ServerLevel level) voidvoidvoidGameTestHelper.pressButton(BlockPos buttonPos) voidvoidGameTestHelper.pulseRedstone(BlockPos pos, long duration) voidGameTestHelper.randomTick(BlockPos pos) GameTestHelper.relativePos(BlockPos absolutePos) voidvoidvoidGameTestHelper.setBlock(BlockPos blockPos, BlockState state) voidGameTestHelper.setBlock(BlockPos blockPos, BlockState blockState, Direction direction) voidGameTestInfo.setTestBlockPos(@Nullable BlockPos testBlockPos) <E extends Entity>
EGameTestHelper.spawn(EntityType<E> entityType, BlockPos pos) GameTestHelper.spawn(EntityType<E> entityType, BlockPos pos, int amount) <E extends Mob>
EGameTestHelper.spawnWithNoFreeWill(EntityType<E> entityType, BlockPos pos) voidGameTestHelper.succeedWhenBlockPresent(Block block, BlockPos pos) <E extends Entity, T>
voidGameTestHelper.succeedWhenEntityData(BlockPos pos, EntityType<E> entityType, Function<E, T> dataAccessor, T data) voidGameTestHelper.succeedWhenEntityNotPresent(EntityType<?> entityType, BlockPos pos) voidGameTestHelper.succeedWhenEntityPresent(EntityType<?> entityType, BlockPos pos) voidvoidGameTestHelper.tickPrecipitation(BlockPos pos) voidvoidvoidGameTestHelper.useBlock(BlockPos relativePos, Player player, BlockHitResult hitResult) Method parameters in net.minecraft.gametest.framework with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidGameTestHelper.forEveryBlockInStructure(Consumer<BlockPos> forBlock) Constructors in net.minecraft.gametest.framework with parameters of type BlockPosModifierConstructorDescriptionGameTestAssertPosException(Component baseMessage, BlockPos absolutePos, BlockPos relativePos, int tick) StructureGridSpawner(BlockPos firstTestNorthWestCorner, int testsPerRow, boolean clearOnBatch) -
Uses of BlockPos in net.minecraft.gizmos
Methods in net.minecraft.gizmos with parameters of type BlockPosModifier and TypeMethodDescriptionstatic GizmoPropertiesGizmos.billboardTextOverBlock(String text, BlockPos pos, int row, int color, float scale) static GizmoPropertiesGizmos.cuboid(BlockPos blockPos, float padding, GizmoStyle style) static GizmoPropertiesGizmos.cuboid(BlockPos blockPos, GizmoStyle style) -
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 input) Methods in net.minecraft.network with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidFriendlyByteBuf.writeBlockPos(io.netty.buffer.ByteBuf output, BlockPos pos) FriendlyByteBuf.writeBlockPos(BlockPos pos) Writes a BlockPos encoded as a long to the buffer. -
Uses of BlockPos in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosClientboundGameTestHighlightPosPacket.absolutePosThe field for theabsolutePosrecord component.private final BlockPosClientboundDebugBlockValuePacket.blockPosThe field for theblockPosrecord component.private final BlockPosServerboundSetStructureBlockPacket.offsetprivate final BlockPosClientboundBlockDestructionPacket.posprivate final BlockPosClientboundBlockEntityDataPacket.posprivate final BlockPosClientboundBlockEventPacket.posprivate final BlockPosClientboundBlockUpdatePacket.posprivate final BlockPosClientboundLevelEventPacket.posprivate final BlockPosClientboundOpenSignEditorPacket.posprivate final BlockPosServerboundBlockEntityTagQueryPacket.posprivate final BlockPosServerboundJigsawGeneratePacket.posprivate final BlockPosServerboundPickItemFromBlockPacket.posThe field for theposrecord component.private final BlockPosServerboundPlayerActionPacket.posprivate final BlockPosServerboundSetCommandBlockPacket.posprivate final BlockPosServerboundSetJigsawBlockPacket.posprivate final BlockPosServerboundSetStructureBlockPacket.posprivate final BlockPosServerboundSignUpdatePacket.posprivate final BlockPosServerboundTestInstanceBlockActionPacket.posThe field for theposrecord component.private final BlockPosServerboundSetTestBlockPacket.positionThe field for thepositionrecord component.private final BlockPosClientboundGameTestHighlightPosPacket.relativePosThe field for therelativePosrecord component.Methods in net.minecraft.network.protocol.game that return BlockPosModifier and TypeMethodDescriptionClientboundGameTestHighlightPosPacket.absolutePos()Returns the value of theabsolutePosrecord component.ClientboundDebugBlockValuePacket.blockPos()Returns the value of theblockPosrecord component.ServerboundSetStructureBlockPacket.getOffset()ClientboundBlockDestructionPacket.getPos()ClientboundBlockEntityDataPacket.getPos()ClientboundBlockEventPacket.getPos()ClientboundBlockUpdatePacket.getPos()ClientboundLevelEventPacket.getPos()ClientboundOpenSignEditorPacket.getPos()ServerboundBlockEntityTagQueryPacket.getPos()ServerboundJigsawGeneratePacket.getPos()ServerboundPlayerActionPacket.getPos()ServerboundSetCommandBlockPacket.getPos()ServerboundSetJigsawBlockPacket.getPos()ServerboundSetStructureBlockPacket.getPos()ServerboundSignUpdatePacket.getPos()ServerboundPickItemFromBlockPacket.pos()Returns the value of theposrecord component.ServerboundTestInstanceBlockActionPacket.pos()Returns the value of theposrecord component.ServerboundSetTestBlockPacket.position()Returns the value of thepositionrecord component.ClientboundGameTestHighlightPosPacket.relativePos()Returns the value of therelativePosrecord component.Methods in net.minecraft.network.protocol.game with parameters of type BlockPosModifier and TypeMethodDescriptionvoidClientboundLevelChunkPacketData.BlockEntityTagOutput.accept(BlockPos pos, BlockEntityType<?> type, @Nullable CompoundTag tag) Method parameters in net.minecraft.network.protocol.game with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidClientboundSectionBlocksUpdatePacket.runUpdates(BiConsumer<BlockPos, BlockState> updateFunction) 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 state) ClientboundBlockUpdatePacket(BlockGetter level, BlockPos pos) ClientboundDebugBlockValuePacket(BlockPos blockPos, DebugSubscription.Update<?> update) Creates an instance of aClientboundDebugBlockValuePacketrecord class.ClientboundGameTestHighlightPosPacket(BlockPos absolutePos, BlockPos relativePos) Creates an instance of aClientboundGameTestHighlightPosPacketrecord class.ClientboundLevelEventPacket(int type, BlockPos pos, int data, boolean globalEvent) ClientboundOpenSignEditorPacket(BlockPos pos, boolean isFrontText) ServerboundBlockEntityTagQueryPacket(int transactionId, BlockPos pos) ServerboundJigsawGeneratePacket(BlockPos blockPos, int levels, boolean keepJigsaws) ServerboundPickItemFromBlockPacket(BlockPos pos, boolean includeData) Creates an instance of aServerboundPickItemFromBlockPacketrecord class.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 blockPos, Identifier name, Identifier target, Identifier 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 strict, boolean showAir, boolean showBoundingBox, float integrity, long seed) ServerboundSetTestBlockPacket(BlockPos position, TestBlockMode mode, String message) Creates an instance of aServerboundSetTestBlockPacketrecord class.ServerboundSignUpdatePacket(BlockPos pos, boolean isFrontText, String line0, String line1, String line2, String line3) ServerboundTestInstanceBlockActionPacket(BlockPos pos, ServerboundTestInstanceBlockActionPacket.Action action, Optional<ResourceKey<GameTestInstance>> test, Vec3i size, Rotation rotation, boolean ignoreEntities) ServerboundTestInstanceBlockActionPacket(BlockPos pos, ServerboundTestInstanceBlockActionPacket.Action action, TestInstanceBlockEntity.Data data) Creates an instance of aServerboundTestInstanceBlockActionPacketrecord class. -
Uses of BlockPos in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type BlockPosModifier and TypeFieldDescriptionstatic final EntityDataSerializer<BlockPos> EntityDataSerializers.BLOCK_POSstatic final EntityDataSerializer<Optional<BlockPos>> EntityDataSerializers.OPTIONAL_BLOCK_POS -
Uses of BlockPos in net.minecraft.server
Methods in net.minecraft.server with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanMinecraftServer.isUnderSpawnProtection(ServerLevel 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 TypeMethodDescriptionbooleanFillCommand.Affector.affect(ServerLevel level, BlockPos pos) private static intLootCommand.blockDistribute(CommandSourceStack source, BlockPos pos, List<ItemStack> drops, LootCommand.Callback callback) private static intLootCommand.blockReplace(CommandSourceStack source, BlockPos pos, int startSlot, int slotCount, List<ItemStack> drops, LootCommand.Callback callback) private static intItemCommands.blockToBlock(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, BlockPos targetPos, int targetSlot) private static intItemCommands.blockToBlock(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, BlockPos targetPos, int targetSlot, Holder<LootItemFunction> modifier) private static intItemCommands.blockToEntities(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot) private static intItemCommands.blockToEntities(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot, Holder<LootItemFunction> modifier) private static OptionalIntExecuteCommand.checkRegions(ServerLevel level, BlockPos startPos, BlockPos endPos, BlockPos destPos, boolean skipAir) private static intExecuteCommand.countItems(CommandSourceStack source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> predicate) private static intLootCommand.dropBlockLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, BlockPos pos, ItemInstance tool, LootCommand.DropConsumer output) private static intLootCommand.dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, BlockPos pos, ItemInstance tool, LootCommand.DropConsumer output) private static intItemCommands.entityToBlock(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos targetPos, int targetSlot) private static intItemCommands.entityToBlock(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos targetPos, int targetSlot, Holder<LootItemFunction> modifier) private static intFillBiomeCommand.fill(CommandSourceStack source, BlockPos rawFrom, BlockPos rawTo, 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 rawFrom, BlockPos rawTo, Holder<Biome> biome, Predicate<Holder<Biome>> filter, Consumer<Supplier<Component>> successMessageConsumer) private static intDebugPathCommand.fillBlocks(CommandSourceStack source, BlockPos target) @Nullable BlockInputFillCommand.Filter.filter(BoundingBox region, BlockPos pos, BlockInput block, 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 exceptionType) 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<?, ?>> featureHolder, BlockPos pos) static intPlaceCommand.placeJigsaw(CommandSourceStack source, Holder<StructureTemplatePool> pool, Identifier target, int maxDepth, BlockPos pos) static intPlaceCommand.placeStructure(CommandSourceStack source, Holder.Reference<Structure> structureHolder, BlockPos pos) static intPlaceCommand.placeTemplate(CommandSourceStack source, Identifier template, BlockPos pos, Rotation rotation, Mirror mirror, float integrity, int seed, boolean strict) private static BlockPosprivate static intSetBlockCommand.setBlock(CommandSourceStack source, BlockPos pos, BlockInput block, SetBlockCommand.Mode mode, @Nullable Predicate<BlockInWorld> predicate, boolean strict) private static intItemCommands.setBlockItem(CommandSourceStack source, BlockPos pos, int slot, ItemStack itemStack) private static intSetSpawnCommand.setSpawn(CommandSourceStack source, Collection<ServerPlayer> targets, BlockPos pos, Coordinates rotation) private static intSetWorldSpawnCommand.setSpawn(CommandSourceStack source, BlockPos pos, Coordinates rotation) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagArgument.Result<?> name, BlockPos sourcePos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, Duration taskDuration) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagKeyArgument.Result<?> name, BlockPos sourcePos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, Duration taskDuration) private static intLocateCommand.showLocateResult(CommandSourceStack source, BlockPos sourcePos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, String foundName, Duration taskDuration) private static intDebugMobSpawningCommand.spawnMobs(CommandSourceStack source, MobCategory mobCategory, BlockPos at) Method parameters in net.minecraft.server.commands with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagArgument.Result<?> name, BlockPos sourcePos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, Duration taskDuration) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagKeyArgument.Result<?> name, BlockPos sourcePos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, Duration taskDuration) private static intLocateCommand.showLocateResult(CommandSourceStack source, BlockPos sourcePos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, String foundName, Duration taskDuration) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext context, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> from, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> to, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> block, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filter) Constructors in net.minecraft.server.commands with parameters of type BlockPosModifierConstructorDescriptionprivateCloneBlockInfo(BlockPos pos, BlockState state, @Nullable CloneCommands.CloneBlockEntityInfo blockEntityInfo, BlockState previousStateAtDestination) Creates an instance of aCloneBlockInforecord class.privateDimensionAndPosition(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 @Nullable BlockPosServerPlayer.raidOmenPositionprivate final BlockPosPlayerSpawnFinder.spawnSuggestionMethods in net.minecraft.server.level that return BlockPosModifier and TypeMethodDescriptionServerPlayer.adjustSpawnLocation(ServerLevel level, BlockPos spawnSuggestion) protected BlockPosServerLevel.findLightningTargetAround(BlockPos pos) @Nullable BlockPosServerLevel.findNearestMapStructure(TagKey<Structure> structureTag, BlockPos origin, int maxSearchRadius, boolean createReference) protected static @Nullable BlockPosPlayerSpawnFinder.getOverworldRespawnPos(ServerLevel level, int x, int z) BlockDestructionProgress.getPos()@Nullable BlockPosServerPlayer.getRaidOmenPosition()static @Nullable BlockPosPlayerSpawnFinder.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>> biomeTest, BlockPos origin, int maxSearchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical) ServerLevel.findLightningRod(BlockPos center) Methods in net.minecraft.server.level with parameters of type BlockPosModifier and TypeMethodDescriptionServerPlayer.adjustSpawnLocation(ServerLevel level, BlockPos spawnSuggestion) booleanServerLevel.anyPlayerCloseEnoughForSpawning(BlockPos pos) (package private) booleanChunkMap.anyPlayerCloseEnoughTo(BlockPos pos, int maxDistance) private booleanServerPlayer.bedBlocked(BlockPos pos, Direction direction) private booleanServerPlayer.bedInRange(BlockPos pos, Direction direction) booleanChunkHolder.blockChanged(BlockPos pos) voidServerChunkCache.blockChanged(BlockPos pos) voidServerLevel.blockEvent(BlockPos pos, Block block, int b0, int b1) private voidChunkHolder.broadcastBlockEntity(List<ServerPlayer> players, Level level, BlockPos blockPos) private voidChunkHolder.broadcastBlockEntityIfNeeded(List<ServerPlayer> players, Level level, BlockPos pos, BlockState state) private static floatServerPlayer.RespawnPosAngle.calculateLookAtYaw(Vec3 position, BlockPos lookAtBlockPos) booleanServerLevel.canSpreadFireAround(BlockPos pos) voidThreadedLevelLightEngine.checkBlock(BlockPos pos) protected voidServerPlayer.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) private voidServerPlayerGameMode.debugLogging(BlockPos pos, boolean allGood, int sequence, String message) voidServerPlayerGameMode.destroyAndAck(BlockPos pos, int sequence, String exitId) booleanServerPlayerGameMode.destroyBlock(BlockPos pos) Attempts to harvest a blockbooleanWorldGenRegion.destroyBlock(BlockPos pos, boolean dropResources, @Nullable Entity breaker, int updateLimit) voidServerLevel.destroyBlockProgress(int id, BlockPos blockPos, int progress) booleanWorldGenRegion.ensureCanWrite(BlockPos pos) ServerLevel.findClosestBiome3d(Predicate<Holder<Biome>> biomeTest, BlockPos origin, int maxSearchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical) ServerLevel.findLightningRod(BlockPos center) protected BlockPosServerLevel.findLightningTargetAround(BlockPos pos) @Nullable BlockPosServerLevel.findNearestMapStructure(TagKey<Structure> structureTag, BlockPos origin, int maxSearchRadius, boolean createReference) static CompletableFuture<Vec3> PlayerSpawnFinder.findSpawn(ServerLevel level, BlockPos spawnSuggestion) private static Vec3PlayerSpawnFinder.fixupSpawnHeight(CollisionGetter level, BlockPos spawnPos) @Nullable BlockEntityWorldGenRegion.getBlockEntity(BlockPos pos) WorldGenRegion.getBlockState(BlockPos pos) ServerLevel.getCurrentDifficultyAt(BlockPos pos) WorldGenRegion.getCurrentDifficultyAt(BlockPos pos) WorldGenRegion.getFluidState(BlockPos pos) floatServerLevel.getMoonBrightness(BlockPos pos) @Nullable RaidvoidServerLevel.globalLevelEvent(int type, BlockPos pos, int data) voidDemoMode.handleBlockBreakAction(BlockPos pos, ServerboundPlayerActionPacket.Action action, Direction direction, int maxY, int sequence) voidServerPlayerGameMode.handleBlockBreakAction(BlockPos pos, ServerboundPlayerActionPacket.Action action, Direction direction, int maxY, int sequence) private floatServerPlayerGameMode.incrementDestroyProgress(BlockState blockState, BlockPos delayedDestroyPos, int destroyStartTick) voidServerLevel.invalidateCapabilities(BlockPos pos) booleanServerLevel.isCloseToVillage(BlockPos pos, int sectionDistance) booleanWorldGenRegion.isFluidAtPosition(BlockPos pos, Predicate<FluidState> predicate) booleanServerLevel.isPositionEntityTicking(BlockPos pos) booleanprivate booleanServerPlayer.isReachableBedBlock(BlockPos bedBlockPos) booleanWorldGenRegion.isStateAtPosition(BlockPos pos, Predicate<BlockState> predicate) booleanvoidServerLevel.levelEvent(@Nullable Entity source, int type, BlockPos pos, int data) voidWorldGenRegion.levelEvent(@Nullable Entity source, int type, BlockPos pos, int data) private voidWorldGenRegion.markPosForPostprocessing(BlockPos blockPos) booleanServerLevel.mayInteract(Entity entity, BlockPos pos) booleanServerPlayer.mayInteract(ServerLevel level, BlockPos pos) voidServerLevel.neighborChanged(BlockPos pos, Block changedBlock, @Nullable Orientation orientation) voidServerLevel.neighborChanged(BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) private static booleanPlayerSpawnFinder.noCollisionNoLiquid(CollisionGetter level, BlockPos pos) static ServerPlayer.RespawnPosAngleprotected voidServerPlayer.onChangedBlock(ServerLevel level, BlockPos pos) voidWorldGenRegion.playSound(@Nullable Entity except, BlockPos pos, SoundEvent sound, SoundSource source, float volume, float pitch) voidServerLevel.registerCapabilityListener(BlockPos pos, ICapabilityInvalidationListener listener) Register a listener for capability invalidation.private booleanServerPlayerGameMode.removeBlock(BlockPos pos, BlockState state, boolean canHarvest, ItemStack toolStack) Patched-in method that handles actual removal of blocks forServerPlayerGameMode.destroyBlock(BlockPos).booleanWorldGenRegion.removeBlock(BlockPos pos, boolean movedByPiston) voidServerLevel.sendBlockUpdated(BlockPos pos, BlockState old, BlockState current, int updateFlags) Flags are as in setBlockStatebooleanWorldGenRegion.setBlock(BlockPos pos, BlockState blockState, int updateFlags, int updateLimit) voidServerPlayer.setRaidOmenPosition(BlockPos raidOmenPosition) com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> ServerPlayer.startSleepInBed(BlockPos pos) voidServerPlayer.startSleeping(BlockPos bedPosition) private voidprivate voidvoidServerLevel.tickPrecipitation(BlockPos pos) voidServerLevel.updateNeighborsAt(BlockPos pos, Block sourceBlock) voidServerLevel.updateNeighborsAt(BlockPos pos, Block sourceBlock, @Nullable Orientation orientation) voidServerLevel.updateNeighborsAtExceptFromFacing(BlockPos pos, Block blockObject, Direction skipDirection, @Nullable Orientation orientation) voidServerLevel.updateNeighboursOnBlockSet(BlockPos pos, BlockState oldState) voidServerLevel.updatePOIOnBlockStateChange(BlockPos pos, BlockState oldState, BlockState newState) Constructors in net.minecraft.server.level with parameters of type BlockPosModifierConstructorDescriptionBlockDestructionProgress(int id, BlockPos pos) privatePlayerSpawnFinder(ServerLevel level, BlockPos spawnSuggestion, int radius) -
Uses of BlockPos in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static voidServerGamePacketListenerImpl.addBlockDataToItem(BlockState blockState, ServerLevel level, BlockPos pos, ItemStack itemStack) -
Uses of BlockPos in net.minecraft.util
Fields in net.minecraft.util declared as BlockPosModifier and TypeFieldDescriptionfinal BlockPosBlockUtil.FoundRectangle.minCornerStarting position of the rectangle represented by this resultMethods in net.minecraft.util that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBlockUtil.getTopConnectedBlock(BlockGetter level, BlockPos pos, Block bodyBlock, Direction growthDirection, Block headBlock) Methods in net.minecraft.util with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanSpawnUtil.Strategy.canSpawnOn(ServerLevel level, BlockPos pos, BlockState blockState, BlockPos abovePos, BlockState aboveState) static BlockUtil.FoundRectangleBlockUtil.getLargestRectangleAround(BlockPos center, Direction.Axis axis1, int limit1, Direction.Axis axis2, int limit2, Predicate<BlockPos> test) Finds the rectangle with the largest area containing centerPos within the blocks specified by the predicateBlockUtil.getTopConnectedBlock(BlockGetter level, BlockPos pos, Block bodyBlock, Direction growthDirection, Block headBlock) 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 face, ParticleOptions particle, Vec3 speed, double stepFactor) static voidParticleUtils.spawnParticles(LevelAccessor level, BlockPos pos, int count, double spreadWidth, double spreadHeight, boolean allowFloatingParticles, ParticleOptions particle) static voidParticleUtils.spawnParticlesAlongAxis(Direction.Axis attachedAxis, Level level, BlockPos pos, double radius, ParticleOptions particle, UniformInt sparkCount) static voidParticleUtils.spawnParticlesOnBlockFace(Level level, BlockPos pos, ParticleOptions particle, IntProvider particlesPerFaceRange, Direction face, Supplier<Vec3> speedSupplier, double stepFactor) static voidParticleUtils.spawnParticlesOnBlockFaces(Level level, BlockPos pos, ParticleOptions particle, IntProvider particlesPerFaceRange) static voidParticleUtils.spawnSmashAttackParticles(LevelAccessor level, BlockPos pos, int count) SpawnUtil.trySpawnMob(EntityType<T> entityType, EntitySpawnReason spawnReason, ServerLevel level, BlockPos start, int spawnAttempts, int spawnRangeXZ, int spawnRangeY, SpawnUtil.Strategy strategy, boolean checkCollisions) Method parameters in net.minecraft.util with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic BlockUtil.FoundRectangleBlockUtil.getLargestRectangleAround(BlockPos center, Direction.Axis axis1, int limit1, Direction.Axis axis2, int limit2, Predicate<BlockPos> test) Finds the rectangle with the largest area containing centerPos within the blocks specified by the predicateprivate static intBlockUtil.getLimit(Predicate<BlockPos> test, BlockPos.MutableBlockPos pos, Direction direction, int limit) Finds the distance we can travel in the given direction while the predicate returns trueConstructors in net.minecraft.util with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.util.debug
Fields in net.minecraft.util.debug declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosDebugPoiInfo.posThe field for theposrecord component.Fields in net.minecraft.util.debug with type parameters of type BlockPosModifier and TypeFieldDescriptionDebugBeeInfo.blacklistedHivesThe field for theblacklistedHivesrecord component.private final Map<BlockPos, TrackingDebugSynchronizer.ValueSource<T>> TrackingDebugSynchronizer.SourceSynchronizer.blockEntitySourcesDebugBeeInfo.flowerPosThe field for theflowerPosrecord component.DebugBeeInfo.hivePosThe field for thehivePosrecord component.DebugBreezeInfo.jumpTargetThe field for thejumpTargetrecord component.static final DebugSubscription<BlockPos> DebugSubscriptions.NEIGHBOR_UPDATESDebugBrainDump.poisThe field for thepoisrecord component.DebugBrainDump.potentialPoisThe field for thepotentialPoisrecord component.static final DebugSubscription<List<BlockPos>> DebugSubscriptions.RAIDSMethods in net.minecraft.util.debug that return BlockPosModifier and TypeMethodDescriptionDebugPoiInfo.pos()Returns the value of theposrecord component.Methods in net.minecraft.util.debug that return types with arguments of type BlockPosModifier and TypeMethodDescriptionDebugBeeInfo.blacklistedHives()Returns the value of theblacklistedHivesrecord component.DebugBeeInfo.flowerPos()Returns the value of theflowerPosrecord component.DebugBrainDump.getKnownBlockPositions(Brain<?> brain, MemoryModuleType<GlobalPos>... memories) DebugBeeInfo.hivePos()Returns the value of thehivePosrecord component.DebugBreezeInfo.jumpTarget()Returns the value of thejumpTargetrecord component.DebugBrainDump.pois()Returns the value of thepoisrecord component.DebugBrainDump.potentialPois()Returns the value of thepotentialPoisrecord component.Methods in net.minecraft.util.debug with parameters of type BlockPosModifier and TypeMethodDescription<T> voidLevelDebugSynchronizers.broadcastEventToTracking(BlockPos blockPos, DebugSubscription<T> subscription, T value) <T> voidLevelDebugSynchronizers.clearBlockValue(BlockPos blockPos, DebugSubscription<T> subscription) voidLevelDebugSynchronizers.dropBlockEntity(BlockPos blockPos) voidTrackingDebugSynchronizer.SourceSynchronizer.dropBlockEntity(ServerLevel level, BlockPos blockPos) void<T> @Nullable TDebugValueAccess.getBlockValue(DebugSubscription<T> subscription, BlockPos blockPos) booleanbooleanbooleanDebugBrainDump.hasPotentialPoi(BlockPos poiPos) voidTrackingDebugSynchronizer.PoiSynchronizer.onPoiRemoved(ServerLevel level, BlockPos poiPos) voidTrackingDebugSynchronizer.VillageSectionSynchronizer.onPoiRemoved(ServerLevel level, BlockPos poiPos) voidTrackingDebugSynchronizer.PoiSynchronizer.onPoiTicketCountChanged(ServerLevel level, BlockPos poiPos) voidTrackingDebugSynchronizer.SourceSynchronizer.registerBlockEntity(BlockPos blockPos, DebugValueSource.ValueGetter<T> getter) <T> voidLevelDebugSynchronizers.sendBlockValue(BlockPos blockPos, DebugSubscription<T> subscription, T value) private voidTrackingDebugSynchronizer.VillageSectionSynchronizer.sendVillageSectionsPacket(ServerLevel level, BlockPos poiPos) voidMethod parameters in net.minecraft.util.debug with type arguments of type BlockPosModifier and TypeMethodDescription<T> voidDebugValueAccess.forEachBlock(DebugSubscription<T> subscription, BiConsumer<BlockPos, T> consumer) Constructors in net.minecraft.util.debug with parameters of type BlockPosModifierConstructorDescriptionDebugPoiInfo(BlockPos pos, Holder<PoiType> poiType, int freeTicketCount) Creates an instance of aDebugPoiInforecord class.Constructor parameters in net.minecraft.util.debug with type arguments of type BlockPosModifierConstructorDescriptionDebugBeeInfo(Optional<BlockPos> hivePos, Optional<BlockPos> flowerPos, int travelTicks, List<BlockPos> blacklistedHives) Creates an instance of aDebugBeeInforecord class.DebugBeeInfo(Optional<BlockPos> hivePos, Optional<BlockPos> flowerPos, int travelTicks, List<BlockPos> blacklistedHives) Creates an instance of aDebugBeeInforecord class.DebugBrainDump(String name, String profession, int xp, float health, float maxHealth, String inventory, 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 aDebugBrainDumprecord class. -
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> list) static voidContainers.dropContents(Level level, BlockPos pos, Container container) WorldlyContainerHolder.getContainer(BlockState state, LevelAccessor level, BlockPos pos) static voidRandomizableContainer.setBlockEntityLootTable(BlockGetter level, RandomSource random, BlockPos blockEntityPos, ResourceKey<LootTable> lootTable) static voidContainers.updateNeighboursAfterDestroy(BlockState state, Level level, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.attribute
Methods in net.minecraft.world.attribute with parameters of type BlockPosModifier and TypeMethodDescriptiondefault <Value> ValueEnvironmentAttributeReader.getValue(EnvironmentAttribute<Value> attribute, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidWeavingMobEffect.spawnCobwebsRandomlyAround(ServerLevel 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 BlockPosMob.homePositionprivate BlockPosLivingEntity.lastPosFields 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 spawnSuggestion) default BlockPosSpawnPlacementType.adjustSpawnPosition(LevelReader level, BlockPos candidate) Entity.blockPosition()ExperienceOrb.getBlockPosBelowThatAffectsMyMovement()PortalProcessor.getEntryPosition()Mob.getHomePosition()Entity.getOnPos()protected BlockPosEntity.getOnPos(float offset) Entity.getOnPosLegacy()Deprecated.protected BlockPosEntity.getPrimaryStepSoundBlockPos(BlockPos affectingPos) 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 spawnSuggestion) default BlockPosSpawnPlacementType.adjustSpawnPosition(LevelReader level, BlockPos candidate) private voidEntity.applyMovementEmissionAndPlaySound(Entity.MovementEmission emission, Vec3 clippedMovement, BlockPos effectPos, BlockState effectState) private booleanTamableAnimal.canTeleportTo(BlockPos pos) booleanEntity.canTrample(ServerLevel level, BlockState state, BlockPos pos, double fallDistance) protected voidEntity.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) protected voidLivingEntity.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) static booleanMob.checkMobSpawnRules(EntityType<? extends Mob> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules(EntityType<T> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) private static voidLightningBolt.clearCopperOnLightningStrike(Level level, BlockPos struckPos) booleanEntity.collidedWithFluid(FluidState fluidState, BlockPos blockPos, Vec3 from, Vec3 to) @Nullable TEntityType.create(ServerLevel level, @Nullable Consumer<T> postSpawnConfig, BlockPos spawnPos, EntitySpawnReason spawnReason, boolean tryMoveDown, boolean movedUp) private voidEntity.debugBlockIntersection(ServerLevel level, BlockPos pos, boolean insideBlock, boolean insideFluid) floatEntity.getBlockExplosionResistance(Explosion explosion, BlockGetter level, BlockPos pos, BlockState block, FluidState fluid, float resistance) Explosion resistance of a block relative to this entityprotected BlockPosEntity.getPrimaryStepSoundBlockPos(BlockPos affectingPos) floatPathfinderMob.getWalkTargetValue(BlockPos pos) floatPathfinderMob.getWalkTargetValue(BlockPos pos, LevelReader level) protected static doubleEntityType.getYOffset(LevelReader level, BlockPos spawnPos, boolean movedUp, AABB entityBox) protected static voidEntity.handleOnAboveBubbleColumn(Entity entity, boolean dragDown, BlockPos pos) booleanContainerUser.hasContainerOpen(ContainerOpenersCounter container, BlockPos blockPos) booleanEntity.isColliding(BlockPos pos, BlockState state) static booleanSpawnPlacements.isSpawnPositionOk(EntityType<?> type, LevelReader level, BlockPos blockPos) booleanSpawnPlacementType.isSpawnPositionOk(LevelReader level, BlockPos blockPos, @Nullable EntityType<?> type) booleanEntity.isSupportedBy(BlockPos pos) booleanMob.isWithinHome(BlockPos pos) booleanEntity.mayInteract(ServerLevel level, BlockPos pos) voidEntity.onAboveBubbleColumn(boolean dragDown, BlockPos pos) protected voidLivingEntity.onChangedBlock(ServerLevel level, BlockPos pos) voidEntity.placePortalTicket(BlockPos ticketPosition) protected voidEntity.playCombinationStepSounds(BlockState primaryStepSound, BlockState secondaryStepSound, BlockPos primaryPos, BlockPos secondaryPos) protected voidEntity.playMuffledStepSound(BlockState blockState, BlockPos pos) protected voidEntity.playStepSound(BlockPos pos, BlockState blockState) LightningBolt.randomStepCleaningCopper(Level level, BlockPos pos) private static voidLightningBolt.randomWalkCleaningCopper(Level level, BlockPos originalStrikePos, BlockPos.MutableBlockPos workPos, int stepCount) protected static voidEntity.sendBubbleColumnParticles(Level level, BlockPos pos) voidEntity.setAsInsidePortal(Portal portal, BlockPos pos) voidprivate voidLivingEntity.setPosToBed(BlockPos bedPosition) Sets entity position to a supplied BlockPos plus a little offsetvoidLivingEntity.setRecordPlayingNearby(BlockPos jukebox, boolean isPlaying) Called when a record starts or stops playing.voidLivingEntity.setSleepingPos(BlockPos bedPosition) booleanEntity.shouldBlockExplode(Explosion explosion, BlockGetter level, BlockPos pos, BlockState state, float power) void@Nullable TEntityType.spawn(ServerLevel level, @Nullable Consumer<T> postSpawnConfig, BlockPos spawnPos, EntitySpawnReason spawnReason, boolean tryMoveDown, boolean movedUp) @Nullable TEntityType.spawn(ServerLevel level, BlockPos spawnPos, EntitySpawnReason spawnReason) @Nullable TEntityType.spawn(ServerLevel level, @Nullable ItemStack itemStack, @Nullable LivingEntity user, BlockPos spawnPos, EntitySpawnReason spawnReason, boolean tryMoveDown, boolean movedUp) voidLivingEntity.startSleeping(BlockPos bedPosition) private voidTamableAnimal.teleportToAroundBlockPos(BlockPos targetPos) booleanSpawnPlacements.SpawnPredicate.test(EntityType<T> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) private booleanLivingEntity.trapdoorUsableAsLadder(BlockPos pos, BlockState state) voidPortalProcessor.updateEntryPosition(BlockPos entryPosition) private booleanEntity.vibrationAndSoundEffectsFromBlock(BlockPos pos, BlockState blockState, boolean shouldSound, boolean shouldVibrate, Vec3 clippedMovement) private voidEntity.walkingStepSound(BlockPos onPos, BlockState onState) 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 @Nullable BlockPosHarvestFarmland.aboveFarmlandPosprivate final BlockPosBlockPosTracker.blockPosprivate @Nullable BlockPosMoveToTargetSink.lastTargetPosprivate final BlockPosTransportItemsBetweenContainers.TransportItemTarget.posThe field for theposrecord component.private final BlockPosPrepareRamNearestTarget.RamCandidate.startPositionprivate @Nullable BlockPosJumpOnBed.targetBedprivate final BlockPosLongJumpToRandomPos.PossibleJump.targetPosThe field for thetargetPosrecord component.private final BlockPosPrepareRamNearestTarget.RamCandidate.targetPositionFields in net.minecraft.world.entity.ai.behavior with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final BiPredicate<E, BlockPos> LongJumpToRandomPos.acceptableLandingSpotUseBonemeal.cropPosHarvestFarmland.validFarmlandAroundVillagerMethods in net.minecraft.world.entity.ai.behavior that return BlockPosModifier and TypeMethodDescriptionBlockPosTracker.currentBlockPosition()EntityTracker.currentBlockPosition()PositionTracker.currentBlockPosition()private static BlockPosGoToTargetLocation.getNearbyPos(Mob body, BlockPos pos) PrepareRamNearestTarget.RamCandidate.getStartPosition()PrepareRamNearestTarget.RamCandidate.getTargetPosition()private @Nullable BlockPosHarvestFarmland.getValidFarmland(ServerLevel level) TransportItemsBetweenContainers.TransportItemTarget.pos()Returns the value of theposrecord component.LongJumpToRandomPos.PossibleJump.targetPos()Returns the value of thetargetPosrecord component.Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPrepareRamNearestTarget.calculateRammingStartPosition(PathfinderMob body, LivingEntity ramableTarget) JumpOnBed.getNearestBed(Mob body) AnimalPanic.lookForWater(BlockGetter level, Entity mob) UseBonemeal.pickNextTarget(ServerLevel level, Villager body) VillagerMakeLove.takeVacantBed(ServerLevel level, Villager body) Methods in net.minecraft.world.entity.ai.behavior with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static booleanInteractWithDoor.areOtherMobsComingThroughDoor(LivingEntity body, BlockPos doorPos, Optional<List<LivingEntity>> nearestEntities) private static booleanValidateNearbyPoi.bedIsOccupied(ServerLevel poiLevel, BlockPos poiPos, LivingEntity body) private static booleanValidateNearbyPoi.bedIsOccupiedByVillager(ServerLevel poiLevel, BlockPos poiPos) private booleanprivate static booleanYieldJobSite.canReachPos(PathfinderMob nearbyVillager, BlockPos poiPos, PoiType type) static <E extends Mob>
booleanLongJumpToRandomPos.defaultAcceptableLandingSpot(E body, BlockPos targetPos) private static @Nullable ContainerTransportItemsBetweenContainers.TransportItemTarget.getBlockEntityContainer(BlockEntity blockEntity, BlockState blockState, Level level, BlockPos blockPos) private Vec3PrepareRamNearestTarget.getEdgeOfBlock(BlockPos startRamPos, BlockPos targetPos) private static BlockPosGoToTargetLocation.getNearbyPos(Mob body, BlockPos pos) private voidVillagerMakeLove.giveBedToChild(ServerLevel level, Villager child, BlockPos bedPos) static booleanMoveToSkySeeingSpot.hasNoBlocksAbove(ServerLevel level, LivingEntity body, BlockPos target) private booleanLongJumpToRandomPos.isAcceptableLandingPosition(ServerLevel level, E body, BlockPos targetPos) private booleanJumpOnBed.isBed(ServerLevel level, BlockPos bodyPos) private static booleanInteractWithDoor.isMobComingThroughDoor(Brain<?> otherBrain, BlockPos doorPos) private booleanPrepareRamNearestTarget.isWalkableBlock(PathfinderMob body, BlockPos targetPos) protected voidTransportItemsBetweenContainers.markVisitedBlockPosAsUnreachable(PathfinderMob body, Level level, BlockPos target) private static booleanYieldJobSite.nearbyWantsJobsite(Holder<PoiType> type, Villager nearbyVillager, BlockPos poiPos) voidGoAndGiveItemsToTarget.ItemThrower.onItemThrown(ServerLevel level, E thrower, ItemStack item, BlockPos targetPos) InteractWithDoor.rememberDoorToClose(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> doorsMemory, Optional<Set<GlobalPos>> doors, ServerLevel level, BlockPos doorPos) protected voidTransportItemsBetweenContainers.setVisitedBlockPos(PathfinderMob body, Level level, BlockPos target) static voidBehaviorUtils.setWalkAndLookTargetMemories(LivingEntity walker, BlockPos targetPos, float speedModifier, int closeEnoughDistance) private voidWorkAtComposter.spawnComposterFillEffects(ServerLevel level, BlockState blockState, BlockPos pos, BlockState newState) private voidJumpOnBed.startWalkingTowardsBed(Mob body, BlockPos bedPos) static @Nullable TransportItemsBetweenContainers.TransportItemTargetTransportItemsBetweenContainers.TransportItemTarget.tryCreatePossibleTarget(BlockPos blockPos, Level level) private static booleanVillagerGoalPackages.validateBedPoi(ServerLevel level, BlockPos blockPos) private booleanHarvestFarmland.validPos(BlockPos blockPos, ServerLevel level) private booleanUseBonemeal.validPos(BlockPos blockPos, ServerLevel level) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryToAcquire, boolean onlyIfAdult, Optional<Byte> onPoiAcquisitionEvent, BiPredicate<ServerLevel, BlockPos> validPoi) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryToValidate, MemoryModuleType<GlobalPos> memoryToAcquire, boolean onlyIfAdult, Optional<Byte> onPoiAcquisitionEvent, BiPredicate<ServerLevel, BlockPos> validPoi) GoToTargetLocation.create(MemoryModuleType<BlockPos> locationMemory, int closeEnoughDist, float speedModifier) static @Nullable PathAcquirePoi.findPathToPois(Mob body, Set<com.mojang.datafixers.util.Pair<Holder<PoiType>, BlockPos>> pois) static BehaviorControl<PathfinderMob> SetWalkTargetAwayFrom.pos(MemoryModuleType<BlockPos> memory, float speedModifier, int desiredDistance, boolean interruptCurrentWalk) Constructors in net.minecraft.world.entity.ai.behavior with parameters of type BlockPosModifierConstructorDescriptionBlockPosTracker(BlockPos blockPos) PossibleJump(BlockPos targetPos, int weight) Creates an instance of aPossibleJumprecord class.RamCandidate(BlockPos startPosition, BlockPos targetPosition, LivingEntity target) TransportItemTarget(BlockPos pos, Container container, BlockEntity blockEntity, BlockState state) Creates an instance of aTransportItemTargetrecord class.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 maxJumpVelocityMultiplier, 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 @Nullable 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 @Nullable BlockPosRemoveBlockGoal.getPosWithBlock(BlockPos pos, BlockGetter level) private @Nullable BlockPosGolemRandomStrollInVillageGoal.getRandomPoiWithinSection(SectionPos sectionPos) protected @Nullable BlockPosPanicGoal.lookForWater(BlockGetter level, Entity mob, int xzDist) Methods in net.minecraft.world.entity.ai.goal with parameters of type BlockPosModifier and TypeMethodDescriptionprivate @Nullable BlockPosRemoveBlockGoal.getPosWithBlock(BlockPos pos, BlockGetter level) private booleanBreathAirGoal.givesAir(LevelReader level, BlockPos pos) private booleanMoveThroughVillageGoal.hasNotVisited(BlockPos poi) 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 dolphinPos, int stepX, int stepZ, int currentStep) private booleanDolphinJumpGoal.waterIsClear(BlockPos dolphinPos, int stepX, int stepZ, int currentStep) -
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 target, 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 body) PiglinSpecificSensor.findNearestRepellent(ServerLevel level, LivingEntity body) 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 horizontalDist, int verticalDist) Gets a random position within a certain distance.static @Nullable BlockPosRandomPos.generateRandomDirectionWithinRadians(RandomSource random, double minHorizontalDist, double maxHorizontalDist, int verticalDist, int flyingHeight, double xDir, double zDir, double maxXzRadiansFromDir) static @Nullable BlockPosAirAndWaterRandomPos.generateRandomPos(PathfinderMob mob, int horizontalDist, int verticalDist, int flyingHeight, double xDir, double zDir, double maxXzRadiansDifference, boolean restrict) private static @Nullable BlockPosDefaultRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, int horizontalDist, boolean restrict, BlockPos direction) static @Nullable BlockPosLandRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, double horizontalDist, boolean restrict, BlockPos direction) static BlockPosRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, double xzDist, RandomSource random, BlockPos direction) static @Nullable BlockPosLandRandomPos.movePosUpOutOfSolid(PathfinderMob mob, BlockPos pos) static BlockPosRandomPos.moveUpOutOfSolid(BlockPos pos, int maxY, Predicate<BlockPos> solidityTester) static BlockPosRandomPos.moveUpToAboveSolid(BlockPos pos, int aboveSolidAmount, int maxY, Predicate<BlockPos> solidityTester) Finds a position above based on the conditions.Methods in net.minecraft.world.entity.ai.util with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static @Nullable BlockPosDefaultRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, int horizontalDist, boolean restrict, BlockPos direction) static @Nullable BlockPosLandRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, double horizontalDist, boolean restrict, BlockPos direction) static BlockPosRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, double xzDist, RandomSource random, BlockPos direction) 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 restrict, PathfinderMob mob, BlockPos pos) static booleanGoalUtils.isSolid(PathfinderMob mob, BlockPos pos) static booleanGoalUtils.isWater(PathfinderMob mob, BlockPos pos) static @Nullable BlockPosLandRandomPos.movePosUpOutOfSolid(PathfinderMob mob, BlockPos pos) static BlockPosRandomPos.moveUpOutOfSolid(BlockPos pos, int maxY, Predicate<BlockPos> solidityTester) static BlockPosRandomPos.moveUpToAboveSolid(BlockPos pos, int aboveSolidAmount, int maxY, Predicate<BlockPos> solidityTester) 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 @Nullable Vec3RandomPos.generateRandomPos(Supplier<@Nullable BlockPos> posSupplier, ToDoubleFunction<BlockPos> positionWeightFunction) Tries 10 times to maximize the return value of the position to double function based on the supplied positionstatic @Nullable Vec3RandomPos.generateRandomPos(Supplier<@Nullable BlockPos> posSupplier, ToDoubleFunction<BlockPos> positionWeightFunction) Tries 10 times to maximize the return value of the position to double function based on the supplied positionstatic @Nullable Vec3RandomPos.generateRandomPos(PathfinderMob mob, Supplier<@Nullable BlockPos> posSupplier) static @Nullable Vec3LandRandomPos.getPos(PathfinderMob mob, int horizontalDist, int verticalDist, ToDoubleFunction<BlockPos> positionWeight) static BlockPosRandomPos.moveUpOutOfSolid(BlockPos pos, int maxY, Predicate<BlockPos> solidityTester) static BlockPosRandomPos.moveUpToAboveSolid(BlockPos pos, int aboveSolidAmount, int maxY, Predicate<BlockPos> solidityTester) 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 @Nullable 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 BlockPosModifier and TypeFieldDescriptionprivate final BlockPosPoiRecord.Packed.posThe field for theposrecord component.private final BlockPosPoiRecord.posMethods in net.minecraft.world.entity.ai.village.poi that return BlockPosModifier and TypeMethodDescriptionPoiRecord.getPos()PoiRecord.Packed.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.entity.ai.village.poi that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPoiManager.find(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findAll(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findAllClosestFirstWithType(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findAllWithType(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findClosest(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findClosest(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findClosestWithType(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.getRandom(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, PoiManager.Occupancy occupancy, BlockPos center, int radius, RandomSource random) PoiManager.take(Predicate<Holder<PoiType>> predicate, BiPredicate<Holder<PoiType>, BlockPos> filter, BlockPos center, int radius) Methods in net.minecraft.world.entity.ai.village.poi with parameters of type BlockPosModifier and TypeMethodDescription@Nullable PoiRecord@Nullable PoiRecordvoidPoiManager.ensureLoadedAndValid(LevelReader reader, BlockPos center, int radius) booleanbooleanbooleanPoiManager.existsAtPosition(ResourceKey<PoiType> poiType, BlockPos blockPos) PoiManager.find(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findAll(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findAllClosestFirstWithType(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findAllWithType(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findClosest(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findClosest(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findClosestWithType(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) longPoiManager.getCountInRange(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) @Nullable DebugPoiInfoPoiManager.getDebugPoiInfo(BlockPos pos) PoiSection.getDebugPoiInfo(BlockPos pos) intPoiSection.getFreeTickets(BlockPos pos) Deprecated.PoiManager.getInRange(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.getInSquare(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiSection.getPoiRecord(BlockPos pos) PoiManager.getRandom(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, PoiManager.Occupancy occupancy, BlockPos center, int radius, RandomSource random) booleanbooleanvoidvoidPoiManager.take(Predicate<Holder<PoiType>> predicate, BiPredicate<Holder<PoiType>, BlockPos> filter, BlockPos center, int radius) Method parameters in net.minecraft.world.entity.ai.village.poi with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidPoiManager.take(Predicate<Holder<PoiType>> predicate, BiPredicate<Holder<PoiType>, BlockPos> filter, BlockPos center, int radius) private voidPoiManager.updateFromSection(LevelChunkSection blockSection, SectionPos pos, BiConsumer<BlockPos, Holder<PoiType>> output) Constructors in net.minecraft.world.entity.ai.village.poi with parameters of type BlockPosModifierConstructorDescriptionCreates an instance of aPackedrecord class.private -
Uses of BlockPos in net.minecraft.world.entity.ambient
Fields in net.minecraft.world.entity.ambient declared as BlockPosMethods in net.minecraft.world.entity.ambient with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanBat.checkBatSpawnRules(EntityType<Bat> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidBat.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanAnimal.checkAnimalSpawnRules(EntityType<? extends Animal> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanAgeableWaterCreature.checkSurfaceAgeableWaterCreatureSpawnRules(EntityType<? extends AgeableWaterCreature> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) floatAnimal.getWalkTargetValue(BlockPos pos, LevelReader level) protected static booleanAnimal.isBrightEnoughToSpawn(BlockAndTintGetter level, 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 level, BlockPos pos, Holder<GameEvent> event, GameEvent.Context context) protected voidAllay.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) static voidAllayAi.hearNoteblock(LivingEntity allay, BlockPos pos) private static voidAllayAi.onItemThrown(ServerLevel level, Allay thrower, ItemStack item, BlockPos targetPos) voidAllay.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) protected voidAllay.playStepSound(BlockPos pos, BlockState blockState) voidAllay.setJukeboxPlaying(BlockPos jukebox, boolean isPlaying) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidArmadillo.playStepSound(BlockPos pos, BlockState blockState) -
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> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) floatAxolotl.getWalkTargetValue(BlockPos pos, LevelReader level) -
Uses of BlockPos in net.minecraft.world.entity.animal.bee
Fields in net.minecraft.world.entity.animal.bee declared as BlockPosModifier and TypeFieldDescriptionprivate @Nullable BlockPosBee.hivePosprivate @Nullable BlockPosBee.savedFlowerPosFields in net.minecraft.world.entity.animal.bee with type parameters of type BlockPosMethods in net.minecraft.world.entity.animal.bee that return BlockPosModifier and TypeMethodDescription@Nullable BlockPosBee.getHivePos()@Nullable BlockPosBee.getSavedFlowerPos()Methods in net.minecraft.world.entity.animal.bee that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBee.BeePollinateGoal.findNearbyFlower()Bee.BeeLocateHiveGoal.findNearbyHivesWithSpace()Bee.getBlacklistedHives()Methods in net.minecraft.world.entity.animal.bee with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidBee.BeeGoToHiveGoal.blacklistTarget(BlockPos targetPos) protected voidBee.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) private booleanBee.closerThan(BlockPos targetPos, int distance) private booleanBee.doesHiveHaveSpace(BlockPos hivePos) floatBee.getWalkTargetValue(BlockPos pos, LevelReader level) private booleanBee.BeeGoToHiveGoal.hasReachedTarget(BlockPos targetPos) private booleanprivate booleanBee.BeeGoToHiveGoal.isTargetBlacklisted(BlockPos targetPos) private booleanBee.isTooFarAway(BlockPos targetPos) private booleanBee.BeeGoToHiveGoal.pathfindDirectlyTowards(BlockPos targetPos) private voidBee.pathfindRandomlyTowards(BlockPos targetPos) protected voidBee.playStepSound(BlockPos pos, BlockState blockState) voidBee.setHivePos(BlockPos hivePos) voidBee.setSavedFlowerPos(BlockPos savedFlowerPos) -
Uses of BlockPos in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanCamel.checkCamelSpawnRules(EntityType<Camel> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidCamel.playStepSound(BlockPos pos, BlockState blockState) protected voidCamelHusk.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.animal.chicken
Methods in net.minecraft.world.entity.animal.chicken with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidChicken.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.animal.cow
Methods in net.minecraft.world.entity.animal.cow with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanMushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) floatMushroomCow.getWalkTargetValue(BlockPos pos, LevelReader level) protected voidAbstractCow.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.animal.dolphin
Fields in net.minecraft.world.entity.animal.dolphin declared as BlockPos -
Uses of BlockPos in net.minecraft.world.entity.animal.equine
Methods in net.minecraft.world.entity.animal.equine with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanSkeletonHorse.checkSkeletonHorseSpawnRules(EntityType<? extends Animal> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidAbstractHorse.playStepSound(BlockPos pos, BlockState blockState) protected voidLlama.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.animal.feline
Fields in net.minecraft.world.entity.animal.feline declared as BlockPosMethods in net.minecraft.world.entity.animal.feline with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanOcelot.checkOcelotSpawnRules(EntityType<Ocelot> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of BlockPos in net.minecraft.world.entity.animal.fish
Methods in net.minecraft.world.entity.animal.fish with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanWaterAnimal.checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanTropicalFish.checkTropicalFishSpawnRules(EntityType<TropicalFish> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidAbstractFish.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.animal.fox
Methods in net.minecraft.world.entity.animal.fox with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanFox.checkFoxSpawnRules(EntityType<Fox> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected booleanFox.FoxEatBerriesGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destination -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) private static <E extends Mob>
booleanFrogAi.isAcceptableLandingSpot(E body, BlockPos targetPos) protected voidFrog.playStepSound(BlockPos pos, BlockState blockState) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidGoat.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.animal.golem
Fields in net.minecraft.world.entity.animal.golem declared as BlockPosMethods in net.minecraft.world.entity.animal.golem with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanCopperGolem.hasContainerOpen(ContainerOpenersCounter container, BlockPos blockPos) protected voidCopperGolem.playStepSound(BlockPos pos, BlockState blockState) protected voidIronGolem.playStepSound(BlockPos pos, BlockState blockState) voidCopperGolem.setOpenedChestPos(BlockPos openedChestPos) -
Uses of BlockPos in net.minecraft.world.entity.animal.happyghast
Methods in net.minecraft.world.entity.animal.happyghast with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidHappyGhast.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) floatHappyGhast.getWalkTargetValue(BlockPos pos, LevelReader level) protected voidHappyGhast.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.animal.nautilus
Methods in net.minecraft.world.entity.animal.nautilus with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanAbstractNautilus.checkNautilusSpawnRules(EntityType<? extends AbstractNautilus> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) floatAbstractNautilus.getWalkTargetValue(BlockPos pos, LevelReader level) protected voidAbstractNautilus.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.animal.panda
Methods in net.minecraft.world.entity.animal.panda with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidPanda.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.animal.parrot
Fields in net.minecraft.world.entity.animal.parrot declared as BlockPosMethods in net.minecraft.world.entity.animal.parrot with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidParrot.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) static booleanParrot.checkParrotSpawnRules(EntityType<Parrot> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidParrot.playStepSound(BlockPos pos, BlockState blockState) voidParrot.setRecordPlayingNearby(BlockPos jukebox, boolean isPlaying) Called when a record starts or stops playing. -
Uses of BlockPos in net.minecraft.world.entity.animal.pig
Methods in net.minecraft.world.entity.animal.pig with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidPig.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.animal.polarbear
Methods in net.minecraft.world.entity.animal.polarbear with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanPolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidPolarBear.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.animal.rabbit
Methods in net.minecraft.world.entity.animal.rabbit with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanRabbit.checkRabbitSpawnRules(EntityType<Rabbit> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) private static Rabbit.VariantRabbit.getRandomRabbitVariant(LevelAccessor level, BlockPos pos) protected booleanRabbit.RaidGardenGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destination -
Uses of BlockPos in net.minecraft.world.entity.animal.sheep
Methods in net.minecraft.world.entity.animal.sheep with parameters of type BlockPosModifier and TypeMethodDescriptionstatic DyeColorSheep.getRandomSheepColor(ServerLevelAccessor level, BlockPos pos) protected voidSheep.playStepSound(BlockPos pos, BlockState blockState) -
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 blockState) private SnifferSniffer.storeExploredPosition(BlockPos position) -
Uses of BlockPos in net.minecraft.world.entity.animal.squid
Methods in net.minecraft.world.entity.animal.squid with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanGlowSquid.checkGlowSquidSpawnRules(EntityType<? extends LivingEntity> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of BlockPos in net.minecraft.world.entity.animal.turtle
Fields in net.minecraft.world.entity.animal.turtle declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPosTurtle.homePosprivate @Nullable BlockPosTurtle.travelPosMethods in net.minecraft.world.entity.animal.turtle with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanTurtle.checkTurtleSpawnRules(EntityType<Turtle> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) floatTurtle.getWalkTargetValue(BlockPos pos, LevelReader level) booleanTurtle.TurtlePathNavigation.isStableDestination(BlockPos pos) protected 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 destinationprotected voidTurtle.playStepSound(BlockPos pos, BlockState blockState) voidTurtle.setHomePos(BlockPos pos) -
Uses of BlockPos in net.minecraft.world.entity.animal.wolf
Methods in net.minecraft.world.entity.animal.wolf with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanWolf.checkWolfSpawnRules(EntityType<Wolf> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidWolf.playStepSound(BlockPos pos, BlockState blockState) -
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 BlockPosModifier and TypeMethodDescription@Nullable BlockPosEndCrystal.getBeamTarget()EnderDragon.getFightOrigin()Methods in net.minecraft.world.entity.boss.enderdragon with parameters of type BlockPosModifier and TypeMethodDescriptionvoidEnderDragon.onCrystalDestroyed(ServerLevel level, EndCrystal crystal, BlockPos pos, DamageSource source) voidEndCrystal.setBeamTarget(@Nullable BlockPos target) 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 source, @Nullable Player player) voidDragonHoldingPatternPhase.onCrystalDestroyed(EndCrystal crystal, BlockPos pos, DamageSource source, @Nullable Player player) voidDragonPhaseInstance.onCrystalDestroyed(EndCrystal crystal, BlockPos pos, DamageSource source, @Nullable 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 blockPos, Direction direction) private AABBItemFrame.createBoundingBox(BlockPos blockPos, Direction direction, boolean hasFramedMap) static LeashFenceKnotEntityLeashFenceKnotEntity.getOrCreateKnot(Level level, BlockPos pos) Constructors in net.minecraft.world.entity.decoration with parameters of type BlockPosModifierConstructorDescriptionprotectedBlockAttachedEntity(EntityType<? extends BlockAttachedEntity> type, Level level, BlockPos pos) GlowItemFrame(Level level, BlockPos pos, Direction direction) protectedHangingEntity(EntityType<? extends HangingEntity> type, Level level, BlockPos pos) LeashFenceKnotEntity(Level level, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.entity.decoration.painting
Methods in net.minecraft.world.entity.decoration.painting with parameters of type BlockPosModifier and TypeMethodDescriptionprotected AABBPainting.calculateBoundingBox(BlockPos pos, Direction direction) Constructors in net.minecraft.world.entity.decoration.painting with parameters of type BlockPos -
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 state) voidFallingBlockEntity.setStartPos(BlockPos pos) -
Uses of BlockPos in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as BlockPosModifier and TypeFieldDescriptionprivate @Nullable BlockPosPhantom.anchorPointprivate @Nullable BlockPosVex.boundOriginprivate @Nullable BlockPosShulker.clientOldAttachPositionprivate @Nullable BlockPosPatrollingMonster.patrolTargetMethods in net.minecraft.world.entity.monster that return BlockPosModifier and TypeMethodDescription@Nullable BlockPosVex.getBoundOrigin()Strider.StriderGoToLavaGoal.getMoveToTarget()@Nullable BlockPosPatrollingMonster.getPatrolTarget()Methods in net.minecraft.world.entity.monster with parameters of type BlockPosModifier and TypeMethodDescriptionprivate booleanGhast.GhastMoveControl.blockTraversalPossible(BlockGetter level, @Nullable Vec3 start, @Nullable Vec3 end, BlockPos pos, boolean canPathThroughWater, boolean canPathThroughLava) private booleanEnderMan.EndermanLeaveBlockGoal.canPlaceBlock(Level level, BlockPos pos, BlockState carried, BlockState targetState, BlockState belowState, BlockPos below) private booleanstatic booleanMonster.checkAnyLightMonsterSpawnRules(EntityType<? extends Monster> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanEndermite.checkEndermiteSpawnRules(EntityType<Endermite> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidGhast.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) protected voidPhantom.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) protected voidStrider.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) static booleanGhast.checkGhastSpawnRules(EntityType<Ghast> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanGuardian.checkGuardianSpawnRules(EntityType<? extends Guardian> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanMagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanMonster.checkMonsterSpawnRules(EntityType<? extends Mob> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanPatrollingMonster.checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanSilverfish.checkSilverfishSpawnRules(EntityType<Silverfish> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanSlime.checkSlimeSpawnRules(EntityType<Slime> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanStrider.checkStriderSpawnRules(EntityType<Strider> ignoredType, LevelAccessor level, EntitySpawnReason ignoredSpawnType, BlockPos pos, RandomSource ignoredRandom) static booleanMonster.checkSurfaceMonstersSpawnRules(EntityType<? extends Mob> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected @Nullable DirectionShulker.findAttachableSurface(BlockPos target) floatEnderMan.getWalkTargetValue(BlockPos pos, LevelReader level) floatGiant.getWalkTargetValue(BlockPos pos, LevelReader level) floatGuardian.getWalkTargetValue(BlockPos pos, LevelReader level) floatMonster.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 booleanShulker.isPositionBlocked(BlockPos target) booleanStrider.StriderPathNavigation.isStableDestination(BlockPos pos) protected booleanStrider.StriderGoToLavaGoal.isValidTarget(LevelReader level, BlockPos pos) Returntrueto set given position as destinationprotected voidEndermite.playStepSound(BlockPos pos, BlockState blockState) protected voidRavager.playStepSound(BlockPos pos, BlockState blockState) protected voidSilverfish.playStepSound(BlockPos pos, BlockState blockState) protected voidStrider.playStepSound(BlockPos pos, BlockState blockState) protected voidZoglin.playStepSound(BlockPos pos, BlockState blockState) voidVex.setBoundOrigin(@Nullable BlockPos boundOrigin) voidPatrollingMonster.setPatrolTarget(BlockPos target) -
Uses of BlockPos in net.minecraft.world.entity.monster.breeze
Methods in net.minecraft.world.entity.monster.breeze that return BlockPosModifier and TypeMethodDescriptionprivate static @Nullable BlockPosLongJump.snapToSurface(LivingEntity entity, Vec3 target) -
Uses of BlockPos in net.minecraft.world.entity.monster.creaking
Fields in net.minecraft.world.entity.monster.creaking with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate static final EntityDataAccessor<Optional<BlockPos>> Creaking.HOME_POSMethods in net.minecraft.world.entity.monster.creaking that return BlockPosMethods in net.minecraft.world.entity.monster.creaking with parameters of type BlockPosModifier and TypeMethodDescriptionfloatCreaking.getWalkTargetValue(BlockPos pos, LevelReader level) protected voidCreaking.playStepSound(BlockPos pos, BlockState blockState) voidCreaking.setHomePos(BlockPos pos) voidCreaking.setTransient(BlockPos pos) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) floatHoglin.getWalkTargetValue(BlockPos pos, LevelReader level) (package private) static booleanHoglinAi.isPosNearNearestRepellent(Hoglin body, BlockPos pos) protected voidHoglin.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.monster.illager
Methods in net.minecraft.world.entity.monster.illager with parameters of type BlockPosModifier and TypeMethodDescriptionfloatPillager.getWalkTargetValue(BlockPos pos, LevelReader level) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidPiglin.playStepSound(BlockPos pos, BlockState blockState) protected voidPiglinBrute.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.monster.skeleton
Methods in net.minecraft.world.entity.monster.skeleton with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanStray.checkStraySpawnRules(EntityType<Stray> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) protected voidAbstractSkeleton.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.monster.spider
Methods in net.minecraft.world.entity.monster.spider with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidSpider.playStepSound(BlockPos pos, BlockState blockState) -
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 level, BlockPos pos, Holder<GameEvent> event, GameEvent.Context context) 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 level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) protected voidWarden.playStepSound(BlockPos pos, BlockState blockState) static voidWardenAi.setDisturbanceLocation(Warden body, BlockPos position) static OptionalIntWardenSpawnTracker.tryWarn(ServerLevel level, BlockPos pos, ServerPlayer triggerPlayer) -
Uses of BlockPos in net.minecraft.world.entity.monster.zombie
Methods in net.minecraft.world.entity.monster.zombie with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanDrowned.checkDrownedSpawnRules(EntityType<Drowned> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) private static booleanDrowned.isDeepEnoughToSpawn(LevelAccessor level, BlockPos pos) protected booleanDrowned.DrownedGoToBeachGoal.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 voidZombie.playStepSound(BlockPos pos, BlockState blockState) -
Uses of BlockPos in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidCatSpawner.spawnCat(BlockPos spawnPos, ServerLevel level, boolean makePersistent) private voidCatSpawner.spawnInHut(ServerLevel level, BlockPos spawnPos) private voidCatSpawner.spawnInVillage(ServerLevel serverLevel, BlockPos spawnPos) -
Uses of BlockPos in net.minecraft.world.entity.npc.wanderingtrader
Fields in net.minecraft.world.entity.npc.wanderingtrader declared as BlockPosMethods in net.minecraft.world.entity.npc.wanderingtrader that return BlockPosModifier and TypeMethodDescriptionprivate @Nullable BlockPosWanderingTraderSpawner.findSpawnPositionNear(LevelReader level, BlockPos referencePosition, int radius) private @Nullable BlockPosWanderingTrader.getWanderTarget()Methods in net.minecraft.world.entity.npc.wanderingtrader with parameters of type BlockPosModifier and TypeMethodDescriptionprivate @Nullable BlockPosWanderingTraderSpawner.findSpawnPositionNear(LevelReader level, BlockPos referencePosition, int radius) private booleanWanderingTraderSpawner.hasEnoughSpace(BlockGetter level, BlockPos spawnPos) private booleanWanderingTrader.WanderToPositionGoal.isTooFarAway(BlockPos pos, double distance) voidWanderingTrader.setWanderTarget(@Nullable 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 gameType) protected booleanfloatPlayer.getDestroySpeed(BlockState state, @Nullable BlockPos pos) booleanPlayer.hasContainerOpen(ContainerOpenersCounter container, BlockPos blockPos) booleanPlayer.hasCorrectToolForDrops(BlockState state, Level level, BlockPos pos) booleanPlayer.isWithinBlockInteractionRange(BlockPos pos, double buffer) booleanPlayer.mayUseItemAt(BlockPos pos, Direction direction, ItemStack itemStack) Returns whether this player can modify the block at a certain location with the given stack.voidPlayer.onAboveBubbleColumn(boolean dragDown, BlockPos pos) protected voidPlayer.playStepSound(BlockPos onPos, BlockState onState) com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> Player.startSleepInBed(BlockPos pos) -
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 blockPos) private voidFishingHook.catchingFish(BlockPos blockPos) private FishingHook.OpenWaterTypeFishingHook.getOpenWaterTypeForArea(BlockPos from, BlockPos to) private FishingHook.OpenWaterTypeFishingHook.getOpenWaterTypeForBlock(BlockPos pos) booleanProjectile.mayInteract(ServerLevel level, BlockPos pos) voidProjectile.onAboveBubbleColumn(boolean dragDown, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.entity.projectile.arrow
Methods in net.minecraft.world.entity.projectile.arrow with parameters of type BlockPosModifier and TypeMethodDescriptionvoidAbstractArrow.onAboveBubbleColumn(boolean dragDown, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.entity.projectile.hurtingprojectile
Methods in net.minecraft.world.entity.projectile.hurtingprojectile with parameters of type BlockPosModifier and TypeMethodDescriptionfloatWitherSkull.getBlockExplosionResistance(Explosion explosion, BlockGetter level, BlockPos pos, BlockState block, FluidState fluid, float resistance) Explosion resistance of a block relative to this entity -
Uses of BlockPos in net.minecraft.world.entity.projectile.throwableitemprojectile
Methods in net.minecraft.world.entity.projectile.throwableitemprojectile with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidvoidThrownEnderpearl.onAboveBubbleColumn(boolean dragDown, BlockPos pos) -
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 @Nullable BlockPosRaid.findRandomSpawnPos(ServerLevel level, int maxTries) Raid.getCenter()Methods in net.minecraft.world.entity.raid that return types with arguments of type BlockPosModifier and TypeMethodDescriptionRaids.getRaidCentersInChunk(ChunkPos chunkPos) Raid.getValidSpawnPos(ServerLevel level) Methods in net.minecraft.world.entity.raid with parameters of type BlockPosModifier and TypeMethodDescription@Nullable RaidRaids.createOrExtendRaid(ServerPlayer player, BlockPos raidPosition) @Nullable RaidRaids.getNearbyRaid(BlockPos pos, int maxDistSqr) private RaidRaids.getOrCreateRaid(ServerLevel level, BlockPos pos) private booleanRaider.RaiderMoveThroughVillageGoal.hasNotVisited(BlockPos poi) voidRaid.joinRaid(ServerLevel level, int groupNumber, Raider raider, @Nullable BlockPos pos, boolean exists) private voidRaid.playSound(ServerLevel level, BlockPos soundOrigin) private voidprivate voidRaid.spawnGroup(ServerLevel level, BlockPos pos) Constructors in net.minecraft.world.entity.raid with parameters of type BlockPosModifierConstructorDescriptionprivateRaid(boolean started, boolean active, long ticksActive, int raidOmenLevel, int groupsSpawned, int raidCooldownTicks, int postRaidTicks, float totalHealth, int numGroups, Raid.RaidStatus status, BlockPos center, Set<UUID> heroesOfTheVillage) Raid(BlockPos center, Difficulty difficulty) -
Uses of BlockPos in net.minecraft.world.entity.variant
Fields in net.minecraft.world.entity.variant declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosSpawnContext.posThe field for theposrecord component.Methods in net.minecraft.world.entity.variant that return BlockPosModifier and TypeMethodDescriptionSpawnContext.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.entity.variant with parameters of type BlockPosModifier and TypeMethodDescriptionstatic SpawnContextSpawnContext.create(ServerLevelAccessor level, BlockPos pos) Constructors in net.minecraft.world.entity.variant with parameters of type BlockPosModifierConstructorDescriptionSpawnContext(BlockPos pos, ServerLevelAccessor level, EnvironmentAttributeReader environmentAttributes, Holder<Biome> biome) Creates an instance of aSpawnContextrecord class. -
Uses of BlockPos in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle with parameters of type BlockPosModifier and TypeMethodDescriptionstatic doubleDismountHelper.findCeilingFrom(BlockPos pos, int blocks, Function<BlockPos, VoxelShape> shapeGetter) static @Nullable Vec3DismountHelper.findSafeDismountLocation(EntityType<?> type, CollisionGetter level, BlockPos blockPos, boolean checkDangerous) static VoxelShapeDismountHelper.nonClimbableShape(BlockGetter level, BlockPos pos) Method parameters in net.minecraft.world.entity.vehicle with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic doubleDismountHelper.findCeilingFrom(BlockPos pos, int blocks, Function<BlockPos, VoxelShape> shapeGetter) -
Uses of BlockPos in net.minecraft.world.entity.vehicle.boat
Methods in net.minecraft.world.entity.vehicle.boat with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidAbstractBoat.checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos) voidAbstractBoat.onAboveBubbleColumn(boolean dragDown, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.entity.vehicle.minecart
Methods in net.minecraft.world.entity.vehicle.minecart that return BlockPosMethods in net.minecraft.world.entity.vehicle.minecart with parameters of type BlockPosModifier and TypeMethodDescriptionvoidNewMinecartBehavior.adjustToRails(BlockPos targetBlockPos, BlockState currentState, boolean instant) private Vec3NewMinecartBehavior.calculateBoostTrackSpeed(Vec3 deltaMovement, BlockPos pos, BlockState state) private Vec3NewMinecartBehavior.calculateTrackSpeed(ServerLevel level, Vec3 deltaMovement, NewMinecartBehavior.TrackIteration trackIteration, BlockPos currentPos, BlockState currentState, RailShape shape) floatMinecartTNT.getBlockExplosionResistance(Explosion explosion, BlockGetter level, BlockPos pos, BlockState block, FluidState fluid, float resistance) Explosion resistance of a block relative to this entityAbstractMinecart.getRedstoneDirection(BlockPos pos) booleanAbstractMinecart.isRedstoneConductor(BlockPos pos) protected doubleAbstractMinecart.makeStepAlongTrack(BlockPos pos, RailShape shape, double movementLeft) protected doubleMinecartHopper.makeStepAlongTrack(BlockPos pos, RailShape shape, double movementLeft) booleanMinecartTNT.shouldBlockExplode(Explosion explosion, BlockGetter level, BlockPos pos, BlockState state, float power) abstract doubleMinecartBehavior.stepAlongTrack(BlockPos pos, RailShape shape, double movementLeft) doubleNewMinecartBehavior.stepAlongTrack(BlockPos pos, RailShape shape, double movementLeft) doubleOldMinecartBehavior.stepAlongTrack(BlockPos pos, RailShape shape, double movementLeft) -
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> action) default <T> TContainerLevelAccess.evaluate(BiFunction<Level, BlockPos, T> action, T defaultValue) default voidContainerLevelAccess.execute(BiConsumer<Level, BlockPos> action) -
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 count) static booleanBoneMealItem.applyBonemeal(ItemStack itemStack, Level level, BlockPos pos, @Nullable Player player) static InteractionResultLeadItem.bindPlayerMobs(Player player, Level level, BlockPos pos) protected booleanBucketItem.canBlockContainFluid(@Nullable Player player, Level worldIn, BlockPos posIn, BlockState blockstate) booleanDebugStickItem.canDestroyBlock(ItemStack itemStack, BlockState state, Level level, BlockPos pos, LivingEntity user) booleanItem.canDestroyBlock(ItemStack itemStack, BlockState state, Level level, BlockPos pos, LivingEntity user) booleanItemStack.canDestroyBlock(BlockState state, Level level, BlockPos pos, Player player) protected booleanHangingSignItem.canPlace(LevelReader level, BlockState possibleState, BlockPos pos) protected booleanStandingAndWallBlockItem.canPlace(LevelReader level, BlockState possibleState, BlockPos pos) voidBucketItem.checkExtraContent(@Nullable LivingEntity user, Level level, ItemStack itemStack, BlockPos pos) default voidDispensibleContainerItem.checkExtraContent(@Nullable LivingEntity user, Level level, ItemStack itemStack, BlockPos pos) voidMobBucketItem.checkExtraContent(@Nullable LivingEntity user, Level level, ItemStack itemStack, BlockPos pos) booleanBucketItem.emptyContents(@Nullable LivingEntity user, Level level, BlockPos pos, @Nullable BlockHitResult hitResult) Deprecated.booleanBucketItem.emptyContents(@Nullable LivingEntity user, Level level, BlockPos pos, @Nullable BlockHitResult hitResult, @Nullable ItemStack containerItem) booleanDispensibleContainerItem.emptyContents(@Nullable LivingEntity user, Level level, BlockPos pos, @Nullable BlockHitResult hitResult) Deprecated.booleanSolidBucketItem.emptyContents(@Nullable LivingEntity user, Level level, BlockPos pos, @Nullable BlockHitResult hitResult) private Optional<BlockState> AxeItem.evaluateNewBlockState(Level level, BlockPos pos, @Nullable Player player, BlockState oldState, UseOnContext context) private BlockStateMapItem.getCorrectStateForFluidBlock(Level level, BlockState state, BlockPos pos) protected SoundEventBlockItem.getPlaceSound(BlockState state, Level world, BlockPos pos, Player entity) static booleanDeprecated.static booleanBoneMealItem.growWaterPlant(ItemStack itemStack, Level level, BlockPos pos, @Nullable Direction clickedFace) private booleanDebugStickItem.handleInteraction(ServerPlayer player, BlockState state, LevelAccessor level, BlockPos pos, boolean cycle, ItemStack itemStackInHand) protected booleanHangingEntityItem.mayPlace(Player player, Direction direction, ItemStack itemStack, BlockPos blockPos) protected booleanbooleanItem.mineBlock(ItemStack itemStack, Level level, BlockState state, BlockPos pos, LivingEntity owner) Called when aBlockis destroyed using this Item.voidItemStack.mineBlock(Level level, BlockState state, BlockPos pos, Player owner) Called when a Block is destroyed using this ItemStackbooleanShearsItem.mineBlock(ItemStack itemStack, Level level, BlockState state, BlockPos pos, LivingEntity miner) Called when aBlockis destroyed using this Item.protected voidBucketItem.playEmptySound(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos) protected voidMobBucketItem.playEmptySound(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos) private voidprivate voidMobBucketItem.spawn(ServerLevel level, ItemStack itemStack, BlockPos spawnPos) private static InteractionResultSpawnEggItem.spawnMob(@Nullable LivingEntity user, ItemStack itemStack, Level level, BlockPos spawnPos, boolean tryMoveDown, boolean movedUp) private static voidJukeboxSongPlayer.spawnMusicParticles(LevelAccessor level, BlockPos blockPos) private static voidAxeItem.spawnSoundAndParticle(Level level, BlockPos pos, @Nullable Player player, BlockState oldState, SoundEvent soundEvent, int particle) static InteractionResultJukeboxPlayable.tryInsertIntoJukebox(Level level, BlockPos pos, ItemStack toInsert, Player player) private static voidBlockItem.updateBlockEntityComponents(Level level, BlockPos pos, ItemStack itemStack) private BlockStateBlockItem.updateBlockStateFromTag(BlockPos pos, Level level, ItemStack itemStack, BlockState placedState) protected booleanBlockItem.updateCustomBlockEntityTag(BlockPos pos, Level level, @Nullable Player player, ItemStack itemStack, BlockState placedState) static booleanBlockItem.updateCustomBlockEntityTag(Level level, @Nullable Player player, BlockPos pos, ItemStack itemStack) protected booleanSignItem.updateCustomBlockEntityTag(BlockPos pos, Level level, @Nullable Player player, ItemStack itemStack, BlockState placedState) 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 @Nullable BlockPosNaturalSpawner.SpawnState.lastCheckedPosprivate final BlockPosBlockEventData.posThe field for theposrecord component.private final BlockPosPotentialCalculator.PointCharge.posprivate final BlockPosServerExplosion.StackCollector.posFields in net.minecraft.world.level with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final ForcedChunkManager.TicketTracker<BlockPos> TicketStorage.blockForcedChunksMethods in net.minecraft.world.level that return BlockPosModifier and TypeMethodDescriptionChunkPos.getBlockAt(int x, int y, int z) Level.getBlockRandomPos(int xo, int yo, int zo, int yMask) default BlockPosCommonLevelAccessor.getHeightmapPos(Heightmap.Types type, BlockPos pos) default BlockPosLevelReader.getHeightmapPos(Heightmap.Types type, BlockPos pos) LevelSimulatedReader.getHeightmapPos(Heightmap.Types type, BlockPos pos) ChunkPos.getMiddleBlockPosition(int y) private static BlockPosNaturalSpawner.getRandomPosWithin(Level level, LevelChunk chunk) private static BlockPosNaturalSpawner.getTopNonCollidingPos(LevelReader level, EntityType<?> type, 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 TypeMethodDescriptionServerExplosion.calculateExplodedPositions()CollisionGetter.findSupportingBlock(Entity source, AABB box) TicketStorage.getBlockForcedChunks()Methods in net.minecraft.world.level with parameters of type BlockPosModifier and TypeMethodDescriptionvoidvoidLevel.addDestroyBlockEffect(BlockPos pos, BlockState blockState) private static voidServerExplosion.addOrAppendStack(List<ServerExplosion.StackCollector> stacks, ItemStack stack, BlockPos pos) voidLevel.blockEntityChanged(BlockPos pos) voidLevel.blockEvent(BlockPos pos, Block block, int b0, int b1) abstract voidBaseSpawner.broadcastEvent(Level level, BlockPos pos, int id) default booleandefault booleanLevelReader.canSeeSkyFromBelowWater(BlockPos pos) private booleanNaturalSpawner.SpawnState.canSpawn(EntityType<?> type, BlockPos testPos, ChunkAccess chunk) private static booleanNaturalSpawner.canSpawnMobAt(ServerLevel level, StructureManager structureManager, ChunkGenerator generator, MobCategory mobCategory, MobSpawnSettings.SpawnerData spawnerData, BlockPos pos) voidBaseSpawner.clientTick(Level level, BlockPos pos) default @Nullable BlockHitResultBlockGetter.clipWithInteractionOverride(Vec3 from, Vec3 to, BlockPos pos, VoxelShape blockShape, BlockState blockState) static ChunkPosChunkPos.containing(BlockPos pos) booleandefault <T> ScheduledTick<T> LevelAccessor.createTick(BlockPos pos, T type, int tickDelay) default <T> ScheduledTick<T> LevelAccessor.createTick(BlockPos pos, T type, int tickDelay, TickPriority priority) <T> ScheduledTick<T> ScheduledTickAccess.createTick(BlockPos pos, T type, int tickDelay) <T> ScheduledTick<T> ScheduledTickAccess.createTick(BlockPos pos, T type, int tickDelay, TickPriority priority) private voidbooleanLevel.destroyBlock(BlockPos pos, boolean dropResources, @Nullable Entity breaker, int updateLimit) default booleanLevelWriter.destroyBlock(BlockPos pos, boolean dropResources) Sets a block to air, but also plays the sound and particles and can spawn dropsdefault booleanLevelWriter.destroyBlock(BlockPos pos, boolean dropResources, @Nullable Entity breaker) booleanLevelWriter.destroyBlock(BlockPos pos, boolean dropResources, @Nullable Entity breaker, int updateLimit) abstract voidLevel.destroyBlockProgress(int id, BlockPos blockPos, 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 level, BlockPos pos, CollisionContext context) ClipContext.ShapeGetter.get(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) StructureManager.getAllStructuresAt(BlockPos pos) default intSignalGetter.getBestNeighborSignal(BlockPos pos) Returns the highest redstone signal the given position receives from neighboring blocks.@Nullable BlockEntityBlockGetter.getBlockEntity(BlockPos pos) default <T extends BlockEntity>
Optional<T> BlockGetter.getBlockEntity(BlockPos pos, BlockEntityType<T> type) default <T extends BlockEntity>
Optional<T> CommonLevelAccessor.getBlockEntity(BlockPos pos, BlockEntityType<T> type) @Nullable BlockEntityEmptyBlockAndTintGetter.getBlockEntity(BlockPos pos) @Nullable BlockEntityEmptyBlockGetter.getBlockEntity(BlockPos pos) @Nullable BlockEntityLevel.getBlockEntity(BlockPos pos) <T extends BlockEntity>
Optional<T> LevelSimulatedReader.getBlockEntity(BlockPos pos, BlockEntityType<T> type) @Nullable BlockEntityPathNavigationRegion.getBlockEntity(BlockPos pos) EntityBasedExplosionDamageCalculator.getBlockExplosionResistance(Explosion explosion, BlockGetter level, BlockPos pos, BlockState block, FluidState fluid) ExplosionDamageCalculator.getBlockExplosionResistance(Explosion explosion, BlockGetter level, BlockPos pos, BlockState block, FluidState fluid) SimpleExplosionDamageCalculator.getBlockExplosionResistance(Explosion explosion, BlockGetter level, BlockPos pos, BlockState block, FluidState fluid) default doubleBlockGetter.getBlockFloorHeight(BlockPos pos) ClipContext.getBlockShape(BlockState blockState, BlockGetter level, BlockPos pos) BlockGetter.getBlockState(BlockPos pos) EmptyBlockAndTintGetter.getBlockState(BlockPos pos) EmptyBlockGetter.getBlockState(BlockPos pos) Level.getBlockState(BlockPos pos) PathNavigationRegion.getBlockState(BlockPos pos) intBlockAndTintGetter.getBlockTint(BlockPos pos, ColorResolver color) intEmptyBlockAndTintGetter.getBlockTint(BlockPos pos, ColorResolver color) default intLevelReader.getBlockTint(BlockPos pos, ColorResolver resolver) default intBlockAndTintGetter.getBrightness(LightLayer layer, BlockPos pos) default ChunkAccessprivate ChunkAccessLevel.getChunkAt(BlockPos pos) intLevel.getClientLeafTintColor(BlockPos pos) default intSignalGetter.getControlInputSignal(BlockPos pos, Direction direction, boolean onlyDiodes) Returns the control signal emitted from the given position in the given direction.ServerLevelAccessor.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.default intLevelReader.getEffectiveSkyBrightness(BlockPos pos) ClipContext.getFluidShape(FluidState fluidState, BlockGetter level, BlockPos pos) BlockGetter.getFluidState(BlockPos pos) EmptyBlockAndTintGetter.getFluidState(BlockPos pos) EmptyBlockGetter.getFluidState(BlockPos pos) Level.getFluidState(BlockPos pos) PathNavigationRegion.getFluidState(BlockPos pos) default intLevelReader.getHeight(Heightmap.Types type, BlockPos pos) default BlockPosCommonLevelAccessor.getHeightmapPos(Heightmap.Types type, BlockPos pos) default BlockPosLevelReader.getHeightmapPos(Heightmap.Types type, BlockPos pos) LevelSimulatedReader.getHeightmapPos(Heightmap.Types type, BlockPos pos) default intBlockGetter.getLightEmission(BlockPos pos) default floatLevelReader.getLightLevelDependentMagicValue(BlockPos pos) Deprecated.default intLevelReader.getMaxLocalRawBrightness(BlockPos pos) default intLevelReader.getMaxLocalRawBrightness(BlockPos pos, int skyDarkening) @Nullable EntityBaseSpawner.getOrCreateDisplayEntity(Level level, BlockPos pos) private SpawnDataBaseSpawner.getOrCreateNextSpawnData(@Nullable 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 mobCategory, RandomSource random, BlockPos pos) default intBlockAndTintGetter.getRawBrightness(BlockPos pos, int darkening) 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 blockPos, Structure structure) StructureManager.getStructureWithPieceAt(BlockPos blockPos, Predicate<Holder<Structure>> predicate) StructureManager.getStructureWithPieceAt(BlockPos blockPos, HolderSet<Structure> structures) StructureManager.getStructureWithPieceAt(BlockPos blockPos, TagKey<Structure> structureTag) StructureManager.getStructureWithPieceAt(BlockPos blockPos, Structure structure) voidLevel.globalLevelEvent(int type, BlockPos pos, int data) booleanStructureManager.hasAnyStructureAt(BlockPos pos) default booleanLevelReader.hasChunkAt(BlockPos pos) Deprecated.default booleanLevelReader.hasChunksAt(BlockPos pos0, BlockPos pos1) Deprecated.default booleanSignalGetter.hasNeighborSignal(BlockPos blockPos) 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.isInValidBounds(BlockPos pos) private static booleanLevel.isInValidBoundsHorizontal(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> predicate) booleanLevelSimulatedReader.isStateAtPosition(BlockPos pos, Predicate<BlockState> predicate) default booleanCollisionGetter.isUnobstructed(BlockState state, BlockPos pos, CollisionContext context) static booleanNaturalSpawner.isValidEmptySpawnBlock(BlockGetter level, BlockPos pos, BlockState blockState, FluidState fluidState, EntityType<?> type) booleanSpawnData.CustomSpawnRules.isValidPosition(BlockPos blockSpawnPos, ServerLevel level) default booleandefault voidLevelAccessor.levelEvent(int type, BlockPos pos, int data) voidLevelAccessor.levelEvent(@Nullable Entity source, int type, BlockPos pos, int data) voidBaseSpawner.load(@Nullable Level level, BlockPos pos, ValueInput input) booleanLevel.loadedAndEntityCanStandOn(BlockPos pos, Entity entity) booleanLevel.loadedAndEntityCanStandOnFace(BlockPos pos, Entity entity, Direction faceDirection) voidLevel.markAndNotifyBlock(BlockPos pos, @Nullable LevelChunk chunk, BlockState oldState, BlockState blockState, int updateFlags, int updateLimit) booleanLevel.mayInteract(Entity entity, BlockPos pos) private static WeightedList<MobSpawnSettings.SpawnerData> NaturalSpawner.mobsAt(ServerLevel level, StructureManager structureManager, ChunkGenerator generator, MobCategory mobCategory, BlockPos pos, @Nullable Holder<Biome> biome) voidLevel.neighborChanged(BlockPos pos, Block changedBlock, @Nullable Orientation orientation) voidLevel.neighborChanged(BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) voidLevel.neighborShapeChanged(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int updateFlags, int updateLimit) default voidLevelAccessor.neighborShapeChanged(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int updateFlags, int updateLimit) static longvoidLevel.playLocalSound(BlockPos pos, SoundEvent sound, SoundSource source, float volume, float pitch, boolean distanceDelay) voidLevel.playSound(@Nullable Entity except, BlockPos pos, SoundEvent sound, SoundSource source, float volume, float pitch) default voidLevelAccessor.playSound(@Nullable Entity except, BlockPos pos, SoundEvent soundEvent, SoundSource source) voidLevelAccessor.playSound(@Nullable Entity except, BlockPos pos, SoundEvent sound, SoundSource source, float volume, float pitch) Level.precipitationAt(BlockPos pos) booleanLevel.removeBlock(BlockPos pos, boolean movedByPiston) booleanLevelWriter.removeBlock(BlockPos pos, boolean movedByPiston) voidLevel.removeBlockEntity(BlockPos pos) default voidScheduledTickAccess.scheduleTick(BlockPos pos, Block type, int tickDelay) default voidScheduledTickAccess.scheduleTick(BlockPos pos, Block type, int tickDelay, TickPriority priority) default voidScheduledTickAccess.scheduleTick(BlockPos pos, Fluid type, int tickDelay) default voidScheduledTickAccess.scheduleTick(BlockPos pos, Fluid type, int tickDelay, TickPriority priority) abstract voidLevel.sendBlockUpdated(BlockPos pos, BlockState old, BlockState current, int updateFlags) Flags are as in setBlockStatevoidBaseSpawner.serverTick(ServerLevel level, BlockPos pos) booleanLevel.setBlock(BlockPos pos, BlockState blockState, int updateFlags) Sets a block state into this world.Flags are as follows: 1 will notify neighboring blocks throughupdates. 2 will send the change to clients. 4 will prevent the block from being re-rendered. 8 will force any re-renders to run on the main thread instead 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing). 32 will prevent neighbor reactions from spawning drops. 64 will signify the block is being moved.invalid reference
neighborChangedbooleanLevel.setBlock(BlockPos pos, BlockState blockState, int updateFlags, int updateLimit) default booleanLevelWriter.setBlock(BlockPos pos, BlockState blockState, int updateFlags) Sets a block state into this world.Flags are as follows: 1 will cause a block update. 2 will send the change to clients. 4 will prevent the block from being re-rendered. 8 will force any re-renders to run on the main thread instead 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing). 32 will prevent neighbor reactions from spawning drops. 64 will signify the block is being moved.booleanLevelWriter.setBlock(BlockPos pos, BlockState blockState, int updateFlags, int updateLimit) booleanLevel.setBlockAndUpdate(BlockPos pos, BlockState blockState) Convenience method to update the block on both the client and servervoidLevel.setBlocksDirty(BlockPos pos, BlockState oldState, BlockState newState) voidBaseSpawner.setEntityId(EntityType<?> type, @Nullable Level level, RandomSource random, BlockPos pos) protected voidBaseSpawner.setNextSpawnData(@Nullable Level level, BlockPos pos, SpawnData nextSpawnData) booleanEntityBasedExplosionDamageCalculator.shouldBlockExplode(Explosion explosion, BlockGetter level, BlockPos pos, BlockState state, float power) booleanExplosionDamageCalculator.shouldBlockExplode(Explosion explosion, BlockGetter level, BlockPos pos, BlockState state, float power) booleanSimpleExplosionDamageCalculator.shouldBlockExplode(Explosion explosion, BlockGetter level, BlockPos pos, BlockState state, float power) booleanLevel.shouldTickBlocksAt(BlockPos pos) static voidNaturalSpawner.spawnCategoryForPosition(MobCategory mobCategory, ServerLevel level, BlockPos start) static voidNaturalSpawner.spawnCategoryForPosition(MobCategory mobCategory, ServerLevel level, ChunkAccess chunk, BlockPos start, NaturalSpawner.SpawnPredicate extraTest, NaturalSpawner.AfterSpawnCallback spawnCallback) booleanStructureManager.structureHasPieceAt(BlockPos blockPos, StructureStart structureStart) booleanNaturalSpawner.SpawnPredicate.test(EntityType<?> type, BlockPos blockPos, ChunkAccess levelChunk) voidLevel.updateNeighborsAt(BlockPos pos, Block sourceBlock, @Nullable Orientation orientation) default voidLevelAccessor.updateNeighborsAt(BlockPos pos, Block sourceBlock) voidLevel.updateNeighborsAtExceptFromFacing(BlockPos pos, Block blockObject, Direction skipDirection, @Nullable Orientation orientation) voidLevel.updateNeighbourForOutputSignal(BlockPos pos, Block changedBlock) voidLevel.updatePOIOnBlockStateChange(BlockPos pos, BlockState oldState, BlockState newState) booleanMethod parameters in net.minecraft.world.level with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate voidServerExplosion.createFire(List<BlockPos> targetBlocks) private voidServerExplosion.hurtEntities(List<BlockPos> blocks) private voidServerExplosion.interactWithBlocks(List<BlockPos> targetBlocks) static <T,C> T BlockGetter.traverseBlocks(Vec3 from, Vec3 to, C context, BiFunction<C, BlockPos, @Nullable T> consumer, Function<C, T> missFactory) 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 start, BlockPos end) PointCharge(BlockPos pos, double charge) privateStackCollector(BlockPos pos, ItemStack stack) -
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> targetClimates, 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 originX, int originY, int originZ, int searchRadius, int skipSteps, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, Climate.Sampler sampler) BiomeSource.findBiomeHorizontal(int x, int y, int z, int searchRadius, Predicate<Holder<Biome>> allowed, RandomSource random, Climate.Sampler sampler) FixedBiomeSource.findBiomeHorizontal(int originX, int originY, int originZ, int r, int skipStep, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, Climate.Sampler sampler) BiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, Climate.Sampler sampler, LevelReader level) FixedBiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, Climate.Sampler sampler, LevelReader level) Methods in net.minecraft.world.level.biome with parameters of type BlockPosModifier and TypeMethodDescriptionvoidBiomeSource.addDebugInfo(List<String> result, BlockPos feetPos, Climate.Sampler sampler) voidMultiNoiseBiomeSource.addDebugInfo(List<String> result, BlockPos feetPos, Climate.Sampler sampler) booleanBiome.coldEnoughToSnow(BlockPos pos, int seaLevel) BiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, Climate.Sampler sampler, LevelReader level) FixedBiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, Climate.Sampler sampler, LevelReader level) private floatBiome.getHeightAdjustedTemperature(BlockPos pos, int seaLevel) BiomeManager.getNoiseBiomeAtPosition(BlockPos blockPos) Biome.getPrecipitationAt(BlockPos pos, int seaLevel) private floatBiome.getTemperature(BlockPos pos, int seaLevel) Deprecated.abstract floatBiome.TemperatureModifier.modifyTemperature(BlockPos pos, float baseTemperature) booleanBiome.shouldFreeze(LevelReader level, BlockPos pos) booleanBiome.shouldFreeze(LevelReader level, BlockPos pos, boolean checkNeighbors) booleanBiome.shouldMeltFrozenOceanIcebergSlightly(BlockPos pos, int seaLevel) booleanBiome.shouldSnow(LevelReader level, BlockPos pos) booleanBiome.warmEnoughToRain(BlockPos pos, int seaLevel) 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 BlockPosSideChainPartBlock.Neighbors.centerThe field for thecenterrecord component.private 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.posprivate final BlockPosRedstoneTorchBlock.Toggle.posprivate BlockPosSculkSpreader.ChargeCursor.posprivate final BlockPosSideChainPartBlock.EmptyNeighbor.posThe field for theposrecord component.private final BlockPosSideChainPartBlock.SideChainNeighbor.posThe field for theposrecord component.Fields in net.minecraft.world.level.block with type parameters of type BlockPosModifier and TypeFieldDescriptionEnchantingTableBlock.BOOKSHELF_OFFSETSprivate final Map<BlockPos, SideChainPartBlock.Neighbor> SideChainPartBlock.Neighbors.cacheThe field for thecacherecord component.RailState.connectionsMethods in net.minecraft.world.level.block that return BlockPosModifier and TypeMethodDescriptionSideChainPartBlock.Neighbors.center()Returns the value of thecenterrecord component.private static @Nullable BlockPosPointedDripstoneBlock.findFillableCauldronBelowStalactiteTip(Level level, BlockPos stalactiteTipPos, Fluid fluid) static @Nullable BlockPosPointedDripstoneBlock.findStalactiteTipAboveCauldron(Level level, BlockPos cauldronPos) private static @Nullable BlockPosPointedDripstoneBlock.findTip(BlockState dripstoneState, LevelAccessor level, BlockPos dripstonePos, int maxSearchLength, boolean includeMergedTip) static BlockPosChestBlock.getConnectedBlockPos(BlockPos pos, BlockState state) default BlockPosBonemealableBlock.getParticlePos(BlockPos blockPos) MangroveLeavesBlock.getParticlePos(BlockPos blockPos) RootedDirtBlock.getParticlePos(BlockPos blockPos) SculkSpreader.ChargeCursor.getPos()HangingMossBlock.getTip(BlockGetter level, BlockPos pos) private static @Nullable 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.SideChainPartBlock.EmptyNeighbor.pos()Returns the value of theposrecord component.SideChainPartBlock.Neighbor.pos()SideChainPartBlock.SideChainNeighbor.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.level.block that return types with arguments of type BlockPosModifier and TypeMethodDescriptionSideChainPartBlock.Neighbors.cache()Returns the value of thecacherecord component.PointedDripstoneBlock.findBlockVertical(LevelAccessor level, BlockPos pos, Direction.AxisDirection axisDirection, BiPredicate<BlockPos, BlockState> pathPredicate, Predicate<BlockState> targetPredicate, int maxSteps) PointedDripstoneBlock.findRootBlock(Level level, BlockPos pos, BlockState dripStoneState, int maxSearchLength) BonemealableBlock.findSpreadableNeighbourPos(Level level, BlockPos pos, BlockState blockToPlace) SideChainPartBlock.getAllBlocksConnectedTo(LevelAccessor level, BlockPos pos) RailState.getConnections()GrowingPlantBodyBlock.getHeadPos(BlockGetter level, BlockPos pos, Block bodyBlock) BonemealableBlock.getSpreadableNeighbourPos(List<Direction> directions, LevelReader level, BlockPos pos, BlockState blockToPlace) Methods in net.minecraft.world.level.block with parameters of type BlockPosModifier and TypeMethodDescriptionvoidSculkSensorBlock.activate(@Nullable Entity sourceEntity, Level level, BlockPos pos, BlockState state, int calculatedPower, int vibrationFrequency) private static voidChiseledBookShelfBlock.addBook(Level level, BlockPos pos, Player player, ChiseledBookShelfBlockEntity bookshelfBlock, ItemStack itemStack, int slot) voidSculkSpreader.addCursors(BlockPos startPos, int charge) private static BlockStateComposterBlock.addItem(@Nullable Entity sourceEntity, BlockState state, LevelAccessor level, BlockPos pos, ItemStack itemStack) voidSaplingBlock.advanceTree(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) protected voidAbstractCauldronBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidAbstractFurnaceBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidBarrelBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidBasePressurePlateBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidBaseRailBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidBrewingStandBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidButtonBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidChestBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidChiseledBookShelfBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidComposterBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidCopperGolemStatueBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidCrafterBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidCreakingHeartBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidDecoratedPotBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidDiodeBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidDispenserBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidHopperBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidJukeboxBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidLecternBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidLeverBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidLightningRodBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidObserverBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidRedstoneTorchBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidRedStoneWireBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidSculkSensorBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidShelfBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidShulkerBoxBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidTripWireBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) protected voidTripWireHookBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) private static booleanChorusFlowerBlock.allNeighborsEmpty(LevelReader level, BlockPos pos, @Nullable Direction ignore) private static booleanBlocks.always(BlockState state, BlockGetter blockGetter, BlockPos blockPos) static BooleanBlocks.always(BlockState state, BlockGetter blockGetter, BlockPos blockPos, EntityType<?> entityType) private voidBeehiveBlock.angerNearbyBees(Level level, BlockPos pos) voidAbstractCandleBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidBaseFireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidBeehiveBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidBlastFurnaceBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) 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) voidBrushableBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidBubbleColumnBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidCampfireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidCreakingHeartBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidCryingObsidianBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidDriedGhastBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidDryVegetationBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEnchantingTableBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEnderChestBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEndGatewayBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEndPortalBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEndRodBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidEyeblossomBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidFallingBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidFireflyBushBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidFurnaceBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidHangingMossBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidLeavesBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidLeverBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidLightningRodBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidMyceliumBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidNetherPortalBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidPointedDripstoneBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRedStoneOreBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRedstoneTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRedstoneWallTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRedStoneWireBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRepeaterBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidRespawnAnchorBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidSandBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidSculkSensorBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidShortDryGrassBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidSmokerBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidSporeBlossomBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidTallDryGrassBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidWallTorchBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidWetSpongeBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) voidWitherRoseBlock.animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) 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, @Nullable Collection<Direction> facings, boolean postProcess) booleanBellBlock.attemptToRing(@Nullable Entity ringingEntity, Level level, BlockPos pos, @Nullable Direction direction) booleanBellBlock.attemptToRing(Level level, BlockPos pos, @Nullable Direction direction) intSculkBehaviour.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVeins) intSculkBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVein) intSculkVeinBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVeins) private static DripstoneThicknessPointedDripstoneBlock.calculateDripstoneThickness(LevelReader level, BlockPos pos, Direction tipDirection, boolean mergeOpposingTips) private intComparatorBlock.calculateOutputSignal(Level level, BlockPos pos, BlockState state) static voidTripWireHookBlock.calculateState(Level level, BlockPos pos, BlockState state, boolean isBeingDestroyed, boolean canUpdate, int wireSource, @Nullable BlockState wireSourceState) private static @Nullable DirectionPointedDripstoneBlock.calculateTipDirection(LevelReader level, BlockPos pos, Direction defaultTipDirection) static booleanFaceAttachedHorizontalDirectionalBlock.canAttach(LevelReader level, BlockPos pos, Direction direction) private booleanLadderBlock.canAttachTo(BlockGetter level, BlockPos pos, Direction direction) static booleanMultifaceBlock.canAttachTo(BlockGetter level, BlockPos pos, Direction directionTowardsNeighbour) static booleanMultifaceBlock.canAttachTo(BlockGetter level, Direction directionTowardsNeighbour, BlockPos neighbourPos, BlockState neighbourState) booleanWallHangingSignBlock.canAttachTo(LevelReader level, BlockState state, BlockPos attachPos, Direction attachFace) private static booleanNyliumBlock.canBeNylium(BlockState state, LevelReader level, BlockPos pos) static booleanBaseFireBlock.canBePlacedAt(Level level, BlockPos pos, Direction forwardDirection) booleanFireBlock.canCatchFire(BlockGetter world, BlockPos pos, Direction face) Side sensitive version that calls the block function.private @Nullable DirectionChestBlock.candidatePartnerFacing(Level level, BlockPos pos, Direction neighbourDirection) private static booleanPointedDripstoneBlock.canDripThrough(BlockGetter level, BlockPos pos, BlockState state) private static booleanBigDripleafBlock.canEntityTilt(BlockPos pos, Entity entity) private booleanPitcherCropBlock.canGrow(LevelReader level, BlockPos lowerPos, BlockState lowerState, int newAge) 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 oldState) private static booleanSculkBlock.canPlaceGrowth(LevelAccessor level, BlockPos pos) booleanBarrierBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanKelpBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanKelpPlantBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanLiquidBlockContainer.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanSeagrassBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) default booleanSimpleWaterloggedBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanSlabBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanTallSeagrassBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) private static booleanSpreadingSnowyBlock.canPropagate(BlockState state, LevelReader level, BlockPos pos) static booleanRespawnAnchorBlock.canSetSpawn(ServerLevel level, BlockPos pos) booleanCarvedPumpkinBlock.canSpawnGolem(LevelReader level, BlockPos topPos) static booleanWitherSkullBlock.canSpawnMob(Level level, BlockPos pos, ItemStack itemStack) private booleanVineBlock.canSpread(BlockGetter level, BlockPos pos) booleanMultifaceSpreader.canSpreadInAnyDirection(BlockState state, BlockGetter level, BlockPos pos, Direction startingFace) booleanMultifaceSpreader.DefaultSpreaderConfig.canSpreadInto(BlockGetter level, BlockPos sourcePos, MultifaceSpreader.SpreadPos spreadPos) booleanMultifaceSpreader.SpreadConfig.canSpreadInto(BlockGetter level, BlockPos sourcePos, MultifaceSpreader.SpreadPos spreadPos) private static booleanSpreadingSnowyBlock.canStayAlive(BlockState state, LevelReader level, BlockPos pos) private booleanHangingMossBlock.canStayAtPosition(BlockGetter level, BlockPos pos) private static booleanMossyCarpetBlock.canSupportAtFace(BlockGetter level, BlockPos pos, Direction direction) private booleanVineBlock.canSupportAtFace(BlockGetter level, BlockPos pos, Direction direction) static booleanBlock.canSupportCenter(LevelReader level, BlockPos belowPos, Direction direction) static booleanBlock.canSupportRigidBlock(BlockGetter level, BlockPos below) 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 state, LevelReader level, BlockPos pos) 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 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 state, LevelReader level, BlockPos pos) 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 state, LevelReader level, BlockPos pos) 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 booleanFarmlandBlock.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 booleanHangingMossBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanHangingRootsBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanLadderBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanLanternBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanLeafLitterBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanMangrovePropaguleBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanMossyCarpetBlock.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 state, LevelReader level, BlockPos pos) protected booleanSnowLayerBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanSoulFireBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanSporeBlossomBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanStandingSignBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanSugarCaneBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanTallSeagrassBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanTripWireHookBlock.canSurvive(BlockState state, LevelReader level, BlockPos pos) protected booleanVegetationBlock.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 neightborPos, BlockState neighborState) private booleanRedStoneWireBlock.canSurviveOn(BlockGetter level, BlockPos relativePos, BlockState relativeState) private static booleanStairBlock.canTakeShape(BlockState state, BlockGetter level, BlockPos pos, Direction neighbour) private static booleanPointedDripstoneBlock.canTipGrow(BlockState tipState, ServerLevel level, BlockPos tipPos) default voidChangeOverTimeBlock.changeOverTime(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) private static voidLecternBlock.changePowered(Level level, BlockPos pos, BlockState state, boolean isPowered) static voidRespawnAnchorBlock.charge(@Nullable Entity sourceEntity, 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(BlockPos, Block, Orientation)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(@Nullable Entity sourceEntity, Level level, BlockPos pos, BlockState state, int oldSignal) 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) private voidTripWireBlock.checkPressed(Level level, BlockPos pos, List<? extends Entity> entities) static voidWitherSkullBlock.checkSpawn(Level level, BlockPos pos) static voidWitherSkullBlock.checkSpawn(Level level, BlockPos pos, SkullBlockEntity placedSkull) protected voidComparatorBlock.checkTickOnNeighbor(Level level, BlockPos pos, BlockState state) 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 ignoreBeingBlocked) ChestBlock.combine(BlockState state, Level level, BlockPos pos, boolean ignoreBeingBlocked) EnderChestBlock.combine(BlockState state, Level level, BlockPos pos, boolean ignoreBeingBlocked) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> entityType, Function<BlockState, DoubleBlockCombiner.BlockType> typeResolver, Function<BlockState, Direction> connectionResolver, Property<Direction> facingProperty, BlockState state, LevelAccessor level, BlockPos pos, BiPredicate<LevelAccessor, BlockPos> blockedChecker) 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 tipState, LevelAccessor level, BlockPos tipPos) private SideChainPartBlock.NeighborSideChainPartBlock.Neighbors.createNewNeighbor(BlockPos pos) private static BlockStateMossyCarpetBlock.createTopperWithSideChance(BlockGetter level, BlockPos pos, BooleanSupplier sideSurvivalTest) 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 randomness) protected voidCrafterBlock.dispenseFrom(BlockState state, ServerLevel level, BlockPos pos) protected voidDispenserBlock.dispenseFrom(ServerLevel level, BlockState state, BlockPos pos) protected voidDropperBlock.dispenseFrom(ServerLevel level, BlockState state, BlockPos pos) private voidCrafterBlock.dispenseItem(ServerLevel level, BlockPos pos, CrafterBlockEntity blockEntity, ItemStack results, BlockState blockState, RecipeHolder<?> recipe) static voidCampfireBlock.dowse(@Nullable Entity source, LevelAccessor level, BlockPos pos, BlockState state) static voidBeehiveBlock.dropHoneycomb(ServerLevel level, ItemStack tool, BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable Entity entity, BlockPos pos) static voidBlock.dropResources(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity) static voidBlock.dropResources(BlockState state, Level level, BlockPos pos) static voidBlock.dropResources(BlockState state, Level level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, 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) private static BlockStateComposterBlock.empty(@Nullable Entity sourceEntity, BlockState state, LevelAccessor level, BlockPos pos) protected voidBaseFireBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidBasePressurePlateBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidBigDripleafBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidBubbleColumnBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidButtonBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidCactusBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidCampfireBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidCropBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidDetectorRailBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidEndGatewayBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidEndPortalBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidEyeblossomBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidFrogspawnBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidHoneyBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidHopperBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidLavaCauldronBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidLayeredCauldronBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidLilyPadBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidNetherPortalBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) voidPitcherCropBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidPowderSnowBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidSweetBerryBushBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidTripWireBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidWebBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidWitherRoseBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) private voidCommandBlock.execute(BlockState state, ServerLevel level, BlockPos pos, BaseCommandBlock baseCommandBlock, boolean commandSet) private static voidCommandBlock.executeChain(ServerLevel level, BlockPos blockPos, Direction direction) private voidRespawnAnchorBlock.explode(BlockState state, ServerLevel level, BlockPos pos) static voidAbstractCandleBlock.extinguish(@Nullable Player player, BlockState state, LevelAccessor level, BlockPos pos) static BlockStateComposterBlock.extractProduce(Entity sourceEntity, BlockState state, Level level, BlockPos pos) voidBedBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidFarmlandBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidHayBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidHoneyBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidPointedDripstoneBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidPowderSnowBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidSlimeBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidTurtleEggBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) private booleanFrostedIceBlock.fewerNeigboursThan(BlockGetter level, BlockPos pos, int limit) PointedDripstoneBlock.findBlockVertical(LevelAccessor level, BlockPos pos, Direction.AxisDirection axisDirection, BiPredicate<BlockPos, BlockState> pathPredicate, Predicate<BlockState> targetPredicate, int maxSteps) BedBlock.findBunkBedStandUpPosition(EntityType<?> type, CollisionGetter level, BlockPos pos, Direction forward, Direction side) private static @Nullable BlockPosPointedDripstoneBlock.findFillableCauldronBelowStalactiteTip(Level level, BlockPos stalactiteTipPos, Fluid fluid) protected booleanPoweredRailBlock.findPoweredRailSignal(Level level, BlockPos pos, BlockState state, boolean forward, int searchDepth) PointedDripstoneBlock.findRootBlock(Level level, BlockPos pos, BlockState dripStoneState, int maxSearchLength) BonemealableBlock.findSpreadableNeighbourPos(Level level, BlockPos pos, BlockState blockToPlace) static @Nullable BlockPosPointedDripstoneBlock.findStalactiteTipAboveCauldron(Level level, BlockPos cauldronPos) BedBlock.findStandUpPosition(EntityType<?> type, CollisionGetter level, BlockPos pos, Direction forward, float yaw) RespawnAnchorBlock.findStandUpPosition(EntityType<?> type, CollisionGetter level, BlockPos pos) RespawnAnchorBlock.findStandUpPosition(EntityType<?> type, CollisionGetter level, BlockPos pos, boolean checkDangerous) BedBlock.findStandUpPositionAtOffset(EntityType<?> type, CollisionGetter level, BlockPos pos, int[][] offsets, boolean checkDangerous) private static @Nullable BlockPosPointedDripstoneBlock.findTip(BlockState dripstoneState, LevelAccessor level, BlockPos dripstonePos, int maxSearchLength, boolean includeMergedTip) private voidLiquidBlock.fizz(LevelAccessor level, BlockPos pos) static voidChorusFlowerBlock.generatePlant(LevelAccessor level, BlockPos target, RandomSource random, int maxHorizontalSpread) SideChainPartBlock.getAllBlocksConnectedTo(LevelAccessor level, BlockPos pos) protected intDiodeBlock.getAlternateSignal(SignalGetter level, BlockPos pos, BlockState state) protected intAbstractFurnaceBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intBarrelBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intBeehiveBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intBrewingStandBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intCakeBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intCandleCakeBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intChestBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intChiseledBookShelfBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intCommandBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intComposterBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intCopperBulbBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intCopperGolemStatueBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intCrafterBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intCreakingHeartBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intDecoratedPotBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intDetectorRailBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intDispenserBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intEndPortalFrameBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intHopperBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intJukeboxBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intLavaCauldronBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intLayeredCauldronBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intLecternBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intRespawnAnchorBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intSculkSensorBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intShelfBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) protected intShulkerBoxBlock.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) static @Nullable DirectionBedBlock.getBedOrientation(BlockGetter level, BlockPos pos) intRedStoneWireBlock.getBlockSignal(Level 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 level, BlockPos pos) protected VoxelShapeMudBlock.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeShulkerBoxBlock.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeSnowLayerBlock.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeSoulSandBlock.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShapeWallHangingSignBlock.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) static FluidPointedDripstoneBlock.getCauldronFillFluidType(ServerLevel level, BlockPos stalactitePos) protected ChestTypeChestBlock.getChestType(Level level, BlockPos pos, Direction facingDirection) protected ItemStackAbstractBannerBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackAttachedStemBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackBambooSaplingBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackBeehiveBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackBigDripleafStemBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackCandleCakeBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackCaveVinesBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackCaveVinesPlantBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackCopperGolemStatueBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackCropBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackDecoratedPotBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackEndGatewayBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackEndPortalBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackFlowerPotBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackFrostedIceBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackGrowingPlantBodyBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackLightBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackNetherPortalBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackNetherWartBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackStemBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackSweetBerryBushBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackTallSeagrassBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackTestBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) 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 VoxelShapeMossyCarpetBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeMudBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) 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) static BlockPosChestBlock.getConnectedBlockPos(BlockPos pos, BlockState state) private RedstoneSideRedStoneWireBlock.getConnectingSide(BlockGetter level, BlockPos pos, Direction direction) private RedstoneSideRedStoneWireBlock.getConnectingSide(BlockGetter level, BlockPos pos, Direction direction, boolean canConnectUp) private BlockStateRedStoneWireBlock.getConnectionState(BlockGetter level, BlockState state, BlockPos pos) static @Nullable ContainerChestBlock.getContainer(ChestBlock block, BlockState state, Level level, BlockPos pos, boolean ignoreBeingBlocked) ComposterBlock.getContainer(BlockState state, LevelAccessor level, BlockPos pos) private @Nullable IdentifierNoteBlock.getCustomSoundId(Level level, BlockPos pos) private static intSculkBlock.getDecayPenalty(SculkSpreader spreader, BlockPos pos, BlockPos originPos, int charge) private static TeleportTransitionNetherPortalBlock.getDimensionTransitionFromExit(Entity entity, BlockPos portalEntryPos, BlockUtil.FoundRectangle exitPortal, ServerLevel newLevel, TeleportTransition.PostTeleportTransition postTeleportTransition) protected intBasePressurePlateBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intButtonBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intDetectorRailBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intDiodeBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intLecternBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intLeverBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intLightningRodBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intObserverBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intRedstoneTorchBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intRedStoneWireBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) intSculkSensorBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intTrappedChestBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intTripWireHookBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) static intScaffoldingBlock.getDistance(BlockGetter level, BlockPos pos) private static ParticleOptionsPointedDripstoneBlock.getDripParticle(Level level, Fluid fluidAbove, BlockPos posAbove) Block.getDrops(BlockState state, ServerLevel level, BlockPos pos, @Nullable BlockEntity blockEntity) Block.getDrops(BlockState state, ServerLevel level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemInstance tool) intAnvilBlock.getDustColor(BlockState blockState, BlockGetter level, BlockPos pos) intColoredFallingBlock.getDustColor(BlockState blockState, BlockGetter level, BlockPos pos) intConcretePowderBlock.getDustColor(BlockState blockState, BlockGetter level, BlockPos pos) intDragonEggBlock.getDustColor(BlockState blockState, BlockGetter level, BlockPos pos) abstract intFallingBlock.getDustColor(BlockState blockState, BlockGetter level, BlockPos pos) protected VoxelShapeEndPortalBlock.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) protected VoxelShapeLavaCauldronBlock.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) protected VoxelShapeLayeredCauldronBlock.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) protected VoxelShapePowderSnowBlock.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) protected VoxelShapeTripWireBlock.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) private @Nullable TeleportTransitionNetherPortalBlock.getExitPortal(ServerLevel newLevel, Entity entity, BlockPos portalEntryPos, BlockPos approximateExitPos, boolean toNether, WorldBorder worldBorder) intDropExperienceBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intRedStoneOreBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSculkCatalystBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSculkSensorBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSculkShriekerBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSpawnerBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) private static Optional<PointedDripstoneBlock.FluidInfo> PointedDripstoneBlock.getFluidAboveStalactite(Level level, BlockPos stalactitePos, BlockState stalactiteState) static BlockStateCopperChestBlock.getFromCopperBlock(Block copperBlock, Direction facing, Level level, BlockPos pos) protected static floatCropBlock.getGrowthSpeed(BlockState cropBlockState, BlockGetter level, BlockPos pos) GrowingPlantBodyBlock.getHeadPos(BlockGetter level, BlockPos pos, Block bodyBlock) 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> type, Predicate<Entity> containerEntitySelector) 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 @Nullable ItemFrameComparatorBlock.getItemFrame(Level level, Direction direction, BlockPos tPos) private static BlockStateCopperChestBlock.getLeastOxidizedChestOfConnectedBlocks(BlockState state, Level level, BlockPos pos) private @Nullable PitcherCropBlock.PosAndStatePitcherCropBlock.getLowerHalf(LevelReader level, BlockPos pos, BlockState state) protected @Nullable MenuProviderAnvilBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected @Nullable MenuProviderBaseEntityBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected @Nullable MenuProviderCartographyTableBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected @Nullable MenuProviderChestBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderCraftingTableBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected @Nullable MenuProviderEnchantingTableBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected MenuProviderGrindstoneBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) protected @Nullable 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 @Nullable MenuProviderStonecutterBlock.getMenuProvider(BlockState state, Level level, BlockPos pos) private BlockStateRedStoneWireBlock.getMissingConnections(BlockGetter level, BlockState state, BlockPos pos) private SideChainPartBlock.NeighborsSideChainPartBlock.getNeighbors(LevelAccessor level, BlockPos center, Direction facing) default Optional<BlockState> ChangeOverTimeBlock.getNextState(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected intComparatorBlock.getOutputSignal(BlockGetter level, BlockPos pos, BlockState state) protected intDiodeBlock.getOutputSignal(BlockGetter level, BlockPos pos, BlockState state) default BlockPosBonemealableBlock.getParticlePos(BlockPos blockPos) MangroveLeavesBlock.getParticlePos(BlockPos blockPos) RootedDirtBlock.getParticlePos(BlockPos blockPos) @Nullable TeleportTransitionEndGatewayBlock.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) @Nullable TeleportTransitionEndPortalBlock.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) @Nullable TeleportTransitionNetherPortalBlock.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) @Nullable TeleportTransitionPortal.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) private @Nullable RailStateBaseRailBlock.getRailDirection(BlockState state, BlockGetter world, BlockPos pos, @Nullable AbstractMinecart cart) private BlockStateSculkBlock.getRandomGrowthState(LevelAccessor level, BlockPos pos, RandomSource random, boolean isWorldGen) private AABBDetectorRailBlock.getSearchBB(BlockPos pos) protected longBedBlock.getSeed(BlockState state, BlockPos pos) protected longDoorBlock.getSeed(BlockState state, BlockPos pos) protected longDoublePlantBlock.getSeed(BlockState state, BlockPos pos) private static @Nullable TestBlockEntityTestBlock.getServerTestBlockEntity(Level level, BlockPos pos) protected floatBarrierBlock.getShadeBrightness(BlockState state, BlockGetter level, BlockPos pos) protected floatLightBlock.getShadeBrightness(BlockState state, BlockGetter level, BlockPos pos) protected floatMudBlock.getShadeBrightness(BlockState state, BlockGetter level, BlockPos pos) 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 state, BlockGetter level, BlockPos pos) 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 state, BlockGetter level, BlockPos pos, CollisionContext context) 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 state, BlockGetter level, BlockPos pos, CollisionContext context) 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 VoxelShapeBushBlock.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 VoxelShapeCactusFlowerBlock.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 state, BlockGetter level, BlockPos pos, CollisionContext context) 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 VoxelShapeCopperGolemStatueBlock.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 VoxelShapeDecoratedPotBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeDiodeBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeDirtPathBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeDoorBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeDragonEggBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) DriedGhastBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeDryVegetationBlock.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 VoxelShapeFarmlandBlock.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) FlowerBedBlock.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 VoxelShapeGrindstoneBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeGrowingPlantBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeHangingMossBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeHangingRootsBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeHeavyCoreBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) 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) LeafLitterBlock.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 VoxelShapeLilyPadBlock.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 VoxelShapeMossyCarpetBlock.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 VoxelShapeNetherFungusBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeNetherPortalBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeNetherRootsBlock.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 state, BlockGetter level, BlockPos pos, CollisionContext context) 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 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 state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSeaPickleBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeShelfBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeShortDryGrassBlock.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 state, BlockGetter level, BlockPos pos, CollisionContext context) 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 state, BlockGetter level, BlockPos pos, CollisionContext context) 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 VoxelShapeTallDryGrassBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeTallGrassBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeTallSeagrassBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) TorchflowerCropBlock.getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) 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 intBasePressurePlateBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intButtonBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) intCalibratedSculkSensorBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intDaylightDetectorBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intDetectorRailBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intDiodeBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) intJukeboxBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intLecternBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intLeverBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intLightningRodBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intObserverBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intPoweredBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intRedstoneTorchBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intRedstoneWallTorchBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intRedStoneWireBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intSculkSensorBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intTargetBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) intTestBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intTrappedChestBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) protected intTripWireHookBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction 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) protected intWeightedPressurePlateBlock.getSignalStrength(Level level, BlockPos pos) BonemealableBlock.getSpreadableNeighbourPos(List<Direction> directions, LevelReader level, BlockPos pos, BlockState blockToPlace) MultifaceSpreader.getSpreadFromFaceTowardDirection(BlockState state, BlockGetter level, BlockPos pos, Direction startingFace, Direction spreadDirection, MultifaceSpreader.SpreadPredicate canSpreadInto) abstract MultifaceSpreader.SpreadPosMultifaceSpreader.SpreadType.getSpreadPos(BlockPos pos, Direction spreadDirection, Direction fromFace) 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 level, BlockPos pos) protected BlockStateFireBlock.getStateForPlacement(BlockGetter level, BlockPos pos) @Nullable BlockStateMultifaceBlock.getStateForPlacement(BlockState oldState, BlockGetter level, BlockPos placementPos, Direction placementDirection) @Nullable BlockStateMultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement(BlockState oldState, BlockGetter level, BlockPos placementPos, Direction placementDirection) @Nullable BlockStateMultifaceSpreader.SpreadConfig.getStateForPlacement(BlockState oldState, BlockGetter level, BlockPos placementPos, Direction placementDirection) private BlockStateFireBlock.getStateWithAge(LevelReader level, BlockPos pos, int age) static BlockStateChorusPlantBlock.getStateWithConnections(BlockGetter level, BlockPos pos, BlockState defaultState) HangingMossBlock.getTip(BlockGetter level, BlockPos pos) private static BlockStateMossyCarpetBlock.getUpdatedState(BlockState state, BlockGetter level, BlockPos pos, boolean createSides) private BlockStateVineBlock.getUpdatedState(BlockState state, BlockGetter level, BlockPos pos) private static @Nullable BlockPosSculkSpreader.ChargeCursor.getValidMovementPos(LevelAccessor level, BlockPos pos, RandomSource random) protected VoxelShapeFenceBlock.getVisualShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeIronBarsBlock.getVisualShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeMudBlock.getVisualShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapePowderSnowBlock.getVisualShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSnowLayerBlock.getVisualShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeSoulSandBlock.getVisualShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShapeTransparentBlock.getVisualShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) booleanComparatorBlock.getWeakChanges(BlockState state, LevelReader world, BlockPos pos) private voidPitcherCropBlock.grow(ServerLevel level, BlockState lowerState, BlockPos lowerPos, int increase) private static voidPointedDripstoneBlock.grow(ServerLevel level, BlockPos growFromPos, Direction growToDirection) protected voidBambooSaplingBlock.growBamboo(Level level, BlockPos pos) protected voidBambooStalkBlock.growBamboo(BlockState state, Level level, BlockPos pos, RandomSource random, int height) voidCropBlock.growCrops(Level level, BlockPos pos, BlockState state) booleanMushroomBlock.growMushroom(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) static voidPointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible(BlockState stalactiteStartState, ServerLevel level, BlockPos stalactiteStartPos, RandomSource random) private static voidPointedDripstoneBlock.growStalagmiteBelow(ServerLevel level, BlockPos posAboveStalagmite) private static voidChorusFlowerBlock.growTreeRecursive(LevelAccessor level, BlockPos current, RandomSource random, BlockPos startPos, int maxHorizontalSpread, int depth) 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 railPos) private booleanRailState.hasNeighborRail(BlockPos railPos) protected booleanRedstoneTorchBlock.hasNeighborSignal(Level level, BlockPos pos, BlockState state) protected booleanRedstoneWallTorchBlock.hasNeighborSignal(Level level, BlockPos pos, BlockState state) private booleanstatic booleanCreakingHeartBlock.hasRequiredLogs(BlockState state, LevelReader level, BlockPos pos) static booleanBonemealableBlock.hasSpreadableNeighbourPos(LevelReader level, BlockPos pos, BlockState blockToPlace) static 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 sourceEntity, BlockState state, ServerLevel level, ItemStack itemStack, BlockPos pos) private static voidRedStoneOreBlock.interact(BlockState state, Level level, BlockPos pos) static booleanVineBlock.isAcceptableNeighbour(BlockGetter level, BlockPos neighbourPos, Direction directionToNeighbour) private static booleanChestBlock.isBlockedChestByBlock(BlockGetter level, BlockPos pos) booleanAzaleaBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) 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) booleanBonemealableFeaturePlacerBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanBushBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanCaveVinesBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanCaveVinesPlantBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanCocoaBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanCropBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanFireflyBushBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanFlowerBedBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGlowLichenBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGrassBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGrowingPlantBodyBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanGrowingPlantHeadBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanHangingMossBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMangroveLeavesBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMangrovePropaguleBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMossyCarpetBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanMushroomBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanNetherFungusBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanNetherrackBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanNyliumBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanPitcherCropBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanRootedDirtBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSaplingBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSeagrassBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSeaPickleBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanShortDryGrassBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSmallDripleafBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanStemBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanSweetBerryBushBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanTallDryGrassBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) booleanTallFlowerBlock.isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state) 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) 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) private static booleanSculkSpreader.ChargeCursor.isMovementUnobstructed(LevelAccessor level, BlockPos from, BlockPos to) protected booleanFireBlock.isNearRain(Level level, BlockPos testPos) private static booleanFarmlandBlock.isNearWater(LevelReader level, BlockPos pos) private static booleanprivate booleanSculkSpreader.ChargeCursor.isPosUnreasonable(BlockPos originPos) static booleanprotected booleanPoweredRailBlock.isSameRailWithPower(Level level, BlockPos pos, boolean forward, int searchDepth, RailShape dir) static booleanTurtleEggBlock.isSand(BlockGetter level, 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 direction) private static booleanCreakingHeartBlock.isSurroundedByLogs(LevelAccessor level, BlockPos pos) private static booleanRedstoneTorchBlock.isToggledTooFrequently(Level level, BlockPos pos, boolean add) private static booleanSculkSpreader.ChargeCursor.isUnobstructed(LevelAccessor level, BlockPos from, Direction direction) booleanAzaleaBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) 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) booleanBonemealableFeaturePlacerBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanBushBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanCaveVinesBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanCaveVinesPlantBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanCocoaBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanCropBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanFireflyBushBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanFlowerBedBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanGlowLichenBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanGrassBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanGrowingPlantBodyBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanGrowingPlantHeadBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanHangingMossBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanMangroveLeavesBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanMangrovePropaguleBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanMossyCarpetBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanMushroomBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanNetherFungusBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanNetherrackBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanNyliumBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanPitcherCropBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanRootedDirtBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanSaplingBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanSeagrassBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanSeaPickleBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanShortDryGrassBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanSmallDripleafBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanStemBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanSweetBerryBushBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanTallDryGrassBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanTallFlowerBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) booleanTallGrassBlock.isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state) static booleanEnchantingTableBlock.isValidBookShelf(Level level, BlockPos pos, BlockPos offset) private booleanFireBlock.isValidFireLocation(BlockGetter level, BlockPos pos) private static booleanPointedDripstoneBlock.isValidPointedDripstonePlacement(LevelReader level, BlockPos pos, Direction tipDirection) booleanMultifaceBlock.isValidStateForPlacement(BlockGetter level, BlockState oldState, BlockPos placementPos, Direction placementDirection) 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 voidLeavesBlock.makeDrippingWaterParticles(Level level, BlockPos pos, RandomSource random, BlockState belowState, BlockPos below) private voidLeavesBlock.makeFallingLeavesParticles(Level level, BlockPos pos, RandomSource random, BlockState belowState, BlockPos below) private static voidLeverBlock.makeParticle(BlockState state, LevelAccessor level, BlockPos pos, float scale) static voidCampfireBlock.makeParticles(Level level, BlockPos pos, boolean isSignalFire, boolean smoking) private voidHoneyBlock.maybeDoSlideAchievement(Entity entity, BlockPos pos) static voidPointedDripstoneBlock.maybeTransferFluid(BlockState state, ServerLevel level, BlockPos pos, float randomValue) protected booleanAttachedStemBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanAzaleaBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanCactusFlowerBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanCropBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanDryVegetationBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) private static booleanFrogspawnBlock.mayPlaceOn(BlockGetter level, BlockPos pos) protected booleanLilyPadBlock.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 booleanNetherFungusBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanNetherRootsBlock.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 booleanSeagrassBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanSeaPickleBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanSmallDripleafBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanStemBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanTallSeagrassBlock.mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos) protected booleanVegetationBlock.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 block, @Nullable Orientation orientation, boolean movedByPiston) protected voidBaseRailBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidBellBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidBigDripleafBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidCommandBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidCopperBulbBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidCrafterBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidDiodeBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidDispenserBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidDoorBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidFenceGateBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidFrostedIceBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidHopperBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidLiquidBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidNoteBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidRedstoneLampBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidRedstoneTorchBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidRedStoneWireBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidShelfBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidSpongeBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidStructureBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidTestBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidTntBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidTrapDoorBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) private static booleanBlocks.never(BlockState state, BlockGetter blockGetter, BlockPos blockPos) static BooleanBlocks.never(BlockState state, BlockGetter blockGetter, BlockPos blockPos, EntityType<?> entityType) AbstractBannerBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) AbstractSkullBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityBarrelBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) BeaconBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) BedBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityBeehiveBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityBellBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) BlastFurnaceBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) BrewingStandBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityBrushableBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityCalibratedSculkSensorBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) CampfireBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) CeilingHangingSignBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) ChestBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityChiseledBookShelfBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) CommandBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) ComparatorBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) ConduitBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityCopperGolemStatueBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) CrafterBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) CreakingHeartBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) DaylightDetectorBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityDecoratedPotBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) DispenserBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) DropperBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) EnchantingTableBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) EnderChestBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) EndGatewayBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) EndPortalBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityEntityBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) FurnaceBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) HopperBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) JigsawBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) JukeboxBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) LecternBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntitySculkCatalystBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntitySculkSensorBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntitySculkShriekerBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityShelfBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) ShulkerBoxBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) SignBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) SmokerBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) SpawnerBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) StructureBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityTestBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityTestInstanceBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) TrappedChestBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityTrialSpawnerBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) @Nullable BlockEntityVaultBlock.newBlockEntity(BlockPos pos, BlockState state) WallHangingSignBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) private voidRedstoneTorchBlock.notifyNeighbors(Level level, BlockPos pos, BlockState state) private static voidTripWireHookBlock.notifyNeighbors(Block block, Level level, BlockPos pos, Direction direction) static BooleanBlocks.ocelotOrParrot(BlockState state, BlockGetter blockGetter, BlockPos blockPos, EntityType<?> entityType) voidAnvilBlock.onBrokenAfterFall(Level level, BlockPos pos, FallingBlockEntity entity) voidBrushableBlock.onBrokenAfterFall(Level level, BlockPos pos, FallingBlockEntity entity) default voidFallable.onBrokenAfterFall(Level level, BlockPos pos, FallingBlockEntity entity) voidPointedDripstoneBlock.onBrokenAfterFall(Level level, BlockPos pos, FallingBlockEntity entity) booleanTntBlock.onCaughtFire(BlockState state, Level world, BlockPos pos, @Nullable Direction face, @Nullable 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, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidBeehiveBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidBellBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidButtonBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidCreakingHeartBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidDoorBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidFenceGateBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidLeverBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidTrapDoorBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) voidAnvilBlock.onLand(Level level, BlockPos pos, BlockState state, BlockState replacedBlock, FallingBlockEntity entity) voidConcretePowderBlock.onLand(Level level, BlockPos pos, BlockState state, BlockState replacedBlock, FallingBlockEntity entity) default voidFallable.onLand(Level level, BlockPos pos, BlockState state, BlockState replacedBlock, FallingBlockEntity entity) voidLightningRodBlock.onLightningStrike(BlockState state, Level level, BlockPos pos) voidComparatorBlock.onNeighborChange(BlockState state, LevelReader levelReader, BlockPos pos, BlockPos neighbor) voidAbstractCauldronBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidBaseFireBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidBaseRailBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) voidBrushableBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidCarvedPumpkinBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidComposterBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) 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 movedByPiston) protected voidCoralPlantBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidCoralWallFanBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidDetectorRailBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidDiodeBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidFallingBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidFireBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) 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 movedByPiston) 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 movedByPiston) protected voidObserverBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidRedstoneTorchBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidRedStoneWireBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidScaffoldingBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidSculkSensorBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidShelfBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) voidSnifferEggBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidSpongeBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidTargetBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidTntBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidTripWireBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidTurtleEggBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected voidWetSpongeBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) 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) protected voidFurnaceBlock.openContainer(Level level, BlockPos pos, Player player) protected voidSmokerBlock.openContainer(Level level, BlockPos pos, Player player) private voidLecternBlock.openScreen(Level level, BlockPos pos, Player player) voidAzaleaBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) 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) voidBonemealableFeaturePlacerBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidBushBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidCaveVinesBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidCaveVinesPlantBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidCocoaBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidCropBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidFireflyBushBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidFlowerBedBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGlowLichenBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGrowingPlantBodyBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidGrowingPlantHeadBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidHangingMossBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMangroveLeavesBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMangrovePropaguleBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMossyCarpetBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidMushroomBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidNetherFungusBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidNetherrackBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidNyliumBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidPitcherCropBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidRootedDirtBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSaplingBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSeagrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSeaPickleBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidShortDryGrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSmallDripleafBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidStemBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidSweetBerryBushBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidTallDryGrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidTallFlowerBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) voidTallGrassBlock.performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) BarrierBlock.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) BubbleColumnBlock.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) BucketPickup.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) LiquidBlock.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) PowderSnowBlock.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) default ItemStackSimpleWaterloggedBlock.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) protected static booleanBigDripleafBlock.place(LevelAccessor level, BlockPos pos, FluidState fluidState, Direction facing) protected static booleanBigDripleafStemBlock.place(LevelAccessor level, BlockPos pos, FluidState fluidState, Direction facing) private voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> configuredFeatures, ResourceKey<ConfiguredFeature<?, ?>> id, ServerLevel level, ChunkGenerator generator, RandomSource random, BlockPos pos) static voidDoublePlantBlock.placeAt(LevelAccessor level, BlockState state, BlockPos lowerPos, int updateType) static voidMossyCarpetBlock.placeAt(LevelAccessor level, BlockPos pos, RandomSource random, int updateType) private static voidLecternBlock.placeBook(@Nullable LivingEntity sourceEntity, Level level, BlockPos pos, BlockState state, ItemStack book) 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) booleanDriedGhastBlock.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 level, BlockPos pos, BlockState state, FluidState fluidState) default booleanSimpleWaterloggedBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanSlabBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanTallSeagrassBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor level, RandomSource random, BlockPos stemBottomPos, Direction facing) voidBeehiveBlock.playerDestroy(Level level, Player player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack destroyedWith) voidBlock.playerDestroy(Level level, Player player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack destroyedWith) Called after a player has successfully harvested this block.voidDoublePlantBlock.playerDestroy(Level level, Player player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack destroyedWith) voidIceBlock.playerDestroy(Level level, Player player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack destroyedWith) voidTurtleEggBlock.playerDestroy(Level level, Player player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack destroyedWith) 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) CreakingHeartBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) DecoratedPotBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) 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(@Nullable Entity source, BlockState state, Level level, BlockPos pos) protected voidButtonBlock.playSound(@Nullable Player player, LevelAccessor level, BlockPos pos, boolean pressed) private voidprotected static voidLeverBlock.playSound(@Nullable Player player, LevelAccessor level, BlockPos pos, BlockState stateAfter) private voidShelfBlock.playSound(LevelAccessor level, BlockPos pos, SoundEvent sound) protected voidprivate static voidBigDripleafBlock.playTiltSound(Level level, BlockPos pos, SoundEvent tiltSound) 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 itemStack) Spawns the given stack into the Level at the given position, respecting the doTileDrops gamerulestatic voidBlock.popResourceFromFace(Level level, BlockPos pos, Direction face, ItemStack itemStack) voidButtonBlock.press(BlockState state, Level level, BlockPos pos, @Nullable Player player) protected static voidDoublePlantBlock.preventDropFromBottomPart(Level level, BlockPos pos, BlockState state, Player player) static booleanDeprecated.private static booleanTntBlock.prime(Level level, BlockPos pos, @Nullable LivingEntity source) Deprecated.voidLeverBlock.pull(BlockState state, Level level, BlockPos pos, @Nullable Player player) static BlockStateBlock.pushEntitiesUp(BlockState state, BlockState newState, LevelAccessor level, BlockPos pos) protected voidBambooSaplingBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBambooStalkBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBeetrootBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBuddingAmethystBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCactusBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidChorusFlowerBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCocoaBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidCropBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDriedGhastBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidEyeblossomBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFarmlandBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFlowerPotBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidGrowingPlantHeadBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidIceBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLeavesBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidLiquidBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidMangrovePropaguleBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidMushroomBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidNetherPortalBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidNetherWartBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidNyliumBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) voidPitcherCropBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidPointedDripstoneBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidRedStoneOreBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSaplingBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSnowLayerBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSpreadingSnowyBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidStemBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSugarCaneBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidSweetBerryBushBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) voidTorchflowerCropBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidTurtleEggBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidVineBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperBarsBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperBulbBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperChainBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperChestBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperDoorBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperFullBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperGolemStatueBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperGrateBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperSlabBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperStairBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringCopperTrapDoorBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringLanternBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidWeatheringLightningRodBlock.randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) 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 existing, Collection<Direction> faces) voidBeehiveBlock.releaseBeesAndResetHoneyLevel(Level level, BlockState state, BlockPos pos, @Nullable Player player, BeehiveBlockEntity.BeeReleaseStatus beeReleaseStatus) private static voidChiseledBookShelfBlock.removeBook(Level level, BlockPos pos, Player player, ChiseledBookShelfBlockEntity bookshelfBlock, int slot) private booleanSpongeBlock.removeWaterBreadthFirstSearch(Level level, BlockPos startPos) static voidLecternBlock.resetBookState(@Nullable Entity sourceEntity, 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 blockPos) protected booleanCoralBlock.scanForWater(BlockGetter level, BlockPos blockPos) private BlockStateNoteBlock.setInstrument(LevelReader level, BlockPos position, BlockState state) private static voidAbstractCandleBlock.setLit(LevelAccessor level, BlockState state, BlockPos pos, boolean lit) voidDoorBlock.setOpen(@Nullable Entity sourceEntity, Level level, BlockState state, BlockPos pos, boolean shouldOpen) private static voidTargetBlock.setOutputPower(LevelAccessor level, BlockState state, int outputStrength, BlockPos pos, int duration) private voidSideChainPartBlock.setPart(LevelAccessor level, BlockPos pos, SideChainPart newPart) voidBedBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) Called by BlockItem after this block has been placed.voidCommandBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidCrafterBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidDiodeBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidDoorBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidDoublePlantBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidDriedGhastBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidJukeboxBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidMossyCarpetBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidPitcherCropBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidSmallDripleafBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidStructureBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidTripWireHookBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidWitherSkullBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) voidWitherWallSkullBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) Called by ItemBlocks after a block is set in the world, to allow post-place logicprivate voidCommandBlock.setPoweredAndUpdate(Level level, BlockPos pos, CommandBlockEntity commandBlock, boolean isPowered) private static voidBigDripleafBlock.setTilt(BlockState state, Level level, BlockPos pos, Tilt tilt) private voidBigDripleafBlock.setTiltAndScheduleTick(BlockState state, Level level, BlockPos pos, Tilt tilt, @Nullable SoundEvent sound) private static booleanBaseRailBlock.shouldBeRemoved(BlockPos pos, Level level, RailShape shape) private static booleanFarmlandBlock.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(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction direction) private static booleanConcretePowderBlock.shouldSolidify(BlockGetter level, BlockPos pos, BlockState replacedBlock) private static booleanConcretePowderBlock.shouldSolidify(BlockGetter level, BlockPos pos, BlockState replacedBlock, 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 isWorldGen) private booleanTurtleEggBlock.shouldUpdateHatchLevel(Level level, BlockPos pos) private BlockStateWallBlock.sideUpdate(LevelReader level, BlockPos pos, BlockState state, BlockPos neighbourPos, BlockState neighbour, Direction direction) 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 tool, boolean dropExperience) protected voidInfestedBlock.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack tool, boolean dropExperience) protected voidRedStoneOreBlock.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack tool, boolean dropExperience) protected voidSculkCatalystBlock.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack tool, boolean dropExperience) protected voidSculkSensorBlock.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack tool, boolean dropExperience) protected voidSculkShriekerBlock.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack tool, boolean dropExperience) protected voidSpawnerBlock.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack tool, boolean dropExperience) protected 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 stalactiteTipPos, BlockState stalactiteTipState) private static voidPointedDripstoneBlock.spawnDripParticle(Level level, BlockPos stalactiteTipPos, BlockState stalactiteTipState, Fluid fluidAbove, BlockPos posAbove) protected abstract voidLeavesBlock.spawnFallingLeavesParticle(Level level, BlockPos pos, RandomSource random) protected voidTintedParticleLeavesBlock.spawnFallingLeavesParticle(Level level, BlockPos pos, RandomSource random) protected voidUntintedParticleLeavesBlock.spawnFallingLeavesParticle(Level level, BlockPos pos, RandomSource random) private static voidPointedDripstoneBlock.spawnFallingStalactite(BlockState state, ServerLevel level, BlockPos pos) private voidDriedGhastBlock.spawnGhastling(ServerLevel level, BlockPos position, BlockState state) private static voidCarvedPumpkinBlock.spawnGolemInWorld(Level level, BlockPattern.BlockPatternMatch match, Entity golem, BlockPos spawnPos) private voidInfestedBlock.spawnInfestation(ServerLevel level, BlockPos pos) private voidBeehiveBlock.spawnParticle(Level level, BlockPos pos, VoxelShape dripShape, double height) private static voidRedStoneOreBlock.spawnParticles(Level level, BlockPos pos) private static voidRedStoneWireBlock.spawnParticlesAlongLine(Level level, RandomSource random, BlockPos pos, int color, Direction side, Direction along, float from, float to) private voidFrogspawnBlock.spawnTadpoles(ServerLevel level, BlockPos pos, RandomSource random) voidEyeblossomBlock.Type.spawnTransformParticle(ServerLevel level, BlockPos pos, RandomSource random) longMultifaceSpreader.spreadAll(BlockState state, LevelAccessor level, BlockPos pos, boolean postProcess) private longMultifaceSpreader.spreadFromFaceTowardAllDirections(BlockState state, LevelAccessor level, BlockPos pos, Direction startingFace, boolean postProcess) MultifaceSpreader.spreadFromFaceTowardDirection(BlockState state, LevelAccessor level, BlockPos pos, Direction fromFace, Direction spreadDirection, boolean postProcess) MultifaceSpreader.spreadFromFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, Direction startingFace, RandomSource random, boolean postProcess) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, RandomSource random) private voidObserverBlock.startSignal(LevelReader level, ScheduledTickAccess ticks, BlockPos pos) protected booleanMultifaceSpreader.DefaultSpreaderConfig.stateCanBeReplaced(BlockGetter level, BlockPos sourcePos, BlockPos placementPos, Direction placementDirection, BlockState existingState) booleanSculkVeinBlock.SculkVeinSpreaderConfig.stateCanBeReplaced(BlockGetter level, BlockPos sourcePos, BlockPos placementPos, Direction placementDirection, BlockState existingState) voidBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidMagmaBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidRedStoneOreBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidSculkSensorBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidSculkShriekerBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidSlimeBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidTurtleEggBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) private static booleanPitcherCropBlock.sufficientLight(LevelReader level, BlockPos pos) private booleanShelfBlock.swapHotbar(Level level, BlockPos pos, Inventory inventory) private voidDragonEggBlock.teleport(BlockState state, Level level, BlockPos pos) booleanMultifaceSpreader.SpreadPredicate.test(BlockGetter level, BlockPos sourcePos, MultifaceSpreader.SpreadPos spreadPos) protected voidAbstractCauldronBlock.tick(BlockState cauldronState, 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 voidCreakingHeartBlock.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 state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDispenserBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidDriedGhastBlock.tick(BlockState state, ServerLevel level, BlockPos position, RandomSource random) protected voidEnderChestBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidEyeblossomBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFallingBlock.tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidFarmlandBlock.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 voidHangingMossBlock.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 voidLiquidBlock.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 state, ServerLevel level, BlockPos pos, RandomSource random) 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 position, 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 voidTestBlock.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 blockPos, BlockState blockState, DaylightDetectorBlockEntity blockEntity) private voidDriedGhastBlock.tickWaterlogged(BlockState state, ServerLevel level, BlockPos position, RandomSource random) private voidTrapDoorBlock.toggle(BlockState state, Level level, BlockPos pos, @Nullable Player player) private BlockStateWallBlock.topUpdate(LevelReader level, BlockState state, BlockPos topPos, BlockState topNeighbour) private static booleanConcretePowderBlock.touchesLiquid(BlockGetter level, BlockPos pos, BlockState state) protected booleanBaseEntityBlock.triggerEvent(BlockState state, Level level, BlockPos pos, int b0, int b1) protected booleanComparatorBlock.triggerEvent(BlockState state, Level level, BlockPos pos, int b0, int b1) protected booleanNoteBlock.triggerEvent(BlockState state, Level level, BlockPos pos, int b0, int b1) protected voidSpongeBlock.tryAbsorbWater(Level level, BlockPos pos) private voidCreakingHeartBlock.tryAwardExperience(Player player, BlockState state, Level level, BlockPos pos) private booleanEyeblossomBlock.tryChangingState(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected voidBlock.tryDropExperience(ServerLevel level, BlockPos pos, ItemStack tool, IntProvider xpRange) static booleanLecternBlock.tryPlaceBook(@Nullable LivingEntity sourceEntity, Level level, BlockPos pos, BlockState state, ItemStack item) static voidSculkSensorBlock.tryResonateVibration(@Nullable Entity sourceEntity, Level level, BlockPos pos, int vibrationFrequency) private voidLiquidBlock.tryScheduleBubbleColumn(ScheduledTickAccess ticks, BlockState state, BlockPos pos, BlockState stateBelow) protected voidBaseCoralPlantTypeBlock.tryScheduleDieTick(BlockState state, BlockGetter level, ScheduledTickAccess ticks, RandomSource random, BlockPos pos) private voidBeehiveBlock.trySpawnDripParticles(Level level, BlockPos pos, BlockState state) private voidCarvedPumpkinBlock.trySpawnGolem(Level level, BlockPos topPos) static voidFarmlandBlock.turnToDirt(@Nullable Entity sourceEntity, BlockState state, Level level, BlockPos pos) voidSculkSpreader.ChargeCursor.update(LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVeins) private static voidLecternBlock.updateBelow(Level level, BlockPos pos, BlockState state) static voidBubbleColumnBlock.updateColumn(Block bubbleColumn, LevelAccessor level, BlockPos occupyAt, BlockState belowState) static voidBubbleColumnBlock.updateColumn(Block bubbleColumn, LevelAccessor level, BlockPos occupyAt, BlockState occupyState, BlockState belowState) voidSculkSpreader.updateCursors(LevelAccessor level, BlockPos originPos, RandomSource random, boolean spreadVeins) protected BlockStateBaseRailBlock.updateDir(Level level, BlockPos pos, BlockState state, boolean first) private static BlockStateLeavesBlock.updateDistance(BlockState state, LevelAccessor level, BlockPos pos) static BlockStateBlock.updateFromNeighbourShapes(BlockState state, 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 updateFlags, int updateLimit) default voidSideChainPartBlock.updateNeighborsAfterPoweringDown(LevelAccessor level, BlockPos pos, BlockState state) 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 blockState, BlockState newState, LevelAccessor level, BlockPos blockPos, int updateFlags) Replaces oldState with newState, possibly playing effects and creating drops.static voidBlock.updateOrDestroy(BlockState blockState, BlockState newState, LevelAccessor level, BlockPos blockPos, int updateFlags, int updateLimit) (package private) voidCopperGolemStatueBlock.updatePose(Level level, BlockState state, BlockPos pos, Player player) private voidRedStoneWireBlock.updatePowerStrength(Level level, BlockPos pos, BlockState state, @Nullable Orientation orientation, boolean shapeUpdateWiresAroundInitialPosition) protected voidDetectorRailBlock.updatePowerToConnected(Level level, BlockPos pos, BlockState state, boolean powered) default voidSideChainPartBlock.updateSelfAndNeighborsOnPoweringUp(LevelAccessor level, BlockPos pos, BlockState state, BlockState oldState) protected BlockStateAmethystClusterBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateAttachedStemBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBambooSaplingBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBambooStalkBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBannerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBarrierBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBaseCoralPlantTypeBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBaseCoralWallFanBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBasePressurePlateBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBaseRailBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBaseTorchBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBedBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBeehiveBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBellBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBigDripleafBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBigDripleafStemBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) BrushableBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBubbleColumnBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCactusBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCakeBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCampfireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCandleBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCandleCakeBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCarpetBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCeilingHangingSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateChainBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateChestBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateChorusFlowerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateChorusPlantBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCocoaBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) ComparatorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateConcretePowderBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateConduitBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCopperChestBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCopperGolemStatueBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCoralBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCoralFanBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCoralPlantBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCoralWallFanBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateCreakingHeartBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateDecoratedPotBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateDirtPathBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateDoorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateDoublePlantBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateDriedGhastBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateEnderChestBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFaceAttachedHorizontalDirectionalBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFallingBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFarmlandBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFenceBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFenceGateBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFlowerPotBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateFrogspawnBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateGrowingPlantBodyBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateGrowingPlantHeadBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateHangingMossBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateHangingRootsBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateHeavyCoreBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateHugeMushroomBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateIronBarsBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateLadderBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateLanternBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateLeavesBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateLightBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction direction, BlockPos neighbourPos, BlockState neighbour, RandomSource random) protected BlockStateLightningRodBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateLiquidBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateMangrovePropaguleBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateMangroveRootsBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateMossyCarpetBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateMultifaceBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateNetherPortalBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateNoteBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateObserverBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) PitcherCropBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStatePointedDripstoneBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateRedstoneWallTorchBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateRedStoneWireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateRepeaterBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateScaffoldingBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSculkSensorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSculkShriekerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSeagrassBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSeaPickleBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateShelfBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSlabBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSmallDripleafBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSnowLayerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSnowyBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSoulFireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSporeBlossomBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateStairBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateStandingSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateSugarCaneBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateTrapDoorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateTripWireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateTripWireHookBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateVegetationBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateVineBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateWallBannerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateWallBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) private BlockStateWallBlock.updateShape(LevelReader level, BlockState state, BlockPos topPos, BlockState topNeighbour, boolean north, boolean east, boolean south, boolean west) protected BlockStateWallHangingSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateWallSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateWallTorchBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateWaterloggedTransparentBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) 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 block) private static BlockStateCreakingHeartBlock.updateState(BlockState state, Level level, BlockPos pos) 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 sourceEntity, BlockState state, Level level, BlockPos pos) protected InteractionResultAbstractCauldronBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultBeehiveBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultCakeBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultCampfireBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultCandleBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultCandleCakeBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultCeilingHangingSignBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultChiseledBookShelfBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultComposterBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultCopperGolemStatueBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultDecoratedPotBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultFlowerPotBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultJukeboxBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultLecternBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultNoteBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultPumpkinBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultRedStoneOreBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultRespawnAnchorBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultShelfBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultSignBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultSweetBerryBushBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultTntBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) VaultBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultWallHangingSignBlock.useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected InteractionResultWeatheringCopperGolemStatueBlock.useItemOn(ItemStack itemStack, 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 state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultCaveVinesPlantBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) 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 state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) 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 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 stateBefore, 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 InteractionResultTestBlock.useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResultTestInstanceBlock.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(ServerLevel level, BlockPos pos, Explosion explosion) voidTntBlock.wasExploded(ServerLevel level, BlockPos pos, Explosion explosion) Method parameters in net.minecraft.world.level.block with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate voidSideChainPartBlock.addBlocksConnectingTowards(IntFunction<SideChainPartBlock.Neighbor> getNeighbor, SideChainPart endPart, Consumer<BlockPos> accumulator) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> entityType, Function<BlockState, DoubleBlockCombiner.BlockType> typeResolver, Function<BlockState, Direction> connectionResolver, Property<Direction> facingProperty, BlockState state, LevelAccessor level, BlockPos pos, BiPredicate<LevelAccessor, BlockPos> blockedChecker) PointedDripstoneBlock.findBlockVertical(LevelAccessor level, BlockPos pos, Direction.AxisDirection axisDirection, BiPredicate<BlockPos, BlockState> pathPredicate, Predicate<BlockState> targetPredicate, int maxSteps) protected voidAbstractCandleBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidBeehiveBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidBellBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidButtonBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidCreakingHeartBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidDoorBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidFenceGateBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidLeverBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidTrapDoorBlock.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) 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) EmptyNeighbor(BlockPos pos) Creates an instance of aEmptyNeighborrecord class.(package private)FluidInfo(BlockPos pos, Fluid fluid, BlockState sourceState) Creates an instance of aFluidInforecord class.InputContainer(BlockState state, LevelAccessor level, BlockPos pos) Neighbors(SideChainPartBlock block, LevelAccessor level, Direction facing, BlockPos center, Map<BlockPos, SideChainPartBlock.Neighbor> cache) Creates an instance of aNeighborsrecord class.OutputContainer(BlockState state, LevelAccessor level, BlockPos pos, ItemStack contents) privatePosAndState(BlockPos pos, BlockState state) Creates an instance of aPosAndStaterecord class.RailState(Level level, BlockPos pos, BlockState state) SideChainNeighbor(LevelAccessor level, SideChainPartBlock block, BlockPos pos, SideChainPart part) Creates an instance of aSideChainNeighborrecord class.Creates an instance of aSpreadPosrecord class.Constructor parameters in net.minecraft.world.level.block with type arguments of type BlockPosModifierConstructorDescriptionNeighbors(SideChainPartBlock block, LevelAccessor level, Direction facing, BlockPos center, Map<BlockPos, SideChainPartBlock.Neighbor> cache) Creates an instance of aNeighborsrecord class. -
Uses of BlockPos in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as BlockPosModifier and TypeFieldDescriptionprotected final BlockPosSculkSensorBlockEntity.VibrationUser.blockPosprivate static final BlockPosStructureBlockEntity.DEFAULT_POSprivate @Nullable BlockPosTheEndGatewayBlockEntity.exitPortalprivate final BlockPosBoundingBoxRenderable.RenderableBox.localPosThe field for thelocalPosrecord component.private final BlockPosTestInstanceBlockEntity.ErrorMarker.posThe field for theposrecord component.private @Nullable 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 exitPortal) private static BlockPosTheEndGatewayBlockEntity.findOrCreateValidTeleportPos(ServerLevel level, BlockPos endGatewayPos) private static BlockPosTheEndGatewayBlockEntity.findTallestBlock(BlockGetter level, BlockPos around, int dist, boolean allowBedrock) private static @Nullable BlockPosTheEndGatewayBlockEntity.findValidSpawnInChunk(LevelChunk chunk) BlockEntity.getBlockPos()TickingBlockEntity.getPos()static BlockPosBlockEntity.getPosFromTag(ChunkPos base, CompoundTag entityTag) TestInstanceBlockEntity.getStartCorner()StructureBlockEntity.getStructurePos()TestInstanceBlockEntity.getStructurePos()static BlockPosTestInstanceBlockEntity.getStructurePos(BlockPos blockPos) BoundingBoxRenderable.RenderableBox.localPos()Returns the value of thelocalPosrecord component.TestInstanceBlockEntity.ErrorMarker.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.level.block.entity that return types with arguments of type BlockPosModifier and TypeMethodDescriptionStructureBlockEntity.getRelatedCorners(BlockPos corner1, BlockPos corner2) CreakingHeartBlockEntity.spreadResin(ServerLevel level) Methods in net.minecraft.world.level.block.entity with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidSkullBlockEntity.animation(Level level, BlockPos pos, BlockState state, SkullBlockEntity entity) private static voidConduitBlockEntity.animationTick(Level level, BlockPos worldPosition, List<BlockPos> effectBlocks, @Nullable Entity destroyTarget, int tickCount) private static voidBeaconBlockEntity.applyEffects(Level level, BlockPos worldPosition, int levels, @Nullable Holder<MobEffect> primaryPower, @Nullable Holder<MobEffect> secondaryPower) private static voidConduitBlockEntity.applyEffects(Level level, BlockPos worldPosition, List<BlockPos> effectBlocks) private static booleanBellBlockEntity.areRaidersNearby(BlockPos bellPos, List<LivingEntity> nearbyEntities) static voidTheEndGatewayBlockEntity.beamAnimationTick(Level level, BlockPos pos, BlockState state, TheEndGatewayBlockEntity entity) private voidSculkCatalystBlockEntity.CatalystListener.bloom(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) static voidEnchantingTableBlockEntity.bookAnimationTick(Level level, BlockPos worldPosition, BlockState state, EnchantingTableBlockEntity entity) private static Optional<BoundingBox> StructureBlockEntity.calculateEnclosingBoundingBox(BlockPos pos, Stream<BlockPos> relatedCorners) booleanCalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable GameEvent.Context context) booleanSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable GameEvent.Context context) booleanSculkShriekerBlockEntity.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, GameEvent.Context context) static voidBellBlockEntity.clientTick(Level level, BlockPos pos, BlockState state, BellBlockEntity entity) static voidConduitBlockEntity.clientTick(Level level, BlockPos pos, BlockState state, ConduitBlockEntity entity) static voidSpawnerBlockEntity.clientTick(Level level, BlockPos pos, BlockState state, SpawnerBlockEntity entity) static voidCampfireBlockEntity.cookTick(ServerLevel level, BlockPos pos, BlockState state, CampfireBlockEntity entity, RecipeManager.CachedCheck<SingleRecipeInput, CampfireCookingRecipe> recipeCache) static voidCampfireBlockEntity.cooldownTick(Level level, BlockPos pos, BlockState state, CampfireBlockEntity entity) BlockEntityType.BlockEntitySupplier.create(BlockPos worldPosition, BlockState blockState) BlockEntityType.create(BlockPos worldPosition, BlockState blockState) private static CommandSourceStackSignBlockEntity.createCommandSourceStack(@Nullable Player player, ServerLevel level, BlockPos pos) @Nullable EntityBeehiveBlockEntity.Occupant.createEntity(Level level, BlockPos hivePos) voidContainerOpenersCounter.decrementOpeners(LivingEntity entity, Level level, BlockPos pos, BlockState blockState) private static voidBrewingStandBlockEntity.doBrew(Level level, BlockPos pos, NonNullList<ItemStack> items) private static voidShulkerBoxBlockEntity.doNeighborUpdates(Level level, BlockPos pos, BlockState blockState) private static booleanHopperBlockEntity.ejectItems(Level level, BlockPos blockPos, HopperBlockEntity self) static voidHopperBlockEntity.entityInside(Level level, BlockPos pos, BlockState blockState, Entity entity, HopperBlockEntity hopper) booleanSignBlockEntity.executeClickCommandsIfPresent(ServerLevel level, Player player, BlockPos pos, boolean isFrontText) private static Vec3TheEndGatewayBlockEntity.findExitPortalXZPosTentative(ServerLevel level, BlockPos endGatewayPos) private static BlockPosTheEndGatewayBlockEntity.findExitPosition(Level level, BlockPos exitPortal) private static BlockPosTheEndGatewayBlockEntity.findOrCreateValidTeleportPos(ServerLevel level, BlockPos endGatewayPos) private static BlockPosTheEndGatewayBlockEntity.findTallestBlock(BlockGetter level, BlockPos around, int dist, boolean allowBedrock) private static @Nullable ContainerHopperBlockEntity.getAttachedContainer(Level level, BlockPos blockPos, HopperBlockEntity self) private intCalibratedSculkSensorBlockEntity.VibrationUser.getBackSignal(Level level, BlockPos pos, BlockState state) private static @Nullable ContainerHopperBlockEntity.getBlockContainer(Level level, BlockPos pos, BlockState state) @Nullable TBlockEntityType.getBlockEntity(BlockGetter level, BlockPos pos) static @Nullable ContainerHopperBlockEntity.getContainerAt(Level level, BlockPos pos) Deprecated.Use IItemHandler capability instead.private static @Nullable ContainerHopperBlockEntity.getContainerAt(Level level, BlockPos pos, BlockState state, double x, double y, double z) static ContainerOrHandlerHopperBlockEntity.getContainerOrHandlerAt(Level level, BlockPos pos, @Nullable Direction side) private static ContainerOrHandlerHopperBlockEntity.getContainerOrHandlerAt(Level level, BlockPos pos, BlockState state, double x, double y, double z, @Nullable Direction side) private static AABBConduitBlockEntity.getDestroyRangeAABB(BlockPos worldPosition) ContainerOpenersCounter.getEntitiesWithContainerOpen(Level level, BlockPos pos) static intChestBlockEntity.getOpenCount(BlockGetter level, BlockPos pos) @Nullable Vec3TheEndGatewayBlockEntity.getPortalPosition(ServerLevel currentLevel, BlockPos portalEntryPos) StructureBlockEntity.getRelatedCorners(BlockPos corner1, BlockPos corner2) private static @Nullable ContainerHopperBlockEntity.getSourceContainer(Level level, Hopper hopper, BlockPos pos, BlockState state) private static ContainerOrHandlerHopperBlockEntity.getSourceContainerOrHandler(Level level, Hopper hopper, BlockPos pos, BlockState state) static BlockPosTestInstanceBlockEntity.getStructurePos(BlockPos blockPos) private booleanContainerOpenersCounter.hasContainerOpen(Entity entity, BlockPos blockPos) voidContainerOpenersCounter.incrementOpeners(LivingEntity entity, Level level, BlockPos pos, BlockState blockState, double maxInteractionRange) private static booleanBellBlockEntity.isRaiderWithinRange(BlockPos blockPos, LivingEntity entity) static voidChestBlockEntity.lidAnimateTick(Level level, BlockPos pos, BlockState state, ChestBlockEntity entity) static voidEnderChestBlockEntity.lidAnimateTick(Level level, BlockPos pos, BlockState state, EnderChestBlockEntity entity) static @Nullable BlockEntityBlockEntity.loadStatic(BlockPos pos, BlockState state, CompoundTag tag, HolderLookup.Provider registries) private static voidBellBlockEntity.makeRaidersGlow(Level level, BlockPos blockPos, List<LivingEntity> nearbyEntities) voidprivate voidShulkerBoxBlockEntity.moveCollidedEntities(Level level, BlockPos pos, BlockState state) protected abstract voidContainerOpenersCounter.onClose(Level level, BlockPos pos, BlockState blockState) protected abstract voidContainerOpenersCounter.onOpen(Level level, BlockPos pos, BlockState blockState) voidSculkSensorBlockEntity.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) voidSculkShriekerBlockEntity.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) protected abstract voidContainerOpenersCounter.openerCountChanged(Level level, BlockPos pos, BlockState blockState, int previous, int current) static voidCampfireBlockEntity.particleTick(Level level, BlockPos pos, BlockState state, CampfireBlockEntity entity) static voidBeaconBlockEntity.playSound(Level level, BlockPos worldPosition, SoundEvent event) private static voidChestBlockEntity.playSound(Level level, BlockPos worldPosition, BlockState blockState, SoundEvent event) static voidTheEndGatewayBlockEntity.portalTick(Level level, BlockPos pos, BlockState state, TheEndGatewayBlockEntity entity) voidAbstractFurnaceBlockEntity.preRemoveSideEffects(BlockPos pos, BlockState state) voidBlockEntity.preRemoveSideEffects(BlockPos pos, BlockState state) voidCampfireBlockEntity.preRemoveSideEffects(BlockPos pos, BlockState state) voidCreakingHeartBlockEntity.preRemoveSideEffects(BlockPos pos, BlockState state) voidJukeboxBlockEntity.preRemoveSideEffects(BlockPos pos, BlockState state) voidLecternBlockEntity.preRemoveSideEffects(BlockPos pos, BlockState state) voidSculkShriekerBlockEntity.preRemoveSideEffects(BlockPos pos, BlockState state) voidShulkerBoxBlockEntity.preRemoveSideEffects(BlockPos pos, BlockState state) static voidHopperBlockEntity.pushItemsTick(Level level, BlockPos pos, BlockState state, HopperBlockEntity entity) voidContainerOpenersCounter.recheckOpeners(Level level, BlockPos pos, BlockState blockState) private static booleanBeehiveBlockEntity.releaseOccupant(Level level, BlockPos blockPos, BlockState state, BeehiveBlockEntity.Occupant beeData, @Nullable List<Entity> spawned, BeehiveBlockEntity.BeeReleaseStatus releaseStatus, @Nullable BlockPos savedFlowerPos) voidBellBlockEntity.ResonationEndAction.run(Level level, BlockPos pos, List<LivingEntity> nearbyEntities) static booleanStructureBlockEntity.saveStructure(ServerLevel level, Identifier structureName, BlockPos pos, Vec3i structureSize, boolean ignoreEntities, String author, boolean saveToDisk, List<Block> ignoreBlocks) private static voidContainerOpenersCounter.scheduleRecheck(Level level, BlockPos blockPos, BlockState blockState) private static @Nullable EntityReference<LivingEntity> ConduitBlockEntity.selectNewTarget(ServerLevel level, BlockPos pos) static voidAbstractFurnaceBlockEntity.serverTick(ServerLevel level, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity entity) static voidBeehiveBlockEntity.serverTick(Level level, BlockPos blockPos, BlockState state, BeehiveBlockEntity entity) static voidBellBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, BellBlockEntity entity) static voidBrewingStandBlockEntity.serverTick(Level level, BlockPos pos, BlockState selfState, BrewingStandBlockEntity entity) static voidConduitBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, ConduitBlockEntity entity) static voidCrafterBlockEntity.serverTick(Level level, BlockPos blockPos, BlockState blockState, CrafterBlockEntity entity) static voidCreakingHeartBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, CreakingHeartBlockEntity entity) static voidSculkCatalystBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, SculkCatalystBlockEntity entity) static voidSpawnerBlockEntity.serverTick(Level level, BlockPos pos, BlockState state, SpawnerBlockEntity entity) protected static voidBlockEntity.setChanged(Level level, BlockPos worldPosition, BlockState blockState) voidTheEndGatewayBlockEntity.setExitPosition(BlockPos exactPosition, boolean exact) voidStructureBlockEntity.setStructurePos(BlockPos structurePos) private static voidBellBlockEntity.showBellParticles(Level level, BlockPos bellPos, List<LivingEntity> nearbyEntities) protected voidChestBlockEntity.signalOpenCount(Level level, BlockPos pos, BlockState blockState, int previous, int current) protected voidTrappedChestBlockEntity.signalOpenCount(Level level, BlockPos pos, BlockState blockState, int previous, int current) private static voidTheEndGatewayBlockEntity.spawnGatewayPortal(ServerLevel level, BlockPos portalPos, EndGatewayConfiguration config) static voidBeaconBlockEntity.tick(Level level, BlockPos pos, BlockState selfState, BeaconBlockEntity entity) private static voidBellBlockEntity.tick(Level level, BlockPos pos, BlockState state, BellBlockEntity entity, BellBlockEntity.ResonationEndAction onResonationEnd) voidBlockEntityTicker.tick(Level level, BlockPos pos, BlockState state, T entity) static voidJukeboxBlockEntity.tick(Level level, BlockPos blockPos, BlockState blockState, JukeboxBlockEntity jukebox) static voidShulkerBoxBlockEntity.tick(Level level, BlockPos pos, BlockState state, ShulkerBoxBlockEntity entity) static voidSignBlockEntity.tick(Level level, BlockPos blockPos, BlockState blockState, SignBlockEntity signBlockEntity) private static voidBeehiveBlockEntity.tickOccupants(Level level, BlockPos pos, BlockState state, List<BeehiveBlockEntity.BeeData> stored, @Nullable BlockPos savedFlowerPos) static voidTheEndGatewayBlockEntity.triggerCooldown(Level level, BlockPos pos, BlockState blockState, TheEndGatewayBlockEntity entity) private static booleanHopperBlockEntity.tryMoveItems(Level level, BlockPos pos, BlockState state, HopperBlockEntity entity, BooleanSupplier action) private static voidConduitBlockEntity.updateAndAttackTarget(ServerLevel level, BlockPos worldPosition, BlockState blockState, ConduitBlockEntity entity, boolean isActive) private voidShulkerBoxBlockEntity.updateAnimation(Level level, BlockPos pos, BlockState blockState) private static BlockStateCreakingHeartBlockEntity.updateCreakingState(Level level, BlockState state, BlockPos pos, CreakingHeartBlockEntity entity) private static @Nullable EntityReference<LivingEntity> ConduitBlockEntity.updateDestroyTarget(@Nullable EntityReference<LivingEntity> target, ServerLevel level, BlockPos pos, boolean isActive) private static booleanConduitBlockEntity.updateShape(Level level, BlockPos worldPosition, List<BlockPos> effectBlocks) Method parameters in net.minecraft.world.level.block.entity with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate static voidConduitBlockEntity.animationTick(Level level, BlockPos worldPosition, List<BlockPos> effectBlocks, @Nullable Entity destroyTarget, int tickCount) private static voidConduitBlockEntity.applyEffects(Level level, BlockPos worldPosition, List<BlockPos> effectBlocks) private static Optional<BoundingBox> StructureBlockEntity.calculateEnclosingBoundingBox(BlockPos pos, Stream<BlockPos> relatedCorners) voidTestInstanceBlockEntity.processStructureBoundary(Consumer<BlockPos> action) private static voidConduitBlockEntity.updateHunting(ConduitBlockEntity entity, List<BlockPos> effectBlocks) private static booleanConduitBlockEntity.updateShape(Level level, BlockPos worldPosition, List<BlockPos> effectBlocks) Constructors in net.minecraft.world.level.block.entity with parameters of type BlockPosModifierConstructorDescriptionprotectedAbstractFurnaceBlockEntity(BlockEntityType<?> type, BlockPos worldPosition, BlockState blockState, RecipeType<? extends AbstractCookingRecipe> recipeType) BannerBlockEntity(BlockPos worldPosition, BlockState blockState) BannerBlockEntity(BlockPos worldPosition, BlockState blockState, DyeColor color) BarrelBlockEntity(BlockPos worldPosition, BlockState blockState) protectedBaseContainerBlockEntity(BlockEntityType<?> type, BlockPos worldPosition, BlockState blockState) BeaconBlockEntity(BlockPos worldPosition, BlockState blockState) BedBlockEntity(BlockPos worldPosition, BlockState blockState) BedBlockEntity(BlockPos worldPosition, BlockState blockState, DyeColor color) BeehiveBlockEntity(BlockPos worldPosition, BlockState blockState) BellBlockEntity(BlockPos worldPosition, BlockState blockState) BlastFurnaceBlockEntity(BlockPos worldPosition, BlockState blockState) BlockEntity(BlockEntityType<?> type, BlockPos worldPosition, BlockState blockState) BrewingStandBlockEntity(BlockPos worldPosition, BlockState blockState) BrushableBlockEntity(BlockPos worldPosition, BlockState blockState) CalibratedSculkSensorBlockEntity(BlockPos worldPosition, BlockState blockState) CampfireBlockEntity(BlockPos worldPosition, BlockState blockState) ChestBlockEntity(BlockPos worldPosition, BlockState blockState) protectedChestBlockEntity(BlockEntityType<?> type, BlockPos worldPosition, BlockState blockState) ChiseledBookShelfBlockEntity(BlockPos worldPosition, BlockState blockState) CommandBlockEntity(BlockPos worldPosition, BlockState blockState) ComparatorBlockEntity(BlockPos worldPosition, BlockState blockState) ConduitBlockEntity(BlockPos worldPosition, BlockState blockState) CopperGolemStatueBlockEntity(BlockPos worldPosition, BlockState blockState) CrafterBlockEntity(BlockPos worldPosition, BlockState blockState) CreakingHeartBlockEntity(BlockPos worldPosition, BlockState blockState) DaylightDetectorBlockEntity(BlockPos worldPosition, BlockState blockState) DecoratedPotBlockEntity(BlockPos worldPosition, BlockState blockState) DispenserBlockEntity(BlockPos worldPosition, BlockState blockState) protectedDispenserBlockEntity(BlockEntityType<?> type, BlockPos worldPosition, BlockState blockState) DropperBlockEntity(BlockPos worldPosition, BlockState blockState) EnchantingTableBlockEntity(BlockPos worldPosition, BlockState blockState) EnderChestBlockEntity(BlockPos worldPosition, BlockState blockState) ErrorMarker(BlockPos pos, Component text) Creates an instance of aErrorMarkerrecord class.FurnaceBlockEntity(BlockPos worldPosition, BlockState blockState) HangingSignBlockEntity(BlockPos worldPosition, BlockState blockState) HopperBlockEntity(BlockPos worldPosition, BlockState blockState) JigsawBlockEntity(BlockPos worldPosition, BlockState blockState) JukeboxBlockEntity(BlockPos worldPosition, BlockState blockState) LecternBlockEntity(BlockPos worldPosition, BlockState blockState) protectedRandomizableContainerBlockEntity(BlockEntityType<?> type, BlockPos worldPosition, BlockState blockState) RenderableBox(BlockPos localPos, Vec3i size) Creates an instance of aRenderableBoxrecord class.SculkCatalystBlockEntity(BlockPos worldPosition, BlockState blockState) SculkSensorBlockEntity(BlockPos worldPosition, BlockState blockState) protectedSculkSensorBlockEntity(BlockEntityType<?> type, BlockPos worldPosition, BlockState blockState) SculkShriekerBlockEntity(BlockPos worldPosition, BlockState blockState) ShelfBlockEntity(BlockPos worldPosition, BlockState blockState) ShulkerBoxBlockEntity(BlockPos worldPosition, BlockState blockState) ShulkerBoxBlockEntity(@Nullable DyeColor color, BlockPos worldPosition, BlockState blockState) SignBlockEntity(BlockPos worldPosition, BlockState blockState) SignBlockEntity(BlockEntityType<? extends SignBlockEntity> type, BlockPos worldPosition, BlockState blockState) SkullBlockEntity(BlockPos worldPosition, BlockState blockState) SmokerBlockEntity(BlockPos worldPosition, BlockState blockState) SpawnerBlockEntity(BlockPos worldPosition, BlockState blockState) StructureBlockEntity(BlockPos worldPosition, BlockState blockState) TestBlockEntity(BlockPos worldPosition, BlockState blockState) TestInstanceBlockEntity(BlockPos worldPosition, BlockState blockState) TheEndGatewayBlockEntity(BlockPos worldPosition, BlockState blockState) TheEndPortalBlockEntity(BlockPos worldPosition, BlockState blockState) protectedTheEndPortalBlockEntity(BlockEntityType<?> type, BlockPos worldPosition, BlockState blockState) TrappedChestBlockEntity(BlockPos worldPosition, BlockState blockState) TrialSpawnerBlockEntity(BlockPos worldPosition, BlockState blockState) VibrationUser(BlockPos blockPos) VibrationUser(BlockPos blockPos) -
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 data, ParticleOptions type) 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 spawnerPos) TrialSpawnerState.calculatePositionToSpawnSpawner(ServerLevel level, BlockPos trialSpawnerPos, TrialSpawner trialSpawner, TrialSpawnerStateData data) intTrialSpawnerStateData.countAdditionalPlayers(BlockPos pos) PlayerDetector.detect(ServerLevel level, PlayerDetector.EntitySelector selector, BlockPos spawnerPos, double requiredPlayerRange, boolean requireLineOfSight) voidTrialSpawner.ejectReward(ServerLevel level, BlockPos pos, ResourceKey<LootTable> ejectingLootTable) voidTrialSpawnerState.ParticleEmission.emit(Level level, RandomSource random, BlockPos blockPos, boolean isOminous) voidTrialSpawnerState.emitParticles(Level level, BlockPos blockPos, boolean isOminous) (package private) WeightedList<ItemStack> TrialSpawnerStateData.getDispensingItems(ServerLevel level, TrialSpawnerConfig config, BlockPos pos) private static longTrialSpawnerStateData.lowResolutionPosition(ServerLevel level, BlockPos pos) voidTrialSpawner.removeOminous(ServerLevel level, BlockPos spawnerPos) private static @Nullable EntityTrialSpawnerState.selectEntityToSpawnItemAbove(List<Player> nearbyPlayers, Set<UUID> mobIds, TrialSpawner trialSpawner, BlockPos spawnerPos, ServerLevel level) private static booleanTrialSpawner.shouldMobBeUntracked(ServerLevel serverLevel, BlockPos spawnerPos, UUID id) TrialSpawner.spawnMob(ServerLevel level, BlockPos spawnerPos) private voidTrialSpawnerState.spawnOminousOminousItemSpawner(ServerLevel level, BlockPos trialSpawnerPos, TrialSpawner trialSpawner) (package private) TrialSpawnerStateTrialSpawnerState.tickAndGetNext(BlockPos spawnerPos, TrialSpawner trialSpawner, ServerLevel serverLevel) voidTrialSpawner.tickClient(Level level, BlockPos spawnerPos, boolean isOminous) voidTrialSpawner.tickServer(ServerLevel serverLevel, BlockPos spawnerPos, boolean isOminous) voidTrialSpawnerStateData.tryDetectPlayers(ServerLevel level, BlockPos pos, TrialSpawner trialSpawner) -
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 serverLevel, VaultState vaultState, VaultConfig config, VaultSharedData sharedData, BlockPos pos) private voidVaultState.ejectResultItem(ServerLevel serverLevel, BlockPos pos, ItemStack itemToEject, float ejectionSoundProgress) static voidVaultBlockEntity.Client.emitActivationParticles(Level clientLevel, BlockPos pos, BlockState blockState, VaultSharedData sharedData, ParticleOptions flameParticle) private static voidVaultBlockEntity.Client.emitConnectionParticlesForNearbyPlayers(Level level, BlockPos pos, BlockState blockState, VaultSharedData sharedData) static voidVaultBlockEntity.Client.emitDeactivationParticles(Level clientLevel, BlockPos pos, ParticleOptions flameParticle) private static voidVaultBlockEntity.Client.emitIdleParticles(Level clientLevel, BlockPos pos, VaultSharedData sharedData, ParticleOptions flameParticle) private static ItemStackVaultBlockEntity.Server.getRandomDisplayItemFromLootTable(ServerLevel serverLevel, BlockPos pos, ResourceKey<LootTable> lootTableId) private static booleanVaultBlockEntity.Client.isWithinConnectionRange(BlockPos vaultPos, VaultSharedData sharedData, Player player) private static Vec3VaultBlockEntity.Client.keyholePos(BlockPos blockPos, Direction blockFacing) protected voidVaultState.onEnter(ServerLevel serverLevel, BlockPos pos, VaultConfig config, VaultSharedData sharedData, boolean isOminous) protected voidVaultState.onExit(ServerLevel serverLevel, BlockPos pos, VaultConfig config, VaultSharedData sharedData) voidVaultState.onTransition(ServerLevel serverLevel, BlockPos pos, VaultState to, VaultConfig config, VaultSharedData sharedData, boolean isOminous) private static voidVaultBlockEntity.Client.playIdleSounds(Level clientLevel, BlockPos pos, VaultSharedData sharedData) private static voidVaultBlockEntity.Server.playInsertFailSound(ServerLevel serverLevel, VaultServerData serverData, BlockPos pos, SoundEvent sound) private static Vec3VaultBlockEntity.Client.randomPosCenterOfCage(BlockPos blockPos, RandomSource random) private static Vec3VaultBlockEntity.Client.randomPosInsideCage(BlockPos blockPos, RandomSource random) VaultBlockEntity.Server.resolveItemsToEject(ServerLevel serverLevel, VaultConfig config, BlockPos pos, Player player, ItemInstance insertedStack) (package private) static voidVaultBlockEntity.Server.setVaultState(ServerLevel serverLevel, BlockPos pos, BlockState currentBlockState, BlockState newBlockState, VaultConfig config, VaultSharedData sharedData) static voidVaultBlockEntity.Client.tick(Level clientLevel, BlockPos pos, BlockState blockState, VaultClientData clientData, VaultSharedData sharedData) static voidVaultBlockEntity.Server.tick(ServerLevel serverLevel, BlockPos pos, BlockState blockState, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) VaultState.tickAndGetNext(ServerLevel serverLevel, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) static voidVaultBlockEntity.Server.tryInsertKey(ServerLevel serverLevel, BlockPos pos, BlockState blockState, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, Player player, ItemStack stackToInsert) private static voidVaultBlockEntity.Server.unlock(ServerLevel serverLevel, BlockState blockState, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, List<ItemStack> itemsToEject) (package private) voidVaultSharedData.updateConnectedPlayersWithinRange(ServerLevel serverLevel, BlockPos pos, VaultServerData serverData, VaultConfig config, double limit) private static VaultStateVaultState.updateStateForConnectedPlayers(ServerLevel serverLevel, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, double activationRange) 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 generator, BlockPos pos, BlockState state, RandomSource random) private booleanTreeGrower.hasFlowers(LevelAccessor level, BlockPos pos) private static booleanTreeGrower.isTwoByTwoSapling(BlockState state, BlockGetter level, BlockPos pos, int ox, int oz) -
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 start, Direction direction) private booleanPistonStructureResolver.addBranchingBlocks(BlockPos fromPos) protected voidPistonHeadBlock.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) 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) private static voidPistonMovingBlockEntity.fixEntityWithinPistonBase(BlockPos pos, Entity entity, Direction direction, double deltaProgress) private @Nullable PistonMovingBlockEntityMovingPistonBlock.getBlockEntity(BlockGetter level, BlockPos pos) protected ItemStackMovingPistonBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected ItemStackPistonHeadBlock.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) protected VoxelShapeMovingPistonBlock.getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) PistonMovingBlockEntity.getCollisionShape(BlockGetter level, BlockPos pos) private booleanPistonBaseBlock.getNeighborSignal(SignalGetter level, BlockPos pos, Direction pushDirection) 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 direction, boolean allowDestroyable, Direction connectionDirection) Checks if the piston can push the given BlockState.private static booleanPistonMovingBlockEntity.matchesStickyCritera(AABB aabb, Entity entity, BlockPos pos) private booleanPistonBaseBlock.moveBlocks(Level level, BlockPos pistonPos, Direction direction, boolean extending) private static AABBPistonMovingBlockEntity.moveByPositionAndProgress(BlockPos pos, AABB aabb, PistonMovingBlockEntity entity) private static voidPistonMovingBlockEntity.moveCollidedEntities(Level level, BlockPos pos, float newProgress, PistonMovingBlockEntity self) private static voidPistonMovingBlockEntity.moveStuckEntities(Level level, BlockPos pos, float newProgress, PistonMovingBlockEntity self) protected voidPistonBaseBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidPistonHeadBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) @Nullable BlockEntityMovingPistonBlock.newBlockEntity(BlockPos worldPosition, BlockState blockState) static BlockEntityMovingPistonBlock.newMovingBlockEntity(BlockPos position, BlockState blockState, BlockState movedState, Direction direction, boolean extending, boolean isSourcePiston) protected voidPistonBaseBlock.onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) PistonHeadBlock.playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player) voidPistonMovingBlockEntity.preRemoveSideEffects(BlockPos pos, BlockState state) PistonBaseBlock.rotate(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) voidPistonBaseBlock.setPlacedBy(Level level, BlockPos pos, BlockState state, @Nullable LivingEntity by, ItemStack itemStack) static voidPistonMovingBlockEntity.tick(Level level, BlockPos pos, BlockState state, PistonMovingBlockEntity entity) protected booleanPistonBaseBlock.triggerEvent(BlockState state, Level level, BlockPos pos, int b0, int b1) protected BlockStatePistonHeadBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) 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 worldPosition, BlockState blockState) PistonMovingBlockEntity(BlockPos worldPosition, BlockState blockState, BlockState movedState, Direction direction, boolean extending, boolean isSourcePiston) PistonStructureResolver(Level level, BlockPos pistonPos, Direction direction, boolean extending) -
Uses of BlockPos in net.minecraft.world.level.block.sounds
Methods in net.minecraft.world.level.block.sounds with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidAmbientDesertBlockSoundsPlayer.playAmbientDeadBushSounds(Level level, BlockPos pos, RandomSource random) static voidAmbientDesertBlockSoundsPlayer.playAmbientDryGrassSounds(Level level, BlockPos pos, RandomSource random) static voidAmbientDesertBlockSoundsPlayer.playAmbientSandSounds(Level level, BlockPos pos, RandomSource random) private static booleanAmbientDesertBlockSoundsPlayer.shouldPlayAmbientSandSound(Level level, BlockPos pos) static booleanAmbientDesertBlockSoundsPlayer.shouldPlayDesertDryVegetationBlockSounds(Level level, BlockPos belowPos) -
Uses of BlockPos in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidBlockBehaviour.affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) voidBlockBehaviour.BlockStateBase.affectNeighborsAfterRemoval(ServerLevel level, BlockPos pos, boolean movedByPiston) protected 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 faceDirection) voidBlockBehaviour.BlockStateBase.entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidBlockBehaviour.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) BlockBehaviour.OffsetFunction.evaluate(BlockState state, BlockPos pos) intBlockBehaviour.BlockStateBase.getAnalogOutputSignal(Level level, BlockPos pos, Direction direction) protected intBlockBehaviour.getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction) BlockBehaviour.BlockStateBase.getBlockSupportShape(BlockGetter level, BlockPos pos) protected VoxelShapeBlockBehaviour.getBlockSupportShape(BlockState state, BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getCloneItemStack(LevelReader level, BlockPos pos, boolean includeData) protected ItemStackBlockBehaviour.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData) Deprecated.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.getEntityInsideCollisionShape(BlockGetter level, BlockPos pos, Entity entity) protected VoxelShapeBlockBehaviour.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) BlockBehaviour.BlockStateBase.getInteractionShape(BlockGetter level, BlockPos pos) protected VoxelShapeBlockBehaviour.getInteractionShape(BlockState state, BlockGetter level, BlockPos pos) BlockBehaviour.BlockStateBase.getMapColor(BlockGetter level, BlockPos pos) @Nullable MenuProviderBlockBehaviour.BlockStateBase.getMenuProvider(Level level, BlockPos pos) protected @Nullable MenuProviderBlockBehaviour.getMenuProvider(BlockState state, Level level, BlockPos pos) longprotected longBlockBehaviour.getSeed(BlockState state, BlockPos pos) Return a random long to be passed to, used for random model rotationsinvalid reference
net.minecraft.client.resources.model.BakedModel#getQuadsfloatBlockBehaviour.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, @Nullable Orientation orientation, boolean movedByPiston) 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 direction, SupportType supportType) booleanBlockBehaviour.BlockStateBase.isRedstoneConductor(BlockGetter level, BlockPos pos) booleanBlockBehaviour.BlockStateBase.isSuffocating(BlockGetter level, BlockPos pos) booleanBlockBehaviour.BlockStateBase.isValidSpawn(BlockGetter level, BlockPos pos, EntityType<?> type) booleanBlockBehaviour.BlockStateBase.isViewBlocking(BlockGetter level, BlockPos pos) protected voidBlockBehaviour.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) voidBlockBehaviour.BlockStateBase.onExplosionHit(ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidBlockBehaviour.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) 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.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 tool, boolean dropExperience) protected voidBlockBehaviour.spawnAfterBreak(BlockState state, ServerLevel level, BlockPos pos, ItemStack tool, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishbooleanBlockBehaviour.StateArgumentPredicate.test(BlockState state, BlockGetter level, BlockPos pos, A a) 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 b0, int b1) protected booleanBlockBehaviour.triggerEvent(BlockState state, Level level, BlockPos pos, int b0, int b1) Called on server whenLevel.blockEvent(BlockPos, Block, int, int)is called.final voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags) voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit) protected voidBlockBehaviour.updateIndirectNeighbourShapes(BlockState state, LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit) Updates the shapes of indirect neighbors of this block.final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags) final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit) BlockBehaviour.BlockStateBase.updateShape(LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected BlockStateBlockBehaviour.updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random) protected InteractionResultBlockBehaviour.useItemOn(ItemStack itemStack, 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(ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) protected voidBlockBehaviour.onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) -
Uses of BlockPos in net.minecraft.world.level.block.state.pattern
Subclasses with type arguments of type BlockPos in net.minecraft.world.level.block.state.patternFields in net.minecraft.world.level.block.state.pattern declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosBlockPattern.BlockPatternMatch.frontTopLeftprivate final BlockPosBlockInWorld.posFields in net.minecraft.world.level.block.state.pattern with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final LoadingCache<BlockPos, BlockInWorld> BlockPattern.BlockPatternMatch.cacheMethods in net.minecraft.world.level.block.state.pattern that return BlockPosModifier and TypeMethodDescriptionBlockPattern.BlockPatternMatch.getFrontTopLeft()BlockInWorld.getPos()protected static BlockPosBlockPattern.translateAndRotate(BlockPos origin, Direction forwardsDirection, Direction upDirection, int right, int down, int forwards) Offsets the position of pos in the direction of finger and thumb facing by offset amounts, follows the right-hand rule for cross products (finger, thumb, palm)Methods in net.minecraft.world.level.block.state.pattern that return types with arguments of type BlockPosModifier and TypeMethodDescriptionstatic LoadingCache<BlockPos, BlockInWorld> BlockPattern.createLevelCache(LevelReader level, boolean loadChunks) Methods in net.minecraft.world.level.block.state.pattern with parameters of type BlockPosModifier and TypeMethodDescription@Nullable BlockPattern.BlockPatternMatchBlockPattern.find(LevelReader level, BlockPos origin) Calculates whether the given world position matches the pattern.private @Nullable BlockPattern.BlockPatternMatchBlockPattern.matches(BlockPos origin, Direction forwards, Direction up, LoadingCache<BlockPos, BlockInWorld> cache) Checks that the given pattern invalid input: '&' rotation is at the block coordinates.@Nullable BlockPattern.BlockPatternMatchBlockPattern.matches(LevelReader level, BlockPos origin, Direction forwards, Direction up) protected static BlockPosBlockPattern.translateAndRotate(BlockPos origin, Direction forwardsDirection, Direction upDirection, int right, int down, int forwards) 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 @Nullable BlockPattern.BlockPatternMatchBlockPattern.matches(BlockPos origin, Direction forwards, Direction up, 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, 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, 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 position) WorldBorder.clampToBounds(Vec3 position) Methods in net.minecraft.world.level.border with parameters of type BlockPosModifier and TypeMethodDescriptionWorldBorder.clampToBounds(BlockPos position) 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 packedCoord, int sectionY, ChunkPos chunkPos) Methods in net.minecraft.world.level.chunk that return types with arguments of type BlockPosModifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure(ServerLevel level, HolderSet<Structure> wantedStructures, BlockPos pos, int maxSearchRadius, boolean createReference) LevelChunk.getBlockEntities()ProtoChunk.getBlockEntities()ChunkAccess.getBlockEntitiesPos()ProtoChunk.getBlockEntityNbts()ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, ServerLevel level, StructureManager structureManager, BlockPos pos, boolean createReference, ConcentricRingsStructurePlacement rings) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, int chunkOriginX, int chunkOriginZ, int radius, boolean createReference, long seed, RandomSpreadStructurePlacement config) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, boolean createReference, StructurePlacement config, ChunkPos chunkTarget) Methods in net.minecraft.world.level.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionabstract voidChunkGenerator.addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos) private @Nullable BlockEntityLevelChunk.createBlockEntity(BlockPos pos) ChunkGenerator.findNearestMapStructure(ServerLevel level, HolderSet<Structure> wantedStructures, BlockPos pos, int maxSearchRadius, boolean createReference) @Nullable BlockEntityEmptyLevelChunk.getBlockEntity(BlockPos pos, LevelChunk.EntityCreationType creationType) @Nullable BlockEntityImposterProtoChunk.getBlockEntity(BlockPos pos) @Nullable BlockEntityLevelChunk.getBlockEntity(BlockPos pos) @Nullable BlockEntityLevelChunk.getBlockEntity(BlockPos pos, LevelChunk.EntityCreationType creationType) @Nullable BlockEntityProtoChunk.getBlockEntity(BlockPos pos) @Nullable CompoundTagChunkAccess.getBlockEntityNbt(BlockPos blockPos) @Nullable CompoundTagImposterProtoChunk.getBlockEntityNbt(BlockPos blockPos) abstract @Nullable CompoundTagChunkAccess.getBlockEntityNbtForSaving(BlockPos blockPos, HolderLookup.Provider registryAccess) @Nullable CompoundTagImposterProtoChunk.getBlockEntityNbtForSaving(BlockPos blockPos, HolderLookup.Provider registryAccess) @Nullable CompoundTagLevelChunk.getBlockEntityNbtForSaving(BlockPos blockPos, HolderLookup.Provider registryAccess) @Nullable CompoundTagProtoChunk.getBlockEntityNbtForSaving(BlockPos blockPos, HolderLookup.Provider registryAccess) 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 mobCategory, BlockPos pos) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, ServerLevel level, StructureManager structureManager, BlockPos pos, boolean createReference, ConcentricRingsStructurePlacement rings) @Nullable LevelChunkSectionBulkSectionAccess.getSection(BlockPos pos) private booleanvoidChunkAccess.markPosForPostprocessing(BlockPos blockPos) voidImposterProtoChunk.markPosForPostprocessing(BlockPos blockPos) voidProtoChunk.markPosForPostprocessing(BlockPos blockPos) static shortProtoChunk.packOffsetCoordinates(BlockPos blockPos) private @Nullable 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) @Nullable BlockStateChunkAccess.setBlockState(BlockPos pos, BlockState state) abstract @Nullable BlockStateChunkAccess.setBlockState(BlockPos pos, BlockState state, int flags) @Nullable BlockStateEmptyLevelChunk.setBlockState(BlockPos pos, BlockState state, int flags) @Nullable BlockStateImposterProtoChunk.setBlockState(BlockPos pos, BlockState state, int flags) @Nullable BlockStateLevelChunk.setBlockState(BlockPos pos, BlockState state, int flags) @Nullable BlockStateProtoChunk.setBlockState(BlockPos pos, BlockState state, int flags) UpgradeData.BlockFixer.updateShape(BlockState state, Direction direction, BlockState neighbour, LevelAccessor level, BlockPos pos, BlockPos neighbourPos) private static BlockStateUpgradeData.updateState(BlockState state, Direction direction, LevelAccessor level, BlockPos pos, BlockPos neighbourPos) Method parameters in net.minecraft.world.level.chunk with type arguments of type BlockPosModifier and TypeMethodDescriptionfinal voidChunkAccess.findBlockLightSources(BiConsumer<BlockPos, BlockState> consumer) voidLightChunk.findBlockLightSources(BiConsumer<BlockPos, BlockState> consumer) voidChunkAccess.findBlocks(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) voidChunkAccess.findBlocks(Predicate<BlockState> predicate, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> consumer) voidChunkAccess.findBlocks(Predicate<BlockState> predicate, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> consumer) voidImposterProtoChunk.findBlocks(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) voidImposterProtoChunk.findBlocks(Predicate<BlockState> predicate, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> consumer) voidImposterProtoChunk.findBlocks(Predicate<BlockState> predicate, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> consumer) -
Uses of BlockPos in net.minecraft.world.level.dimension.end
Fields in net.minecraft.world.level.dimension.end declared as BlockPosModifier and TypeFieldDescriptionprivate @Nullable BlockPosEnderDragonFight.exitPortalLocationprivate BlockPosEnderDragonFight.originMethods in net.minecraft.world.level.dimension.end with parameters of type BlockPosModifier and TypeMethodDescriptionvoidEnderDragonFight.init(ServerLevel level, long seed, BlockPos origin) private voidEnderDragonFight.spawnNewGateway(BlockPos pos) -
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 BlockPosModifier and TypeFieldDescriptionprivate final BlockPosBlockPositionSource.posThe field for theposrecord component.Methods in net.minecraft.world.level.gameevent that return BlockPosModifier and TypeMethodDescriptionBlockPositionSource.pos()Returns the value of theposrecord component.Constructors in net.minecraft.world.level.gameevent with parameters of type BlockPosModifierConstructorDescriptionCreates an instance of aBlockPositionSourcerecord class. -
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 listenerPos) booleanVibrationSystem.User.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, GameEvent.Context context) static floatVibrationSystem.Listener.distanceBetweenInBlocks(BlockPos origin, BlockPos dest) voidVibrationSystem.User.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) -
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> result, RandomState randomState, BlockPos feetPos) voidFlatLevelSource.addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos) voidNoiseBasedChunkGenerator.addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos) default RandomSourceColumn.scan(LevelSimulatedReader level, BlockPos pos, int searchRange, Predicate<BlockState> insideColumn, Predicate<BlockState> validEdge) 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 isLeader) SurfaceSystem.topMaterial(SurfaceRules.RuleSource ruleSource, CarvingContext carvingContext, Function<BlockPos, Holder<Biome>> biomeGetter, ChunkAccess chunk, NoiseChunk noiseChunk, BlockPos pos, boolean underFluid) Deprecated.Method parameters in net.minecraft.world.level.levelgen with type arguments of type BlockPosModifier and TypeMethodDescriptionSurfaceSystem.topMaterial(SurfaceRules.RuleSource ruleSource, CarvingContext carvingContext, Function<BlockPos, Holder<Biome>> biomeGetter, ChunkAccess chunk, NoiseChunk noiseChunk, BlockPos pos, boolean underFluid) 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> biomes, 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
Subinterfaces with type arguments of type BlockPos in net.minecraft.world.level.levelgen.blockpredicatesMethods in net.minecraft.world.level.levelgen.blockpredicates with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanAllOfPredicate.test(WorldGenLevel level, BlockPos origin) booleanAnyOfPredicate.test(WorldGenLevel level, BlockPos origin) booleanHasSturdyFacePredicate.test(WorldGenLevel level, BlockPos origin) booleanInsideWorldBoundsPredicate.test(WorldGenLevel worldGenLevel, BlockPos blockPos) booleanNotPredicate.test(WorldGenLevel level, BlockPos origin) final booleanStateTestingPredicate.test(WorldGenLevel level, BlockPos origin) booleanTrueBlockPredicate.test(WorldGenLevel level, BlockPos origin) booleanUnobstructedPredicate.test(WorldGenLevel worldGenLevel, BlockPos pos) booleanWouldSurvivePredicate.test(WorldGenLevel level, BlockPos origin) -
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 @Nullable BlockStateWorldCarver.getCarveState(CarvingContext context, C configuration, BlockPos blockPos, Aquifer aquifer) CarvingContext.topMaterial(Function<BlockPos, Holder<Biome>> biomeGetter, ChunkAccess chunk, BlockPos pos, boolean underFluid) Deprecated.Method parameters in net.minecraft.world.level.levelgen.carver with type arguments of type BlockPosModifier and TypeMethodDescriptionbooleanCanyonWorldCarver.carve(CarvingContext context, CanyonCarverConfiguration configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) booleanCaveWorldCarver.carve(CarvingContext context, CaveCarverConfiguration configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) booleanConfiguredWorldCarver.carve(CarvingContext context, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) abstract booleanWorldCarver.carve(CarvingContext context, C configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) Carves the given chunk with caves that originate from the givenchunkPos.protected booleanNetherWorldCarver.carveBlock(CarvingContext context, CaveCarverConfiguration configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, CarvingMask mask, BlockPos.MutableBlockPos blockPos, BlockPos.MutableBlockPos helperPos, Aquifer aquifer, org.apache.commons.lang3.mutable.MutableBoolean hasGrass) protected booleanWorldCarver.carveBlock(CarvingContext context, C configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, CarvingMask mask, BlockPos.MutableBlockPos blockPos, BlockPos.MutableBlockPos helperPos, Aquifer aquifer, org.apache.commons.lang3.mutable.MutableBoolean hasGrass) 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 configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, Aquifer aquifer, double x, double y, double z, double horizontalRadius, double verticalRadius, CarvingMask mask, 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 configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, Aquifer aquifer, double x, double y, double z, float thickness, double yScale, CarvingMask mask, WorldCarver.CarveSkipChecker skipChecker) protected voidCaveWorldCarver.createTunnel(CarvingContext context, CaveCarverConfiguration configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, long tunnelSeed, Aquifer aquifer, double x, double y, double z, double horizontalRadiusMultiplier, double verticalRadiusMultiplier, float thickness, float horizontalRotation, float verticalRotation, int step, int dist, double yScale, CarvingMask mask, WorldCarver.CarveSkipChecker skipChecker) private voidCanyonWorldCarver.doCarve(CarvingContext context, CanyonCarverConfiguration configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, long tunnelSeed, Aquifer aquifer, double x, double y, double z, float thickness, float horizontalRotation, float verticalRotation, int step, int distance, double yScale, CarvingMask mask) CarvingContext.topMaterial(Function<BlockPos, Holder<Biome>> biomeGetter, ChunkAccess chunk, BlockPos pos, boolean underFluid) 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 @Nullable BlockPosBasaltColumnsFeature.findAir(LevelAccessor level, BlockPos.MutableBlockPos cursor, int limit) private static @Nullable BlockPosBasaltColumnsFeature.findSurface(LevelAccessor level, int lavaSeaLevel, BlockPos.MutableBlockPos cursor, int limit) private static @Nullable BlockPosReplaceBlobsFeature.findTarget(LevelAccessor level, BlockPos.MutableBlockPos cursor, Block target) static BlockPosEndPodiumFeature.getLocation(BlockPos offset) private BlockPosFeaturePlaceContext.origin()private BlockPosFallenTreeFeature.placeLogBlock(FallenTreeConfiguration config, WorldGenLevel level, RandomSource random, BlockPos.MutableBlockPos blockPos, Function<BlockState, BlockState> sidewaysStateModifier) Methods in net.minecraft.world.level.levelgen.feature that return types with arguments of type BlockPosModifier and TypeMethodDescriptionprivate BiConsumer<BlockPos, BlockState> FallenTreeFeature.getDecorationSetter(WorldGenLevel level) TreeFeature.getLowestTrunkOrRootOfTree(TreeDecorator.Context context) VegetationPatchFeature.placeGroundPatch(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos origin, Predicate<BlockState> replaceable, int xRadius, int zRadius) WaterloggedVegetationPatchFeature.placeGroundPatch(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos origin, Predicate<BlockState> replaceable, 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 origin) private voidIcebergFeature.carve(int radius, int yOff, BlockPos globalOrigin, LevelAccessor level, boolean underWater, double angle, BlockPos localOrigin, int shapeEllipseA, int shapeEllipseC) static booleanFeature.checkNeighbors(Function<BlockPos, BlockState> blockGetter, BlockPos pos, Predicate<BlockState> predicate) static voidEndPlatformFeature.createEndPlatform(ServerLevelAccessor newLevel, BlockPos origin, boolean dropResources) private static voidPointedDripstoneFeature.createPatchOfDripstoneBlocks(LevelAccessor level, RandomSource random, BlockPos pos, PointedDripstoneConfiguration config) private booleanTreeFeature.doPlace(WorldGenLevel level, RandomSource random, BlockPos origin, BiConsumer<BlockPos, BlockState> rootSetter, BiConsumer<BlockPos, BlockState> trunkSetter, FoliagePlacer.FoliageSetter foliageSetter, TreeConfiguration config) private voidEndPodiumFeature.dropPreviousAndSetBlock(WorldGenLevel level, BlockPos pos, Block block) private voidIcebergFeature.generateCutOut(RandomSource random, LevelAccessor level, int width, int height, BlockPos globalOrigin, boolean isEllipse, int shapeEllipseA, double shapeAngle, int shapeEllipseC) private voidIcebergFeature.generateIcebergBlock(LevelAccessor level, RandomSource random, BlockPos origin, int height, int xo, int yOff, int zo, int radius, int a, boolean isEllipse, int shapeEllipseC, double shapeAngle, boolean snowOnTop, BlockState mainBlockState) private static OptionalIntUnderwaterMagmaFeature.getFloorY(WorldGenLevel level, BlockPos origin, UnderwaterMagmaConfiguration config) static BlockPosEndPodiumFeature.getLocation(BlockPos offset) private intTreeFeature.getMaxFreeTreeHeight(WorldGenLevel level, int maxTreeHeight, BlockPos treePos, TreeConfiguration config) PointedDripstoneFeature.getTipDirection(LevelAccessor level, BlockPos pos, RandomSource random) protected static voidDripstoneUtils.growPointedDripstone(LevelAccessor level, BlockPos startPos, Direction tipDirection, int height, boolean mergedTip) static booleanFeature.isAdjacentToAir(Function<BlockPos, BlockState> blockGetter, BlockPos pos) private static booleanBasaltColumnsFeature.isAirOrLavaOcean(LevelAccessor level, int lavaSeaLevel, BlockPos blockPos) static booleanTreeFeature.isAirOrLeaves(LevelSimulatedReader level, BlockPos pos) booleanEndSpikeFeature.EndSpike.isCenterWithinChunk(BlockPos chunkOrigin) protected static booleanDripstoneUtils.isCircleMostlyEmbeddedInStone(WorldGenLevel level, BlockPos center, int xzRadius) 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> surface, BlockPos pos, BlockPos.MutableBlockPos testPos) private static booleanWaterloggedVegetationPatchFeature.isExposedDirection(WorldGenLevel level, BlockPos pos, BlockPos.MutableBlockPos testPos, Direction direction) private static booleanTwistingVinesFeature.isInvalidPlacementLocation(LevelAccessor level, BlockPos pos) private booleanDripstoneClusterFeature.isLava(LevelReader level, BlockPos pos) private booleanFallenTreeFeature.isOverSolidGround(LevelAccessor level, BlockPos blockPos) private static booleanHugeFungusFeature.isReplaceable(WorldGenLevel level, BlockPos pos, HugeFungusConfiguration config, boolean checkNonReplaceablePlants) private booleanUnderwaterMagmaFeature.isValidPlacement(WorldGenLevel level, BlockPos pos) protected booleanAbstractHugeMushroomFeature.isValidPosition(WorldGenLevel level, BlockPos origin, int treeHeight, BlockPos.MutableBlockPos blockPos, HugeMushroomFeatureConfiguration config) static booleanTreeFeature.isVine(LevelSimulatedReader level, BlockPos pos) private booleanUnderwaterMagmaFeature.isVisibleFromOutside(LevelAccessor level, BlockPos pos, Direction coveredDirection) protected abstract voidAbstractHugeMushroomFeature.makeCap(LevelAccessor level, RandomSource random, BlockPos origin, int treeHeight, BlockPos.MutableBlockPos blockPos, HugeMushroomFeatureConfiguration config) protected voidHugeBrownMushroomFeature.makeCap(LevelAccessor level, RandomSource random, BlockPos origin, int treeHeight, BlockPos.MutableBlockPos blockPos, HugeMushroomFeatureConfiguration config) protected voidHugeRedMushroomFeature.makeCap(LevelAccessor level, RandomSource random, BlockPos origin, int treeHeight, BlockPos.MutableBlockPos blockPos, HugeMushroomFeatureConfiguration config) private static LargeDripstoneFeature.LargeDripstoneLargeDripstoneFeature.makeDripstone(BlockPos root, boolean pointingUp, RandomSource random, int radius, FloatProvider bluntness, FloatProvider heightScale) protected voidFeature.markAboveForPostProcessing(WorldGenLevel level, BlockPos placePos) If the above two blocks are not air, marks them for post-processing.private booleanBlockPileFeature.mayPlaceOn(LevelAccessor level, BlockPos blockPos, RandomSource random) private booleanFallenTreeFeature.mayPlaceOn(LevelAccessor level, BlockPos blockPos) private BlockPosprivate voidScatteredOreFeature.offsetTargetPos(BlockPos.MutableBlockPos targetPos, RandomSource random, BlockPos origin, int maxDistFromOriginForThisTry) booleanConfiguredFeature.place(WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin) booleanFeature.place(FC config, WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin) booleanWeightedPlacedFeature.place(WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin) private voidBasaltPillarFeature.placeBaseHangOff(LevelAccessor level, RandomSource random, BlockPos pos) private booleanBasaltColumnsFeature.placeColumn(LevelAccessor level, int lavaSeaLevel, BlockPos origin, int columnHeight, int reach) private voidDripstoneClusterFeature.placeColumn(WorldGenLevel level, RandomSource random, BlockPos pos, int dx, int dz, float chanceOfWater, double chanceOfStalagmiteOrStalactite, int clusterHeight, float density, DripstoneClusterConfiguration config) protected booleanCoralFeature.placeCoralBlock(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state) private voidLargeDripstoneFeature.placeDebugMarkers(WorldGenLevel level, BlockPos origin, Column.Range range, LargeDripstoneFeature.WindOffsetter wind) private static voidRootSystemFeature.placeDirt(BlockPos origin, int targetHeight, WorldGenLevel level, RootSystemConfiguration config, RandomSource random) private static booleanRootSystemFeature.placeDirtAndTree(WorldGenLevel level, ChunkGenerator generator, RootSystemConfiguration config, RandomSource random, BlockPos.MutableBlockPos workingPos, BlockPos pos) protected static booleanDripstoneUtils.placeDripstoneBlockIfPossible(LevelAccessor level, BlockPos pos) private voidFallenTreeFeature.placeFallenTree(FallenTreeConfiguration config, BlockPos origin, WorldGenLevel level, RandomSource random) protected booleanCoralClawFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) protected abstract booleanCoralFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) protected booleanCoralMushroomFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) protected booleanCoralTreeFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) VegetationPatchFeature.placeGroundPatch(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos origin, Predicate<BlockState> replaceable, int xRadius, int zRadius) WaterloggedVegetationPatchFeature.placeGroundPatch(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos origin, Predicate<BlockState> replaceable, int xRadius, int zRadius) static booleanMultifaceGrowthFeature.placeGrowthIfPossible(WorldGenLevel level, BlockPos pos, BlockState oldState, MultifaceGrowthConfiguration config, RandomSource random, List<Direction> placementDirections) private booleanBasaltPillarFeature.placeHangOff(LevelAccessor level, RandomSource random, BlockPos hangOffPos) private voidHugeFungusFeature.placeHat(WorldGenLevel level, RandomSource random, HugeFungusConfiguration config, BlockPos surfaceOrigin, int totalHeight, boolean isHuge) private voidHugeFungusFeature.placeHatDropBlock(LevelAccessor level, RandomSource random, BlockPos blockPos, BlockState hatState, boolean placeVines) private voidWeepingVinesFeature.placeRoofNetherWart(LevelAccessor level, RandomSource random, BlockPos origin) private voidWeepingVinesFeature.placeRoofWeepingVines(LevelAccessor level, RandomSource random, BlockPos origin) private static voidRootSystemFeature.placeRoots(WorldGenLevel level, RootSystemConfiguration config, RandomSource random, BlockPos pos, BlockPos.MutableBlockPos workingPos) private voidHugeFungusFeature.placeStem(WorldGenLevel level, RandomSource random, HugeFungusConfiguration config, BlockPos surfaceOrigin, int totalHeight, boolean isHuge) private static voidDesertWellFeature.placeSusSand(WorldGenLevel level, BlockPos pos) protected voidAbstractHugeMushroomFeature.placeTrunk(LevelAccessor level, RandomSource random, BlockPos origin, HugeMushroomFeatureConfiguration config, int treeHeight, BlockPos.MutableBlockPos blockPos) protected booleanVegetationPatchFeature.placeVegetation(WorldGenLevel level, VegetationPatchConfiguration config, ChunkGenerator generator, RandomSource random, BlockPos vegetationPos) protected booleanWaterloggedVegetationPatchFeature.placeVegetation(WorldGenLevel level, VegetationPatchConfiguration config, ChunkGenerator generator, RandomSource random, BlockPos placementPos) private voidIcebergFeature.removeFloatingSnowLayer(LevelAccessor level, BlockPos pos) private voidDripstoneClusterFeature.replaceBlocksWithDripstoneBlocks(WorldGenLevel level, BlockPos firstPos, int maxCount, Direction direction) protected voidFeature.safeSetBlock(WorldGenLevel level, BlockPos pos, BlockState state, Predicate<BlockState> canReplace) protected voidFeature.setBlock(LevelWriter level, BlockPos pos, BlockState blockState) protected voidTreeFeature.setBlock(LevelWriter level, BlockPos pos, BlockState blockState) private static voidTreeFeature.setBlockKnownShape(LevelWriter level, BlockPos pos, BlockState blockState) private voidIcebergFeature.setIcebergBlock(BlockPos pos, LevelAccessor level, RandomSource random, int hDiff, int height, boolean isEllipse, boolean snowOnTop, BlockState mainBlockState) private doubleIcebergFeature.signedDistanceCircle(int xo, int zo, BlockPos origin, int radius, RandomSource random) private doubleIcebergFeature.signedDistanceEllipse(int xo, int zo, BlockPos origin, int a, int c, 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 origin, int width, int height, boolean isEllipse, int shapeEllipseA) 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 blockPos, RandomSource random, BlockPileConfiguration config) private static voidHugeFungusFeature.tryPlaceWeepingVines(BlockPos hatBlockPos, 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 orePosState, Function<BlockPos, BlockState> blockGetter, RandomSource random, OreConfiguration config, OreConfiguration.TargetBlockState targetState, BlockPos.MutableBlockPos orePos) static booleanFeature.checkNeighbors(Function<BlockPos, BlockState> blockGetter, BlockPos pos, Predicate<BlockState> predicate) private voidFallenTreeFeature.decorateLogs(WorldGenLevel level, RandomSource random, Set<BlockPos> logs, List<TreeDecorator> decorators) protected voidVegetationPatchFeature.distributeVegetation(FeaturePlaceContext<VegetationPatchConfiguration> context, WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, Set<BlockPos> surface, int xRadius, int zRadius) private booleanTreeFeature.doPlace(WorldGenLevel level, RandomSource random, BlockPos origin, BiConsumer<BlockPos, BlockState> rootSetter, BiConsumer<BlockPos, BlockState> trunkSetter, FoliagePlacer.FoliageSetter foliageSetter, TreeConfiguration config) static booleanFeature.isAdjacentToAir(Function<BlockPos, BlockState> blockGetter, BlockPos pos) private static booleanWaterloggedVegetationPatchFeature.isExposed(WorldGenLevel level, Set<BlockPos> surface, BlockPos pos, BlockPos.MutableBlockPos testPos) private static DiscreteVoxelShapeTreeFeature.updateLeaves(LevelAccessor level, BoundingBox bounds, Set<BlockPos> logs, Set<BlockPos> decorationSet, Set<BlockPos> rootPositions) 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) privateLargeDripstone(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 BlockPosModifier and TypeFieldDescriptionprivate final @Nullable BlockPosEndSpikeConfiguration.crystalBeamTargetFields in net.minecraft.world.level.levelgen.feature.configurations with type parameters of type BlockPosMethods in net.minecraft.world.level.levelgen.feature.configurations that return BlockPosModifier and TypeMethodDescription@Nullable BlockPosEndSpikeConfiguration.getCrystalBeamTarget()Methods 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 BlockPosModifierConstructorDescriptionEndSpikeConfiguration(boolean crystalInvulnerable, List<EndSpikeFeature.EndSpike> spikes, @Nullable BlockPos crystalBeamTarget) Constructor parameters in net.minecraft.world.level.levelgen.feature.configurations with type arguments of type BlockPosModifierConstructorDescriptionprivateEndGatewayConfiguration(Optional<BlockPos> exit, boolean exact) privateEndSpikeConfiguration(boolean crystalInvulnerable, List<EndSpikeFeature.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 config, BlockPos origin, int currentRadius, int y, boolean doubleTrunk) protected final voidFoliagePlacer.placeLeavesRowWithHangingLeavesBelow(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, BlockPos origin, int currentRadius, int y, boolean doubleTrunk, float hangingLeavesChance, float hangingLeavesExtensionChance) voidFoliagePlacer.FoliageSetter.set(BlockPos pos, BlockState state) private static booleanFoliagePlacer.tryPlaceExtension(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, float chance, BlockPos logPos, BlockPos.MutableBlockPos pos) protected static booleanFoliagePlacer.tryPlaceLeaf(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration config, 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 BlockPosModifier and TypeMethodDescriptionRootPlacer.getTrunkOrigin(BlockPos origin, RandomSource random) Methods in net.minecraft.world.level.levelgen.feature.rootplacers that return types with arguments of type BlockPosModifier and TypeMethodDescriptionMangroveRootPlacer.potentialRootPositions(BlockPos pos, Direction prevDir, RandomSource random, BlockPos rootOrigin) 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 origin, RandomSource random) protected voidMangroveRootPlacer.placeRoot(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> rootSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected voidRootPlacer.placeRoot(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> rootSetter, RandomSource random, BlockPos pos, TreeConfiguration config) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> rootSetter, RandomSource random, BlockPos origin, BlockPos trunkOrigin, TreeConfiguration config) abstract booleanRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> rootSetter, RandomSource random, BlockPos origin, BlockPos trunkOrigin, TreeConfiguration config) MangroveRootPlacer.potentialRootPositions(BlockPos pos, Direction prevDir, RandomSource random, BlockPos rootOrigin) private booleanMangroveRootPlacer.simulateRoots(LevelSimulatedReader level, RandomSource random, BlockPos rootPos, Direction dir, BlockPos rootOrigin, List<BlockPos> rootPositions, int layer) 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> rootSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected voidRootPlacer.placeRoot(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> rootSetter, RandomSource random, BlockPos pos, TreeConfiguration config) booleanMangroveRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> rootSetter, RandomSource random, BlockPos origin, BlockPos trunkOrigin, TreeConfiguration config) abstract booleanRootPlacer.placeRoots(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> rootSetter, RandomSource random, BlockPos origin, BlockPos trunkOrigin, TreeConfiguration config) private booleanMangroveRootPlacer.simulateRoots(LevelSimulatedReader level, RandomSource random, BlockPos rootPos, Direction dir, BlockPos rootOrigin, List<BlockPos> rootPositions, int layer) -
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 scale) protected BlockStateNoiseProvider.getRandomState(List<BlockState> states, BlockPos pos, double scale) 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) @Nullable BlockStateRuleBasedBlockStateProvider.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 direction, TreeDecorator.Context context) private static voidPaleMossDecorator.addMossHanger(BlockPos pos, TreeDecorator.Context context) private voidPlaceOnGroundDecorator.attemptToPlaceBlockAbove(TreeDecorator.Context context, BlockPos pos) booleanTreeDecorator.Context.checkBlock(BlockPos pos, Predicate<BlockState> predicate) private booleanAttachedToLeavesDecorator.hasRequiredEmptyBlocks(TreeDecorator.Context context, BlockPos leafPos, 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 direction) voidTreeDecorator.Context.setBlock(BlockPos pos, BlockState state) Constructor parameters in net.minecraft.world.level.levelgen.feature.treedecorators with type arguments of type BlockPosModifierConstructorDescriptionContext(WorldGenLevel level, BiConsumer<BlockPos, BlockState> decorationSetter, RandomSource random, Set<BlockPos> trunkSet, Set<BlockPos> foliageSet, Set<BlockPos> rootSet) Context(WorldGenLevel level, BiConsumer<BlockPos, BlockState> decorationSetter, RandomSource random, Set<BlockPos> trunkSet, Set<BlockPos> foliageSet, Set<BlockPos> rootSet) -
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(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config, Function<BlockState, BlockState> sidewaysStateModifier, Direction branchDirection, int offsetFromOrigin, boolean middleContinuesUpwards, BlockPos.MutableBlockPos logPos) private Direction.AxisFancyTrunkPlacer.getLogAxis(BlockPos startPos, BlockPos blockPos) private intbooleanTrunkPlacer.isFree(WorldGenLevel level, BlockPos pos) private voidFancyTrunkPlacer.makeBranches(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int height, BlockPos origin, List<FancyTrunkPlacer.FoliageCoords> foliageCoords, TreeConfiguration config) private booleanFancyTrunkPlacer.makeLimb(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos startPos, BlockPos endPos, boolean doPlace, TreeConfiguration config) protected static voidTrunkPlacer.placeBelowTrunkBlock(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected booleanTrunkPlacer.placeLog(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected booleanTrunkPlacer.placeLog(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> stateModifier) private voidGiantTrunkPlacer.placeLogIfFreeWithOffset(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos.MutableBlockPos trunkPos, TreeConfiguration config, BlockPos treePos, int x, int y, int z) BendingTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) CherryTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) DarkOakTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) FancyTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) ForkingTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) GiantTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) MegaJungleTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) StraightTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) abstract List<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) UpwardsBranchingTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) protected booleanTrunkPlacer.validTreePos(WorldGenLevel level, BlockPos pos) protected booleanUpwardsBranchingTrunkPlacer.validTreePos(WorldGenLevel level, BlockPos pos) Method parameters in net.minecraft.world.level.levelgen.feature.trunkplacers with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachmentCherryTrunkPlacer.generateBranch(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config, Function<BlockState, BlockState> sidewaysStateModifier, Direction branchDirection, int offsetFromOrigin, boolean middleContinuesUpwards, BlockPos.MutableBlockPos logPos) private voidFancyTrunkPlacer.makeBranches(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int height, BlockPos origin, List<FancyTrunkPlacer.FoliageCoords> foliageCoords, TreeConfiguration config) private booleanFancyTrunkPlacer.makeLimb(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos startPos, BlockPos endPos, boolean doPlace, TreeConfiguration config) protected static voidTrunkPlacer.placeBelowTrunkBlock(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos pos, TreeConfiguration config) private voidUpwardsBranchingTrunkPlacer.placeBranch(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, TreeConfiguration config, List<FoliagePlacer.FoliageAttachment> attachments, BlockPos.MutableBlockPos logPos, int currentHeight, Direction branchDir, int branchPos, int branchSteps) protected booleanTrunkPlacer.placeLog(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected booleanTrunkPlacer.placeLog(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> stateModifier) protected voidTrunkPlacer.placeLogIfFree(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config) private voidGiantTrunkPlacer.placeLogIfFreeWithOffset(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, BlockPos.MutableBlockPos trunkPos, TreeConfiguration config, BlockPos treePos, int x, int y, int z) BendingTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) CherryTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) DarkOakTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) FancyTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) ForkingTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) GiantTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) MegaJungleTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) StraightTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) abstract List<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config) UpwardsBranchingTrunkPlacer.placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, 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 TypeMethodDescriptionCountOnEveryLayerPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) Deprecated.EnvironmentScanPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) FixedPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) HeightmapPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) HeightRangePlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) InSquarePlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) PlacementFilter.getPositions(PlacementContext context, RandomSource random, BlockPos origin) PlacementModifier.getPositions(PlacementContext context, RandomSource random, BlockPos origin) RandomOffsetPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) RepeatingPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) Methods in net.minecraft.world.level.levelgen.placement with parameters of type BlockPosModifier and TypeMethodDescriptionprotected intCountPlacement.count(RandomSource random, BlockPos origin) protected intNoiseBasedCountPlacement.count(RandomSource random, BlockPos origin) protected intNoiseThresholdCountPlacement.count(RandomSource random, BlockPos origin) protected abstract intRepeatingPlacement.count(RandomSource random, BlockPos origin) PlacementContext.getBlockState(BlockPos pos) CountOnEveryLayerPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) Deprecated.EnvironmentScanPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) FixedPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) HeightmapPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) HeightRangePlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) InSquarePlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) PlacementFilter.getPositions(PlacementContext context, RandomSource random, BlockPos origin) PlacementModifier.getPositions(PlacementContext context, RandomSource random, BlockPos origin) RandomOffsetPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) RepeatingPlacement.getPositions(PlacementContext context, RandomSource random, BlockPos origin) private static booleanFixedPlacement.isSameChunk(int chunkX, int chunkZ, BlockPos position) static FixedPlacementbooleanPlacedFeature.place(WorldGenLevel level, ChunkGenerator generator, RandomSource random, BlockPos origin) booleanPlacedFeature.placeWithBiomeCheck(WorldGenLevel level, ChunkGenerator generator, RandomSource random, BlockPos origin) private booleanPlacedFeature.placeWithContext(PlacementContext context, RandomSource random, BlockPos origin) protected booleanBiomeFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) protected booleanBlockPredicateFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) protected abstract booleanPlacementFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) protected booleanRarityFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) protected booleanSurfaceRelativeThresholdFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) protected booleanSurfaceWaterDepthFilter.shouldPlace(PlacementContext context, RandomSource random, BlockPos origin) 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 chunkBB, RandomSource random, BlockPos pos, ResourceKey<LootTable> lootTable, @Nullable BlockState blockState) BoundingBox.encapsulate(BlockPos pos) Deprecated.protected abstract voidTemplateStructurePiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) voidPoolElementStructurePiece.place(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, BlockPos referencePos, boolean keepJigsaws) voidPoolElementStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) abstract voidStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidTemplateStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) static BlockStateStructurePiece.reorient(BlockGetter level, BlockPos blockPos, BlockState blockState) Method parameters in net.minecraft.world.level.levelgen.structure with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic Optional<BoundingBox> BoundingBox.encapsulatingPositions(Iterable<BlockPos> iterable) voidBoundingBox.forAllCorners(Consumer<BlockPos> consumer) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type BlockPosModifierConstructorDescriptionBoundingBox(BlockPos content) GenerationStub(BlockPos position, com.mojang.datafixers.util.Either<Consumer<StructurePiecesBuilder>, StructurePiecesBuilder> generator) Creates an instance of aGenerationStubrecord class.GenerationStub(BlockPos position, Consumer<StructurePiecesBuilder> generator) PoolElementStructurePiece(StructureTemplateManager structureTemplateManager, StructurePoolElement element, BlockPos position, int groundLevelDelta, Rotation rotation, BoundingBox boundingBox, LiquidSettings liquidSettings) TemplateStructurePiece(StructurePieceType type, int genDepth, StructureTemplateManager structureTemplateManager, Identifier templateLocation, String templateName, StructurePlaceSettings placeSettings, BlockPos position) -
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, Identifier targetJigsawId, BlockPos position, 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<Identifier> startJigsaw, int maxDepth, BlockPos position, boolean doExpansionHack, Optional<Heightmap.Types> projectStartToHeightmap, JigsawStructure.MaxDistance maxDistanceFromCenter, PoolAliasLookup poolAliasLookup, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) static booleanJigsawPlacement.generateJigsaw(ServerLevel level, Holder<StructureTemplatePool> pool, Identifier target, int maxDepth, BlockPos position, boolean keepJigsaws) EmptyPoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation) FeaturePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation) ListPoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation) SinglePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation) abstract BoundingBoxStructurePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation) SinglePoolElement.getDataMarkers(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, boolean absolute) JigsawPlacement.getRandomNamedJigsaw(StructurePoolElement element, Identifier targetJigsawId, BlockPos position, Rotation rotation, StructureTemplateManager structureTemplateManager, WorldgenRandom random) EmptyPoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) FeaturePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) ListPoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) SinglePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) abstract List<StructureTemplate.JigsawBlockInfo> StructurePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) voidStructurePoolElement.handleDataMarker(LevelAccessor level, StructureTemplate.StructureBlockInfo dataMarker, BlockPos position, Rotation rotation, RandomSource random, BoundingBox chunkBB) booleanEmptyPoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanFeaturePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanListPoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanSinglePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) abstract booleanStructurePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, 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> poolAliasBindings, 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 TypeFieldDescriptionprivate 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_BRIDGESprivate static final Map<Identifier, BlockPos> IglooPieces.OFFSETSprivate static final Map<Identifier, 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(Identifier templateLocation, BlockPos position, int depth) Methods in net.minecraft.world.level.levelgen.structure.structures that return types with arguments of type BlockPosModifier and TypeMethodDescriptionOceanRuinPieces.allPositions(RandomSource random, BlockPos origin) DesertPyramidPiece.getPotentialSuspiciousSandWorldPositions()Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidDesertPyramidPiece.addCellarRoom(BlockPos roomCenter, WorldGenLevel level, BoundingBox chunkBB) private voidDesertPyramidPiece.addCellarStairs(BlockPos roomCenter, WorldGenLevel level, BoundingBox chunkBB) private static voidOceanRuinPieces.addClusterRuins(StructureTemplateManager structureTemplateManager, RandomSource random, Rotation rotation, BlockPos p, OceanRuinStructure structure, StructurePieceAccessor structurePieceAccessor) private voidRuinedPortalPiece.addNetherrackDripColumn(RandomSource random, LevelAccessor level, BlockPos pos) private static EndCityPieces.EndCityPieceEndCityPieces.addPiece(StructureTemplateManager structureTemplateManager, EndCityPieces.EndCityPiece parent, BlockPos offset, String templateName, Rotation rotation, boolean overwrite) private static voidOceanRuinPieces.addPiece(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure, boolean isLarge, float baseIntegrity) static voidIglooPieces.addPieces(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random) static voidNetherFossilPieces.addPieces(StructureTemplateManager structureTemplateManager, StructurePieceAccessor structurePieceAccessor, RandomSource random, BlockPos position) static voidOceanRuinPieces.addPieces(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure) ShipwreckPieces.addRandomPiece(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, boolean isBeached) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x1(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos roomPos, Rotation rotation, Direction doorDir, WoodlandMansionPieces.FloorRoomCollection rooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos roomPos, Rotation rotation, Direction roomDir, Direction doorDir, WoodlandMansionPieces.FloorRoomCollection rooms, boolean isStairsRoom) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos roomPos, Rotation rotation, Direction roomDir, Direction doorDir, WoodlandMansionPieces.FloorRoomCollection rooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2Secret(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos roomPos, Rotation rotation, WoodlandMansionPieces.FloorRoomCollection rooms) OceanRuinPieces.allPositions(RandomSource random, BlockPos origin) private booleanRuinedPortalPiece.canBlockBeReplacedByNetherrackOrMagma(LevelAccessor level, BlockPos pos) private booleanMineshaftPieces.MineShaftCorridor.canHangChainBelow(LevelReader level, BlockPos posAbove, BlockState stateAbove) private booleanMineshaftPieces.MineShaftCorridor.canPlaceColumnOnTopOf(LevelReader level, BlockPos posBelow, BlockState stateBelow) voidWoodlandMansionPieces.MansionPiecePlacer.createMansion(BlockPos origin, Rotation rotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, WoodlandMansionPieces.MansionGrid mansion) private voidWoodlandMansionPieces.MansionPiecePlacer.createRoof(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos roofOrigin, Rotation rotation, WoodlandMansionPieces.SimpleGrid grid, @Nullable WoodlandMansionPieces.SimpleGrid aboveGrid) booleanEndCityPieces.SectionGenerator.generate(StructureTemplateManager structureTemplateManager, int genDepth, EndCityPieces.EndCityPiece parent, BlockPos offset, List<StructurePiece> pieces, RandomSource random) static voidWoodlandMansionPieces.generateMansion(StructureTemplateManager structureTemplateManager, BlockPos origin, 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 startPos, Rotation rotation) private intOceanRuinPieces.OceanRuinPiece.getHeight(BlockPos pos, BlockGetter level, BlockPos corner) protected voidEndCityPieces.EndCityPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidIglooPieces.IglooPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidNetherFossilPieces.NetherFossilPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidOceanRuinPieces.OceanRuinPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidRuinedPortalPiece.handleDataMarker(String markerId, BlockPos pos, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidShipwreckPieces.ShipwreckPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) protected voidWoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker(String markerId, BlockPos position, ServerLevelAccessor level, RandomSource random, BoundingBox chunkBB) private static booleanprivate static BlockPosIglooPieces.IglooPiece.makePosition(Identifier templateLocation, BlockPos position, int depth) private static StructurePlaceSettingsRuinedPortalPiece.makeSettings(Mirror mirror, Rotation rotation, RuinedPortalPiece.VerticalPlacement verticalPlacement, BlockPos pivot, 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 chunkBB, WorldGenLevel level, BlockPos blockPos) voidBuriedTreasurePieces.BuriedTreasurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidDesertPyramidPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidIglooPieces.IglooPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidJungleTemplePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftStairs.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.BridgeCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.BridgeEndFiller.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.BridgeStraight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleCorridorStairsPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleCorridorTBalconyPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleEntrance.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleStalkRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.MonsterThrone.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.StairsRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFossilPieces.NetherFossilPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.MonumentBuilding.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentCoreRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentEntryRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentPenthouse.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentSimpleRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentWingRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanRuinPieces.OceanRuinPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidRuinedPortalPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidShipwreckPieces.ShipwreckPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.ChestCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.FillerCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.FiveCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.LeftTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.Library.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.PortalRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.PrisonHall.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.RightTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.StairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.Straight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.StraightStairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidSwampHutPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) private static booleanEndCityPieces.recursiveChildren(StructureTemplateManager structureTemplateManager, EndCityPieces.SectionGenerator generator, int genDepth, EndCityPieces.EndCityPiece parent, BlockPos offset, List<StructurePiece> pieces, RandomSource random) static voidEndCityPieces.startHouseTower(StructureTemplateManager structureTemplateManager, BlockPos origin, Rotation rotation, List<StructurePiece> pieces, RandomSource random) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type BlockPosModifierConstructorDescriptionBuriedTreasurePiece(BlockPos offset) EndCityPiece(StructureTemplateManager structureTemplateManager, String templateName, BlockPos position, Rotation rotation, boolean overwrite) IglooPiece(StructureTemplateManager structureTemplateManager, Identifier templateLocation, BlockPos position, Rotation rotation, int depth) NetherFossilPiece(StructureTemplateManager structureTemplateManager, Identifier templateLocation, BlockPos position, Rotation rotation) OceanRuinPiece(StructureTemplateManager structureTemplateManager, Identifier templateLocation, BlockPos position, Rotation rotation, float integrity, OceanRuinStructure.Type biomeType, boolean isLarge) RuinedPortalPiece(StructureTemplateManager structureTemplateManager, BlockPos templatePosition, RuinedPortalPiece.VerticalPlacement verticalPlacement, RuinedPortalPiece.Properties properties, Identifier templateLocation, StructureTemplate template, Rotation rotation, Mirror mirror, BlockPos pivot) ShipwreckPiece(StructureTemplateManager structureTemplateManager, Identifier templateLocation, BlockPos position, Rotation rotation, boolean isBeached) WoodlandMansionPiece(StructureTemplateManager structureTemplateManager, String templateName, BlockPos position, Rotation rotation) WoodlandMansionPiece(StructureTemplateManager structureTemplateManager, String templateName, BlockPos position, 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 settings1, BlockPos connection1, StructurePlaceSettings settings2, BlockPos connection2) static BlockPosStructureTemplate.calculateRelativePosition(StructurePlaceSettings settings, BlockPos pos) StructurePlaceSettings.getRotationPivot()StructureTemplate.getZeroPositionWithTransform(BlockPos zeroPos, Mirror mirror, Rotation rotation) static BlockPosStructureTemplate.getZeroPositionWithTransform(BlockPos zeroPos, 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 level, BlockPos position, StructurePlaceSettings placementIn, ProblemReporter problemReporter) StructureTemplate.calculateConnectedPosition(StructurePlaceSettings settings1, BlockPos connection1, StructurePlaceSettings settings2, BlockPos connection2) static BlockPosStructureTemplate.calculateRelativePosition(StructurePlaceSettings settings, BlockPos pos) private voidStructureTemplate.fillEntityList(Level level, BlockPos minCorner, BlockPos maxCorner, ProblemReporter reporter) voidStructureTemplate.fillFromWorld(Level level, BlockPos position, Vec3i size, boolean inludeEntities, List<Block> ignoreBlocks) StructureTemplate.filterBlocks(BlockPos position, StructurePlaceSettings settings, Block block) it.unimi.dsi.fastutil.objects.ObjectArrayList<StructureTemplate.StructureBlockInfo> StructureTemplate.filterBlocks(BlockPos position, StructurePlaceSettings settings, Block block, boolean absolute) CappedProcessor.finalizeProcessing(ServerLevelAccessor level, BlockPos position, BlockPos referencePos, List<StructureTemplate.StructureBlockInfo> originalBlockInfoList, List<StructureTemplate.StructureBlockInfo> processedBlockInfoList, StructurePlaceSettings settings) StructureProcessor.finalizeProcessing(ServerLevelAccessor level, BlockPos position, BlockPos referencePos, List<StructureTemplate.StructureBlockInfo> originalBlockInfoList, List<StructureTemplate.StructureBlockInfo> processedBlockInfoList, StructurePlaceSettings settings) StructureTemplate.getBoundingBox(BlockPos position, Rotation rotation, BlockPos pivot, Mirror mirror) protected static BoundingBoxStructureTemplate.getBoundingBox(BlockPos position, Rotation rotation, BlockPos pivot, Mirror mirror, Vec3i size) StructureTemplate.getBoundingBox(StructurePlaceSettings settings, BlockPos position) StructureTemplate.getJigsaws(BlockPos position, Rotation rotation) StructurePlaceSettings.getRandomPalette(List<StructureTemplate.Palette> palettes, @Nullable BlockPos pos) StructureTemplate.getZeroPositionWithTransform(BlockPos zeroPos, Mirror mirror, Rotation rotation) static BlockPosStructureTemplate.getZeroPositionWithTransform(BlockPos zeroPos, Mirror mirror, Rotation rotation, int sizeX, int sizeZ) booleanStructureTemplate.placeInWorld(ServerLevelAccessor level, BlockPos position, BlockPos referencePos, StructurePlaceSettings settings, RandomSource random, int updateMode) @Nullable StructureTemplate.StructureBlockInfoStructureProcessor.process(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings, @Nullable StructureTemplate template) BlackstoneReplaceProcessor.processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) @Nullable StructureTemplate.StructureBlockInfoBlockAgeProcessor.processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) @Nullable StructureTemplate.StructureBlockInfoBlockIgnoreProcessor.processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) @Nullable StructureTemplate.StructureBlockInfoBlockRotProcessor.processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) @Nullable StructureTemplate.StructureBlockInfoGravityProcessor.processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) @Nullable StructureTemplate.StructureBlockInfoJigsawReplacementProcessor.processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) @Nullable StructureTemplate.StructureBlockInfoLavaSubmergedBlockProcessor.processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) @Nullable StructureTemplate.StructureBlockInfoProtectedBlockProcessor.processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) @Nullable StructureTemplate.StructureBlockInfoRuleProcessor.processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) @Nullable StructureTemplate.StructureBlockInfoStructureProcessor.processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) StructureTemplate.processBlockInfos(ServerLevelAccessor level, BlockPos position, BlockPos referencePos, StructurePlaceSettings settings, List<StructureTemplate.StructureBlockInfo> blockInfoList) Deprecated.StructureTemplate.processBlockInfos(ServerLevelAccessor level, BlockPos position, BlockPos referencePos, StructurePlaceSettings settings, List<StructureTemplate.StructureBlockInfo> blockInfoList, @Nullable StructureTemplate template) StructureProcessor.processEntity(LevelReader world, BlockPos seedPos, StructureTemplate.StructureEntityInfo rawEntityInfo, StructureTemplate.StructureEntityInfo entityInfo, StructurePlaceSettings placementSettings, StructureTemplate template) FORGE: Add entity processing.StructureTemplate.processEntityInfos(@Nullable 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 inTemplatePos, BlockPos worldPos, BlockPos worldReference, RandomSource random) booleanLinearPosTest.test(BlockPos inTemplatePos, BlockPos worldPos, BlockPos worldReference, RandomSource random) booleanPosAlwaysTrueTest.test(BlockPos inTemplatePos, BlockPos worldPos, BlockPos worldReference, RandomSource random) abstract booleanPosRuleTest.test(BlockPos inTemplatePos, BlockPos worldPos, BlockPos worldReference, RandomSource random) booleanProcessorRule.test(BlockState inputState, BlockState locState, BlockPos inTemplatePos, BlockPos worldPos, BlockPos reference, RandomSource random) static BlockPosstatic Vec3static voidStructureTemplate.updateShapeAtEdge(LevelAccessor level, int updateMode, DiscreteVoxelShape shape, BlockPos pos) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type BlockPosModifierConstructorDescriptionStructureBlockInfo(BlockPos pos, BlockState state, @Nullable 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 startPos, BlockState startState) intLayerLightEventListener.DummyLightLayerEventListener.getLightValue(BlockPos pos) intLayerLightEventListener.getLightValue(BlockPos pos) intLightEngine.getLightValue(BlockPos pos) intLevelLightEngine.getRawBrightness(BlockPos pos, int skyDampen) protected BlockStatestatic booleanLightEngine.hasDifferentLightProperties(BlockGetter level, BlockPos pos, BlockState oldState, BlockState newState) private booleanChunkSkyLightSources.updateEdge(BlockGetter level, int index, int oldTopEdgeY, BlockPos topPos, BlockState topState, BlockPos bottomPos, BlockState bottomState) default voidLightEventListener.updateSectionStatus(BlockPos pos, boolean sectionEmpty) -
Uses of BlockPos in net.minecraft.world.level.material
Fields in net.minecraft.world.level.material declared as BlockPosMethods in net.minecraft.world.level.material with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidFluid.animateTick(Level level, BlockPos pos, FluidState fluidState, RandomSource random) voidFluidState.animateTick(Level level, BlockPos pos, RandomSource random) voidLavaFluid.animateTick(Level level, BlockPos pos, FluidState fluidState, RandomSource random) voidWaterFluid.animateTick(Level level, BlockPos pos, FluidState fluidState, 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 state, BlockGetter level, BlockPos pos, Fluid other, Direction direction) protected abstract booleanFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid other, Direction direction) booleanFluidState.canBeReplacedWith(BlockGetter level, BlockPos pos, Fluid other, Direction direction) booleanLavaFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid other, Direction direction) booleanWaterFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid other, Direction direction) booleanFlowingFluid.canConvertToSource(FluidState state, ServerLevel level, BlockPos pos) private static booleanFlowingFluid.canHoldFluid(BlockGetter level, BlockPos pos, BlockState state, Fluid newFluid) private static booleanFlowingFluid.canHoldSpecificFluid(BlockGetter level, BlockPos pos, BlockState state, Fluid newFluid) private booleanFlowingFluid.canMaybePassThrough(BlockGetter level, BlockPos sourcePos, BlockState sourceState, Direction direction, BlockPos testPos, BlockState testState, FluidState testFluidState) private booleanFlowingFluid.canPassThrough(BlockGetter level, Fluid fluid, BlockPos sourcePos, BlockState sourceState, Direction direction, BlockPos testPos, BlockState testState, FluidState testFluidState) private static booleanFlowingFluid.canPassThroughWall(Direction direction, BlockGetter level, BlockPos sourcePos, BlockState sourceState, BlockPos targetPos, BlockState targetState) protected voidFluid.entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier) voidFluidState.entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier) protected voidLavaFluid.entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier) protected voidWaterFluid.entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier) private voidLavaFluid.fizz(LevelAccessor level, BlockPos pos) @Nullable AABBFluid.getAABB(FluidState state, BlockGetter level, BlockPos pos) @Nullable AABBFluidState.getAABB(BlockGetter level, BlockPos pos) FlowingFluid.SpreadContext.getBlockState(BlockPos pos) private BlockStateFlowingFluid.SpreadContext.getBlockState(BlockPos pos, short key) private shortFlowingFluid.SpreadContext.getCacheKey(BlockPos pos) EmptyFluid.getFlow(BlockGetter level, BlockPos pos, FluidState fluidState) FlowingFluid.getFlow(BlockGetter level, BlockPos pos, FluidState fluidState) protected abstract Vec3Fluid.getFlow(BlockGetter level, BlockPos pos, FluidState fluidState) FluidState.getFlow(BlockGetter level, BlockPos pos) floatEmptyFluid.getHeight(FluidState fluidState, BlockGetter level, BlockPos pos) floatFlowingFluid.getHeight(FluidState fluidState, BlockGetter level, BlockPos pos) abstract floatFluid.getHeight(FluidState fluidState, BlockGetter level, BlockPos pos) floatFluidState.getHeight(BlockGetter level, BlockPos pos) protected FluidStateFlowingFluid.getNewLiquid(ServerLevel level, BlockPos pos, BlockState state) 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 pos, int pass, Direction from, BlockState state, FlowingFluid.SpreadContext context) protected Map<Direction, FluidState> FlowingFluid.getSpread(ServerLevel level, BlockPos pos, BlockState state) protected intFlowingFluid.getSpreadDelay(Level level, BlockPos pos, FluidState oldFluidState, FluidState newFluidState) intLavaFluid.getSpreadDelay(Level level, BlockPos pos, FluidState oldFluidState, FluidState newFluidState) 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 level, BlockPos pos, Direction face) booleanprotected booleanFlowingFluid.isSolidFace(BlockGetter level, BlockPos pos, Direction direction) private booleanFlowingFluid.isWaterHole(BlockGetter level, BlockPos topPos, BlockState topState, BlockPos bottomPos, BlockState bottomState) protected voidFluid.randomTick(ServerLevel level, BlockPos pos, FluidState fluidState, RandomSource random) voidFluidState.randomTick(ServerLevel level, BlockPos pos, RandomSource random) voidLavaFluid.randomTick(ServerLevel level, BlockPos pos, FluidState fluidState, RandomSource random) booleanFluidState.shouldRenderBackwardUpFace(BlockGetter level, BlockPos above) 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(ServerLevel level, BlockPos pos, BlockState state, FluidState fluidState) protected voidFlowingFluid.spreadTo(LevelAccessor level, BlockPos pos, BlockState state, Direction direction, FluidState target) protected voidLavaFluid.spreadTo(LevelAccessor level, BlockPos pos, BlockState state, Direction direction, FluidState target) private voidFlowingFluid.spreadToSides(ServerLevel level, BlockPos pos, FluidState fluidState, BlockState state) voidFlowingFluid.tick(ServerLevel level, BlockPos pos, BlockState blockState, FluidState fluidState) protected voidFluid.tick(ServerLevel level, BlockPos pos, BlockState blockState, FluidState fluidState) voidFluidState.tick(ServerLevel level, BlockPos pos, BlockState blockState) Constructors in net.minecraft.world.level.material with parameters of type BlockPos -
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 key) 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 closest, BlockPos target, boolean reached) Converts a recursive path point structure into a pathMethod parameters in net.minecraft.world.level.pathfinder with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate @Nullable PathPathFinder.findPath(Node from, Map<Target, BlockPos> targetMap, float maxPathLength, int reachRange, float maxVisitedNodesMultiplier) Finds a path to one of the specified positions and post-processes it or returns null if no path could be found within given accuracy@Nullable PathPathFinder.findPath(PathNavigationRegion level, Mob entity, Set<BlockPos> targets, float maxPathLength, int reachRange, float maxVisitedNodesMultiplier) Finds a path to one of the specified positions and post-processes it or returns null if no path could be found within given accuracyConstructors in net.minecraft.world.level.pathfinder with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.level.portal
Fields in net.minecraft.world.level.portal declared as BlockPosMethods in net.minecraft.world.level.portal that return BlockPosModifier and TypeMethodDescriptionprivate static @Nullable BlockPosPortalShape.calculateBottomLeft(BlockGetter level, Direction rightDir, BlockPos pos) Methods in net.minecraft.world.level.portal that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPortalForcer.findClosestPortalPosition(BlockPos approximateExitPos, boolean toNether, WorldBorder worldBorder) Methods in net.minecraft.world.level.portal with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static @Nullable BlockPosPortalShape.calculateBottomLeft(BlockGetter level, Direction rightDir, BlockPos pos) private static intPortalShape.calculateHeight(BlockGetter level, BlockPos bottomLeft, Direction rightDir, int width, org.apache.commons.lang3.mutable.MutableInt portalBlockCount) private static intPortalShape.calculateWidth(BlockGetter level, BlockPos bottomLeft, Direction rightDir) private booleanPortalForcer.canHostFrame(BlockPos origin, BlockPos.MutableBlockPos mutable, Direction direction, int offset) PortalForcer.createPortal(BlockPos origin, Direction.Axis portalAxis) static PortalShapePortalShape.findAnyShape(BlockGetter level, BlockPos pos, Direction.Axis axis) PortalForcer.findClosestPortalPosition(BlockPos approximateExitPos, boolean toNether, WorldBorder worldBorder) static Optional<PortalShape> PortalShape.findEmptyPortalShape(LevelAccessor level, BlockPos pos, Direction.Axis preferredAxis) static Optional<PortalShape> PortalShape.findPortalShape(LevelAccessor level, BlockPos pos, Predicate<PortalShape> isValid, Direction.Axis preferredAxis) private static intPortalShape.getDistanceUntilEdgeAboveFrame(BlockGetter level, BlockPos pos, Direction direction) private static intPortalShape.getDistanceUntilTop(BlockGetter level, BlockPos bottomLeft, Direction rightDir, BlockPos.MutableBlockPos pos, int width, org.apache.commons.lang3.mutable.MutableInt portalBlockCount) private static booleanPortalShape.hasTopFrame(BlockGetter level, BlockPos bottomLeft, Direction rightDir, BlockPos.MutableBlockPos pos, int width, int height) Constructors in net.minecraft.world.level.portal with parameters of type BlockPosModifierConstructorDescriptionprivatePortalShape(Direction.Axis axis, int portalBlockCount, Direction rightDir, BlockPos bottomLeft, int width, int height) -
Uses of BlockPos in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosCollectingNeighborUpdater.ShapeUpdate.neighborPosThe field for theneighborPosrecord component.private final BlockPosCollectingNeighborUpdater.FullNeighborUpdate.posThe field for theposrecord component.private final BlockPosCollectingNeighborUpdater.ShapeUpdate.posThe field for theposrecord component.private final BlockPosCollectingNeighborUpdater.SimpleNeighborUpdate.posThe field for theposrecord component.private final BlockPosCollectingNeighborUpdater.MultiNeighborUpdate.sourcePosFields in net.minecraft.world.level.redstone with type parameters of type BlockPosModifier and TypeFieldDescriptionCollectingNeighborUpdater.debugListenerprivate final it.unimi.dsi.fastutil.objects.Object2IntMap<BlockPos> ExperimentalRedstoneWireEvaluator.updatedWiresExperimentalRedstoneWireEvaluator.wiresToTurnOffExperimentalRedstoneWireEvaluator.wiresToTurnOnMethods in net.minecraft.world.level.redstone that return BlockPosModifier and TypeMethodDescriptionCollectingNeighborUpdater.ShapeUpdate.neighborPos()Returns the value of theneighborPosrecord component.CollectingNeighborUpdater.FullNeighborUpdate.pos()Returns the value of theposrecord component.CollectingNeighborUpdater.ShapeUpdate.pos()Returns the value of theposrecord component.CollectingNeighborUpdater.SimpleNeighborUpdate.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.level.redstone with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidCollectingNeighborUpdater.addAndRun(BlockPos pos, CollectingNeighborUpdater.NeighborUpdates update) private voidExperimentalRedstoneWireEvaluator.calculateCurrentChanges(Level level, BlockPos initialPosition, Orientation initialOrientation) private intDefaultRedstoneWireEvaluator.calculateTargetStrength(Level level, BlockPos pos) private voidExperimentalRedstoneWireEvaluator.enqueueNeighborWire(Level level, BlockPos pos, int newFromPower, Orientation orientation, boolean allowTurningOff) static voidNeighborUpdater.executeShapeUpdate(LevelAccessor level, Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int updateFlags, int updateLimit) static voidNeighborUpdater.executeUpdate(Level level, BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) protected intRedstoneWireEvaluator.getBlockSignal(Level level, BlockPos pos) protected intRedstoneWireEvaluator.getIncomingWireSignal(Level level, BlockPos pos) protected intExperimentalRedstoneWireEvaluator.getWireSignal(BlockPos pos, BlockState state) protected intRedstoneWireEvaluator.getWireSignal(BlockPos pos, BlockState state) voidCollectingNeighborUpdater.neighborChanged(BlockPos pos, Block block, @Nullable Orientation orientation) voidCollectingNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) voidInstantNeighborUpdater.neighborChanged(BlockPos pos, Block changedBlock, @Nullable Orientation orientation) voidInstantNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) voidNeighborUpdater.neighborChanged(BlockPos pos, Block changedBlock, @Nullable Orientation orientation) voidNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) private voidExperimentalRedstoneWireEvaluator.propagateChangeToNeighbors(Level level, BlockPos pos, int newPower, Orientation orientation, boolean allowTurningOff) private voidExperimentalRedstoneWireEvaluator.setPower(BlockPos pos, int newPower, Orientation orientation) voidCollectingNeighborUpdater.shapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) voidInstantNeighborUpdater.shapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) voidNeighborUpdater.shapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) voidCollectingNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, @Nullable Direction skipDirection, @Nullable Orientation orientation) default voidNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, @Nullable Direction skipDirection, @Nullable Orientation orientation) voidDefaultRedstoneWireEvaluator.updatePowerStrength(Level level, BlockPos pos, BlockState state, @Nullable Orientation orientation, boolean skipShapeUpdates) voidExperimentalRedstoneWireEvaluator.updatePowerStrength(Level level, BlockPos initialPos, BlockState ignored, @Nullable Orientation orientation, boolean shapeUpdateWiresAroundInitialPosition) abstract voidRedstoneWireEvaluator.updatePowerStrength(Level level, BlockPos pos, BlockState state, @Nullable Orientation orientation, boolean skipShapeUpdates) Method parameters in net.minecraft.world.level.redstone with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidCollectingNeighborUpdater.FullNeighborUpdate.forEachUpdatedPos(Consumer<BlockPos> output) voidCollectingNeighborUpdater.MultiNeighborUpdate.forEachUpdatedPos(Consumer<BlockPos> output) voidCollectingNeighborUpdater.NeighborUpdates.forEachUpdatedPos(Consumer<BlockPos> output) voidCollectingNeighborUpdater.ShapeUpdate.forEachUpdatedPos(Consumer<BlockPos> output) voidCollectingNeighborUpdater.SimpleNeighborUpdate.forEachUpdatedPos(Consumer<BlockPos> output) voidCollectingNeighborUpdater.setDebugListener(@Nullable Consumer<BlockPos> debugListener) Constructors in net.minecraft.world.level.redstone with parameters of type BlockPosModifierConstructorDescription(package private)FullNeighborUpdate(BlockState state, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) Creates an instance of aFullNeighborUpdaterecord class.(package private)MultiNeighborUpdate(BlockPos sourcePos, Block sourceBlock, @Nullable Orientation orientation, @Nullable Direction skipDirection) privateShapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) Creates an instance of aShapeUpdaterecord class.(package private)SimpleNeighborUpdate(BlockPos pos, Block block, @Nullable Orientation orientation) Creates an instance of aSimpleNeighborUpdaterecord class. -
Uses of BlockPos in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosMapBanner.posThe field for theposrecord component.private final BlockPosMapFrame.posThe field for theposrecord component.Methods in net.minecraft.world.level.saveddata.maps that return BlockPosModifier and TypeMethodDescriptionMapBanner.pos()Returns the value of theposrecord component.MapFrame.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.level.saveddata.maps with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidMapItemSavedData.addTargetDecoration(ItemStack itemStack, BlockPos position, String key, Holder<MapDecorationType> decorationType) static Stringstatic @Nullable MapBannerMapBanner.fromWorld(BlockGetter level, BlockPos pos) voidMapItemSavedData.removedFromFrame(BlockPos pos, int entityID) booleanMapItemSavedData.toggleBanner(LevelAccessor level, BlockPos pos) Constructors in net.minecraft.world.level.saveddata.maps with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return BlockPosMethods in net.minecraft.world.level.storage with parameters of type BlockPosModifier and TypeMethodDescriptionstatic LevelData.RespawnDataLevelData.RespawnData.of(ResourceKey<Level> dimension, BlockPos pos, float yaw, float pitch) -
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 predicate, 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 @Nullable BlockHitResultstatic AABBAABB.encapsulatingFullBlocks(BlockPos pos0, BlockPos pos1) booleanAABB.intersects(BlockPos pos) static BlockHitResultCreates a new BlockRayTraceResult marked as a miss.BlockHitResult.withPosition(BlockPos blockPos) Constructors in net.minecraft.world.phys with parameters of type BlockPosModifierConstructorDescriptionprivateBlockHitResult(boolean miss, Vec3 location, Direction direction, BlockPos blockPos, boolean inside, boolean worldBorderHit) BlockHitResult(Vec3 location, Direction direction, BlockPos pos, boolean inside) BlockHitResult(Vec3 location, Direction direction, BlockPos pos, boolean inside, boolean worldBorderHit) -
Uses of BlockPos in net.minecraft.world.phys.shapes
Fields in net.minecraft.world.phys.shapes declared as BlockPosModifier and TypeFieldDescriptionprivate @Nullable BlockPosMinecartCollisionContext.ingoreBelowprivate @Nullable BlockPosMinecartCollisionContext.slopeIgnoreMethods in net.minecraft.world.phys.shapes with parameters of type BlockPosModifier and TypeMethodDescription@Nullable BlockHitResultCollisionContext.getCollisionShape(BlockState state, CollisionGetter collisionGetter, BlockPos pos) EntityCollisionContext.getCollisionShape(BlockState state, CollisionGetter collisionGetter, BlockPos pos) MinecartCollisionContext.getCollisionShape(BlockState state, CollisionGetter collisionGetter, BlockPos pos) booleanCollisionContext.isAbove(VoxelShape shape, BlockPos pos, boolean defaultValue) booleanEntityCollisionContext.Empty.isAbove(VoxelShape shape, BlockPos pos, boolean defaultValue) booleanEntityCollisionContext.isAbove(VoxelShape shape, BlockPos pos, boolean defaultValue) -
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 block) 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> 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> output) voidLevelTicks.tick(long currentTick, int maxTicksToProcess, BiConsumer<BlockPos, T> output) 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 type, BlockPos pos, long triggerTick, long subTickOrder) 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.minecraft.world.waypoints
Fields in net.minecraft.world.waypoints declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPosWaypointTransmitter.EntityBlockConnection.lastPosition -
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.@Nullable TBlockCapability.getCapability(Level level, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity, C context) @Nullable TIBlockCapabilityProvider.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
Fields in net.neoforged.neoforge.client declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosBlockEntityRenderBoundsDebugRenderer.BlockEntityRenderBoundsRenderState.posThe field for theposrecord component.Methods in net.neoforged.neoforge.client that return BlockPosModifier and TypeMethodDescriptionIRenderableSection.getRenderOrigin()Returns the block position at the origin of the section.BlockEntityRenderBoundsDebugRenderer.BlockEntityRenderBoundsRenderState.pos()Returns the value of theposrecord component.Methods in net.neoforged.neoforge.client with parameters of type BlockPosModifier and TypeMethodDescriptionClientHooks.gatherAdditionalRenderers(BlockPos sectionOrigin, Level level) static booleanClientHooks.renderBlockOverlay(Player player, PoseStack poseStack, RenderBlockScreenEffectEvent.OverlayType type, BlockState block, BlockPos pos, SpriteGetter sprites, MultiBufferSource bufferSource) Constructors in net.neoforged.neoforge.client with parameters of type BlockPosModifierConstructorDescriptionprivateBlockEntityRenderBoundsRenderState(BlockPos pos, AABB bounds) Creates an instance of aBlockEntityRenderBoundsRenderStaterecord class. -
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 BlockPosExtractBlockOutlineRenderStateEvent.posprivate final BlockPosAddSectionGeometryEvent.sectionOriginMethods in net.neoforged.neoforge.client.event that return BlockPosModifier and TypeMethodDescriptionExtractBlockOutlineRenderStateEvent.getBlockPos()Returns the position of the block whose outline is being extracted.RenderBlockScreenEffectEvent.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) ExtractBlockOutlineRenderStateEvent(LevelRenderer levelRenderer, ClientLevel level, BlockPos pos, BlockState state, BlockHitResult hitResult, CollisionContext collisionContext, boolean inTranslucentPass, boolean highContrast, Camera camera, LevelRenderState levelRenderState) RenderBlockScreenEffectEvent(Player player, PoseStack poseStack, RenderBlockScreenEffectEvent.OverlayType type, BlockState block, BlockPos blockPos, SpriteGetter sprites, MultiBufferSource bufferSource) -
Uses of BlockPos in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type BlockPosModifier and TypeMethodDescriptiondefault List<BlockModelPart> BlockStateModelExtension.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) Helper to collects the parts of the model into a new list.default voidBlockStateModelExtension.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) Collects the parts of the model that should be rendered.default @Nullable ObjectBlockStateModelExtension.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) Collects all the data used by the model to produce renderable geometry.default booleanBlockStateModelExtension.hasTranslucency(BlockAndTintGetter level, BlockPos pos, BlockState state) Returns whether this model contains any translucent quads.default Material.BakedBlockStateModelExtension.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) Returns the particle icon. -
Uses of BlockPos in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type BlockPosModifier and TypeMethodDescriptiondefault booleanIClientBlockExtensions.addDestroyEffects(BlockState state, Level Level, BlockPos pos, ParticleEngine manager) Spawn particles for when the block is destroyed.default booleanIClientBlockExtensions.areBreakingParticlesTinted(BlockState state, ClientLevel level, BlockPos pos) Returns true if the breaking particles created from theBlockStatepassed should be tinted with biome colors.default IdentifierIClientFluidTypeExtensions.getFlowingTexture(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a flowing fluid.default Vector3dIClientBlockExtensions.getFogColor(BlockState state, LevelReader level, BlockPos pos, Entity entity, Vector3d originalColor, float partialTick) NOT CURRENTLY IMPLEMENTEDdefault IdentifierIClientFluidTypeExtensions.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 IdentifierIClientFluidTypeExtensions.getStillTexture(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a source fluid.default intIClientFluidTypeExtensions.getTintColor(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the tint applied to the fluid's textures.default booleanIClientBlockExtensions.playBreakSound(BlockState state, Level level, BlockPos pos) Play breaking sound(s) when the block is destroyed.default booleanIClientBlockExtensions.playHitSound(BlockState state, Level level, BlockPos pos, Direction face, SoundManager soundManager) Play hit sound(s) when the block is punched.default booleanIClientFluidTypeExtensions.renderFluid(FluidState fluidState, BlockAndTintGetter getter, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState) Called to allow rendering custom quads for a fluid during chunk meshing. -
Uses of BlockPos in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type BlockPosModifier and TypeMethodDescriptionvoidDelegateBlockStateModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) voidDynamicBlockStateModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) booleanDelegateBlockStateModel.hasTranslucency(BlockAndTintGetter level, BlockPos pos, BlockState state) DelegateBlockStateModel.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of BlockPos in net.neoforged.neoforge.client.model.ao
Methods in net.neoforged.neoforge.client.model.ao with parameters of type BlockPosModifier and TypeMethodDescriptionvoidEnhancedAoRenderStorage.calculate(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) private voidEnhancedAoRenderStorage.calculateAxisAligned(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) Computes AO for an axis-aligned quad.(package private) AoCalculatedFaceFullFaceCalculator.calculateFace(BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) private voidFullFaceCalculator.calculateFaceUncached(AoCalculatedFace out, BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) Computes the AO for a full face.private voidEnhancedAoRenderStorage.calculateIrregular(BlockAndTintGetter level, BlockState state, BlockPos pos, boolean shade) Computes AO for a general quad. -
Uses of BlockPos in net.neoforged.neoforge.client.model.block
Methods in net.neoforged.neoforge.client.model.block with parameters of type BlockPosModifier and TypeMethodDescriptionvoidCompositeBlockModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) @Nullable ObjectCompositeBlockModel.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) booleanCompositeBlockModel.hasTranslucency(BlockAndTintGetter level, BlockPos pos, BlockState state) CompositeBlockModel.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of BlockPos in net.neoforged.neoforge.client.textures
Methods in net.neoforged.neoforge.client.textures with parameters of type BlockPosModifier and TypeMethodDescriptionstatic TextureAtlasSprite[]FluidSpriteCache.getFluidSprites(BlockAndTintGetter level, BlockPos pos, FluidState fluid) Returns an array holding the still sprite, the flowing sprite and the overlay sprite (if specified, otherwise null) of the given fluid at the given position. -
Uses of BlockPos in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common that return types with arguments of type BlockPosModifier and TypeMethodDescriptionCommonHooks.isLivingOnLadder(BlockState state, Level level, BlockPos pos, LivingEntity entity) Methods in net.neoforged.neoforge.common with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanCommonHooks.canCropGrow(Level level, BlockPos pos, BlockState state, boolean def) Checks if a crop can grow by firingCropGrowEvent.Pre.static booleanCommonHooks.canEntityDestroy(ServerLevel level, BlockPos pos, LivingEntity entity) booleanSpecialPlantable.canPlacePlantAtPosition(ItemStack itemStack, LevelReader level, BlockPos pos, @Nullable Direction direction) Checks location if this item can spawn a plant with the given direction attachment point.static BlockEvent.BreakEventCommonHooks.fireBlockBreak(Level level, GameType gameType, ServerPlayer player, BlockPos pos, BlockState state) FiresBlockEvent.BreakEvent, pre-emptively canceling the event based on the conditions that will cause the block to not be broken anyway.static voidCommonHooks.fireCropGrowPost(Level level, BlockPos pos, BlockState state) static voidCommonHooks.handleBlockDrops(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Fires theBlockDropsEventwhen block drops (items and experience) are determined.static booleanFarmlandWaterManager.hasBlockWaterTicket(LevelReader level, BlockPos pos) Tests if a block is in a region that is watered by blocks.CommonHooks.isLivingOnLadder(BlockState state, Level level, BlockPos pos, LivingEntity entity) default booleanIShearable.isShearable(@Nullable Player player, ItemStack item, Level level, BlockPos pos) Checks if this object can be sheared.CommonHooks.onClientMineHold(Player player, BlockPos pos, Direction face) static booleanCommonHooks.onFarmlandTrample(ServerLevel level, BlockPos pos, BlockState state, double fallDistance, Entity entity) CommonHooks.onLeftClickBlock(Player player, BlockPos pos, Direction face, ServerboundPlayerActionPacket.Action action) static intCommonHooks.onNoteChange(Level level, BlockPos pos, BlockState state, int old, int _new) CommonHooks.onRightClickBlock(Player player, InteractionHand hand, BlockPos pos, BlockHitResult hitVec) Shears this object.voidSpecialPlantable.spawnPlantAtPosition(ItemStack itemStack, LevelAccessor level, BlockPos pos, @Nullable Direction direction) Spawns the plant with the given direction attachment point at location.default voidIShearable.spawnShearedDrop(ServerLevel level, BlockPos pos, ItemStack drop) Performs the logic used to drop a shear result into the world at the correct position and with the proper movement.static booleanCommonHooks.tryDispenseShearsHarvestBlock(BlockSource source, ItemStack stack, ServerLevel level, BlockPos pos) Attempts to modify target block usingItemAbilities.SHEARS_HARVESTinShearsDispenseItemBehavior, consistent with vanilla beehive harvest behavior (also controlled byItemAbilities.SHEARS_HARVEST). -
Uses of BlockPos in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type BlockPosModifier and TypeMethodDescriptiondefault booleanIBlockExtension.addLandingEffects(BlockState state1, ServerLevel level, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default booleanIBlockStateExtension.addLandingEffects(ServerLevel level, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default booleanIBlockExtension.addRunningEffects(BlockState state, Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default booleanIBlockStateExtension.addRunningEffects(Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default booleanIBlockExtension.canBeHydrated(BlockState state, BlockGetter getter, BlockPos pos, FluidState fluid, BlockPos fluidPos) Returns whether the block can be hydrated by a fluid.default booleanIBlockStateExtension.canBeHydrated(BlockGetter getter, BlockPos pos, FluidState fluid, BlockPos fluidPos) Returns whether the block can be hydrated by a fluid.default booleanIBlockExtension.canConnectRedstone(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a given sidedefault booleanIFluidExtension.canConvertToSource(FluidState state, ServerLevel level, BlockPos pos) Returns whether the fluid can create a source.default booleanIFluidStateExtension.canConvertToSource(ServerLevel level, BlockPos pos) Returns whether the fluid can create a source.default booleanIBlockExtension.canDropFromExplosion(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default booleanIBlockStateExtension.canDropFromExplosion(BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default booleanIBlockExtension.canEntityDestroy(BlockState state, BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default booleanIBlockStateExtension.canEntityDestroy(BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default booleanIFluidExtension.canExtinguish(FluidState state, BlockGetter getter, BlockPos pos) Returns whether the block can be extinguished by this fluid.default booleanIFluidStateExtension.canExtinguish(BlockGetter getter, BlockPos pos) Returns whether the block can be extinguished by this fluid.default booleanIBlockExtension.canHarvestBlock(BlockState state, BlockGetter level, BlockPos pos, Player player) Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.default booleanIBlockStateExtension.canHarvestBlock(BlockGetter level, BlockPos pos, Player player) Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.default booleanIFluidExtension.canHydrate(FluidState state, BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.default booleanIFluidStateExtension.canHydrate(BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.default booleanIBaseRailBlockExtension.canMakeSlopes(BlockState state, BlockGetter level, BlockPos pos) Returns true if the rail can make up and down slopes.default booleanIBlockStateExtension.canRedstoneConnectTo(BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a side.default TriStateIBlockExtension.canSustainPlant(BlockState state, BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.default TriStateIBlockStateExtension.canSustainPlant(BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.booleanIEntityExtension.canTrample(ServerLevel level, BlockState state, BlockPos pos, double fallDistance) default booleanIBlockExtension.collisionExtendsVertically(BlockState state, BlockGetter level, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default booleanIBlockStateExtension.collisionExtendsVertically(BlockGetter level, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default booleanIItemExtension.doesSneakBypassUse(ItemStack stack, LevelReader level, BlockPos pos, Player player) Should this item, when held, allow sneak-clicks to pass through to the underlying block?default booleanIItemStackExtension.doesSneakBypassUse(LevelReader level, BlockPos pos, Player player) Should this item, when held, allow sneak-clicks to pass through to the underlying block?default booleanIDispensibleContainerItemExtension.emptyContents(@Nullable LivingEntity entity, Level level, BlockPos pos, @Nullable BlockHitResult hitResult, @Nullable ItemStack container) Empties the contents of the container and returns whether it was successful.default voidSame asGameTestHelper.fail(Component, BlockPos), but for untranslated messages.default voidIFallableExtension.fallingTick(Level level, BlockPos currentPosition, FallingBlockEntity entity) Called inFallingBlockEntity.tick()after vanilla processing on both server and client.default @Nullable PathTypeIBlockExtension.getAdjacentBlockPathType(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent block to a pathfinding entity.default @Nullable PathTypeIBlockStateExtension.getAdjacentBlockPathType(BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent block to a pathfinding entity.default @Nullable PathTypeIFluidExtension.getAdjacentBlockPathType(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent fluid to a pathfinding entity.default @Nullable PathTypeIFluidStateExtension.getAdjacentBlockPathType(BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent fluid to a pathfinding entity.default BlockStateIBlockExtension.getAppearance(BlockState state, BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockStatethat this block reports to look like on the given side, for querying by other mods.default BlockStateIBlockStateExtension.getAppearance(BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockStatethat this state reports to look like on the given side for querying by other mods.default @Nullable AuxiliaryLightManagerIBlockGetterExtension.getAuxLightManager(BlockPos pos) Get theAuxiliaryLightManagerof the chunk containing the givenBlockPos.default @Nullable IntegerIBlockExtension.getBeaconColorMultiplier(BlockState state, LevelReader level, BlockPos pos, BlockPos beaconPos) default @Nullable IntegerIBlockStateExtension.getBeaconColorMultiplier(LevelReader level, BlockPos pos, BlockPos beacon) default DirectionIBlockExtension.getBedDirection(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default DirectionIBlockStateExtension.getBedDirection(LevelReader level, BlockPos pos) Returns the direction of the block.default @Nullable PathTypeIBlockExtension.getBlockPathType(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default @Nullable PathTypeIBlockStateExtension.getBlockPathType(BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default @Nullable PathTypeIFluidExtension.getBlockPathType(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding.default @Nullable PathTypeIFluidStateExtension.getBlockPathType(BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding.default <T, C extends @Nullable Object>
@Nullable TGameTestHelperExtension.getCapability(BlockCapability<T, C> cap, BlockPos pos, C context) Gets a capability from the given relative position with the given context.default <T, C extends @Nullable Object>
@Nullable TILevelExtension.getCapability(BlockCapability<T, C> cap, BlockPos pos, C context) Retrieve a block capability.default <T, C extends @Nullable Object>
@Nullable TILevelExtension.getCapability(BlockCapability<T, C> cap, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity, C context) Retrieve a block capability.default <T> @Nullable TILevelExtension.getCapability(BlockCapability<T, @Nullable Void> cap, BlockPos pos) Retrieve a block capability with no context.default <T> @Nullable TILevelExtension.getCapability(BlockCapability<T, @Nullable Void> cap, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity) Retrieve a block capability with no context.default ItemStackIBlockExtension.getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData, Player player) Called when A user uses the creative pick block button on this blockdefault ItemStackIBlockStateExtension.getCloneItemStack(BlockPos pos, LevelReader level, boolean includeData, Player player) Called when A user uses the creative pick block button on this blockdefault floatIBlockExtension.getEnchantPowerBonus(BlockState state, LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default floatIBlockStateExtension.getEnchantPowerBonus(LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default intIBlockExtension.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.default intIBlockStateExtension.getExpDrop(LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.default floatIBlockExtension.getExplosionResistance(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault floatIBlockStateExtension.getExplosionResistance(BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault floatIFluidExtension.getExplosionResistance(FluidState state, BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default floatIFluidStateExtension.getExplosionResistance(BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default intIBlockExtension.getFireSpreadSpeed(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating on a neighbor block.default intIBlockStateExtension.getFireSpreadSpeed(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating on a neighbor block.default intIBlockExtension.getFlammability(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Chance that fire will spread and consume this block. 300 being a 100% chance, 0, being a 0% chance.default intIBlockStateExtension.getFlammability(BlockGetter level, BlockPos pos, Direction face) Chance that fire will spread and consume this block. 300 being a 100% chance, 0, being a 0% chance.default floatIBlockExtension.getFriction(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default floatIBlockStateExtension.getFriction(LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default intIBlockExtension.getLightEmission(BlockState state, BlockGetter level, BlockPos pos) Get a light value for this block, taking into account the given state and coordinates, normal ranges are between 0 and 15default intIBlockStateExtension.getLightEmission(BlockGetter level, BlockPos pos) Get a light value for this block, taking into account the given state and coordinates, normal ranges are between 0 and 15default MapColorIBlockExtension.getMapColor(BlockState state, BlockGetter level, BlockPos pos, MapColor defaultColor) Returns theMapColorshown on the map.default ModelDataIBlockGetterExtension.getModelData(BlockPos pos) Retrieves model data for a block at the given position.IBaseRailBlockExtension.getRailDirection(BlockState state, BlockGetter level, BlockPos pos, @Nullable AbstractMinecart cart) Return the rail's direction.default floatIBaseRailBlockExtension.getRailMaxSpeed(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) Returns the max speed of the rail at the specified position.default Optional<ServerPlayer.RespawnPosAngle> IBlockExtension.getRespawnPosition(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation) Returns the position that the entity is moved to upon respawning at this block.default Optional<ServerPlayer.RespawnPosAngle> IBlockStateExtension.getRespawnPosition(EntityType<?> type, LevelReader level, BlockPos pos, float orientation) Returns the position that the entity is moved to upon respawning at this block.default SoundTypeIBlockExtension.getSoundType(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault SoundTypeIBlockStateExtension.getSoundType(LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault BlockStateIBlockExtension.getStateAtViewpoint(BlockState state, BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (see).invalid reference
Camera#getBlockAtCamera()default BlockStateIBlockStateExtension.getStateAtViewpoint(BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (see).invalid reference
Camera#getBlockAtCamera()default booleanIBlockExtension.getWeakChanges(BlockState state, LevelReader level, BlockPos pos) If this block should be notified of weak changes.default booleanIBlockStateExtension.getWeakChanges(LevelReader level, BlockPos pos) If this block should be notified of weak changes.default booleanIBlockExtension.hidesNeighborFace(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default booleanIBlockStateExtension.hidesNeighborFace(BlockGetter level, BlockPos pos, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default booleanIBlockExtension.ignitedByLava(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when lava is updating, checks if a block face can catch fire from lava.default booleanIBlockStateExtension.ignitedByLava(BlockGetter level, BlockPos pos, Direction face) Called when lava is updating, checks if a block face can catch fire from lava.default voidILevelExtension.invalidateCapabilities(BlockPos pos) Notify all listeners that the capabilities at a specific position might have changed.default booleanILevelReaderExtension.isAreaLoaded(BlockPos center, int range) default booleanIBlockExtension.isBed(BlockState state, BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlockchecks.default booleanIBlockStateExtension.isBed(BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlockchecks.default booleanIBlockExtension.isBurning(BlockState state, BlockGetter level, BlockPos pos) Determines if this block should set fire and deal fire damage to entities coming into contact with it.default booleanIBlockStateExtension.isBurning(BlockGetter level, BlockPos pos) Determines if this block should set fire and deal fire damage to entities coming into contact with it.default booleanIBlockExtension.isConduitFrame(BlockState state, LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default booleanIBlockStateExtension.isConduitFrame(LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default booleanIBlockExtension.isFertile(BlockState state, BlockGetter level, BlockPos pos) Checks if this soil is fertile, typically this means that growth rates of plants on this soil will be slightly sped up.default booleanIBlockStateExtension.isFertile(BlockGetter level, BlockPos pos) Checks if this soil is fertile, typically this means that growth rates of plants on this soil will be slightly sped up.default booleanIBlockExtension.isFireSource(BlockState state, LevelReader level, BlockPos pos, Direction direction) Currently only called by fire when it is on top of this block.default booleanIBlockStateExtension.isFireSource(LevelReader level, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default booleanIBlockExtension.isFlammable(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating, checks if a block face can catch fire.default booleanIBlockStateExtension.isFlammable(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating, checks if a block face can catch fire.booleanIBaseRailBlockExtension.isFlexibleRail(BlockState state, BlockGetter level, BlockPos pos) Return true if the rail can make corners.default booleanIBlockExtension.isLadder(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default booleanIBlockStateExtension.isLadder(LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default booleanIBlockExtension.isPortalFrame(BlockState state, BlockGetter level, BlockPos pos) Determines if this block can be used as part of a frame of a nether portal.default booleanIBlockStateExtension.isPortalFrame(BlockGetter level, BlockPos pos) Determines if this block can be used as part of a frame of a nether portal.default booleanIBlockExtension.isScaffolding(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default booleanIBlockExtension.makesOpenTrapdoorAboveClimbable(BlockState state, LevelReader level, BlockPos pos, BlockState trapdoorState) Checks if this block makes an open trapdoor above it climbable.default voidIBlockExtension.onBlockExploded(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default voidIBlockStateExtension.onBlockExploded(ServerLevel level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default voidIBlockExtension.onBlockStateChange(LevelReader level, BlockPos pos, BlockState oldState, BlockState newState) Called after theBlockStateat the givenBlockPoswas changed and neighbors were updated.default voidIBlockStateExtension.onBlockStateChange(LevelReader level, BlockPos pos, BlockState oldState) Called after theBlockStateat the givenBlockPoswas changed and neighbors were updated.default booleanIBlockExtension.onCaughtFire(BlockState state, Level level, BlockPos pos, @Nullable Direction direction, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default booleanIBlockStateExtension.onCaughtFire(Level level, BlockPos pos, @Nullable Direction face, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default booleanIBlockExtension.onDestroyedByPlayer(BlockState state, Level level, BlockPos pos, Player player, ItemStack toolStack, boolean willHarvest, FluidState fluid) Called when a player removes a block.default booleanIBlockStateExtension.onDestroyedByPlayer(Level level, BlockPos pos, Player player, ItemStack toolStack, 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, WorldGenLevel 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(WorldGenLevel level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default OptionalIntIPlayerExtension.openMenu(MenuProvider menuProvider, BlockPos pos) Request to open a GUI on the client, from the serverdefault voidIBlockExtension.playFallSound(BlockState state, Level level, BlockPos pos, LivingEntity entity) Allows a block to override the standard fall sound played inLivingEntity.playBlockFallSound().default voidIBlockStateExtension.playFallSound(Level level, BlockPos pos, LivingEntity entity) Allows a block to override the standard fall sound played inLivingEntity.playBlockFallSound().default voidIBlockExtension.playStepSound(BlockState state, Level level, BlockPos pos, Entity entity, float volumeMultiplier, float pitchMultiplier) Allows a block to override the standard step sound played in:Entity.playCombinationStepSounds(BlockState, BlockState, BlockPos, BlockPos)(primary step sound only)Entity.playMuffledStepSound(BlockState, BlockPos)(usually the secondary sound in a call to the above method)Entity.playStepSound(BlockPos, BlockState)(simple step sound) The volume and pitch of any sound played in this method should be multiplied with the provided multipliers to replicate the behaviour of the callers.default voidIBlockStateExtension.playStepSound(Level level, BlockPos pos, Entity entity, float volumeMultiplier, float pitchMultiplier) Allows a block to override the standard step sound played in:Entity.playCombinationStepSounds(BlockState, BlockState, BlockPos, BlockPos)(primary step sound only)Entity.playMuffledStepSound(BlockState, BlockPos)(usually the secondary sound in a call to the above method)Entity.playStepSound(BlockPos, BlockState)(simple step sound) The volume and pitch of any sound played in this method should be multiplied with the provided multipliers to replicate the behaviour of the callers.default <T, C extends @Nullable Object>
TGameTestHelperExtension.requireCapability(BlockCapability<T, C> cap, BlockPos pos, C context) Gets a capability from the given relative position and fails the test, if it does not exist.default BlockStateIBlockExtension.rotate(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default BlockStateIBlockStateExtension.rotate(LevelAccessor level, BlockPos pos, Rotation direction) default voidIBlockExtension.setBedOccupied(BlockState state, Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default voidIBlockStateExtension.setBedOccupied(Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default booleanIBlockExtension.shouldCheckWeakPower(BlockState state, SignalGetter level, BlockPos pos, Direction side) Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.default booleanIBlockStateExtension.shouldCheckWeakPower(SignalGetter level, BlockPos pos, Direction side) Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.default booleanIBlockExtension.shouldDisplayFluidOverlay(BlockState state, BlockAndTintGetter level, BlockPos pos, FluidState fluidState) Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid.default booleanIBlockStateExtension.shouldDisplayFluidOverlay(BlockAndTintGetter level, BlockPos pos, FluidState fluidState) Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid.Method parameters in net.neoforged.neoforge.common.extensions with type arguments of type BlockPosModifier and TypeMethodDescriptiondefault booleanIBlockExtension.onTreeGrow(BlockState state, WorldGenLevel 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(WorldGenLevel level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer. -
Uses of BlockPos in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util declared as BlockPosMethods in net.neoforged.neoforge.common.util that return BlockPosMethods in net.neoforged.neoforge.common.util with parameters of type BlockPosModifier and TypeMethodDescriptionstatic BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos) Creates a new snapshot with the default block flags (and Block#UPDATE_CLIENTS.static BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, int flag) Creates a new snapshot of the data at the given position.private static @Nullable CompoundTagBlockSnapshot.getBlockEntityTag(LevelAccessor level, BlockPos pos) Checks for a block entity at a given position, and saves it to NBT with full metadata if it exists.booleanBlockSnapshot.restoreBlockEntity(LevelAccessor level, BlockPos pos) Loads the storedBlockEntitydata if one exists at the given position.booleanBlockSnapshot.restoreToLocation(LevelAccessor level, BlockPos pos, int flags) Restores this block snapshot to the target level and position with the specified flags.Constructors in net.neoforged.neoforge.common.util with parameters of type BlockPosModifierConstructorDescriptionprivateBlockSnapshot(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags) -
Uses of BlockPos in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world with type parameters of type BlockPosMethods in net.neoforged.neoforge.common.world with parameters of type BlockPosModifier and TypeMethodDescriptionintAuxiliaryLightManager.getLightAt(BlockPos pos) Returns the light value at the given position or 0 if none is present.intLevelChunkAuxiliaryLightManager.getLightAt(BlockPos pos) default voidAuxiliaryLightManager.removeLightAt(BlockPos pos) Remove the light value at the given positionvoidAuxiliaryLightManager.setLightAt(BlockPos pos, int value) Set the light value at the given position to the given valuevoidLevelChunkAuxiliaryLightManager.setLightAt(BlockPos pos, int value) Method parameters in net.neoforged.neoforge.common.world with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidLevelChunkAuxiliaryLightManager.handleLightDataSync(Map<BlockPos, Byte> lights) -
Uses of BlockPos in net.neoforged.neoforge.common.world.chunk
Fields in net.neoforged.neoforge.common.world.chunk with type parameters of type BlockPosModifier and TypeFieldDescriptionForcedChunkManager.OwnedChunks.BLOCK_CHUNK_CODECForcedChunkManager.OwnedChunks.blockChunksThe field for theblockChunksrecord component.TicketHelper.blockTicketsMethods in net.neoforged.neoforge.common.world.chunk that return types with arguments of type BlockPosModifier and TypeMethodDescriptionForcedChunkManager.OwnedChunks.blockChunks()Returns the value of theblockChunksrecord component.TicketHelper.getBlockTickets()Returns all "BLOCK" tickets this controller had registered and which block positions are forcing which chunks.Methods in net.neoforged.neoforge.common.world.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanTicketController.forceChunk(ServerLevel level, BlockPos owner, int chunkX, int chunkZ, boolean add, boolean forceNaturalSpawning) Forces a chunk to be loaded with the "owner" of the ticket being a given block position.voidTicketHelper.removeAllTickets(BlockPos owner) Removes all tickets that a given block was responsible for; both normal and ones forcing natural spawning.voidTicketHelper.removeTicket(BlockPos owner, long chunk, boolean forceNaturalSpawning) Removes the ticket for the given chunk that a given block was responsible for.Constructor parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type BlockPosModifierConstructorDescriptionOwnedChunks(Identifier controller, Map<BlockPos, TicketSet> blockChunks, Map<UUID, TicketSet> entityChunks) Creates an instance of aOwnedChunksrecord class.(package private)TicketHelper(TicketStorage saveData, Identifier controllerId, Map<BlockPos, TicketSet> blockTickets, Map<UUID, TicketSet> entityTickets) -
Uses of BlockPos in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanEventHooks.canCreateFluidSource(ServerLevel level, BlockPos pos, BlockState state) Checks if a fluid is allowed to create a fluid source.static com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> EventHooks.canPlayerStartSleeping(ServerPlayer player, BlockPos pos, com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> vanillaResult) static booleanEventHooks.checkSpawnPlacements(EntityType<?> entityType, ServerLevelAccessor level, EntitySpawnReason spawnType, BlockPos pos, RandomSource random, boolean defaultResult) Internal, should only be called viaSpawnPlacements.checkSpawnRules(EntityType, ServerLevelAccessor, EntitySpawnReason, BlockPos, RandomSource).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(ServerLevel, boolean)just before the spawn conditions for phantoms are evaluated.static floatEventHooks.getBreakSpeed(Player player, BlockState state, float original, BlockPos pos) EventHooks.getPotentialSpawns(LevelAccessor level, MobCategory category, BlockPos pos, WeightedList<MobSpawnSettings.SpawnerData> oldList) static intEventHooks.onEnchantmentLevelSet(Level level, BlockPos pos, int enchantRow, int power, ItemStack itemStack, int enchantmentLevel) static booleanEventHooks.onEntityDestroyBlock(LivingEntity entity, BlockPos pos, BlockState state) EventHooks.onNeighborNotify(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) static voidEventHooks.onPistonMovePost(Level level, BlockPos pos, Direction direction, boolean extending) static booleanEventHooks.onPistonMovePre(Level level, BlockPos pos, Direction direction, boolean extending) static Optional<PortalShape> EventHooks.onTrySpawnPortal(LevelAccessor level, BlockPos pos, Optional<PortalShape> size) Method parameters in net.neoforged.neoforge.event with type arguments of type BlockPosModifier and TypeMethodDescriptionEventHooks.alterGround(TreeDecorator.Context ctx, List<BlockPos> positions, AlterGroundEvent.StateProvider provider) Fires theAlterGroundEventand retrieves the resultingAlterGroundEvent.StateProvider.static Vec3EventHooks.getExplosionKnockback(Level level, ServerExplosion explosion, Entity entity, Vec3 initialVelocity, List<BlockPos> blocks) To be called when an explosion has calculated the knockback velocity but has not yet added the knockback to the entity caught in blast. -
Uses of BlockPos in net.neoforged.neoforge.event.enchanting
Fields in net.neoforged.neoforge.event.enchanting declared as BlockPosMethods in net.neoforged.neoforge.event.enchanting that return BlockPosModifier and TypeMethodDescriptionEnchantmentLevelSetEvent.getPos()Get the pos of the enchantment tableConstructors in net.neoforged.neoforge.event.enchanting with parameters of type BlockPosModifierConstructorDescriptionEnchantmentLevelSetEvent(Level level, BlockPos pos, int enchantRow, int power, ItemStack itemStack, int enchantLevel) -
Uses of BlockPos in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosLivingDestroyBlockEvent.posprivate final BlockPosMobSpawnEvent.SpawnPlacementCheck.posMethods in net.neoforged.neoforge.event.entity.living that return BlockPosModifier and TypeMethodDescriptionLivingDestroyBlockEvent.getPos()MobSpawnEvent.SpawnPlacementCheck.getPos()Constructors in net.neoforged.neoforge.event.entity.living with parameters of type BlockPosModifierConstructorDescriptionLivingDestroyBlockEvent(LivingEntity entity, BlockPos pos, BlockState state) SpawnPlacementCheck(EntityType<?> entityType, ServerLevelAccessor level, EntitySpawnReason spawnType, BlockPos pos, RandomSource random, boolean defaultResult) Internal. -
Uses of BlockPos in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as BlockPosModifier and TypeFieldDescriptionprivate static final BlockPosPlayerEvent.BreakSpeed.LEGACY_UNKNOWNprivate final @Nullable BlockPosPlayerSetSpawnEvent.newSpawnprivate final BlockPosBonemealEvent.posprivate final BlockPosCanPlayerSleepEvent.posprivate final BlockPosPlayerEvent.HarvestCheck.posprivate final BlockPosPlayerInteractEvent.posprivate final BlockPosUseItemOnBlockEvent.posFields in net.neoforged.neoforge.event.entity.player with type parameters of type BlockPosMethods in net.neoforged.neoforge.event.entity.player that return BlockPosModifier and TypeMethodDescription@Nullable BlockPosPlayerSetSpawnEvent.getNewSpawn()The new spawn position, or null if the spawn position is being reset.BonemealEvent.getPos()Returns the position of the bone mealed block.CanPlayerSleepEvent.getPos()PlayerEvent.HarvestCheck.getPos()PlayerInteractEvent.getPos()If the interaction was on an entity, will be a BlockPos centered on the entity.UseItemOnBlockEvent.getPos()If the interaction was on an entity, will be a BlockPos centered on the entity.Methods in net.neoforged.neoforge.event.entity.player that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPlayerEvent.BreakSpeed.getPosition()CanContinueSleepingEvent.getSleepingPos()Returns the sleeping position of the sleeping entity.Methods in net.neoforged.neoforge.event.entity.player with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanPlayerSpawnPhantomsEvent.shouldSpawnPhantoms(ServerLevel level, BlockPos pos) Checks if a spawn attempt should be made by checking the current result and evaluating the vanilla conditions if necessary.Constructors in net.neoforged.neoforge.event.entity.player with parameters of type BlockPosModifierConstructorDescriptionBonemealEvent(@Nullable Player player, Level level, BlockPos pos, BlockState state, ItemStack stack) BreakSpeed(Player player, BlockState state, float original, @Nullable BlockPos pos) CanPlayerSleepEvent(ServerPlayer player, BlockPos pos, @Nullable Player.BedSleepingProblem problem) HarvestCheck(Player player, BlockState state, BlockGetter level, BlockPos pos, boolean success) LeftClickBlock(Player player, BlockPos pos, Direction face, PlayerInteractEvent.LeftClickBlock.Action action) protectedPlayerInteractEvent(Player player, InteractionHand hand, BlockPos pos, @Nullable Direction face) RightClickBlock(Player player, InteractionHand hand, BlockPos pos, BlockHitResult hitVec) -
Uses of BlockPos in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosBlockEvent.FluidPlaceBlockEvent.liquidPosprivate final BlockPosBlockEvent.posprivate final BlockPosBlockGrowFeatureEvent.posprivate final BlockPosLevelEvent.PotentialSpawns.posFields in net.neoforged.neoforge.event.level with type parameters of type BlockPosModifier and TypeFieldDescriptionExplosionEvent.Detonate.blockListExplosionKnockbackEvent.blockListAlterGroundEvent.positionsMethods in net.neoforged.neoforge.event.level that return BlockPosModifier and TypeMethodDescriptionPistonEvent.getFaceOffsetPos()Helper method that gets the piston position offset by its facingBlockEvent.FluidPlaceBlockEvent.getLiquidPos()BlockEvent.getPos()BlockGrowFeatureEvent.getPos()Returns the coordinates of the sapling attempting to grow.LevelEvent.PotentialSpawns.getPos()Returns the block position where the chosen mob will be spawned..Methods in net.neoforged.neoforge.event.level that return types with arguments of type BlockPosModifier and TypeMethodDescriptionExplosionEvent.Detonate.getAffectedBlocks()return the list of blocks affected by the explosion.ExplosionKnockbackEvent.getAffectedBlocks()return the list of blocks affected by the explosion.AlterGroundEvent.getPositions()The list of positions that are considered roots is different depending on if the context has roots, logs, or both.Methods in net.neoforged.neoforge.event.level with parameters of type BlockPosModifier and TypeMethodDescription@Nullable BlockStateAlterGroundEvent.StateProvider.getState(WorldGenLevel level, RandomSource random, BlockPos state) Gets the BlockState that will be placed at the passed position.Constructors in net.neoforged.neoforge.event.level with parameters of type BlockPosModifierConstructorDescriptionBlockDropsEvent(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Constructs a new BlockDropsEventBlockEvent(LevelAccessor level, BlockPos pos, BlockState state) BlockGrowFeatureEvent(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> feature) BreakEvent(Level level, BlockPos pos, BlockState state, Player player) Change(Level world, BlockPos pos, BlockState state, int oldNote, int newNote) FarmlandTrampleEvent(Level level, BlockPos pos, BlockState state, double fallDistance, Entity entity) FluidPlaceBlockEvent(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) NeighborNotifyEvent(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) protectedNoteBlockEvent(Level world, BlockPos pos, BlockState state, int note) PistonEvent(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Play(Level world, BlockPos pos, BlockState state, int note, NoteBlockInstrument instrument) PortalSpawnEvent(LevelAccessor level, BlockPos pos, BlockState state, PortalShape size) Post(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) PotentialSpawns(LevelAccessor level, MobCategory category, BlockPos pos, WeightedList<MobSpawnSettings.SpawnerData> oldList) Pre(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Constructor parameters in net.neoforged.neoforge.event.level with type arguments of type BlockPosModifierConstructorDescriptionAlterGroundEvent(TreeDecorator.Context ctx, List<BlockPos> positions, AlterGroundEvent.StateProvider provider) ExplosionKnockbackEvent(Level level, ServerExplosion explosion, Entity entity, Vec3 knockbackVelocity, List<BlockPos> blockList) -
Uses of BlockPos in net.neoforged.neoforge.event.level.block
Constructors in net.neoforged.neoforge.event.level.block with parameters of type BlockPosModifierConstructorDescriptionCreateFluidSourceEvent(ServerLevel level, BlockPos pos, BlockState state) CropGrowEvent(Level level, BlockPos pos, BlockState state) Post(Level level, BlockPos pos, BlockState original, BlockState state) Pre(Level level, BlockPos pos, BlockState state) -
Uses of BlockPos in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidBaseFlowingFluid.beforeDestroyingBlock(LevelAccessor worldIn, BlockPos pos, BlockState state) final booleanFluidType.canBePlacedInLevel(BlockAndTintGetter getter, BlockPos pos, FluidState state) Returns whether the fluid can be placed in the level.final booleanFluidType.canBePlacedInLevel(BlockAndTintGetter getter, BlockPos pos, FluidStack stack) Returns whether the fluid can be placed in the level.protected booleanBaseFlowingFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid fluidIn, Direction direction) booleanBaseFlowingFluid.canConvertToSource(FluidState state, ServerLevel level, BlockPos pos) booleanFluidType.canConvertToSource(FluidState state, LevelReader reader, BlockPos pos) Returns whether the fluid can create a source.booleanFluidType.canExtinguish(FluidState state, BlockGetter getter, BlockPos pos) Returns whether the block can be extinguished by this fluid.booleanFluidType.canHydrate(FluidState state, BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.static booleanFluidInteractionRegistry.canInteract(Level level, BlockPos pos) Performs all potential fluid interactions at a given position.static voidFluidUtil.destroyBlockOnFluidPlacement(Level level, BlockPos pos) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated with no equivalent.@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) Deprecated, for removal: This API element is subject to removal in a future version.Internal method for getting a fluid block handler for placing a fluid.static Optional<IFluidHandler> FluidUtil.getFluidHandler(Level level, BlockPos blockPos, @Nullable Direction side) Deprecated, for removal: This API element is subject to removal in a future version.Use theCapabilities.Fluid.BLOCKcapability directly.intFluidType.getLightLevel(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the light level emitted by the fluid.@Nullable SoundEventFluidType.getSound(@Nullable LivingEntity entity, BlockGetter getter, BlockPos pos, SoundAction action) Returns a sound to play when a certain action is performed at a position.FluidType.getStateForPlacement(BlockAndTintGetter getter, BlockPos pos, FluidStack stack) Returns theFluidStatewhen aFluidStackis trying to place it.intFluidType.getTemperature(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the temperature of the fluid.intFluidType.getViscosity(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the viscosity, or thickness, of the fluid.booleanFluidType.handleCauldronDrip(Fluid fluid, Level level, BlockPos cauldronPos) Returns whether a fluid above a pointed dripstone block can successfully fill a cauldron below.voidFluidInteractionRegistry.FluidInteraction.interact(Level level, BlockPos currentPos, BlockPos relativePos, FluidState currentState) Performs the interaction between the source and the surrounding data.static booleanFluidUtil.interactWithFluidHandler(Player player, InteractionHand hand, Level level, BlockPos pos, @Nullable Direction side) Deprecated, for removal: This API element is subject to removal in a future version.booleanFluidType.isVaporizedOnPlacement(Level level, BlockPos pos, FluidStack stack) Determines if this fluid should be vaporized when placed into a level.voidFluidType.onVaporize(@Nullable LivingEntity entity, Level level, BlockPos pos, FluidStack stack) Performs an action when a fluid can be vaporized when placed into a level.booleanFluidInteractionRegistry.HasFluidInteraction.test(Level level, BlockPos currentPos, BlockPos relativePos, FluidState currentState) Returns whether the interaction can occur.static FluidActionResultFluidUtil.tryPickUpFluid(ItemStack emptyContainer, @Nullable Player playerIn, Level level, BlockPos pos, Direction side) Deprecated, for removal: This API element is subject to removal in a future version.static FluidActionResultFluidUtil.tryPlaceFluid(@Nullable Player player, Level level, InteractionHand hand, BlockPos pos, ItemStack container, FluidStack resource) Deprecated, for removal: This API element is subject to removal in a future version.static booleanFluidUtil.tryPlaceFluid(@Nullable Player player, Level level, InteractionHand hand, BlockPos pos, IFluidHandler fluidSource, FluidStack resource) Deprecated, for removal: This API element is subject to removal in a future version. -
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.blockPosDeprecated, for removal: This API element is subject to removal in a future version.protected final BlockPosBlockWrapper.LiquidContainerBlockWrapper.blockPosDeprecated, for removal: This API element is subject to removal in a future version.protected final BlockPosBucketPickupHandlerWrapper.blockPosDeprecated, for removal: This API element is subject to removal in a future version.Constructors in net.neoforged.neoforge.fluids.capability.wrappers with parameters of type BlockPosModifierConstructorDescriptionBlockWrapper(BlockState state, Level world, BlockPos blockPos) Deprecated, for removal: This API element is subject to removal in a future version.BucketPickupHandlerWrapper(Player player, BucketPickup bucketPickupHandler, Level world, BlockPos blockPos) Deprecated, for removal: This API element is subject to removal in a future version.LiquidContainerBlockWrapper(LiquidBlockContainer liquidContainer, Level world, BlockPos blockPos) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of BlockPos in net.neoforged.neoforge.gametest
Classes in net.neoforged.neoforge.gametest that implement interfaces with type arguments of type BlockPosMethods in net.neoforged.neoforge.gametest that return BlockPosMethods in net.neoforged.neoforge.gametest that return types with arguments of type BlockPos -
Uses of BlockPos in net.neoforged.neoforge.model.data
Fields in net.neoforged.neoforge.model.data with type parameters of type BlockPosMethods in net.neoforged.neoforge.model.data with parameters of type BlockPos -
Uses of BlockPos in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosSyncAttachmentsPayload.BlockEntityTarget.posThe field for theposrecord component.Fields in net.neoforged.neoforge.network.payload with type parameters of type BlockPosModifier and TypeFieldDescriptionAuxiliaryLightDataPayload.entriesThe field for theentriesrecord component.Methods in net.neoforged.neoforge.network.payload that return BlockPosModifier and TypeMethodDescriptionSyncAttachmentsPayload.BlockEntityTarget.pos()Returns the value of theposrecord component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type BlockPosModifier and TypeMethodDescriptionAuxiliaryLightDataPayload.entries()Returns the value of theentriesrecord component.Constructors in net.neoforged.neoforge.network.payload with parameters of type BlockPosModifierConstructorDescriptionCreates an instance of aBlockEntityTargetrecord class.Constructor parameters in net.neoforged.neoforge.network.payload with type arguments of type BlockPosModifierConstructorDescriptionAuxiliaryLightDataPayload(ChunkPos pos, Map<BlockPos, Byte> entries) Creates an instance of aAuxiliaryLightDataPayloadrecord class. -
Uses of BlockPos in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static intGenerateCommand.executeGeneration(CommandSourceStack source, BlockPos pos, int chunkRadius, boolean progressBar) -
Uses of BlockPos in net.neoforged.neoforge.transfer.fluid
Fields in net.neoforged.neoforge.transfer.fluid declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosCauldronWrapper.WrapperLocation.posThe field for theposrecord component.Methods in net.neoforged.neoforge.transfer.fluid that return BlockPosModifier and TypeMethodDescriptionCauldronWrapper.WrapperLocation.pos()Returns the value of theposrecord component.Methods in net.neoforged.neoforge.transfer.fluid with parameters of type BlockPosModifier and TypeMethodDescriptionstatic CauldronWrapperstatic booleanFluidUtil.interactWithFluidHandler(Player player, InteractionHand hand, @Nullable BlockPos pos, ResourceHandler<FluidResource> handler) Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler.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.private static @Nullable ResourceStack<FluidResource> FluidUtil.moveWithSound(ResourceHandler<FluidResource> from, ResourceHandler<FluidResource> to, Level level, @Nullable BlockPos pos, @Nullable Player player, boolean pickup) private static voidFluidUtil.playSoundAndGameEvent(FluidResource resource, Level level, @Nullable BlockPos blockPos, @Nullable Player player, boolean pickup) static FluidStackFluidUtil.tryPickupFluid(@Nullable ResourceHandler<FluidResource> destination, @Nullable Player player, Level level, BlockPos pos, @Nullable Direction side) Attempts to pick up a fluid in the level and put it into a fluid handler, first from aBucketPickupblock (such as fluid sources and waterlogged blocks), or second from aCapabilities.Fluid.BLOCKcapability instance.static FluidStackFluidUtil.tryPlaceFluid(@Nullable ResourceHandler<FluidResource> source, @Nullable Player player, Level level, InteractionHand hand, BlockPos pos) Tries to extract one bucket of a fluid resource from a resource handler and place it into the level as a block.static booleanFluidUtil.tryPlaceFluid(FluidResource resource, @Nullable Player player, Level level, InteractionHand hand, BlockPos pos) Tries to place one bucket of a fluid resource into the level as a block.Constructors in net.neoforged.neoforge.transfer.fluid with parameters of type BlockPosModifierConstructorDescriptionprivateWrapperLocation(Level level, BlockPos pos) Creates an instance of aWrapperLocationrecord class. -
Uses of BlockPos in net.neoforged.neoforge.transfer.item
Fields in net.neoforged.neoforge.transfer.item declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosComposterWrapper.WrapperLocation.posThe field for theposrecord component.Methods in net.neoforged.neoforge.transfer.item that return BlockPosModifier and TypeMethodDescriptionComposterWrapper.WrapperLocation.pos()Returns the value of theposrecord component.Methods in net.neoforged.neoforge.transfer.item with parameters of type BlockPosConstructors in net.neoforged.neoforge.transfer.item with parameters of type BlockPosModifierConstructorDescriptionprivateWrapperLocation(Level level, BlockPos pos) Creates an instance of aWrapperLocationrecord class.
ClientLevel.addBreakingBlockEffect(BlockPos, Direction, net.minecraft.world.phys.HitResult)instead