Class StructureManager
java.lang.Object
net.minecraft.world.gen.feature.structure.StructureManager
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStructureManager
(IWorld p_i231626_1_, DimensionGeneratorSettings p_i231626_2_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addReferenceForFeature
(SectionPos p_235012_1_, Structure<?> p_235012_2_, long p_235012_3_, IStructureReader p_235012_5_) forWorldGenRegion
(WorldGenRegion p_241464_1_) getStartForFeature
(SectionPos p_235013_1_, Structure<?> p_235013_2_, IStructureReader p_235013_3_) getStructureAt
(BlockPos p_235010_1_, boolean p_235010_2_, Structure<?> p_235010_3_) void
setStartForFeature
(SectionPos p_235014_1_, Structure<?> p_235014_2_, StructureStart<?> p_235014_3_, IStructureReader p_235014_4_) boolean
Stream<? extends StructureStart<?>>
startsForFeature
(SectionPos p_235011_1_, Structure<?> p_235011_2_)
-
Field Details
-
level
-
worldGenSettings
-
-
Constructor Details
-
StructureManager
-
-
Method Details
-
forWorldGenRegion
-
startsForFeature
public Stream<? extends StructureStart<?>> startsForFeature(SectionPos p_235011_1_, Structure<?> p_235011_2_) -
getStartForFeature
@Nullable public StructureStart<?> getStartForFeature(SectionPos p_235013_1_, Structure<?> p_235013_2_, IStructureReader p_235013_3_) -
setStartForFeature
public void setStartForFeature(SectionPos p_235014_1_, Structure<?> p_235014_2_, StructureStart<?> p_235014_3_, IStructureReader p_235014_4_) -
addReferenceForFeature
public void addReferenceForFeature(SectionPos p_235012_1_, Structure<?> p_235012_2_, long p_235012_3_, IStructureReader p_235012_5_) -
shouldGenerateFeatures
public boolean shouldGenerateFeatures() -
getStructureAt
public StructureStart<?> getStructureAt(BlockPos p_235010_1_, boolean p_235010_2_, Structure<?> p_235010_3_)
-