Uses of Class
net.minecraft.world.gen.StructureAccessor
Package
Description
-
Uses of StructureAccessor in net.minecraft.server.world
-
Uses of StructureAccessor in net.minecraft.structure
Modifier and TypeMethodDescriptionboolean
BuriedTreasureGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
DesertTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
IglooGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
JungleTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.Bridge.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeEnd.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgePlatform.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeSmallCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorBalcony.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorExit.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorLeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorNetherWartsRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorRightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFossilGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Base.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.CoreRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Entry.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Penthouse.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoomTop.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.WingRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanRuinGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
PoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pos, boolean keepJigsaws)
boolean
PoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
RuinedPortalStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
ShipwreckGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
SimpleStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.ChestCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Corridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.FiveWayCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.LeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Library.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.PortalRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.PrisonHall.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.RightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SpiralStaircase.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SquareRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Stairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
abstract boolean
StructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
SwampHutGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
void
StructureStart.generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
-
Uses of StructureAccessor in net.minecraft.structure.pool
Modifier and TypeMethodDescriptionboolean
EmptyPoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
boolean
FeaturePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
boolean
ListPoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
boolean
SinglePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
abstract boolean
StructurePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
-
Uses of StructureAccessor 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.containsSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry, BlockPos pos)
private static Pool<SpawnSettings.SpawnEntry>
SpawnHelper.getSpawnEntries(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable Biome biome)
private static Optional<SpawnSettings.SpawnEntry>
SpawnHelper.pickRandomSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos)
-
Uses of StructureAccessor in net.minecraft.world.biome
Modifier and TypeMethodDescriptionvoid
Biome.generateFeatureStep(StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, ChunkRegion region, long populationSeed, ChunkRandom random, BlockPos origin)
-
Uses of StructureAccessor in net.minecraft.world.gen
ModifierConstructorDescriptionprotected
StructureWeightSampler(StructureAccessor accessor, Chunk chunk)
-
Uses of StructureAccessor in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionvoid
ChunkGenerator.addStructureReferences(StructureWorldAccess world, StructureAccessor accessor, Chunk chunk)
Finds all structures that the given chunk intersects, and adds references to their starting chunks to it.void
ChunkGenerator.generateFeatures(ChunkRegion region, StructureAccessor accessor)
void
DebugChunkGenerator.generateFeatures(ChunkRegion region, StructureAccessor accessor)
ChunkGenerator.getEntitySpawnList(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos)
NoiseChunkGenerator.getEntitySpawnList(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos)
abstract CompletableFuture<Chunk>
ChunkGenerator.populateNoise(Executor executor, StructureAccessor accessor, Chunk chunk)
Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.DebugChunkGenerator.populateNoise(Executor executor, StructureAccessor accessor, Chunk chunk)
Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.FlatChunkGenerator.populateNoise(Executor executor, StructureAccessor accessor, Chunk chunk)
Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.NoiseChunkGenerator.populateNoise(Executor executor, StructureAccessor accessor, Chunk chunk)
Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.private Chunk
NoiseChunkGenerator.populateNoise(StructureAccessor accessor, Chunk chunk, int startY, int noiseSizeY)
private void
ChunkGenerator.setStructureStart(ConfiguredStructureFeature<?,?> feature, DynamicRegistryManager registryManager, StructureAccessor accessor, Chunk chunk, StructureManager structureManager, long worldSeed, Biome biome)
void
ChunkGenerator.setStructureStarts(DynamicRegistryManager registryManager, StructureAccessor accessor, Chunk chunk, StructureManager structureManager, long worldSeed)
Determines which structures should start in the given chunk and creates their starting points. -
Uses of StructureAccessor in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionvoid
OceanMonumentFeature.Start.generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
void
WoodlandMansionFeature.Start.generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
StructureFeature.locateStructure(WorldView world, StructureAccessor structureAccessor, BlockPos searchStartPos, int searchRadius, boolean skipExistingChunks, long worldSeed, StructureConfig config)
Tries to find the closest structure of this type near a given block.