Interface IForgeStructure

    • Method Detail

      • getStructure

        default Structure<?> getStructure()
      • 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.