CTAspect
Link to ctaspect
A CTAspect is the aspect underlying an Aspect Stack, much like an IItemDefinition underlies an IItemStack.
导入相关包
Link to 导入相关包
It might be required for you to import the package if you encounter any issues, so better be safe than sorry and add the import.
import thaumcraft.aspect.CTAspect;
Retrieving such an object
Link to retrieving-such-an-object
You can retrieve a CTAspect object from a CTAspectStack object:
ZenScript Copyval aspect = <aspect:ignis>.internal;
ZenGetters and ZenSetters
Link to zengetters-and-zensetters
名称 | isGetter | isSetter | 类型 |
---|---|---|---|
名称 chatColour | isGetter ✔ | isSetter ✔ | 类型 string |
名称 name(名称) | isGetter ✔ | isSetter | 类型 string |