MCImmutableStringReader

导入相关包

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.

import crafttweaker.api.commands.custom.MCImmutableStringReader;

方法

canRead

Return Type: boolean

MCImmutableStringReader.canRead() as boolean
myMCImmutableStringReader.canRead();

Return Type: boolean

MCImmutableStringReader.canRead(arg0 as int) as boolean
参数类型描述
arg0intNo Description Provided

getCursor

Return Type: int

MCImmutableStringReader.getCursor() as int
myMCImmutableStringReader.getCursor();

getRead

Return Type: string

MCImmutableStringReader.getRead() as string
myMCImmutableStringReader.getRead();

剩余时间

Return Type: string

MCImmutableStringReader.getRemaining() as string
myMCImmutableStringReader.getRemaining();

getRemaining长度

Return Type: int

MCImmutableStringReader.getRemainingLength() as int
myMCImmutableStringReader.getRemainingLength();

getString #获取字符串

Return Type: string

MCImmutableStringReader.getString() as string
myMCImmutableStringReader.getString();

getTotalLength

Return Type: int

MCImmutableStringReader.getTotalLength() as int
myMCImmutableStringReader.getTotalLength();

宠物

Return Type: char

MCImmutableStringReader.peek() as char
myMCImmutableStringReader.peek();

Return Type: char

MCImmutableStringReader.peek(arg0 as int) as char
参数类型描述
arg0intNo Description Provided