net.minecraft.world

public class StructureLocator

net.minecraft.world.level.levelgen.structure.StructureCheck
net.minecraft.world.level.levelgen.structure.StructureCheck
net.minecraft.class_6832
net.minecraft.world.StructureLocator

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
LOGGER
field_36225
LOGGER
private static final int
NO_STRUCTURE
NO_STRUCTURE
field_36226
START_NOT_PRESENT_REFERENCE
private static final int
MAX_CHUNKS_WITHOUT_STORED_STARTS
MAX_CHUNKS_WITHOUT_STORED_STARTS
field_1_10269
field_1_10269
private final NbtScannable
storageAccess
storageAccess
field_36227
chunkIoWorker
private final DynamicRegistryManager
registryAccess
registryAccess
field_36228
registryManager
private final StructureTemplateManager
structureTemplateManager
structureTemplateManager
field_36230
structureTemplateManager
private final RegistryKey<World>
dimension
dimension
field_36231
worldKey
private final ChunkGenerator
chunkGenerator
chunkGenerator
field_36232
chunkGenerator
private final NoiseConfig
randomState
randomState
field_37750
noiseConfig
private final HeightLimitView
heightAccessor
heightAccessor
field_36233
world
private final MultiNoiseUtil$MultiNoiseSampler
climateSampler
climateSampler
field_1_10272
noiseSampler
private final BiomeSource
biomeSource
biomeSource
field_1_10270
biomeSource
private final long
seed
seed
field_36235
seed
private final com.mojang.datafixers.DataFixer
fixerUpper
fixerUpper
field_36236
dataFixer
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.objects.Object2IntMap<Structure>>
loadedChunks
loadedChunks
field_36237
cachedStructuresByChunkPos
private final Map<Structure, it.unimi.dsi.fastutil.longs.Long2BooleanMap>
featureChecks
featureChecks
field_36238
generationPossibilityByStructure
private final it.unimi.dsi.fastutil.longs.LongSet
chunksWithoutStartsInStorage
chunksWithoutStartsInStorage
field_1_10271
field_1_10271

Constructor summary

ModifierConstructor
public (NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureTemplateManager structureTemplateManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, NoiseConfig noiseConfig, HeightLimitView world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer)

Method summary

Modifier and TypeMethod
public StructurePresence
checkStart(ChunkPos pos, Structure structure, StructurePlacement placement, boolean requireUnreferenced)
checkStart(ChunkPos pos, Structure structure, StructurePlacement placement, boolean requireUnreferenced)
method_39831(class_1923 arg0, class_3195 arg1, class_1_1143 arg2, boolean arg3)
getStructurePresence(ChunkPos pos, Structure type, StructurePlacement placement, boolean skipReferencedStructures)
private boolean
canCreateStructure(ChunkPos pos, Structure structure)
canCreateStructure(ChunkPos pos, Structure structure)
method_39829(class_1923 arg0, class_3195 arg1)
isGenerationPossible(ChunkPos pos, Structure structure)
private StructurePresence
tryLoadFromStorage(ChunkPos pos, Structure structure, boolean requireUnreferenced)
tryLoadFromStorage(ChunkPos pos, Structure structure, boolean requireUnreferenced)
method_39832(class_1923 arg0, class_3195 arg1, boolean arg2)
getStructurePresence(ChunkPos pos, Structure structure, boolean skipReferencedStructures)
private it.unimi.dsi.fastutil.objects.Object2IntMap<Structure>
loadStructures(CompoundTag chunkTag)
loadStructures(CompoundTag chunkTag)
method_39842(class_2487 arg0)
collectStructuresAndReferences(NbtCompound nbt)
private static it.unimi.dsi.fastutil.objects.Object2IntMap<Structure>
deduplicateEmptyMap(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> map)
deduplicateEmptyMap(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> map)
method_39838(it.unimi.dsi.fastutil.objects.Object2IntMap<class_3195> arg0)
createMapIfEmpty(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> map)
private StructurePresence
checkStructureInfo(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> cachedResult, Structure structure, boolean requireUnreferenced)
checkStructureInfo(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> cachedResult, Structure structure, boolean requireUnreferenced)
method_39840(it.unimi.dsi.fastutil.objects.Object2IntMap<class_3195> arg0, class_3195 arg1, boolean arg2)
getStructurePresence(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> referencesByStructure, Structure structure, boolean skipReferencedStructures)
public void
onStructureLoad(ChunkPos pos, Map<Structure, StructureStart> starts)
onStructureLoad(ChunkPos pos, Map<Structure, StructureStart> starts)
method_39833(class_1923 arg0, Map<class_3195, class_3449> arg1)
cache(ChunkPos pos, Map<Structure, StructureStart> structureStarts)
private void
storeFullResults(long posKey, it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> starts)
storeFullResults(long posKey, it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> starts)
method_39828(long arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<class_3195> arg1)
cache(long pos, it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> referencesByStructure)
public void
incrementReference(ChunkPos chunkPos, Structure structure)
incrementReference(ChunkPos chunkPos, Structure structure)
method_39830(class_1923 arg0, class_3195 arg1)
incrementReferences(ChunkPos chunkPos, Structure structure)