net.minecraft.world.level.levelgen.structure

public class StructureCheck

dvj
net.minecraft.world.level.levelgen.structure.StructureCheck
net.minecraft.class_6832
net.minecraft.world.StructureLocator
net.minecraft.src.C_196112_
net.minecraft.world.level.levelgen.structure.StructureCheck

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_36225
LOGGER
f_197235_
private static final int
b
NO_STRUCTURE
field_36226
START_NOT_PRESENT_REFERENCE
f_197236_
private final ChunkScanAccess
c
storageAccess
field_36227
chunkIoWorker
f_197237_
private final RegistryAccess
d
registryAccess
field_36228
registryManager
f_197238_
private final Registry<Biome>
e
biomes
field_36229
biomeRegistry
f_197239_
private final Registry<Structure>
f
structureConfigs
field_36418
structureRegistry
f_204945_
private final StructureTemplateManager
g
structureTemplateManager
field_36230
structureTemplateManager
f_226709_
private final ResourceKey<Level>
h
dimension
field_36231
worldKey
f_197241_
private final ChunkGenerator
i
chunkGenerator
field_36232
chunkGenerator
f_197242_
private final RandomState
j
randomState
field_37750
noiseConfig
f_226710_
private final LevelHeightAccessor
k
heightAccessor
field_36233
world
f_197243_
private final BiomeSource
l
biomeSource
field_36234
biomeSource
f_197244_
private final long
m
seed
field_36235
seed
f_197245_
private final com.mojang.datafixers.DataFixer
n
fixerUpper
field_36236
dataFixer
f_197246_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.objects.Object2IntMap<Structure>>
o
loadedChunks
field_36237
cachedStructuresByChunkPos
f_197247_
private final Map<Structure, it.unimi.dsi.fastutil.longs.Long2BooleanMap>
p
featureChecks
field_36238
generationPossibilityByStructure
f_197248_

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(cpc arg0, dvi arg1, boolean arg2)
checkStart(ChunkPos arg0, Structure arg1, boolean arg2)
method_39831(class_1923 arg0, class_3195 arg1, boolean arg2)
getStructurePresence(ChunkPos pos, Structure type, boolean skipReferencedStructures)
m_226729_(C_1560_ p_226731_, C_213164_ p_226732_, boolean arg2)
private boolean
b(cpc arg0, dvi arg1)
canCreateStructure(ChunkPos arg0, Structure arg1)
method_39829(class_1923 arg0, class_3195 arg1)
isGenerationPossible(ChunkPos pos, Structure structure)
m_226755_(C_1560_ p_226757_, C_213164_ arg1)
private StructureCheckResult
a(cpc arg0, dvi 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)
m_226733_(C_1560_ p_226735_, C_213164_ p_226736_, boolean p_226737_, long arg3)
private it.unimi.dsi.fastutil.objects.Object2IntMap<Structure>
a(qw arg0)
loadStructures(CompoundTag arg0)
method_39842(class_2487 arg0)
collectStructuresAndReferences(NbtCompound nbt)
m_197311_(C_4917_ arg0)
private static it.unimi.dsi.fastutil.objects.Object2IntMap<Structure>
a(it.unimi.dsi.fastutil.objects.Object2IntMap<dvi> 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)
m_197298_(it.unimi.dsi.fastutil.objects.Object2IntMap<C_213164_> p_197299_)
private StructureCheckResult
a(it.unimi.dsi.fastutil.objects.Object2IntMap<dvi> arg0, dvi 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)
m_226751_(it.unimi.dsi.fastutil.objects.Object2IntMap<C_213164_> p_226753_, C_213164_ p_226754_, boolean arg2)
public void
a(cpc arg0, Map<dvi, dvq> 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)
m_197282_(C_1560_ p_197284_, Map<C_213164_, C_2588_> arg1)
private void
a(long arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<dvi> 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)
m_197263_(long p_197265_, it.unimi.dsi.fastutil.objects.Object2IntMap<C_213164_> arg1)
public void
a(cpc arg0, dvi arg1)
incrementReference(ChunkPos arg0, Structure arg1)
method_39830(class_1923 arg0, class_3195 arg1)
incrementReferences(ChunkPos pos, Structure structure)
m_226722_(C_1560_ p_226724_, C_213164_ arg1)