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

Pozostało

Return type: String

myMCImmutableStringReader.getRemaining();

Długość getPozostałości

Return type: int

myMCImmutableStringReader.getRemainingLength();

getString

Return type: String

myMCImmutableStringReader.getString();

długość getTotalLength

Return type: int

myMCImmutableStringReader.getTotalLength();

podgląd

Typ zwrotu: znak

myMCImmutableStringReader.peek();

Typ zwrotu: znak

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