net.minecraft.world.level

public class StructureManager

dhf
net.minecraft.world.level.StructureManager
net.minecraft.class_5138
net.minecraft.world.gen.StructureAccessor
net.minecraft.world.level.StructureManager

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public StructureManager
a(arl arg0)
forWorldGenRegion(WorldGenRegion arg0)
method_29951(class_3233 arg0)
forRegion(ChunkRegion region)
public List<StructureStart>
a(dfp arg0, Predicate<enn> arg1)
startsForStructure(ChunkPos arg0, Predicate<Structure> arg1)
method_41035(class_1923 arg0, Predicate<class_3195> arg1)
getStructureStarts(ChunkPos pos, Predicate<Structure> predicate)
public List<StructureStart>
a(kk arg0, enn arg1)
startsForStructure(SectionPos arg0, Structure arg1)
method_38853(class_4076 arg0, class_3195 arg1)
getStructureStarts(ChunkSectionPos sectionPos, Structure structure)
public void
a(enn arg0, it.unimi.dsi.fastutil.longs.LongSet arg1, Consumer<env> 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)
public StructureStart
a(kk arg0, enn arg1, dzp 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)
public void
a(kk arg0, enn arg1, env arg2, dzp 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)
public void
a(kk arg0, enn arg1, long arg2, dzp 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)
public boolean
a()
shouldGenerateStructures()
method_27834()
shouldGenerateStructures()
public StructureStart
a(ji arg0, enn arg1)
getStructureAt(BlockPos arg0, Structure arg1)
method_28388(class_2338 arg0, class_3195 arg1)
getStructureAt(BlockPos pos, Structure structure)
public StructureStart
a(ji arg0, axf<enn> arg1)
getStructureWithPieceAt(BlockPos arg0, TagKey<Structure> arg1)
method_57560(class_2338 arg0, class_6862<class_3195> arg1)
getStructureContaining(BlockPos pos, TagKey<Structure> tag)
public StructureStart
a(ji arg0, jv<enn> arg1)
getStructureWithPieceAt(BlockPos arg0, HolderSet<Structure> arg1)
method_41034(class_2338 arg0, class_6885<class_3195> arg1)
getStructureContaining(BlockPos pos, RegistryEntryList<Structure> structures)
public StructureStart
a(ji arg0, Predicate<jr<enn>> arg1)
getStructureWithPieceAt(BlockPos arg0, Predicate<Holder<Structure>> arg1)
method_41413(class_2338 arg0, Predicate<class_6880<class_3195>> arg1)
getStructureContaining(BlockPos pos, Predicate<RegistryEntry<Structure>> predicate)
public StructureStart
b(ji arg0, enn arg1)
getStructureWithPieceAt(BlockPos arg0, Structure arg1)
method_38854(class_2338 arg0, class_3195 arg1)
getStructureContaining(BlockPos pos, Structure structure)
public boolean
a(ji arg0, env arg1)
structureHasPieceAt(BlockPos arg0, StructureStart arg1)
method_41033(class_2338 arg0, class_3449 arg1)
structureContains(BlockPos pos, StructureStart structureStart)
public boolean
a(ji arg0)
hasAnyStructureAt(BlockPos arg0)
method_38852(class_2338 arg0)
hasStructureReferences(BlockPos pos)
public Map<Structure, it.unimi.dsi.fastutil.longs.LongSet>
b(ji arg0)
getAllStructuresAt(BlockPos arg0)
method_41037(class_2338 arg0)
getStructureReferences(BlockPos pos)
public StructureCheckResult
a(dfp arg0, enn arg1, eok arg2, boolean arg3)
checkStructurePresence(ChunkPos arg0, Structure arg1, StructurePlacement arg2, boolean arg3)
method_39783(class_1923 arg0, class_3195 arg1, class_6874 arg2, boolean arg3)
getStructurePresence(ChunkPos chunkPos, Structure structure, StructurePlacement placement, boolean skipReferencedStructures)
public void
a(env arg0)
addReference(StructureStart arg0)
method_39784(class_3449 arg0)
incrementReferences(StructureStart structureStart)
public RegistryAccess
b()
registryAccess()
method_41036()
getRegistryManager()