Uses of Class
net.minecraft.core.BlockPos.MutableBlockPos
Packages that use BlockPos.MutableBlockPos
Package
Description
-
Uses of BlockPos.MutableBlockPos in net.minecraft
Methods in net.minecraft with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate static intBlockUtil.getLimit(Predicate<BlockPos> posPredicate, BlockPos.MutableBlockPos centerPos, Direction direction, int max) Finds the distance we can travel in the given direction while the predicate returns true -
Uses of BlockPos.MutableBlockPos in net.minecraft.client
Fields in net.minecraft.client declared as BlockPos.MutableBlockPos -
Uses of BlockPos.MutableBlockPos in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionvoidClientLevel.doAnimateTick(int posX, int posY, int posZ, int range, RandomSource random, Block block, BlockPos.MutableBlockPos blockPos) -
Uses of BlockPos.MutableBlockPos in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as BlockPos.MutableBlockPosModifier and TypeFieldDescription(package private) final BlockPos.MutableBlockPosSectionRenderDispatcher.RenderSection.originprivate final BlockPos.MutableBlockPos[]SectionRenderDispatcher.RenderSection.relativeOrigins -
Uses of BlockPos.MutableBlockPos in net.minecraft.core
Methods in net.minecraft.core that return BlockPos.MutableBlockPosModifier and TypeMethodDescriptionBlockPos.MutableBlockPos.clamp(Direction.Axis axis, int min, int max) BlockPos.MutableBlockPos.move(int x, int y, int z) BlockPos.mutable()BlockPos.MutableBlockPos.set(double x, double y, double z) BlockPos.MutableBlockPos.set(int x, int y, int z) BlockPos.MutableBlockPos.set(long packedPos) BlockPos.MutableBlockPos.setWithOffset(Vec3i vector, int offsetX, int offsetY, int offsetZ) BlockPos.MutableBlockPos.setWithOffset(Vec3i pos, Direction direction) BlockPos.MutableBlockPos.setWithOffset(Vec3i pos, Vec3i offset) BlockPos.MutableBlockPos.setX(int x) BlockPos.MutableBlockPos.setY(int y) BlockPos.MutableBlockPos.setZ(int z) Methods in net.minecraft.core that return types with arguments of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionstatic Iterable<BlockPos.MutableBlockPos> BlockPos.spiralAround(BlockPos center, int size, Direction rotationDirection, Direction expansionDirection) -
Uses of BlockPos.MutableBlockPos in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as BlockPos.MutableBlockPosModifier and TypeFieldDescriptionprivate final BlockPos.MutableBlockPosStructureGridSpawner.nextTestNorthWestCorner -
Uses of BlockPos.MutableBlockPos in net.minecraft.util
Methods in net.minecraft.util with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate static booleanSpawnUtil.moveToPossibleSpawnPosition(ServerLevel level, int yOffset, BlockPos.MutableBlockPos pos, SpawnUtil.Strategy strategy) -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate static voidLightningBolt.randomWalkCleaningCopper(Level level, BlockPos pos, BlockPos.MutableBlockPos mutable, int steps) -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.entity.animal.frog
Fields in net.minecraft.world.entity.animal.frog declared as BlockPos.MutableBlockPosModifier and TypeFieldDescriptionprivate final BlockPos.MutableBlockPosFrog.FrogNodeEvaluator.belowPos -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level
Fields in net.minecraft.world.level declared as BlockPos.MutableBlockPosFields in net.minecraft.world.level with type parameters of type BlockPos.MutableBlockPosModifier and TypeFieldDescriptionprivate final BiFunction<BlockPos.MutableBlockPos, VoxelShape, T> BlockCollisions.resultProviderMethods in net.minecraft.world.level with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate static booleanNaturalSpawner.isRightDistanceToPlayerAndSpawnPoint(ServerLevel level, ChunkAccess chunk, BlockPos.MutableBlockPos pos, double distance) private static booleanNaturalSpawner.isValidSpawnPostitionForType(ServerLevel level, MobCategory category, StructureManager structureManager, ChunkGenerator generator, MobSpawnSettings.SpawnerData data, BlockPos.MutableBlockPos pos, double distance) Constructor parameters in net.minecraft.world.level with type arguments of type BlockPos.MutableBlockPosModifierConstructorDescriptionBlockCollisions(CollisionGetter collisionGetter, Entity entity, AABB box, boolean onlySuffocatingBlocks, BiFunction<BlockPos.MutableBlockPos, VoxelShape, T> resultProvider) -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as BlockPos.MutableBlockPosModifier and TypeFieldDescription(package private) final BlockPos.MutableBlockPosSurfaceRules.Context.posMethods in net.minecraft.world.level.levelgen with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate voidSurfaceSystem.frozenOceanExtension(int minSurfaceLevel, Biome biome, BlockColumn blockColumn, BlockPos.MutableBlockPos topWaterPos, int x, int z, int height) private static OptionalIntColumn.scanDirection(LevelSimulatedReader level, int maxDistance, Predicate<BlockState> columnPredicate, Predicate<BlockState> tipPredicate, BlockPos.MutableBlockPos mutablePos, int startY, Direction direction) Scans for a sequence of states in a givendirection, up to a length ofmaxDistancewhich satisfycolumnPredicate, and ending with a state which satisfiestipPredicate. -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level.levelgen.blending
Methods in net.minecraft.world.level.levelgen.blending with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate static doubleBlendingData.read1(ChunkAccess chunk, BlockPos.MutableBlockPos pos) private static doubleBlendingData.read7(ChunkAccess chunk, BlockPos.MutableBlockPos pos) -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level.levelgen.carver
Methods in net.minecraft.world.level.levelgen.carver with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprotected booleanNetherWorldCarver.carveBlock(CarvingContext p_190731_, CaveCarverConfiguration p_190732_, ChunkAccess p_190733_, Function<BlockPos, Holder<Biome>> p_190734_, CarvingMask p_190735_, BlockPos.MutableBlockPos p_190736_, BlockPos.MutableBlockPos p_190737_, Aquifer p_190738_, org.apache.commons.lang3.mutable.MutableBoolean p_190739_) protected booleanWorldCarver.carveBlock(CarvingContext context, C config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, CarvingMask carvingMask, BlockPos.MutableBlockPos pos, BlockPos.MutableBlockPos checkPos, Aquifer aquifer, org.apache.commons.lang3.mutable.MutableBoolean reachedSurface) Carves a single block, replacing it with the appropriate state if possible, and handles replacing exposed dirt with grass. -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level.levelgen.feature
Methods in net.minecraft.world.level.levelgen.feature with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate static booleanBasaltColumnsFeature.canPlaceAt(LevelAccessor level, int seaLevel, BlockPos.MutableBlockPos pos) static booleanOreFeature.canPlaceOre(BlockState state, Function<BlockPos, BlockState> adjacentStateAccessor, RandomSource random, OreConfiguration config, OreConfiguration.TargetBlockState targetState, BlockPos.MutableBlockPos mutablePos) private static BlockPosBasaltColumnsFeature.findAir(LevelAccessor level, BlockPos.MutableBlockPos pos, int distance) private static booleanTwistingVinesFeature.findFirstAirBlockAboveGround(LevelAccessor level, BlockPos.MutableBlockPos pos) private static BlockPosBasaltColumnsFeature.findSurface(LevelAccessor level, int seaLevel, BlockPos.MutableBlockPos pos, int distance) private static BlockPosReplaceBlobsFeature.findTarget(LevelAccessor level, BlockPos.MutableBlockPos topPos, Block block) private static booleanWaterloggedVegetationPatchFeature.isExposed(WorldGenLevel level, Set<BlockPos> positions, BlockPos pos, BlockPos.MutableBlockPos mutablePos) private static booleanWaterloggedVegetationPatchFeature.isExposedDirection(WorldGenLevel level, BlockPos pos, BlockPos.MutableBlockPos mutablePos, Direction direction) protected booleanAbstractHugeMushroomFeature.isValidPosition(LevelAccessor level, BlockPos pos, int maxHeight, BlockPos.MutableBlockPos mutablePos, HugeMushroomFeatureConfiguration config) protected abstract voidAbstractHugeMushroomFeature.makeCap(LevelAccessor level, RandomSource random, BlockPos pos, int treeHeight, BlockPos.MutableBlockPos mutablePos, HugeMushroomFeatureConfiguration config) protected voidHugeBrownMushroomFeature.makeCap(LevelAccessor p_225043_, RandomSource p_225044_, BlockPos p_225045_, int p_225046_, BlockPos.MutableBlockPos p_225047_, HugeMushroomFeatureConfiguration p_225048_) protected voidHugeRedMushroomFeature.makeCap(LevelAccessor p_225082_, RandomSource p_225083_, BlockPos p_225084_, int p_225085_, BlockPos.MutableBlockPos p_225086_, HugeMushroomFeatureConfiguration p_225087_) private voidScatteredOreFeature.offsetTargetPos(BlockPos.MutableBlockPos mutablePos, RandomSource random, BlockPos pos, int magnitude) protected booleanDiskFeature.placeColumn(DiskConfiguration config, WorldGenLevel level, RandomSource random, int maxY, int minY, BlockPos.MutableBlockPos pos) private static booleanRootSystemFeature.placeDirtAndTree(WorldGenLevel level, ChunkGenerator chunkGenerator, RootSystemConfiguration config, RandomSource random, BlockPos.MutableBlockPos mutablePos, BlockPos basePos) protected booleanVegetationPatchFeature.placeGround(WorldGenLevel level, VegetationPatchConfiguration config, Predicate<BlockState> replaceableblocks, RandomSource random, BlockPos.MutableBlockPos mutablePos, int maxDistance) private voidHugeFungusFeature.placeHatBlock(LevelAccessor level, RandomSource random, HugeFungusConfiguration config, BlockPos.MutableBlockPos pos, float decorationChance, float hatChance, float weepingVineChance) private static voidRootSystemFeature.placeRootedDirt(WorldGenLevel level, RootSystemConfiguration config, RandomSource random, int x, int z, BlockPos.MutableBlockPos pos) private static voidRootSystemFeature.placeRoots(WorldGenLevel level, RootSystemConfiguration config, RandomSource random, BlockPos basePos, BlockPos.MutableBlockPos mutablePos) protected voidAbstractHugeMushroomFeature.placeTrunk(LevelAccessor level, RandomSource random, BlockPos pos, HugeMushroomFeatureConfiguration config, int maxHeight, BlockPos.MutableBlockPos mutablePos) static voidTwistingVinesFeature.placeWeepingVinesColumn(LevelAccessor level, RandomSource random, BlockPos.MutableBlockPos pos, int length, int minAge, int maxAge) static voidWeepingVinesFeature.placeWeepingVinesColumn(LevelAccessor level, RandomSource random, BlockPos.MutableBlockPos pos, int height, int minAge, int maxAge) -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level.levelgen.feature.foliageplacers
Methods in net.minecraft.world.level.levelgen.feature.foliageplacers with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate static booleanFoliagePlacer.tryPlaceExtension(LevelSimulatedReader level, FoliagePlacer.FoliageSetter foliageSetter, RandomSource random, TreeConfiguration treeConfiguration, float extensionChance, BlockPos logPos, BlockPos.MutableBlockPos pos) -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level.levelgen.feature.trunkplacers
Methods in net.minecraft.world.level.levelgen.feature.trunkplacers with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachmentCherryTrunkPlacer.generateBranch(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter, Direction p_direction, int secondBranchStartOffsetFromTop, boolean doubleBranch, BlockPos.MutableBlockPos currentPos) private voidUpwardsBranchingTrunkPlacer.placeBranch(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, TreeConfiguration treeConfig, List<FoliagePlacer.FoliageAttachment> foliageAttachments, BlockPos.MutableBlockPos pos, int y, Direction direction, int extraBranchLength, int extraBranchSteps) protected voidTrunkPlacer.placeLogIfFree(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config) private voidGiantTrunkPlacer.placeLogIfFreeWithOffset(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config, BlockPos offsetPos, int offsetX, int offsetY, int offsetZ) -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level.levelgen.structure
Methods in net.minecraft.world.level.levelgen.structure that return BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprotected BlockPos.MutableBlockPosStructurePiece.getWorldPos(int x, int y, int z) -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level.levelgen.structure.structures
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate static voidMineshaftPieces.MineShaftCorridor.fillColumnBetween(WorldGenLevel level, BlockState state, BlockPos.MutableBlockPos pos, int minY, int maxY) -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level.lighting
Fields in net.minecraft.world.level.lighting declared as BlockPos.MutableBlockPosModifier and TypeFieldDescriptionprivate final BlockPos.MutableBlockPosBlockLightEngine.mutablePosprivate final BlockPos.MutableBlockPosLightEngine.mutablePosprivate final BlockPos.MutableBlockPosSkyLightEngine.mutablePosprivate final BlockPos.MutableBlockPosChunkSkyLightSources.mutablePos1private final BlockPos.MutableBlockPosChunkSkyLightSources.mutablePos2 -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level.pathfinder
Fields in net.minecraft.world.level.pathfinder declared as BlockPos.MutableBlockPosModifier and TypeFieldDescriptionprivate final BlockPos.MutableBlockPosPathfindingContext.mutablePosMethods in net.minecraft.world.level.pathfinder with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionstatic PathTypeWalkNodeEvaluator.getPathTypeStatic(PathfindingContext context, BlockPos.MutableBlockPos pos) private NodeWalkNodeEvaluator.tryJumpOn(int x, int y, int z, int verticalDeltaLimit, double nodeFloorLevel, Direction direction, PathType pathType, BlockPos.MutableBlockPos pos) -
Uses of BlockPos.MutableBlockPos in net.minecraft.world.level.portal
Methods in net.minecraft.world.level.portal with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate booleanPortalForcer.canHostFrame(BlockPos originalPos, BlockPos.MutableBlockPos offsetPos, Direction p_direction, int offsetScale) private booleanPortalForcer.canPortalReplaceBlock(BlockPos.MutableBlockPos pos) private intPortalShape.getDistanceUntilTop(BlockPos.MutableBlockPos pos) private booleanPortalShape.hasTopFrame(BlockPos.MutableBlockPos pos, int distanceToTop) -
Uses of BlockPos.MutableBlockPos in net.neoforged.neoforge.client.model.lighting
Fields in net.neoforged.neoforge.client.model.lighting declared as BlockPos.MutableBlockPos