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

at

Return type: crafttweaker.api.commands.custom.MCStringRange

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

between

Return type: crafttweaker.api.commands.custom.MCStringRange

crafttweaker.api.commands.custom.MCStringRange.between(start as int, end as int);
ParameterTypeDescription
startintNo description provided
endintNo description provided

encompassing

Return type: crafttweaker.api.commands.custom.MCStringRange

crafttweaker.api.commands.custom.MCStringRange.encompassing(a as 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
readercrafttweaker.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();