MCStringRange

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.MCStringRange

Methods

戻り値の型: crafttweaker.api.commands.custom.MCStringRange

crafttweaker.api.commands.custom.MCStringRange.at(pos as int);
ParameterTypeDescription
posintNo description provided

の間

戻り値の型: crafttweaker.api.commands.custom.MCStringRange

crafttweaker.api.commands.custom.MCStringRange.between(int, end as int);
ParameterTypeDescription
開始intNo description provided
終了intNo description provided

包含すること

戻り値の型: crafttweaker.api.commands.custom.MCStringRange

crafttweaker.api.commands.custom.MCStringRange.compassing(crafttweaker.api.commands.custom.MCStringRange, b as crafttweaker.api.commands.custom.MCStringRange);
ParameterTypeDescription
acrafttweaker.api.commands.custom.MCStringRangeNo description provided
bcrafttweaker.api.commands.custom.MCStringRangeNo description provided

equals

Return type: boolean

myMCStringRange.equals(o as Object);
ParameterTypeDescription
oObjectNo description provided

get

Return type: String

myMCStringRange.get(string as String);
ParameterTypeDescription
stringStringNo description provided

Return type: String

myMCStringRange.get(reader as crafttweaker.api.commands.custom.MCImmutableStringReader);
ParameterTypeDescription
リーダーcrafttweaker.api.commands.custom.MCImmutableStringReaderNo description provided

getEnd

Return type: int

myMCStringRange.getEnd();

getLength

Return type: int

myMCStringRange.getLength();

getStart

Return type: int

myMCStringRange.getStart();

hashCode

Return type: int

myMCStringRange.hashCode();

isEmpty

Return type: boolean

myMCStringRange.isEmpty();

toString

Return type: String

myMCStringRange.toString();