ChemicalTagManager<CHEMICAL : Chemical>
This class was added by a mod with mod-id mekanism
. So you need to have this mod installed if you
want to use this feature.
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
import mods.mekanism.api.tag.ChemicalTagManager;
Implemented Interfaces
ChemicalTagManager implements the following interfaces. That means all methods defined in these interfaces are also available in ChemicalTagManager
- TagManager<CHEMICAL>
Methods
Return Type: boolean
ChemicalTagManager.exists(location as MCResourceLocation) as boolean
Parameter | Type | Description |
---|---|---|
Parameter location | Type MCResourceLocation | Description No Description Provided |
Return Type: boolean
ChemicalTagManager.exists(name as string) as boolean
Parameter | Type | Description |
---|---|---|
Parameter name | Type string | Description No Description Provided |
Return Type: stdlib.List<MCTag<T>>
// ChemicalTagManager.getAllTags() as stdlib.List<MCTag<T>>
myChemicalTagManager.getAllTags();
Return Type: stdlib.List<MCTag<T>>
ChemicalTagManager.getAllTagsFor(element as T) as stdlib.List<MCTag<T>>
Parameter | Type | Description |
---|---|---|
Parameter element | Type T | Description No Description Provided |
Return Type: MCTag<T>
ChemicalTagManager.getTag(location as MCResourceLocation) as MCTag<T>
Parameter | Type | Description |
---|---|---|
Parameter location | Type MCResourceLocation | Description No Description Provided |
Return Type: MCTag<T>
ChemicalTagManager.getTag(name as string) as MCTag<T>
Parameter | Type | Description |
---|---|---|
Parameter name | Type string | Description No Description Provided |
Return Type: string
// ChemicalTagManager.getTagFolder() as string
myChemicalTagManager.getTagFolder();
Operators
name as string in myChemicalTagManager
Properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name all | Type stdlib.List<MCTag<T>> | Has Getter true | Has Setter false | Description No Description Provided |
Name tagType | Type string | Has Getter true | Has Setter false | Description No Description Provided |