net.minecraft.world.level.levelgen.structure

public class StructureCheck

dfc
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.apache.logging.log4j.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 StructureManager
f
structureManager
field_36230
structureManager
f_197240_
private final ResourceKey<Level>
g
dimension
field_36231
worldKey
f_197241_
private final ChunkGenerator
h
chunkGenerator
field_36232
chunkGenerator
f_197242_
private final LevelHeightAccessor
i
heightAccessor
field_36233
world
f_197243_
private final BiomeSource
j
biomeSource
field_36234
biomeSource
f_197244_
private final long
k
seed
field_36235
seed
f_197245_
private final com.mojang.datafixers.DataFixer
l
fixerUpper
field_36236
dataFixer
f_197246_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.objects.Object2IntMap<StructureFeature<?>>>
m
loadedChunks
field_36237
cachedFeaturesByChunkPos
f_197247_
private final Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.Long2BooleanMap>
n
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 <F extends StructureFeature<?>> StructureCheckResult
a(bzk arg0, F arg1, boolean arg2)
checkStart(ChunkPos arg0, F arg1, boolean arg2)
method_39831(class_1923 arg0, F arg1, boolean arg2)
getStructurePresence(ChunkPos pos, F feature, boolean skipExistingChunk)
m_197273_(C_1560_ p_197275_, F p_197276_, boolean arg2)
private <FC extends FeatureConfiguration, F extends StructureFeature<FC>> boolean
a(bzk arg0, cvw<FC, F> arg1, Collection<yg<caz>> arg2)
canCreateStructure(ChunkPos arg0, ConfiguredStructureFeature<FC, F> arg1, Collection<ResourceKey<Biome>> arg2)
method_39829(class_1923 arg0, class_5312<FC, F> arg1, Collection<class_5321<class_1959>> arg2)
isGenerationPossible(ChunkPos pos, ConfiguredStructureFeature<FC, F> feature, Collection<RegistryKey<Biome>> allowedBiomes)
m_197266_(C_1560_ p_197268_, C_2228_<FC, F> p_197269_, Collection<C_5264_<C_1629_>> arg2)
private StructureCheckResult
a(bzk arg0, cyi<?> arg1, boolean arg2, long arg3)
tryLoadFromStorage(ChunkPos arg0, StructureFeature<?> arg1, boolean arg2, long arg3)
method_39832(class_1923 arg0, class_3195<?> arg1, boolean arg2, long arg3)
getStructurePresence(ChunkPos pos, StructureFeature<?> feature, boolean skipExistingChunk, long posLong)
m_197277_(C_1560_ p_197279_, C_2304_<?> p_197280_, boolean p_197281_, long arg3)
private it.unimi.dsi.fastutil.objects.Object2IntMap<StructureFeature<?>>
a(oc 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<StructureFeature<?>>
a(it.unimi.dsi.fastutil.objects.Object2IntMap<cyi<?>> arg0)
deduplicateEmptyMap(it.unimi.dsi.fastutil.objects.Object2IntMap<StructureFeature<?>> arg0)
method_39838(it.unimi.dsi.fastutil.objects.Object2IntMap<class_3195<?>> arg0)
createMapIfEmpty(it.unimi.dsi.fastutil.objects.Object2IntMap<StructureFeature<?>> map)
m_197298_(it.unimi.dsi.fastutil.objects.Object2IntMap<C_2304_<?>> p_197299_)
private StructureCheckResult
a(it.unimi.dsi.fastutil.objects.Object2IntMap<cyi<?>> arg0, cyi<?> arg1, boolean arg2)
checkStructureInfo(it.unimi.dsi.fastutil.objects.Object2IntMap<StructureFeature<?>> arg0, StructureFeature<?> 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<StructureFeature<?>> referencesByStructure, StructureFeature<?> feature, boolean skipExistingChunk)
m_197304_(it.unimi.dsi.fastutil.objects.Object2IntMap<C_2304_<?>> p_197306_, C_2304_<?> p_197307_, boolean arg2)
public void
a(bzk arg0, Map<cyi<?>, dfh<?>> arg1)
onStructureLoad(ChunkPos arg0, Map<StructureFeature<?>, StructureStart<?>> arg1)
method_39833(class_1923 arg0, Map<class_3195<?>, class_3449<?>> arg1)
cache(ChunkPos pos, Map<StructureFeature<?>, StructureStart<?>> structureStarts)
m_197282_(C_1560_ p_197284_, Map<C_2304_<?>, C_2588_<?>> arg1)
private void
a(long arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<cyi<?>> arg1)
storeFullResults(long arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<StructureFeature<?>> arg1)
method_39828(long arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<class_3195<?>> arg1)
cache(long pos, it.unimi.dsi.fastutil.objects.Object2IntMap<StructureFeature<?>> referencesByStructure)
m_197263_(long p_197265_, it.unimi.dsi.fastutil.objects.Object2IntMap<C_2304_<?>> arg1)
public void
a(bzk arg0, cyi<?> arg1)
incrementReference(ChunkPos arg0, StructureFeature<?> arg1)
method_39830(class_1923 arg0, class_3195<?> arg1)
incrementReferences(ChunkPos pos, StructureFeature<?> feature)
m_197270_(C_1560_ p_197272_, C_2304_<?> arg1)