Class StructureManager
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.StructureManager
-
public class StructureManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private IWorld
level
private DimensionGeneratorSettings
worldGenSettings
-
Constructor Summary
Constructors Constructor Description StructureManager(IWorld p_i231626_1_, DimensionGeneratorSettings p_i231626_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addReferenceForFeature(SectionPos p_235012_1_, Structure<?> p_235012_2_, long p_235012_3_, IStructureReader p_235012_5_)
StructureManager
forWorldGenRegion(WorldGenRegion p_241464_1_)
StructureStart<?>
getStartForFeature(SectionPos p_235013_1_, Structure<?> p_235013_2_, IStructureReader p_235013_3_)
StructureStart<?>
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
shouldGenerateFeatures()
java.util.stream.Stream<? extends StructureStart<?>>
startsForFeature(SectionPos p_235011_1_, Structure<?> p_235011_2_)
-
-
-
Field Detail
-
level
private final IWorld level
-
worldGenSettings
private final DimensionGeneratorSettings worldGenSettings
-
-
Constructor Detail
-
StructureManager
public StructureManager(IWorld p_i231626_1_, DimensionGeneratorSettings p_i231626_2_)
-
-
Method Detail
-
forWorldGenRegion
public StructureManager forWorldGenRegion(WorldGenRegion p_241464_1_)
-
startsForFeature
public java.util.stream.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_)
-
-