Interface PackRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Pack>all()Collection<Pack>disabled()Collection<Pack>enabled()Optional<Pack>pack(String id)Packpack(org.spongepowered.plugin.PluginContainer container)
-
-
-
Method Detail
-
all
Collection<Pack> all()
- Returns:
- The
packsas an unmodifiableCollection.
-
disabled
Collection<Pack> disabled()
- Returns:
- The disabled
packsas an unmodifiableCollection.
-
enabled
Collection<Pack> enabled()
- Returns:
- The enabled
packsas an unmodifiableCollection.
-
pack
Optional<Pack> pack(String id)
- Parameters:
id- The id of the pack- Returns:
- The
PackorOptional.empty()if not found
-
-