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
Copy
import crafttweaker.api.BracketValidators;

Link to validateBlockBracket

Name: validateBlockBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateBlockBracket(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string

Link to validateBlockMaterialBracket

Name: validateBlockMaterialBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateBlockMaterialBracket(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string

Link to validateBlockStateMaterialBracket

Name: validateBlockStateMaterialBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateBlockStateMaterialBracket(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string

Link to validateCreativeModeTabBracket

Name: validateCreativeModeTabBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateCreativeModeTabBracket(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string

Link to validateEffectBracket

Name: validateEffectBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEffectBracket(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string

Link to validateEnchantment

Name: validateEnchantment

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEnchantment(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string

Link to validateEntityType

Name: validateEntityType

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEntityType(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string

Link to validateItemBracket

Name: validateItemBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateItemBracket(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string

Link to validateProfessionBracket

Name: validateProfessionBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateProfessionBracket(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string

Link to validateResourceBracket

Name: validateResourceBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateResourceBracket(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string

Link to validateSoundEvent

Name: validateSoundEvent

Return Type: boolean

ZenScript
Copy
BracketValidators.validateSoundEvent(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string

Link to validateTargetingStrategy

Name: validateTargetingStrategy

Return Type: boolean

ZenScript
Copy
BracketValidators.validateTargetingStrategy(tokens as string) as boolean
ПараметрТип
Параметр
tokens
Тип
string