BracketHandlers
I advise against using the static methods in this class directly as they may be merged into CrT’s BEP at any point. If you need to access the Bracket Expression Parser methods dynamically, you can use
This class was added by a mod with mod-id contenttweaker
. So you need to have this mod installed if you want to use this feature.
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.
Static Methods
Gets the registered advanced CoT block. Will throw an error if the block could not be found
Returns: The found IIsCotBlock
Return Type: CoTBlockAdvanced
Parameter | Type | Description |
---|---|---|
Parameter tokens | Type string | Description What you would createDataCompound in the BEP call |
Gets the registered advanced CoT item. Will throw an error if the item could not be found
Returns: The found IIsCotItem
Return Type: CoTItemAdvanced
Parameter | Type | Description |
---|---|---|
Parameter tokens | Type string | Description What you would createDataCompound in the BEP call |