ITICMaterialDefinition

Link to iticmaterialdefinition

An ITICMaterialDefinition is an ITICMaterial's definition.
You can use this to retrieve some information on the ITICMaterial object.

Dieses Paket importieren

Link to dieses-paket-importieren

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 modtweaker.tconstruct.ITICMaterialDefinition;

Retrieving such an object

Link to retrieving-such-an-object

You can retrieve an ITICMaterialDefinition from an ITICMaterial's definition ZenGetter:

ZenScript
Copy
val def = <ticmat:stone>.definition;
ZenGetterRückgabetypBeschreibung
ZenGetter
name
Rückgabetyp
string
Beschreibung
The material's internal name
ZenGetter
displayName
Rückgabetyp
string
Beschreibung
The material's localized name