public interface ITerminalStorageLocationRegistry
extends org.cyclops.cyclopscore.init.IRegistry
ITerminalStorageLocation.| Modifier and Type | Method and Description |
|---|---|
ITerminalStorageLocation<?> |
getLocation(net.minecraft.util.ResourceLocation name)
Get a location by unique name.
|
java.util.Collection<ITerminalStorageLocation<?>> |
getLocations() |
<L,T extends ITerminalStorageLocation<L>> |
register(T location)
Register a new location type.
|
<L,T extends ITerminalStorageLocation<L>> T register(T location)
L - The location type.T - The location type type.location - The location to register.@Nullable ITerminalStorageLocation<?> getLocation(net.minecraft.util.ResourceLocation name)
name - The location name.java.util.Collection<ITerminalStorageLocation<?>> getLocations()