Interface ITerminalStorageLocationRegistry
- All Superinterfaces:
org.cyclops.cyclopscore.init.IRegistry
- All Known Implementing Classes:
TerminalStorageLocationRegistry
public interface ITerminalStorageLocationRegistry
extends org.cyclops.cyclopscore.init.IRegistry
A registry for
ITerminalStorageLocation.-
Method Summary
Modifier and TypeMethodDescriptiongetLocation(net.minecraft.resources.ResourceLocation name) Get a location by unique name.<L,T extends ITerminalStorageLocation<L>>
Tregister(T location) Register a new location type.
-
Method Details
-
register
Register a new location type.- Type Parameters:
L- The location type.T- The location type type.- Parameters:
location- The location to register.- Returns:
- The registered location.
-
getLocation
Get a location by unique name.- Parameters:
name- The location name.- Returns:
- The registered location or null.ΓΈ
-
getLocations
Collection<ITerminalStorageLocation<?>> getLocations()- Returns:
- All registered locations.
-