net.minecraft.world.level.levelgen.structure

public class StructureCheck

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

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_36225
LOGGER
private static final int
b
NO_STRUCTURE
field_36226
START_NOT_PRESENT_REFERENCE
private final ChunkScanAccess
c
storageAccess
field_36227
chunkIoWorker
private final RegistryAccess
d
registryAccess
field_36228
registryManager
private final StructureTemplateManager
e
structureTemplateManager
field_36230
structureTemplateManager
private final ResourceKey<Level>
f
dimension
field_36231
worldKey
private final ChunkGenerator
g
chunkGenerator
field_36232
chunkGenerator
private final RandomState
h
randomState
field_37750
noiseConfig
private final LevelHeightAccessor
i
heightAccessor
field_36233
world
private final BiomeSource
j
biomeSource
field_36234
biomeSource
private final long
k
seed
field_36235
seed
private final com.mojang.datafixers.DataFixer
l
fixerUpper
field_36236
dataFixer
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.objects.Object2IntMap<Structure>>
m
loadedChunks
field_36237
cachedStructuresByChunkPos
private final Map<Structure, it.unimi.dsi.fastutil.longs.Long2BooleanMap>
n
featureChecks
field_36238
generationPossibilityByStructure

Constructor summary

ModifierConstructor
public (ChunkScanAccess chunkIoWorker, RegistryAccess registryManager, StructureTemplateManager structureTemplateManager, ResourceKey<Level> worldKey, ChunkGenerator chunkGenerator, RandomState noiseConfig, LevelHeightAccessor world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer)

Method summary

Modifier and TypeMethod
public StructureCheckResult
a(dfp arg0, enn arg1, eok arg2, boolean arg3)
checkStart(ChunkPos arg0, Structure arg1, StructurePlacement arg2, boolean arg3)
method_39831(class_1923 arg0, class_3195 arg1, class_6874 arg2, boolean arg3)
getStructurePresence(ChunkPos pos, Structure type, StructurePlacement placement, boolean skipReferencedStructures)
private boolean
b(dfp arg0, enn arg1)
canCreateStructure(ChunkPos arg0, Structure arg1)
method_39829(class_1923 arg0, class_3195 arg1)
isGenerationPossible(ChunkPos pos, Structure structure)
private StructureCheckResult
a(dfp arg0, enn arg1, boolean arg2, long arg3)
tryLoadFromStorage(ChunkPos arg0, Structure arg1, boolean arg2, long arg3)
method_39832(class_1923 arg0, class_3195 arg1, boolean arg2, long arg3)
getStructurePresence(ChunkPos pos, Structure structure, boolean skipReferencedStructures, long posLong)
private it.unimi.dsi.fastutil.objects.Object2IntMap<Structure>
a(tq arg0)
loadStructures(CompoundTag arg0)
method_39842(class_2487 arg0)
collectStructuresAndReferences(NbtCompound nbt)
private static it.unimi.dsi.fastutil.objects.Object2IntMap<Structure>
a(it.unimi.dsi.fastutil.objects.Object2IntMap<enn> arg0)
deduplicateEmptyMap(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> arg0)
method_39838(it.unimi.dsi.fastutil.objects.Object2IntMap<class_3195> arg0)
createMapIfEmpty(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> map)
private StructureCheckResult
a(it.unimi.dsi.fastutil.objects.Object2IntMap<enn> arg0, enn arg1, boolean arg2)
checkStructureInfo(it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> arg0, Structure arg1, boolean arg2)
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
a(dfp arg0, Map<enn, env> arg1)
onStructureLoad(ChunkPos arg0, Map<Structure, StructureStart> arg1)
method_39833(class_1923 arg0, Map<class_3195, class_3449> arg1)
cache(ChunkPos pos, Map<Structure, StructureStart> structureStarts)
private void
a(long arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<enn> arg1)
storeFullResults(long arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> arg1)
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
a(dfp arg0, enn arg1)
incrementReference(ChunkPos arg0, Structure arg1)
method_39830(class_1923 arg0, class_3195 arg1)
incrementReferences(ChunkPos pos, Structure structure)