Interface IRegistry<T extends IRegistryType>

Type Parameters:
T - what registry item that the reg lists
All Known Implementing Classes:
CloseRunRegistry, CommandRegistry, StartLogicRunRegistry, StartUiRunRegistry, TabRegistry

public interface IRegistry<T extends IRegistryType>
A registry for an event. There should only be one by event.
The mods should create a RegistryList then use its register method, giving the class implementing this.
  • Method Summary

    Modifier and Type
    Method
    Description
    add(T item)
    Adds an item to the reg
  • Method Details

    • add

      T add(T item)
      Adds an item to the reg
      Parameters:
      item - object to add to the reg
      Returns:
      the item added