BracketValidators

Link to bracketvalidators

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
描述
No Description Provided

Link to validateBlockMaterialBracket

Name: validateBlockMaterialBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateBlockMaterialBracket(tokens as string) as boolean
参数类型描述
参数
tokens
类型
string
描述
No Description Provided

Link to validateBlockStateMaterialBracket

Name: validateBlockStateMaterialBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateBlockStateMaterialBracket(tokens as string) as boolean
参数类型描述
参数
tokens
类型
string
描述
No Description Provided

Link to validateCreativeModeTabBracket

Name: validateCreativeModeTabBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateCreativeModeTabBracket(tokens as string) as boolean
参数类型描述
参数
tokens
类型
string
描述
No Description Provided

Link to validateEffectBracket

Name: validateEffectBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEffectBracket(tokens as string) as boolean
参数类型描述
参数
tokens
类型
string
描述
No Description Provided

Link to validateEnchantment

Name: validateEnchantment

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEnchantment(tokens as string) as boolean
参数类型描述
参数
tokens
类型
string
描述
No Description Provided

Link to validateEntityType

Name: validateEntityType

Return Type: boolean

ZenScript
Copy
BracketValidators.validateEntityType(tokens as string) as boolean
参数类型描述
参数
tokens
类型
string
描述
No Description Provided

Link to validateItemBracket

Name: validateItemBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateItemBracket(tokens as string) as boolean
参数类型描述
参数
tokens
类型
string
描述
No Description Provided

Link to validateProfessionBracket

Name: validateProfessionBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateProfessionBracket(tokens as string) as boolean
参数类型描述
参数
tokens
类型
string
描述
No Description Provided

Link to validateResourceBracket

Name: validateResourceBracket

Return Type: boolean

ZenScript
Copy
BracketValidators.validateResourceBracket(tokens as string) as boolean
参数类型描述
参数
tokens
类型
string
描述
No Description Provided

Link to validateSoundEvent

Name: validateSoundEvent

Return Type: boolean

ZenScript
Copy
BracketValidators.validateSoundEvent(tokens as string) as boolean
参数类型描述
参数
tokens
类型
string
描述
No Description Provided