Interface ILogicProgrammerElementTypeRegistry
- All Superinterfaces:
org.cyclops.cyclopscore.init.IRegistry
- All Known Implementing Classes:
LogicProgrammerElementTypeRegistry
public interface ILogicProgrammerElementTypeRegistry
extends org.cyclops.cyclopscore.init.IRegistry
Registry for
ILogicProgrammerElementType
.-
Method Summary
Modifier and TypeMethodDescription<E extends ILogicProgrammerElementType>
EaddType
(E type) Register a new type.getType
(net.minecraft.resources.ResourceLocation name) Get the type by name.getTypes()
-
Method Details
-
addType
Register a new type.- Type Parameters:
E
- The type of type.- Parameters:
type
- The type to register.- Returns:
- The registered type
-
getTypes
List<ILogicProgrammerElementType> getTypes()- Returns:
- All registered types.
-
getType
Get the type by name.- Parameters:
name
- The name.- Returns:
- The type.
-