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 final BlockPos.Mutable[]ChunkBuilder.BuiltChunk.neighborPositions(package private) final 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 Block block, 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.cleanOxidationAround(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count) private static booleanLargeEntitySpawnHelper.findSpawnPos(ServerWorld world, int verticalRange, BlockPos.Mutable pos, LargeEntitySpawnHelper.Requirements requirements) -
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.MutableModifier and TypeFieldDescriptionprivate final BlockPos.MutableFrogEntity.FrogSwimPathNodeMaker.pos -
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.fillColumn(StructureWorldAccess world, BlockState state, BlockPos.Mutable pos, int startY, int endY) -
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 intBlockLocating.moveWhile(Predicate<BlockPos> predicate, BlockPos.Mutable pos, 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 final BlockPos.MutableChunkBlockLightProvider.mutablePosprotected final 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 booleanCarver.carveAtPoint(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, CarvingMask mask, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean) protected booleanNetherCaveCarver.carveAtPoint(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, CarvingMask carvingMask, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean) -
Uses of BlockPos.Mutable in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionprivate static doubleBlendingData.method_39905(Chunk chunk, BlockPos.Mutable mutable) private static doubleBlendingData.method_39906(Chunk chunk, BlockPos.Mutable mutable) -
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 mutablePos, 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 static voidRootSystemFeature.generateHangingRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, BlockPos pos, BlockPos.Mutable mutablePos) private static 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 mutablePos) private static 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 booleanDiskFeature.placeBlock(DiskFeatureConfig config, StructureWorldAccess world, Random random, int topY, int bottomY, BlockPos.Mutable pos) protected booleanVegetationPatchFeature.placeGround(StructureWorldAccess world, VegetationPatchFeatureConfig config, Predicate<BlockState> replaceable, Random random, BlockPos.Mutable pos, int depth) private voidHugeFungusFeature.placeHatBlock(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos.Mutable pos, float decorationChance, float generationChance, float vineChance) 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.surfacebuilder
Fields in net.minecraft.world.gen.surfacebuilder declared as BlockPos.MutableModifier and TypeFieldDescription(package private) final BlockPos.MutableMaterialRules.MaterialRuleContext.posMethods in net.minecraft.world.gen.surfacebuilder with parameters of type BlockPos.MutableModifier and TypeMethodDescriptionprivate voidSurfaceBuilder.placeIceberg(int minY, Biome biome, BlockColumn column, BlockPos.Mutable mutablePos, int x, int z, int surfaceY) -
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 voidUpwardsBranchingTrunkPlacer.generateExtraBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, TreeFeatureConfig config, List<FoliagePlacer.TreeNode> nodes, BlockPos.Mutable pos, int yOffset, Direction direction, int length, int steps) private voidGiantTrunkPlacer.setLog(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) protected voidTrunkPlacer.trySetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config)