MCImmutableStringReader

This class was added by a mod with mod-id crafttweaker. So you need to have this mod installed if you want to use this feature.

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.

crafttweaker.api.commands.custom.MCImmutableStringReader

Methods

canRead

Return type: boolean

myMCImmutableStringReader.canRead();

Return type: boolean

myMCImmutableStringReader.canRead(arg0 as int);
ParameterTypeDescription
arg0intNo description provided

getCursor

Return type: int

myMCImmutableStringReader.getCursor();

getRead

Return type: String

myMCImmutableStringReader.getRead();

getRemaining

Return type: String

myMCImmutableStringReader.getRemaining();

getRemainingLength

Return type: int

myMCImmutableStringReader.getRemainingLength();

getString

Return type: String

myMCImmutableStringReader.getString();

getTotalLength

Return type: int

myMCImmutableStringReader.getTotalLength();

peek

Return type: char

myMCImmutableStringReader.peek();

Return type: char

myMCImmutableStringReader.peek(arg0 as int);
ParameterTypeDescription
arg0intNo description provided