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 int
BlockUtil.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 TypeMethodDescriptionvoid
ClientLevel.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.MutableBlockPos
SectionRenderDispatcher.RenderSection.origin
private 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.MutableBlockPos
StructureGridSpawner.nextTestNorthWestCorner
-
Uses of BlockPos.MutableBlockPos in net.minecraft.util
Methods in net.minecraft.util with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate static boolean
SpawnUtil.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 void
LightningBolt.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.MutableBlockPos
Frog.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.resultProvider
Methods in net.minecraft.world.level with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate static boolean
NaturalSpawner.isRightDistanceToPlayerAndSpawnPoint
(ServerLevel level, ChunkAccess chunk, BlockPos.MutableBlockPos pos, double distance) private static boolean
NaturalSpawner.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.MutableBlockPos
SurfaceRules.Context.pos
Methods in net.minecraft.world.level.levelgen with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionprivate void
SurfaceSystem.frozenOceanExtension
(int minSurfaceLevel, Biome biome, BlockColumn blockColumn, BlockPos.MutableBlockPos topWaterPos, int x, int z, int height) private static OptionalInt
Column.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 ofmaxDistance
which 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 double
BlendingData.read1
(ChunkAccess chunk, BlockPos.MutableBlockPos pos) private static double
BlendingData.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 boolean
NetherWorldCarver.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 boolean
WorldCarver.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 boolean
BasaltColumnsFeature.canPlaceAt
(LevelAccessor level, int seaLevel, BlockPos.MutableBlockPos pos) static boolean
OreFeature.canPlaceOre
(BlockState state, Function<BlockPos, BlockState> adjacentStateAccessor, RandomSource random, OreConfiguration config, OreConfiguration.TargetBlockState targetState, BlockPos.MutableBlockPos mutablePos) private static BlockPos
BasaltColumnsFeature.findAir
(LevelAccessor level, BlockPos.MutableBlockPos pos, int distance) private static boolean
TwistingVinesFeature.findFirstAirBlockAboveGround
(LevelAccessor level, BlockPos.MutableBlockPos pos) private static BlockPos
BasaltColumnsFeature.findSurface
(LevelAccessor level, int seaLevel, BlockPos.MutableBlockPos pos, int distance) private static BlockPos
ReplaceBlobsFeature.findTarget
(LevelAccessor level, BlockPos.MutableBlockPos topPos, Block block) private static boolean
WaterloggedVegetationPatchFeature.isExposed
(WorldGenLevel level, Set<BlockPos> positions, BlockPos pos, BlockPos.MutableBlockPos mutablePos) private static boolean
WaterloggedVegetationPatchFeature.isExposedDirection
(WorldGenLevel level, BlockPos pos, BlockPos.MutableBlockPos mutablePos, Direction direction) protected boolean
AbstractHugeMushroomFeature.isValidPosition
(LevelAccessor level, BlockPos pos, int maxHeight, BlockPos.MutableBlockPos mutablePos, HugeMushroomFeatureConfiguration config) protected abstract void
AbstractHugeMushroomFeature.makeCap
(LevelAccessor level, RandomSource random, BlockPos pos, int treeHeight, BlockPos.MutableBlockPos mutablePos, HugeMushroomFeatureConfiguration config) protected void
HugeBrownMushroomFeature.makeCap
(LevelAccessor p_225043_, RandomSource p_225044_, BlockPos p_225045_, int p_225046_, BlockPos.MutableBlockPos p_225047_, HugeMushroomFeatureConfiguration p_225048_) protected void
HugeRedMushroomFeature.makeCap
(LevelAccessor p_225082_, RandomSource p_225083_, BlockPos p_225084_, int p_225085_, BlockPos.MutableBlockPos p_225086_, HugeMushroomFeatureConfiguration p_225087_) private void
ScatteredOreFeature.offsetTargetPos
(BlockPos.MutableBlockPos mutablePos, RandomSource random, BlockPos pos, int magnitude) protected boolean
DiskFeature.placeColumn
(DiskConfiguration config, WorldGenLevel level, RandomSource random, int maxY, int minY, BlockPos.MutableBlockPos pos) private static boolean
RootSystemFeature.placeDirtAndTree
(WorldGenLevel level, ChunkGenerator chunkGenerator, RootSystemConfiguration config, RandomSource random, BlockPos.MutableBlockPos mutablePos, BlockPos basePos) protected boolean
VegetationPatchFeature.placeGround
(WorldGenLevel level, VegetationPatchConfiguration config, Predicate<BlockState> replaceableblocks, RandomSource random, BlockPos.MutableBlockPos mutablePos, int maxDistance) private void
HugeFungusFeature.placeHatBlock
(LevelAccessor level, RandomSource random, HugeFungusConfiguration config, BlockPos.MutableBlockPos pos, float decorationChance, float hatChance, float weepingVineChance) private static void
RootSystemFeature.placeRootedDirt
(WorldGenLevel level, RootSystemConfiguration config, RandomSource random, int x, int z, BlockPos.MutableBlockPos pos) private static void
RootSystemFeature.placeRoots
(WorldGenLevel level, RootSystemConfiguration config, RandomSource random, BlockPos basePos, BlockPos.MutableBlockPos mutablePos) protected void
AbstractHugeMushroomFeature.placeTrunk
(LevelAccessor level, RandomSource random, BlockPos pos, HugeMushroomFeatureConfiguration config, int maxHeight, BlockPos.MutableBlockPos mutablePos) static void
TwistingVinesFeature.placeWeepingVinesColumn
(LevelAccessor level, RandomSource random, BlockPos.MutableBlockPos pos, int length, int minAge, int maxAge) static void
WeepingVinesFeature.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 boolean
FoliagePlacer.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.FoliageAttachment
CherryTrunkPlacer.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 void
UpwardsBranchingTrunkPlacer.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 void
TrunkPlacer.placeLogIfFree
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config) private void
GiantTrunkPlacer.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.MutableBlockPos
StructurePiece.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 void
MineshaftPieces.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.MutableBlockPos
BlockLightEngine.mutablePos
private final BlockPos.MutableBlockPos
LightEngine.mutablePos
private final BlockPos.MutableBlockPos
SkyLightEngine.mutablePos
private final BlockPos.MutableBlockPos
ChunkSkyLightSources.mutablePos1
private final BlockPos.MutableBlockPos
ChunkSkyLightSources.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.MutableBlockPos
PathfindingContext.mutablePos
Methods in net.minecraft.world.level.pathfinder with parameters of type BlockPos.MutableBlockPosModifier and TypeMethodDescriptionstatic PathType
WalkNodeEvaluator.getPathTypeStatic
(PathfindingContext context, BlockPos.MutableBlockPos pos) private Node
WalkNodeEvaluator.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 boolean
PortalForcer.canHostFrame
(BlockPos originalPos, BlockPos.MutableBlockPos offsetPos, Direction p_direction, int offsetScale) private boolean
PortalForcer.canPortalReplaceBlock
(BlockPos.MutableBlockPos pos) private int
PortalShape.getDistanceUntilTop
(BlockPos.MutableBlockPos pos) private boolean
PortalShape.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