DecoratedPotPattern
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.block.entity.DecoratedPotPattern;
Members
Getter
Gets the location of the asset used by the pot pattern.script.zs
// DecoratedPotPattern.assetId as ResourceLocationmyDecoratedPotPattern.assetId
Return Type:
ResourceLocation
assetId() as ResourceLocation
Gets the location of the asset used by the pot pattern.script.zs
Returns: The pot pattern asset ID.
myDecoratedPotPattern.assetId();
Return Type:
ResourceLocation
Getter
Gets the command string for the pot pattern.script.zs
// DecoratedPotPattern.commandString as stringmyDecoratedPotPattern.commandString
Return Type:
string