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 g-

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 g--1

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 g--2

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 g--3

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 g--4

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 g--5

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 g--6

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 g--7

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 g--8

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 g--9

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 g--10

Name: validateResourceBracket

Return Type: boolean

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