Interface ILogicProgrammerElementType<E extends ILogicProgrammerElement>
- All Known Implementing Classes:
OperatorLPElementType
,SingleLPElementType
,ValueTypeLPElementType
public interface ILogicProgrammerElementType<E extends ILogicProgrammerElement>
Indicates a type of logic programmer element.
This creates one or more
ILogicProgrammerElement
.
Must be registered in ILogicProgrammerElementTypeRegistry
.-
Method Summary
Modifier and TypeMethodDescriptiongetByName
(net.minecraft.resources.ResourceLocation name) Get the element from the given name.net.minecraft.resources.ResourceLocation
Get the name from given element, no need to namespace.net.minecraft.resources.ResourceLocation
-
Method Details
-
getByName
Get the element from the given name.- Parameters:
name
- The name, already namespaced for this type.- Returns:
- The element.
-
getName
Get the name from given element, no need to namespace.- Parameters:
element
- The element.- Returns:
- The unique name.
-
getUniqueName
net.minecraft.resources.ResourceLocation getUniqueName()- Returns:
- Unique name.
-
createElements
- Returns:
- All the elements this type can have.
-