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)
Pack
pack(org.spongepowered.plugin.PluginContainer container)
-
-
-
Method Detail
-
all
Collection<Pack> all()
- Returns:
- The
packs
as an unmodifiableCollection
.
-
disabled
Collection<Pack> disabled()
- Returns:
- The disabled
packs
as an unmodifiableCollection
.
-
enabled
Collection<Pack> enabled()
- Returns:
- The enabled
packs
as an unmodifiableCollection
.
-
pack
Optional<Pack> pack(String id)
- Parameters:
id
- The id of the pack- Returns:
- The
Pack
orOptional.empty()
if not found
-
-