Class OperatorLPElementType
java.lang.Object
org.cyclops.integrateddynamics.core.logicprogrammer.OperatorLPElementType
- All Implemented Interfaces:
ILogicProgrammerElementType<OperatorLPElement>
public class OperatorLPElementType
extends Object
implements ILogicProgrammerElementType<OperatorLPElement>
Operator element type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetByName(net.minecraft.resources.ResourceLocation name) Get the element from the given name.net.minecraft.resources.ResourceLocationgetName(OperatorLPElement element) Get the name from given element, no need to namespace.net.minecraft.resources.ResourceLocation
-
Constructor Details
-
OperatorLPElementType
public OperatorLPElementType()
-
-
Method Details
-
getByName
Description copied from interface:ILogicProgrammerElementTypeGet the element from the given name.- Specified by:
getByNamein interfaceILogicProgrammerElementType<OperatorLPElement>- Parameters:
name- The name, already namespaced for this type.- Returns:
- The element.
-
getName
Description copied from interface:ILogicProgrammerElementTypeGet the name from given element, no need to namespace.- Specified by:
getNamein interfaceILogicProgrammerElementType<OperatorLPElement>- Parameters:
element- The element.- Returns:
- The unique name.
-
getUniqueName
public net.minecraft.resources.ResourceLocation getUniqueName()- Specified by:
getUniqueNamein interfaceILogicProgrammerElementType<OperatorLPElement>- Returns:
- Unique name.
-
createElements
- Specified by:
createElementsin interfaceILogicProgrammerElementType<OperatorLPElement>- Returns:
- All the elements this type can have.
-