Uses of Class
net.minecraft.util.math.BlockPos.Mutable
Packages that use BlockPos.Mutable
Package
Description
-
Uses of BlockPos.Mutable in net.minecraft.client.render
Fields in net.minecraft.client.render declared as BlockPos.Mutable -
Uses of BlockPos.Mutable in net.minecraft.client.render.chunk
Fields in net.minecraft.client.render.chunk declared as BlockPos.MutableModifier and TypeFieldDescriptionprivate BlockPos.Mutable[]ChunkBuilder.BuiltChunk.neighborPositions(package private) BlockPos.MutableChunkBuilder.BuiltChunk.origin -
Uses of BlockPos.Mutable in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionvoidClientWorld.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
Methods in net.minecraft.entity with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionprivate static voidLightningEntity.cleanOxidizationAround(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count) -
Uses of BlockPos.Mutable in net.minecraft.entity.ai.pathing
Methods in net.minecraft.entity.ai.pathing with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionstatic PathNodeTypeLandPathNodeMaker.getLandNodeType(BlockView world, BlockPos.Mutable pos)static PathNodeTypeLandPathNodeMaker.getNodeTypeFromNeighbors(BlockView world, BlockPos.Mutable pos, PathNodeType nodeType) -
Uses of BlockPos.Mutable in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as BlockPos.Mutable -
Uses of BlockPos.Mutable in net.minecraft.structure
Methods in net.minecraft.structure that return BlockPos.MutableModifier and TypeMethodDescriptionprotected BlockPos.MutableStructurePiece.offsetPos(int x, int y, int z)Methods in net.minecraft.structure with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionprivate static voidMineshaftGenerator.MineshaftCorridor.method_33878(StructureWorldAccess structureWorldAccess, BlockState blockState, BlockPos.Mutable mutable, int int2, int int3) -
Uses of BlockPos.Mutable in net.minecraft.test
Fields in net.minecraft.test declared as BlockPos.Mutable -
Uses of BlockPos.Mutable in net.minecraft.util.math
Methods in net.minecraft.util.math that return BlockPos.MutableModifier and TypeMethodDescriptionBlockPos.Mutable.clamp(Direction.Axis axis, int min, int max)Clamps the component corresponding to the givenaxisbetweenminandmax.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)Methods in net.minecraft.util.math that return types with arguments of type BlockPos.MutableModifier and TypeMethodDescriptionstatic Iterable<BlockPos.Mutable>BlockPos.iterateInSquare(BlockPos center, int radius, Direction firstDirection, Direction secondDirection)Iterates block positions around thecenterin a square of (2 * radius + 1) by (2 * radius + 1). -
Uses of BlockPos.Mutable in net.minecraft.world
Fields in net.minecraft.world declared as BlockPos.MutableMethods in net.minecraft.world with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionprivate static booleanSpawnHelper.canSpawn(ServerWorld world, SpawnGroup group, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnSettings.SpawnEntry spawnEntry, BlockPos.Mutable pos, double squaredDistance)private static booleanSpawnHelper.isAcceptableSpawnPosition(ServerWorld world, Chunk chunk, BlockPos.Mutable pos, double squaredDistance)private booleanPortalForcer.isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal)private static intPortalUtil.moveWhile(Predicate<BlockPos> predicate, BlockPos.Mutable mutable, Direction direction, int max) -
Uses of BlockPos.Mutable in net.minecraft.world.chunk.light
Fields in net.minecraft.world.chunk.light declared as BlockPos.MutableModifier and TypeFieldDescriptionprivate BlockPos.MutableChunkBlockLightProvider.mutablePosprotected BlockPos.MutableChunkLightProvider.reusableBlockPos -
Uses of BlockPos.Mutable in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionprivate intAreaHelper.method_30490(BlockPos.Mutable mutable)private booleanAreaHelper.method_30491(BlockPos.Mutable mutable, int int2) -
Uses of BlockPos.Mutable in net.minecraft.world.gen.carver
Methods in net.minecraft.world.gen.carver with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionprotected static booleanUnderwaterCaveCarver.carve(Carver<?> carver, Chunk chunk, Random random, BlockPos.Mutable pos, BlockPos.Mutable downPos, AquiferSampler sampler)protected booleanCarver.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 booleanNetherCaveCarver.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 booleanUnderwaterCanyonCarver.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 booleanUnderwaterCaveCarver.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
Methods in net.minecraft.world.gen.feature with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionprotected booleanHugeMushroomFeature.canGenerate(WorldAccess world, BlockPos pos, int height, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config)private static booleanTwistingVinesFeature.canGenerate(WorldAccess world, BlockPos.Mutable pos)private static booleanBasaltColumnsFeature.canPlaceAt(WorldAccess world, int seaLevel, BlockPos.Mutable mutablePos)protected voidHugeBrownMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config)protected abstract voidHugeMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config)protected voidHugeRedMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config)private voidRootSystemFeature.generateHangingRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, BlockPos pos, BlockPos.Mutable mutablePos)private voidHugeFungusFeature.generateHatBlock(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos.Mutable pos, float decorationChance, float generationChance, float vineChance)private voidRootSystemFeature.generateRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, int x, int z, BlockPos.Mutable mutablePos)protected voidHugeMushroomFeature.generateStem(WorldAccess world, Random random, BlockPos pos, HugeMushroomFeatureConfig config, int height, BlockPos.Mutable mutable)private booleanRootSystemFeature.generateTreeAndRoots(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, BlockPos pos)static voidTwistingVinesFeature.generateVineColumn(WorldAccess world, Random random, BlockPos.Mutable pos, int maxLength, int minAge, int maxAge)static voidWeepingVinesFeature.generateVineColumn(WorldAccess world, Random random, BlockPos.Mutable pos, int length, int minAge, int maxAge)private static booleanWaterloggedVegetationPatchFeature.isSolidBlockAroundPos(StructureWorldAccess world, Set<BlockPos> positions, BlockPos pos, BlockPos.Mutable mutablePos)private static booleanWaterloggedVegetationPatchFeature.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 booleanVegetationPatchFeature.placeGround(StructureWorldAccess world, VegetationPatchFeatureConfig config, Predicate<BlockState> replaceable, Random random, BlockPos.Mutable pos, int depth)private voidScatteredOreFeature.setPos(BlockPos.Mutable mutable, Random random, BlockPos origin, int spread)static booleanOreFeature.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
Methods in net.minecraft.world.gen.feature.util with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionprivate static OptionalIntCaveSurface.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
Methods in net.minecraft.world.gen.trunk with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionprivate static voidGiantTrunkPlacer.setLog(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config, BlockPos startPos, int x, int y, int z)protected static voidTrunkPlacer.trySetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config)