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();

残りの取得

Return type: String

myMCImmutableStringReader.getRemaining();

getRemainingLength

Return type: int

myMCImmutableStringReader.getRemainingLength();

getString

Return type: String

myMCImmutableStringReader.getString();

取得総長さ

Return type: int

myMCImmutableStringReader.getTotalLength();

のぞき見る

戻り値の型: char。

myMCImmutableStringReader.peek();

戻り値の型: char。

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