MCStringRange
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 at the very top of the file.
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;
Return Type: MCStringRange
MCStringRange.at(pos as int) as MCStringRange
Parameter | Type | Description |
---|---|---|
pos | int | No Description Provided |
Return Type: MCStringRange
MCStringRange.between(start as int, end as int) as MCStringRange
Parameter | Type | Description |
---|---|---|
start | int | No Description Provided |
end | int | No Description Provided |
Return Type: MCStringRange
MCStringRange.encompassing(a as MCStringRange, b as MCStringRange) as MCStringRange
Return Type: boolean
MCStringRange.equals(o as Object) as boolean
Parameter | Type | Description |
---|---|---|
o | Object | No Description Provided |
Return Type: string
MCStringRange.getFrom(reader as MCImmutableStringReader) as string
Return Type: string
MCStringRange.getFrom(string as string) as string
Parameter | Type | Description |
---|---|---|
string | string | No Description Provided |