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