BracketValidators
Link to bracketvalidators
Importare la Classe
Link to importare-la-classe
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
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |
Name: validateBlockMaterialBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateBlockMaterialBracket(tokens as string) as boolean
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |
Name: validateBlockStateMaterialBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateBlockStateMaterialBracket(tokens as string) as boolean
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |
Name: validateCreativeModeTabBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateCreativeModeTabBracket(tokens as string) as boolean
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |
Name: validateEffectBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateEffectBracket(tokens as string) as boolean
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |
Name: validateEnchantment
Return Type: boolean
ZenScript CopyBracketValidators.validateEnchantment(tokens as string) as boolean
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |
Name: validateEntityType
Return Type: boolean
ZenScript CopyBracketValidators.validateEntityType(tokens as string) as boolean
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |
Name: validateItemBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateItemBracket(tokens as string) as boolean
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |
Name: validateProfessionBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateProfessionBracket(tokens as string) as boolean
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |
Name: validateResourceBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateResourceBracket(tokens as string) as boolean
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |
Name: validateSoundEvent
Return Type: boolean
ZenScript CopyBracketValidators.validateSoundEvent(tokens as string) as boolean
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |
Name: validateTargetingStrategy
Return Type: boolean
ZenScript CopyBracketValidators.validateTargetingStrategy(tokens as string) as boolean
Parametro | Tipo |
---|---|
Parametro tokens | Tipo string |