Uses of Class
net.minecraft.util.math.BlockPos.Mutable
Package
Description
-
Uses of BlockPos.Mutable in net.minecraft.client.render
-
Uses of BlockPos.Mutable in net.minecraft.client.render.chunk
Modifier and TypeFieldDescriptionprivate BlockPos.Mutable[]
ChunkBuilder.BuiltChunk.neighborPositions
(package private) BlockPos.Mutable
ChunkBuilder.BuiltChunk.origin
-
Uses of BlockPos.Mutable in net.minecraft.client.world
Modifier and TypeMethodDescriptionvoid
ClientWorld.randomBlockDisplayTick(int centerX, int centerY, int centerZ, int radius, Random random, @Nullable ClientWorld.BlockParticle blockParticle, BlockPos.Mutable pos)
-
Uses of BlockPos.Mutable in net.minecraft.entity
Modifier and TypeMethodDescriptionprivate static void
LightningEntity.cleanOxidizationAround(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count)
-
Uses of BlockPos.Mutable in net.minecraft.entity.ai.pathing
Modifier and TypeMethodDescriptionstatic PathNodeType
LandPathNodeMaker.getLandNodeType(BlockView world, BlockPos.Mutable pos)
static PathNodeType
LandPathNodeMaker.getNodeTypeFromNeighbors(BlockView world, BlockPos.Mutable pos, PathNodeType nodeType)
-
Uses of BlockPos.Mutable in net.minecraft.entity.passive
-
Uses of BlockPos.Mutable in net.minecraft.structure
Modifier and TypeMethodDescriptionprotected BlockPos.Mutable
StructurePiece.offsetPos(int x, int y, int z)
Modifier and TypeMethodDescriptionprivate static void
MineshaftGenerator.MineshaftCorridor.method_33878(StructureWorldAccess structureWorldAccess, BlockState blockState, BlockPos.Mutable mutable, int int2, int int3)
-
Uses of BlockPos.Mutable in net.minecraft.test
-
Uses of BlockPos.Mutable in net.minecraft.util.math
Modifier and TypeMethodDescriptionBlockPos.Mutable.clamp(Direction.Axis axis, int min, int max)
Clamps the component corresponding to the givenaxis
betweenmin
andmax
.BlockPos.Mutable.move(int dx, int dy, int dz)
Moves the mutable block position by the delta x, y, and z provided.Moves this mutable block position by 1 block in the given direction.Moves this mutable block position by the given distance in the given direction.BlockPos.mutableCopy()
Returns a mutable copy of this block position.BlockPos.Mutable.set(double x, double y, double z)
BlockPos.Mutable.set(int x, int y, int z)
Sets the x, y, and z of this mutable block position.BlockPos.Mutable.set(long pos)
BlockPos.Mutable.set(AxisCycleDirection axis, int x, int y, int z)
Sets this mutable block position to the sum of the given position and the given x, y, and z.Sets this mutable block position to the offset position of the given pos by the given direction.Sets this mutable block position to the sum of the given vectors.BlockPos.Mutable.setX(int int2)
BlockPos.Mutable.setY(int int2)
BlockPos.Mutable.setZ(int int2)
Modifier and TypeMethodDescriptionstatic Iterable<BlockPos.Mutable>
BlockPos.iterateInSquare(BlockPos center, int radius, Direction firstDirection, Direction secondDirection)
Iterates block positions around thecenter
in a square of (2 * radius + 1
) by (2 * radius + 1
). -
Uses of BlockPos.Mutable in net.minecraft.world
Modifier and TypeMethodDescriptionprivate static boolean
SpawnHelper.canSpawn(ServerWorld world, SpawnGroup group, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnSettings.SpawnEntry spawnEntry, BlockPos.Mutable pos, double squaredDistance)
private static boolean
SpawnHelper.isAcceptableSpawnPosition(ServerWorld world, Chunk chunk, BlockPos.Mutable pos, double squaredDistance)
private boolean
PortalForcer.isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal)
private static int
PortalUtil.moveWhile(Predicate<BlockPos> predicate, BlockPos.Mutable mutable, Direction direction, int max)
-
Uses of BlockPos.Mutable in net.minecraft.world.chunk.light
Modifier and TypeFieldDescriptionprivate BlockPos.Mutable
ChunkBlockLightProvider.mutablePos
protected BlockPos.Mutable
ChunkLightProvider.reusableBlockPos
-
Uses of BlockPos.Mutable in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionprivate int
AreaHelper.method_30490(BlockPos.Mutable mutable)
private boolean
AreaHelper.method_30491(BlockPos.Mutable mutable, int int2)
-
Uses of BlockPos.Mutable in net.minecraft.world.gen.carver
Modifier and TypeMethodDescriptionprotected static boolean
UnderwaterCaveCarver.carve(Carver<?> carver, Chunk chunk, Random random, BlockPos.Mutable pos, BlockPos.Mutable downPos, AquiferSampler sampler)
protected boolean
Carver.carveAtPoint(CarverContext context, C config, Chunk chunk, Function<BlockPos,Biome> posToBiome, BitSet carvingMask, Random random, BlockPos.Mutable pos, BlockPos.Mutable downPos, AquiferSampler sampler, MutableBoolean foundSurface)
protected boolean
NetherCaveCarver.carveAtPoint(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean)
protected boolean
UnderwaterCanyonCarver.carveAtPoint(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean)
protected boolean
UnderwaterCaveCarver.carveAtPoint(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean)
-
Uses of BlockPos.Mutable in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionprotected boolean
HugeMushroomFeature.canGenerate(WorldAccess world, BlockPos pos, int height, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config)
private static boolean
TwistingVinesFeature.canGenerate(WorldAccess world, BlockPos.Mutable pos)
private static boolean
BasaltColumnsFeature.canPlaceAt(WorldAccess world, int seaLevel, BlockPos.Mutable mutablePos)
protected void
HugeBrownMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config)
protected abstract void
HugeMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config)
protected void
HugeRedMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config)
private void
RootSystemFeature.generateHangingRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, BlockPos pos, BlockPos.Mutable mutablePos)
private void
HugeFungusFeature.generateHatBlock(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos.Mutable pos, float decorationChance, float generationChance, float vineChance)
private void
RootSystemFeature.generateRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, int x, int z, BlockPos.Mutable mutablePos)
protected void
HugeMushroomFeature.generateStem(WorldAccess world, Random random, BlockPos pos, HugeMushroomFeatureConfig config, int height, BlockPos.Mutable mutable)
private boolean
RootSystemFeature.generateTreeAndRoots(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, BlockPos pos)
static void
TwistingVinesFeature.generateVineColumn(WorldAccess world, Random random, BlockPos.Mutable pos, int maxLength, int minAge, int maxAge)
static void
WeepingVinesFeature.generateVineColumn(WorldAccess world, Random random, BlockPos.Mutable pos, int length, int minAge, int maxAge)
private static boolean
WaterloggedVegetationPatchFeature.isSolidBlockAroundPos(StructureWorldAccess world, Set<BlockPos> positions, BlockPos pos, BlockPos.Mutable mutablePos)
private static boolean
WaterloggedVegetationPatchFeature.isSolidBlockSide(StructureWorldAccess world, BlockPos pos, BlockPos.Mutable mutablePos, Direction direction)
BasaltColumnsFeature.moveDownToGround(WorldAccess world, int seaLevel, BlockPos.Mutable mutablePos, int distance)
ReplaceBlobsFeature.moveDownToTarget(WorldAccess world, BlockPos.Mutable mutablePos, Block target)
BasaltColumnsFeature.moveUpToAir(WorldAccess world, BlockPos.Mutable mutablePos, int distance)
protected boolean
VegetationPatchFeature.placeGround(StructureWorldAccess world, VegetationPatchFeatureConfig config, Predicate<BlockState> replaceable, Random random, BlockPos.Mutable pos, int depth)
private void
ScatteredOreFeature.setPos(BlockPos.Mutable mutable, Random random, BlockPos origin, int spread)
static boolean
OreFeature.shouldPlace(BlockState state, Function<BlockPos,BlockState> posToState, Random random, OreFeatureConfig config, OreFeatureConfig.Target target, BlockPos.Mutable pos)
-
Uses of BlockPos.Mutable in net.minecraft.world.gen.feature.util
Modifier and TypeMethodDescriptionprivate static OptionalInt
CaveSurface.getCaveSurface(TestableWorld world, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace, BlockPos.Mutable mutablePos, int y, Direction direction)
-
Uses of BlockPos.Mutable in net.minecraft.world.gen.trunk
Modifier and TypeMethodDescriptionprivate static void
GiantTrunkPlacer.setLog(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config, BlockPos startPos, int x, int y, int z)
protected static void
TrunkPlacer.trySetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config)