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.CREATUREspawns for this structure.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<MobSpawnInfo.Spawners>Gets the default list ofEntityClassification.MONSTERspawns 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.MONSTERspawns for this structure. -
getDefaultCreatureSpawnList
Gets the default list ofEntityClassification.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.
-