MCStringRange

Diese Klasse importieren

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.

ZenScript
Copy
import crafttweaker.api.commands.custom.MCStringRange;

Methoden

at

Return Type: MCStringRange

ZenScript
Copy
MCStringRange.at(pos as int) as MCStringRange
ParameterTypeBeschreibung
posintNo Description Provided
between

Return Type: MCStringRange

ZenScript
Copy
MCStringRange.between(start as int, end as int) as MCStringRange
ParameterTypeBeschreibung
anfangenintNo Description Provided
endeintNo Description Provided
encompassing

Return Type: MCStringRange

ZenScript
Copy
MCStringRange.encompassing(a as MCStringRange, b as MCStringRange) as MCStringRange
ParameterTypeBeschreibung
aMCStringRangeNo Description Provided
bMCStringRangeNo Description Provided

Methoden

equals

Return Type: boolean

ZenScript
Copy
MCStringRange.equals(o as Object) as boolean
ParameterTypeBeschreibung
oObjectNo Description Provided
getEnd

Return Type: int

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

Return Type: string

ZenScript
Copy
MCStringRange.getFrom(reader as MCImmutableStringReader) as string
ParameterTypeBeschreibung
readerMCImmutableStringReaderNo Description Provided
getFrom

Return Type: string

ZenScript
Copy
MCStringRange.getFrom(string as string) as string
ParameterTypeBeschreibung
stringstringNo Description Provided
getLength

Return Type: int

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

Return Type: int

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

Return Type: int

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

Return Type: boolean

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

Return Type: string

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