net.minecraft.world.level

public class StructureManager

cui
net.minecraft.world.level.StructureManager
net.minecraft.class_5138
net.minecraft.world.gen.StructureAccessor
net.minecraft.src.C_213086_
net.minecraft.world.level.StructureManager

Field summary

Modifier and TypeField
private final LevelAccessor
a
level
field_24404
world
f_220460_
private final WorldOptions
b
worldOptions
field_24497
options
f_244109_
private final StructureCheck
c
structureCheck
field_36216
locator
f_220462_

Constructor summary

ModifierConstructor
public (LevelAccessor world, WorldOptions options, StructureCheck locator)

Method summary

Modifier and TypeMethod
public StructureManager
a(ank arg0)
forWorldGenRegion(WorldGenRegion arg0)
method_29951(class_3233 arg0)
forRegion(ChunkRegion region)
m_220468_(C_19_ arg0)
public List<StructureStart>
a(csw arg0, Predicate<dzg> arg1)
startsForStructure(ChunkPos arg0, Predicate<Structure> arg1)
method_41035(class_1923 arg0, Predicate<class_3195> arg1)
getStructureStarts(ChunkPos pos, Predicate<Structure> predicate)
m_220477_(C_1560_ p_220479_, Predicate<C_213164_> arg1)
public List<StructureStart>
a(iz arg0, dzg arg1)
startsForStructure(SectionPos arg0, Structure arg1)
method_38853(class_4076 arg0, class_3195 arg1)
getStructureStarts(ChunkSectionPos sectionPos, Structure structure)
m_220504_(C_4710_ p_220506_, C_213164_ arg1)
public void
a(dzg arg0, it.unimi.dsi.fastutil.longs.LongSet arg1, Consumer<dzo> arg2)
fillStartsForStructure(Structure arg0, it.unimi.dsi.fastutil.longs.LongSet arg1, Consumer<StructureStart> arg2)
method_41032(class_3195 arg0, it.unimi.dsi.fastutil.longs.LongSet arg1, Consumer<class_3449> arg2)
acceptStructureStarts(Structure structure, it.unimi.dsi.fastutil.longs.LongSet structureStartPositions, Consumer<StructureStart> consumer)
m_220480_(C_213164_ p_220482_, it.unimi.dsi.fastutil.longs.LongSet p_220483_, Consumer<C_2588_> arg2)
public StructureStart
a(iz arg0, dzg arg1, dma arg2)
getStartForStructure(SectionPos arg0, Structure arg1, StructureAccess arg2)
method_26975(class_4076 arg0, class_3195 arg1, class_2810 arg2)
getStructureStart(ChunkSectionPos pos, Structure structure, StructureHolder holder)
m_220512_(C_4710_ p_220514_, C_213164_ p_220515_, C_213126_ arg2)
public void
a(iz arg0, dzg arg1, dzo arg2, dma arg3)
setStartForStructure(SectionPos arg0, Structure arg1, StructureStart arg2, StructureAccess arg3)
method_26976(class_4076 arg0, class_3195 arg1, class_3449 arg2, class_2810 arg3)
setStructureStart(ChunkSectionPos pos, Structure structure, StructureStart structureStart, StructureHolder holder)
m_220516_(C_4710_ p_220518_, C_213164_ p_220519_, C_2588_ p_220520_, C_213126_ arg3)
public void
a(iz arg0, dzg arg1, long arg2, dma arg3)
addReferenceForStructure(SectionPos arg0, Structure arg1, long arg2, StructureAccess arg3)
method_26973(class_4076 arg0, class_3195 arg1, long arg2, class_2810 arg3)
addStructureReference(ChunkSectionPos pos, Structure structure, long reference, StructureHolder holder)
m_220507_(C_4710_ p_220509_, C_213164_ p_220510_, long p_220511_, C_213126_ arg3)
public boolean
a()
shouldGenerateStructures()
method_27834()
shouldGenerateStructures()
m_220467_()
public StructureStart
a(hx arg0, dzg arg1)
getStructureAt(BlockPos arg0, Structure arg1)
method_28388(class_2338 arg0, class_3195 arg1)
getStructureAt(BlockPos pos, Structure structure)
m_220494_(C_4675_ p_220496_, C_213164_ arg1)
public StructureStart
a(hx arg0, ahf<dzg> arg1)
getStructureWithPieceAt(BlockPos arg0, ResourceKey<Structure> arg1)
method_41034(class_2338 arg0, class_5321<class_3195> arg1)
getStructureContaining(BlockPos pos, RegistryKey<Structure> structure)
m_220488_(C_4675_ p_220490_, C_5264_<C_213164_> arg1)
public StructureStart
a(hx arg0, asw<dzg> arg1)
getStructureWithPieceAt(BlockPos arg0, TagKey<Structure> arg1)
method_41413(class_2338 arg0, class_6862<class_3195> arg1)
getStructureContaining(BlockPos pos, TagKey<Structure> structureTag)
m_220491_(C_4675_ p_220493_, C_203208_<C_213164_> arg1)
public StructureStart
b(hx arg0, dzg arg1)
getStructureWithPieceAt(BlockPos arg0, Structure arg1)
method_38854(class_2338 arg0, class_3195 arg1)
getStructureContaining(BlockPos pos, Structure structure)
m_220524_(C_4675_ p_220526_, C_213164_ arg1)
public boolean
a(hx arg0, dzo arg1)
structureHasPieceAt(BlockPos arg0, StructureStart arg1)
method_41033(class_2338 arg0, class_3449 arg1)
structureContains(BlockPos pos, StructureStart structureStart)
m_220497_(C_4675_ p_220499_, C_2588_ arg1)
public boolean
a(hx arg0)
hasAnyStructureAt(BlockPos arg0)
method_38852(class_2338 arg0)
hasStructureReferences(BlockPos pos)
m_220486_(C_4675_ arg0)
public Map<Structure, it.unimi.dsi.fastutil.longs.LongSet>
b(hx arg0)
getAllStructuresAt(BlockPos arg0)
method_41037(class_2338 arg0)
getStructureReferences(BlockPos pos)
m_220522_(C_4675_ arg0)
public StructureCheckResult
a(csw arg0, dzg arg1, boolean arg2)
checkStructurePresence(ChunkPos arg0, Structure arg1, boolean arg2)
method_39783(class_1923 arg0, class_3195 arg1, boolean arg2)
getStructurePresence(ChunkPos chunkPos, Structure structure, boolean skipExistingChunk)
m_220473_(C_1560_ p_220475_, C_213164_ p_220476_, boolean arg2)
public void
a(dzo arg0)
addReference(StructureStart arg0)
method_39784(class_3449 arg0)
incrementReferences(StructureStart structureStart)
m_220484_(C_2588_ arg0)
public RegistryAccess
b()
registryAccess()
method_41036()
getRegistryManager()
m_220521_()