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 Details

    • register

      <L, T extends ITerminalStorageLocation<L>> T register(T location)
      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

      @Nullable ITerminalStorageLocation<?> getLocation(net.minecraft.resources.ResourceLocation name)
      Get a location by unique name.
      Parameters:
      name - The location name.
      Returns:
      The registered location or null.ΓΈ
    • getLocations

      Returns:
      All registered locations.