BracketValidators

Link to bracketvalidators

Importing the class

Link to 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 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
ParameterTypeDescription
Parameter
tokens
Type
string
Description
No Description Provided

Link to validateBlockMaterialBracket

Name: validateBlockMaterialBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateBlockMaterialBracket(tokens as string) as boolean
ParameterTypeDescription
Parameter
tokens
Type
string
Description
No Description Provided

Link to validateBlockStateMaterialBracket

Name: validateBlockStateMaterialBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateBlockStateMaterialBracket(tokens as string) as boolean
ParameterTypeDescription
Parameter
tokens
Type
string
Description
No Description Provided

Link to validateEffectBracket

Name: validateEffectBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEffectBracket(tokens as string) as boolean
ParameterTypeDescription
Parameter
tokens
Type
string
Description
No Description Provided

Link to validateEnchantment

Name: validateEnchantment

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEnchantment(tokens as string) as boolean
ParameterTypeDescription
Parameter
tokens
Type
string
Description
No Description Provided

Link to validateEntityType

Name: validateEntityType

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEntityType(tokens as string) as boolean
ParameterTypeDescription
Parameter
tokens
Type
string
Description
No Description Provided

Link to validateItemBracket

Name: validateItemBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateItemBracket(tokens as string) as boolean
ParameterTypeDescription
Parameter
tokens
Type
string
Description
No Description Provided

Link to validateItemGroupBracket

Name: validateItemGroupBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateItemGroupBracket(tokens as string) as boolean
ParameterTypeDescription
Parameter
tokens
Type
string
Description
No Description Provided

Link to validateProfessionBracket

Name: validateProfessionBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateProfessionBracket(tokens as string) as boolean
ParameterTypeDescription
Parameter
tokens
Type
string
Description
No Description Provided

Link to validateRecipeManagerBracket

Name: validateRecipeManagerBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateRecipeManagerBracket(tokens as string) as boolean
ParameterTypeDescription
Parameter
tokens
Type
string
Description
No Description Provided

Link to validateResourceBracket

Name: validateResourceBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateResourceBracket(tokens as string) as boolean
ParameterTypeDescription
Parameter
tokens
Type
string
Description
No Description Provided