PotDecorations
Link to potdecorations
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 crafttweaker.api.item.component.PotDecorations;
Extending Record
Link to extending-record
PotDecorations extends Record. That means all methods available in Record are also available in PotDecorations
Static Methods
Link to static-methods
Name: of
Return Type: PotDecorations
ZenScript CopyPotDecorations.of(back as ItemDefinition?, left as ItemDefinition?, right as ItemDefinition?, front as ItemDefinition?) as PotDecorations
Parameter | Type |
---|---|
Parameter back | Type ItemDefinition? |
Parameter left | Type ItemDefinition? |
Parameter right | Type ItemDefinition? |
Parameter front | Type ItemDefinition? |
Properties
Link to properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name back | Type ItemDefinition? | Has Getter true | Has Setter false |
Name front | Type ItemDefinition? | Has Getter true | Has Setter false |
Name left | Type ItemDefinition? | Has Getter true | Has Setter false |
Name ordered | Type stdlib.List<ItemDefinition> | Has Getter true | Has Setter false |
Name right | Type ItemDefinition? | Has Getter true | Has Setter false |