Package net.minecraft.world.level
Class StructureFeatureManager
java.lang.Object
net.minecraft.world.level.StructureFeatureManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addReferenceForFeature(SectionPos p_47293_, StructureFeature<?> p_47294_, long p_47295_, FeatureAccess p_47296_)
forWorldGenRegion(WorldGenRegion p_47273_)
getStartForFeature(SectionPos p_47298_, StructureFeature<?> p_47299_, FeatureAccess p_47300_)
getStructureAt(BlockPos p_47286_, boolean p_47287_, StructureFeature<?> p_47288_)
void
setStartForFeature(SectionPos p_47302_, StructureFeature<?> p_47303_, StructureStart<?> p_47304_, FeatureAccess p_47305_)
boolean
Stream<? extends StructureStart<?>>
startsForFeature(SectionPos p_47290_, StructureFeature<?> p_47291_)
-
Field Details
-
level
-
worldGenSettings
-
-
Constructor Details
-
StructureFeatureManager
-
-
Method Details
-
forWorldGenRegion
-
startsForFeature
public Stream<? extends StructureStart<?>> startsForFeature(SectionPos p_47290_, StructureFeature<?> p_47291_) -
getStartForFeature
@Nullable public StructureStart<?> getStartForFeature(SectionPos p_47298_, StructureFeature<?> p_47299_, FeatureAccess p_47300_) -
setStartForFeature
public void setStartForFeature(SectionPos p_47302_, StructureFeature<?> p_47303_, StructureStart<?> p_47304_, FeatureAccess p_47305_) -
addReferenceForFeature
public void addReferenceForFeature(SectionPos p_47293_, StructureFeature<?> p_47294_, long p_47295_, FeatureAccess p_47296_) -
shouldGenerateFeatures
public boolean shouldGenerateFeatures() -
getStructureAt
public StructureStart<?> getStructureAt(BlockPos p_47286_, boolean p_47287_, StructureFeature<?> p_47288_)
-