File Details
1.1.0+1.14
- R
- May 11, 2019
- 247.99 KB
- 202
- 1.14
File Name
cotton-scripting-1.1.0+1.14.jar
Supported Versions
- 1.14
- Reorganize classes into API and Impl packages.
- Add a command to list all currently available scripting engines or check if a file extension has an available engine.
- Create a new argument type for
/scriptcommands for future script tag support (command syntax has not changed) - Convert
ScriptContext#getCommandPosition()to anint[]array to prevent the need to call obfuscated code from scripts. - Add
ScriptContext#getCallerUuid()andScriptContext#getCommandDimension()so scripts can know more about the circumstances under which they were called. - Add Javadocs to all
ScriptContextmethods, including emphasis on which methods are only usable for passthrough. - Add a new
ScriptToolsclass for more efficient methods of common uses. Included:- Methods to get localized text and localized names of registered objects.
- Methods to perform raytraces from either an etity's look vector or an arbitrary position/pitch/yaw.
- Methods to obtain command executors for other entities based on either UUID or vanilla entity target selector arguments.

