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 Details

    • getStructure

      default Structure<?> getStructure()
    • getDefaultSpawnList

      default List<MobSpawnInfo.Spawners> getDefaultSpawnList()
      Gets the default list of EntityClassification.MONSTER spawns for this structure.
    • getDefaultCreatureSpawnList

      default List<MobSpawnInfo.Spawners> getDefaultCreatureSpawnList()
      Gets the default list of EntityClassification.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

      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.