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 booleanGets 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.MONSTERspawns for this structure. -
getDefaultCreatureSpawnList
Deprecated.UsegetDefaultSpawnList(MobCategory)TODO: Remove in 1.18Gets the default list ofMobCategory.CREATUREspawns 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:
trueif the location to check spawns for has to be inside of the pieces making up the structure,falseotherwise.
-
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