MCImmutableStringReader

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.

script.zs
import crafttweaker.api.commands.custom.MCImmutableStringReader;

Methods

Return Type: boolean

script.zs
// MCImmutableStringReader.canRead() as boolean
myMCImmutableStringReader.canRead();

Return Type: boolean

script.zs
MCImmutableStringReader.canRead(arg0 as int) as boolean
ParameterTypeDescription
Parameter
arg0
Type
int
Description
No Description Provided

Return Type: int

script.zs
// MCImmutableStringReader.getCursor() as int
myMCImmutableStringReader.getCursor();

Return Type: string

script.zs
// MCImmutableStringReader.getRead() as string
myMCImmutableStringReader.getRead();

Return Type: string

script.zs
// MCImmutableStringReader.getRemaining() as string
myMCImmutableStringReader.getRemaining();

Return Type: int

script.zs
// MCImmutableStringReader.getRemainingLength() as int
myMCImmutableStringReader.getRemainingLength();

Return Type: string

script.zs
// MCImmutableStringReader.getString() as string
myMCImmutableStringReader.getString();

Return Type: int

script.zs
// MCImmutableStringReader.getTotalLength() as int
myMCImmutableStringReader.getTotalLength();

Return Type: char

script.zs
// MCImmutableStringReader.peek() as char
myMCImmutableStringReader.peek();

Return Type: char

script.zs
MCImmutableStringReader.peek(arg0 as int) as char
ParameterTypeDescription
Parameter
arg0
Type
int
Description
No Description Provided