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 Copyimport crafttweaker.api.BracketValidators;
Static Methods
Link to static-methods
Name: validateBlockBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateBlockBracket(tokens as string) as boolean
Parameter | Type |
---|---|
Parameter tokens | Type string |
Name: validateBlockStateMaterialBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateBlockStateMaterialBracket(tokens as string) as boolean
Parameter | Type |
---|---|
Parameter tokens | Type string |
Name: validateEffectBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateEffectBracket(tokens as string) as boolean
Parameter | Type |
---|---|
Parameter tokens | Type string |
Name: validateEnchantment
Return Type: boolean
ZenScript CopyBracketValidators.validateEnchantment(tokens as string) as boolean
Parameter | Type |
---|---|
Parameter tokens | Type string |
Name: validateEntityType
Return Type: boolean
ZenScript CopyBracketValidators.validateEntityType(tokens as string) as boolean
Parameter | Type |
---|---|
Parameter tokens | Type string |
Name: validateItemBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateItemBracket(tokens as string) as boolean
Parameter | Type |
---|---|
Parameter tokens | Type string |
Name: validateProfessionBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateProfessionBracket(tokens as string) as boolean
Parameter | Type |
---|---|
Parameter tokens | Type string |
Name: validateResourceBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateResourceBracket(tokens as string) as boolean
Parameter | Type |
---|---|
Parameter tokens | Type string |
Name: validateSoundEvent
Return Type: boolean
ZenScript CopyBracketValidators.validateSoundEvent(tokens as string) as boolean
Parameter | Type |
---|---|
Parameter tokens | Type string |
Name: validateTargetingStrategy
Return Type: boolean
ZenScript CopyBracketValidators.validateTargetingStrategy(tokens as string) as boolean
Parameter | Type |
---|---|
Parameter tokens | Type string |