net.minecraft.world.level.levelgen.structure

public class StructureCheck

dfk
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<ConfiguredStructureFeature<?, ?>>
f
structureConfigs
field_36418
configuredStructureFeatureRegistry
f_204945_
private final StructureManager
g
structureManager
field_36230
structureManager
f_197240_
private final ResourceKey<Level>
h
dimension
field_36231
worldKey
f_197241_
private final ChunkGenerator
i
chunkGenerator
field_36232
chunkGenerator
f_197242_
private final LevelHeightAccessor
j
heightAccessor
field_36233
world
f_197243_
private final BiomeSource
k
biomeSource
field_36234
biomeSource
f_197244_
private final long
l
seed
field_36235
seed
f_197245_
private final com.mojang.datafixers.DataFixer
m
fixerUpper
field_36236
dataFixer
f_197246_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.objects.Object2IntMap<ConfiguredStructureFeature<?, ?>>>
n
loadedChunks
field_36237
cachedFeaturesByChunkPos
f_197247_
private final Map<ConfiguredStructureFeature<?, ?>, it.unimi.dsi.fastutil.longs.Long2BooleanMap>
o
featureChecks
field_36238
generationPossibilityByFeature
f_197248_

Constructor summary

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

Method summary

Modifier and TypeMethod
public StructureCheckResult
a(cac arg0, cwr<?, ?> arg1, boolean arg2)
checkStart(ChunkPos arg0, ConfiguredStructureFeature<?, ?> arg1, boolean arg2)
method_39831(class_1923 arg0, class_5312<?, ?> arg1, boolean arg2)
getStructurePresence(ChunkPos arg0, ConfiguredStructureFeature<?, ?> arg1, boolean skipExistingChunk)
m_209964_(C_1560_ p_209966_, C_2228_<?, ?> p_209967_, boolean arg2)
private <FC extends FeatureConfiguration, F extends StructureFeature<FC>> boolean
b(cac arg0, cwr<FC, F> arg1)
canCreateStructure(ChunkPos arg0, ConfiguredStructureFeature<FC, F> arg1)
method_39829(class_1923 arg0, class_5312<FC, F> arg1)
isGenerationPossible(ChunkPos pos, ConfiguredStructureFeature<FC, F> feature)
m_209990_(C_1560_ p_209992_, C_2228_<FC, F> arg1)
private StructureCheckResult
a(cac arg0, cwr<?, ?> arg1, boolean arg2, long arg3)
tryLoadFromStorage(ChunkPos arg0, ConfiguredStructureFeature<?, ?> arg1, boolean arg2, long arg3)
method_39832(class_1923 arg0, class_5312<?, ?> arg1, boolean arg2, long arg3)
getStructurePresence(ChunkPos pos, ConfiguredStructureFeature<?, ?> arg1, boolean skipExistingChunk, long posLong)
m_209968_(C_1560_ p_209970_, C_2228_<?, ?> p_209971_, boolean p_209972_, long arg3)
private it.unimi.dsi.fastutil.objects.Object2IntMap<ConfiguredStructureFeature<?, ?>>
a(ok 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<ConfiguredStructureFeature<?, ?>>
a(it.unimi.dsi.fastutil.objects.Object2IntMap<cwr<?, ?>> arg0)
deduplicateEmptyMap(it.unimi.dsi.fastutil.objects.Object2IntMap<ConfiguredStructureFeature<?, ?>> arg0)
method_39838(it.unimi.dsi.fastutil.objects.Object2IntMap<class_5312<?, ?>> arg0)
createMapIfEmpty(it.unimi.dsi.fastutil.objects.Object2IntMap<ConfiguredStructureFeature<?, ?>> map)
m_197298_(it.unimi.dsi.fastutil.objects.Object2IntMap<C_2228_<?, ?>> p_197299_)
private StructureCheckResult
a(it.unimi.dsi.fastutil.objects.Object2IntMap<cwr<?, ?>> arg0, cwr<?, ?> arg1, boolean arg2)
checkStructureInfo(it.unimi.dsi.fastutil.objects.Object2IntMap<ConfiguredStructureFeature<?, ?>> arg0, ConfiguredStructureFeature<?, ?> arg1, boolean arg2)
method_39840(it.unimi.dsi.fastutil.objects.Object2IntMap<class_5312<?, ?>> arg0, class_5312<?, ?> arg1, boolean arg2)
getStructurePresence(it.unimi.dsi.fastutil.objects.Object2IntMap<ConfiguredStructureFeature<?, ?>> referencesByStructure, ConfiguredStructureFeature<?, ?> arg1, boolean skipExistingChunk)
m_209986_(it.unimi.dsi.fastutil.objects.Object2IntMap<C_2228_<?, ?>> p_209988_, C_2228_<?, ?> p_209989_, boolean arg2)
public void
a(cac arg0, Map<cwr<?, ?>, dfr> arg1)
onStructureLoad(ChunkPos arg0, Map<ConfiguredStructureFeature<?, ?>, StructureStart> arg1)
method_39833(class_1923 arg0, Map<class_5312<?, ?>, class_3449> arg1)
cache(ChunkPos pos, Map<ConfiguredStructureFeature<?, ?>, StructureStart> structureStarts)
m_197282_(C_1560_ p_197284_, Map<C_2228_<?, ?>, C_2588_> arg1)
private void
a(long arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<cwr<?, ?>> arg1)
storeFullResults(long arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<ConfiguredStructureFeature<?, ?>> arg1)
method_39828(long arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<class_5312<?, ?>> arg1)
cache(long pos, it.unimi.dsi.fastutil.objects.Object2IntMap<ConfiguredStructureFeature<?, ?>> referencesByStructure)
m_197263_(long p_197265_, it.unimi.dsi.fastutil.objects.Object2IntMap<C_2228_<?, ?>> arg1)
public void
a(cac arg0, cwr<?, ?> arg1)
incrementReference(ChunkPos arg0, ConfiguredStructureFeature<?, ?> arg1)
method_39830(class_1923 arg0, class_5312<?, ?> arg1)
incrementReferences(ChunkPos pos, ConfiguredStructureFeature<?, ?> arg1)
m_209957_(C_1560_ p_209959_, C_2228_<?, ?> arg1)