BracketValidators
Link to bracketvalidators
Импорт класса
Link to импорт-класса
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 Copyimport crafttweaker.api.BracketValidators;
Static Methods
Link to static-methods
Name: validateBlockBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateBlockBracket(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |
Name: validateBlockMaterialBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateBlockMaterialBracket(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |
Name: validateBlockStateMaterialBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateBlockStateMaterialBracket(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |
Name: validateCreativeModeTabBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateCreativeModeTabBracket(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |
Name: validateEffectBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateEffectBracket(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |
Name: validateEnchantment
Return Type: boolean
ZenScript CopyBracketValidators.validateEnchantment(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |
Name: validateEntityType
Return Type: boolean
ZenScript CopyBracketValidators.validateEntityType(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |
Name: validateItemBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateItemBracket(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |
Name: validateProfessionBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateProfessionBracket(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |
Name: validateResourceBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateResourceBracket(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |
Name: validateSoundEvent
Return Type: boolean
ZenScript CopyBracketValidators.validateSoundEvent(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |
Name: validateTargetingStrategy
Return Type: boolean
ZenScript CopyBracketValidators.validateTargetingStrategy(tokens as string) as boolean
Параметр | Тип |
---|---|
Параметр tokens | Тип string |