SlurryTagManager
Link to slurrytagmanager
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
Link to 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.
ZenScript Copyimport mods.mekanism.api.tag.SlurryTagManager;
Extending ChemicalTagManager<Slurry>
Link to extending-chemicaltagmanagerslurry
SlurryTagManager extends ChemicalTagManager <Slurry>. That means all methods available in ChemicalTagManager <Slurry> are also available in SlurryTagManager
Methods
Link to methods
Name: exists
Return Type: boolean
ZenScript CopySlurryTagManager.exists(location as MCResourceLocation) as boolean
Parameter | Type | Description |
---|---|---|
Parameter location | Type MCResourceLocation | Description No Description Provided |
Name: exists
Return Type: boolean
ZenScript CopySlurryTagManager.exists(name as string) as boolean
Parameter | Type | Description |
---|---|---|
Parameter name | Type string | Description No Description Provided |
Name: getAllTags
Return Type: stdlib.List<MCTag<T>>
ZenScript Copy// SlurryTagManager.getAllTags() as stdlib.List<MCTag<T>>
mySlurryTagManager.getAllTags();
Name: getAllTagsFor
Return Type: stdlib.List<MCTag<T>>
ZenScript CopySlurryTagManager.getAllTagsFor(element as T) as stdlib.List<MCTag<T>>
Parameter | Type | Description |
---|---|---|
Parameter element | Type T | Description No Description Provided |
Name: getTag
Return Type: MCTag<T>
ZenScript CopySlurryTagManager.getTag(location as MCResourceLocation) as MCTag<T>
Parameter | Type | Description |
---|---|---|
Parameter location | Type MCResourceLocation | Description No Description Provided |
Name: getTag
Return Type: MCTag<T>
ZenScript CopySlurryTagManager.getTag(name as string) as MCTag<T>
Parameter | Type | Description |
---|---|---|
Parameter name | Type string | Description No Description Provided |
Operators
Link to operators
Name: CONTAINS
ZenScript Copyname as string in mySlurryTagManager
Properties
Link to 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 |