Interface IForgeStructureFeature
- All Known Implementing Classes:
BastionFeature
,BuriedTreasureFeature
,DesertPyramidFeature
,EndCityFeature
,IglooFeature
,JigsawFeature
,JunglePyramidFeature
,MineshaftFeature
,NetherFortressFeature
,NetherFossilFeature
,OceanMonumentFeature
,OceanRuinFeature
,PillagerOutpostFeature
,RuinedPortalFeature
,ShipwreckFeature
,StrongholdFeature
,StructureFeature
,SwamplandHutFeature
,VillageFeature
,WoodlandMansionFeature
public interface IForgeStructureFeature
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<MobSpawnSettings.SpawnerData>
Deprecated.default boolean
Gets the default for if entity spawns are restricted to being inside of the pieces making up the structure or if being in the bounds of the overall structure is good enough.default List<MobSpawnSettings.SpawnerData>
Deprecated.UsegetDefaultSpawnList(MobCategory)
TODO: Remove in 1.18default List<MobSpawnSettings.SpawnerData>
getDefaultSpawnList(MobCategory category)
Gets the default list of spawns for this structure, of the specified category.getSpawnList(MobCategory classification)
Helper method to get the list of entity spawns for this structure for the given classification.private StructureFeature<?>
self()
-
Method Details
-
self
-
getDefaultSpawnList
Gets the default list of spawns for this structure, of the specified category. -
getDefaultSpawnList
Deprecated.UsegetDefaultSpawnList(MobCategory)
TODO: Remove in 1.18Gets the default list ofMobCategory.MONSTER
spawns for this structure. -
getDefaultCreatureSpawnList
Deprecated.UsegetDefaultSpawnList(MobCategory)
TODO: Remove in 1.18Gets the default list ofMobCategory.CREATURE
spawns for this structure. -
getDefaultRestrictsSpawnsToInside
default boolean getDefaultRestrictsSpawnsToInside()Gets the default for if entity spawns are restricted to being inside of the pieces making up the structure or if being in the bounds of the overall structure is good enough.- Returns:
true
if the location to check spawns for has to be inside of the pieces making up the structure,false
otherwise.
-
getSpawnList
Helper method to get the list of entity spawns for this structure for the given classification.- Parameters:
classification
- The classification of entities.
-
getDefaultSpawnList(MobCategory)
TODO: Remove in 1.18