Home Commands Examples Getting Started With Scripts Global Keywords
BracketDumpers BracketHandlers BracketValidators ResourceLocationBracketHandler

CommandStringDisplayable

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.

script.zs
import crafttweaker.api.bracket.CommandStringDisplayable;

Description

This is a helper interface for every object that is returned by a BEP!

Loaders

This type is available in the following loaders:

  • crafttweaker
  • tags

Members

Getter
Returns the BEP to get this thingy
script.zs
// CommandStringDisplayable.commandString as string
myCommandStringDisplayable.commandString

Return Type: string

commandString() as string
Returns the BEP to get this thingy
script.zs
// CommandStringDisplayable.commandString() as string;
myCommandStringDisplayable.commandString();

Return Type: string