Interface IForgeStructure
- All Known Implementing Classes:
BastionRemantsStructure
,BuriedTreasureStructure
,DesertPyramidStructure
,EndCityStructure
,FortressStructure
,IglooStructure
,JigsawStructure
,JunglePyramidStructure
,MineshaftStructure
,NetherFossilStructure
,OceanMonumentStructure
,OceanRuinStructure
,PillagerOutpostStructure
,RuinedPortalStructure
,ShipwreckStructure
,StrongholdStructure
,Structure
,SwampHutStructure
,VillageStructure
,WoodlandMansionStructure
public interface IForgeStructure
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<MobSpawnInfo.Spawners>
Gets the default list ofEntityClassification.CREATURE
spawns for this structure.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<MobSpawnInfo.Spawners>
Gets the default list ofEntityClassification.MONSTER
spawns for this structure.getSpawnList
(EntityClassification classification) Helper method to get the list of entity spawns for this structure for the given classification.default Structure<?>
-
Method Details
-
getStructure
-
getDefaultSpawnList
Gets the default list ofEntityClassification.MONSTER
spawns for this structure. -
getDefaultCreatureSpawnList
Gets the default list ofEntityClassification.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.
-