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.

ZenScript
Copy
import crafttweaker.api.commands.custom.MCImmutableStringReader;

Methods

canRead

Return Type: boolean

ZenScript
Copy
// MCImmutableStringReader.canRead() as boolean

myMCImmutableStringReader.canRead();
canRead

Return Type: boolean

ZenScript
Copy
MCImmutableStringReader.canRead(arg0 as int) as boolean
ParameterTypeDescription
arg0intNo Description Provided
getCursor

Return Type: int

ZenScript
Copy
// MCImmutableStringReader.getCursor() as int

myMCImmutableStringReader.getCursor();
getRead

Return Type: string

ZenScript
Copy
// MCImmutableStringReader.getRead() as string

myMCImmutableStringReader.getRead();
getRemaining

Return Type: string

ZenScript
Copy
// MCImmutableStringReader.getRemaining() as string

myMCImmutableStringReader.getRemaining();
getRemainingLength

Return Type: int

ZenScript
Copy
// MCImmutableStringReader.getRemainingLength() as int

myMCImmutableStringReader.getRemainingLength();
getString

Return Type: string

ZenScript
Copy
// MCImmutableStringReader.getString() as string

myMCImmutableStringReader.getString();
getTotalLength

Return Type: int

ZenScript
Copy
// MCImmutableStringReader.getTotalLength() as int

myMCImmutableStringReader.getTotalLength();
peek

Return Type: char

ZenScript
Copy
// MCImmutableStringReader.peek() as char

myMCImmutableStringReader.peek();
peek

Return Type: char

ZenScript
Copy
MCImmutableStringReader.peek(arg0 as int) as char
ParameterTypeDescription
arg0intNo Description Provided