Home Commands Examples Getting Started With Scripts Global Keywords
BracketDumpers BracketHandlers BracketValidators ResourceLocationBracketHandler

BracketValidators

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.api.BracketValidators;

Members

static validateBannerPattern(tokens as string) as bool
script.zs
// BracketValidators.validateBannerPattern(tokens as string) as bool;
BracketValidators.validateBannerPattern(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateBlockBracket(tokens as string) as bool
script.zs
// BracketValidators.validateBlockBracket(tokens as string) as bool;
BracketValidators.validateBlockBracket(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateBlockStateMaterialBracket(tokens as string) as bool
script.zs
// BracketValidators.validateBlockStateMaterialBracket(tokens as string) as bool;
BracketValidators.validateBlockStateMaterialBracket(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateComponentType(tokens as string) as bool
script.zs
// BracketValidators.validateComponentType(tokens as string) as bool;
BracketValidators.validateComponentType(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateEffectBracket(tokens as string) as bool
script.zs
// BracketValidators.validateEffectBracket(tokens as string) as bool;
BracketValidators.validateEffectBracket(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateEnchantment(tokens as string) as bool
script.zs
// BracketValidators.validateEnchantment(tokens as string) as bool;
BracketValidators.validateEnchantment(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateEntityType(tokens as string) as bool
script.zs
// BracketValidators.validateEntityType(tokens as string) as bool;
BracketValidators.validateEntityType(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateFluidStack(tokens as string) as bool
script.zs
// BracketValidators.validateFluidStack(tokens as string) as bool;
BracketValidators.validateFluidStack(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateInstrument(tokens as string) as bool
script.zs
// BracketValidators.validateInstrument(tokens as string) as bool;
BracketValidators.validateInstrument(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateItemBracket(tokens as string) as bool
script.zs
// BracketValidators.validateItemBracket(tokens as string) as bool;
BracketValidators.validateItemBracket(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateProfessionBracket(tokens as string) as bool
script.zs
// BracketValidators.validateProfessionBracket(tokens as string) as bool;
BracketValidators.validateProfessionBracket(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateResourceBracket(tokens as string) as bool
script.zs
// BracketValidators.validateResourceBracket(tokens as string) as bool;
BracketValidators.validateResourceBracket(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateSoundEvent(tokens as string) as bool
script.zs
// BracketValidators.validateSoundEvent(tokens as string) as bool;
BracketValidators.validateSoundEvent(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateTargetingStrategy(tokens as string) as bool
script.zs
// BracketValidators.validateTargetingStrategy(tokens as string) as bool;
BracketValidators.validateTargetingStrategy(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateTrimMaterial(tokens as string) as bool
script.zs
// BracketValidators.validateTrimMaterial(tokens as string) as bool;
BracketValidators.validateTrimMaterial(myString);

Parameters:

tokens Type: string

Return Type: bool

static validateTrimPattern(tokens as string) as bool
script.zs
// BracketValidators.validateTrimPattern(tokens as string) as bool;
BracketValidators.validateTrimPattern(myString);

Parameters:

tokens Type: string

Return Type: bool