Interface ILogicProgrammerElementTypeRegistry

All Superinterfaces:
org.cyclops.cyclopscore.init.IRegistry
All Known Implementing Classes:
LogicProgrammerElementTypeRegistry

public interface ILogicProgrammerElementTypeRegistry extends org.cyclops.cyclopscore.init.IRegistry
  • Method Details

    • addType

      <E extends ILogicProgrammerElementType> E addType(E type)
      Register a new type.
      Type Parameters:
      E - The type of type.
      Parameters:
      type - The type to register.
      Returns:
      The registered type
    • getTypes

      Returns:
      All registered types.
    • getType

      ILogicProgrammerElementType getType(net.minecraft.resources.ResourceLocation name)
      Get the type by name.
      Parameters:
      name - The name.
      Returns:
      The type.