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

en

Tipo de retorno: crafttweaker.api.commands.custom.MCStringRange

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

entre

Tipo de retorno: crafttweaker.api.commands.custom.MCStringRange

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

encombrando

Tipo de retorno: 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 como objeto);
ParameterTypeDescription
oObjectNo description provided

get

Return type: String

myMCStringRange.get(cadena como cadena);
ParameterTypeDescription
stringStringNo description provided

Return type: String

myMCStringRange.get(lector como crafttweaker.api.commands.custom.MCImmutableStringReader);
ParameterTypeDescription
lectorcrafttweaker.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();