BracketValidators

Link to bracketvalidators

Importare la Classe

Link to importare-la-classe

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
ParametroTipo
Parametro
tokens
Tipo
string

Link to validateBlockMaterialBracket

Name: validateBlockMaterialBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateBlockMaterialBracket(tokens as string) as boolean
ParametroTipo
Parametro
tokens
Tipo
string

Link to validateBlockStateMaterialBracket

Name: validateBlockStateMaterialBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateBlockStateMaterialBracket(tokens as string) as boolean
ParametroTipo
Parametro
tokens
Tipo
string

Link to validateCreativeModeTabBracket

Name: validateCreativeModeTabBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateCreativeModeTabBracket(tokens as string) as boolean
ParametroTipo
Parametro
tokens
Tipo
string

Link to validateEffectBracket

Name: validateEffectBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEffectBracket(tokens as string) as boolean
ParametroTipo
Parametro
tokens
Tipo
string

Link to validateEnchantment

Name: validateEnchantment

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEnchantment(tokens as string) as boolean
ParametroTipo
Parametro
tokens
Tipo
string

Link to validateEntityType

Name: validateEntityType

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEntityType(tokens as string) as boolean
ParametroTipo
Parametro
tokens
Tipo
string

Link to validateItemBracket

Name: validateItemBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateItemBracket(tokens as string) as boolean
ParametroTipo
Parametro
tokens
Tipo
string

Link to validateProfessionBracket

Name: validateProfessionBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateProfessionBracket(tokens as string) as boolean
ParametroTipo
Parametro
tokens
Tipo
string

Link to validateResourceBracket

Name: validateResourceBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateResourceBracket(tokens as string) as boolean
ParametroTipo
Parametro
tokens
Tipo
string

Link to validateSoundEvent

Name: validateSoundEvent

Return Type: boolean

ZenScript
Copy
BracketValidators.validateSoundEvent(tokens as string) as boolean
ParametroTipo
Parametro
tokens
Tipo
string