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
Copy
import mods.mekanism.api.tag.GasTagManager;

Extending ChemicalTagManager<Gas>

Link to extending-chemicaltagmanagergas

GasTagManager extends ChemicalTagManager <Gas>. That means all methods available in ChemicalTagManager <Gas> are also available in GasTagManager

Name: exists

Return Type: boolean

ZenScript
Copy
GasTagManager.exists(location as MCResourceLocation) as boolean
ParameterTypeDescription
Parameter
location
Type
MCResourceLocation
Description
No Description Provided

Name: exists

Return Type: boolean

ZenScript
Copy
GasTagManager.exists(name as string) as boolean
ParameterTypeDescription
Parameter
name
Type
string
Description
No Description Provided

Name: getAllTags

Return Type: stdlib.List<MCTag<T>>

ZenScript
Copy
// GasTagManager.getAllTags() as stdlib.List<MCTag<T>>

myGasTagManager.getAllTags();

Name: getAllTagsFor

Return Type: stdlib.List<MCTag<T>>

ZenScript
Copy
GasTagManager.getAllTagsFor(element as T) as stdlib.List<MCTag<T>>
ParameterTypeDescription
Parameter
element
Type
T
Description
No Description Provided

Name: getTag

Return Type: MCTag<T>

ZenScript
Copy
GasTagManager.getTag(location as MCResourceLocation) as MCTag<T>
ParameterTypeDescription
Parameter
location
Type
MCResourceLocation
Description
No Description Provided

Name: getTag

Return Type: MCTag<T>

ZenScript
Copy
GasTagManager.getTag(name as string) as MCTag<T>
ParameterTypeDescription
Parameter
name
Type
string
Description
No Description Provided

Name: CONTAINS

ZenScript
Copy
name as string in myGasTagManager
NameTypeHas GetterHas SetterDescription
Name
all
Type
stdlib.List<MCTag<T>>
Has Getter
true
Has Setter
false
Description
No Description Provided