MCStringRange

Импорт класса

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

Methods

at

Return Type: MCStringRange

MCStringRange.at(pos as int) as MCStringRange
ПараметрТипDescription
posintNo Description Provided
between

Return Type: MCStringRange

MCStringRange.between(start as int, end as int) as MCStringRange
ПараметрТипDescription
стартintNo Description Provided
конецintNo Description Provided
encompassing

Return Type: MCStringRange

MCStringRange.encompassing(a as MCStringRange, b as MCStringRange) as MCStringRange
ПараметрТипDescription
аMCStringRangeNo Description Provided
тMCStringRangeNo Description Provided

Methods

equals

Return Type: boolean

MCStringRange.equals(o as Object) as boolean
ПараметрТипDescription
oObjectNo Description Provided
getEnd

Return Type: int

MCStringRange.getEnd() as int
myMCStringRange.getEnd();
getFrom

Return Type: string

MCStringRange.getFrom(reader as MCImmutableStringReader) as string
ПараметрТипDescription
readerMCImmutableStringReaderNo Description Provided
getFrom

Return Type: string

MCStringRange.getFrom(string as string) as string
ПараметрТипDescription
stringstringNo Description Provided
getLength

Return Type: int

MCStringRange.getLength() as int
myMCStringRange.getLength();
getStart

Return Type: int

MCStringRange.getStart() as int
myMCStringRange.getStart();
hashCode

Return Type: int

MCStringRange.hashCode() as int
myMCStringRange.hashCode();
isEmpty

Return Type: boolean

MCStringRange.isEmpty() as boolean
myMCStringRange.isEmpty();
toString

Return Type: string

MCStringRange.toString() as string
myMCStringRange.toString();