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

à

Type de retour : crafttweaker.api.commands.custom.MCStringRange

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

entre

Type de retour : crafttweaker.api.commands.custom.MCStringRange

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

englobant

Type de retour : 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 en tant qu'objet);
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
lecteurcrafttweaker.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();