BracketValidators
Link to bracketvalidators
导入类
Link to 导入类
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
参数 | 类型 |
---|---|
参数 tokens | 类型 string |
Name: validateBlockMaterialBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateBlockMaterialBracket(tokens as string) as boolean
参数 | 类型 |
---|---|
参数 tokens | 类型 string |
Name: validateBlockStateMaterialBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateBlockStateMaterialBracket(tokens as string) as boolean
参数 | 类型 |
---|---|
参数 tokens | 类型 string |
Name: validateCreativeModeTabBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateCreativeModeTabBracket(tokens as string) as boolean
参数 | 类型 |
---|---|
参数 tokens | 类型 string |
Name: validateEffectBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateEffectBracket(tokens as string) as boolean
参数 | 类型 |
---|---|
参数 tokens | 类型 string |
Name: validateEnchantment
Return Type: boolean
ZenScript CopyBracketValidators.validateEnchantment(tokens as string) as boolean
参数 | 类型 |
---|---|
参数 tokens | 类型 string |
Name: validateEntityType
Return Type: boolean
ZenScript CopyBracketValidators.validateEntityType(tokens as string) as boolean
参数 | 类型 |
---|---|
参数 tokens | 类型 string |
Name: validateItemBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateItemBracket(tokens as string) as boolean
参数 | 类型 |
---|---|
参数 tokens | 类型 string |
Name: validateProfessionBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateProfessionBracket(tokens as string) as boolean
参数 | 类型 |
---|---|
参数 tokens | 类型 string |
Name: validateResourceBracket
Return Type: boolean
ZenScript CopyBracketValidators.validateResourceBracket(tokens as string) as boolean
参数 | 类型 |
---|---|
参数 tokens | 类型 string |
Name: validateSoundEvent
Return Type: boolean
ZenScript CopyBracketValidators.validateSoundEvent(tokens as string) as boolean
参数 | 类型 |
---|---|
参数 tokens | 类型 string |
Name: validateTargetingStrategy
Return Type: boolean
ZenScript CopyBracketValidators.validateTargetingStrategy(tokens as string) as boolean
参数 | 类型 |
---|---|
参数 tokens | 类型 string |