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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.List<MobSpawnInfo.Spawners>
getDefaultCreatureSpawnList()
Gets the default list ofEntityClassification.CREATURE
spawns for this structure.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.default java.util.List<MobSpawnInfo.Spawners>
getDefaultSpawnList()
Gets the default list ofEntityClassification.MONSTER
spawns for this structure.java.util.List<MobSpawnInfo.Spawners>
getSpawnList(EntityClassification classification)
Helper method to get the list of entity spawns for this structure for the given classification.default Structure<?>
getStructure()
-
-
-
Method Detail
-
getStructure
default Structure<?> getStructure()
-
getDefaultSpawnList
default java.util.List<MobSpawnInfo.Spawners> getDefaultSpawnList()
Gets the default list ofEntityClassification.MONSTER
spawns for this structure.
-
getDefaultCreatureSpawnList
default java.util.List<MobSpawnInfo.Spawners> 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
java.util.List<MobSpawnInfo.Spawners> getSpawnList(EntityClassification classification)
Helper method to get the list of entity spawns for this structure for the given classification.- Parameters:
classification
- The classification of entities.
-
-