DisplayState
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 mods.botanypotstweaker.displaystate.DisplayState;
Members
static of(data as MapData) as DisplayState
Creates a display state from the given data.script.zs
Returns: A new display state from the given data.
DisplayState.of({"block": {"block": "minecraft:diamond_block", "properties": {}}, "type": "botanypots:aging"});
Return Type:
DisplayState