RunicEnergyType
Link to runicenergytype
导入类
Link to 导入类
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.solarforge.RunicEnergyType;
Enum Constants
Link to enum-constants
RunicEnergyType is an enum. It has 9 enum constants. They are accessible using the code below.
ZenScript Copy<constant:solarforge:energytype:zeta>
<constant:solarforge:energytype:ardo>
<constant:solarforge:energytype:urba>
<constant:solarforge:energytype:kelda>
<constant:solarforge:energytype:fira>
<constant:solarforge:energytype:tera>
<constant:solarforge:energytype:giro>
<constant:solarforge:energytype:ultima>
使用方式
Link to 使用方式
Name: getCommandString
Returns: A Usable RunicEnergyType to use in RunicEnergyCost to set up a requirement.
Return Type: string
ZenScript Copy// RunicEnergyType.getCommandString() as string
myRunicEnergyType.getCommandString();
名称 | 类型 | 可获得 | 可设置 | 描述 |
---|---|---|---|---|
名称 commandString #命令字符串 | 类型 string | 可获得 true | 可设置 false | 描述 |