COWMODSКаталог модов

ChatTriggers

A framework for Minecraft Forge that allows for client modifications to be scripted in JavaScript

Автор: FalseHonesty126 тыс.21обновлён 1 апр. 2025 г.
БиблиотекиУтилиты

Описание

ChatTriggers Banner

ChatTriggers is a framework for Minecraft that allows for live scripting and client modification using JavaScript.

For Users

Simply find modules you wish to use, and then import them in-game. It's as easy as that!

The 3.0.0 beta for newer versions of Minecraft is just that, a beta. There are very few modules updated to use it.

For Developers

We provide libraries, wrappers, objects and more to make your life as a modder as easy as possible. Even without the proper wrapper, you can still use exposed Minecraft methods and variables but you will need knowledge of FML mappings. The entire ChatTriggers engine is built on our custom fork of Rhino using Java 8.

Последние версии

Все версии →
release

2.2.1

2.2.1
1 апр. 2025 г.92,1 тыс.Minecraft: 1.8.9forge
Скачать
Что нового
- Fix certificate issue on older Java versions that caused issues with importing (@MisterCheezeCake) - Fix modules sometimes evaluating twice when imported from different locations - Fix trigger priorities sometimes not working correctly (@camnwalter) - Color required modules gray in the `/ct modules` menu (@NoahTheNerd)
beta

3.0.0-beta.12

3.0.0-beta.12_1.20.4-fabric
11 апр. 2024 г.4,3 тыс.Minecraft: 1.20.4fabric
Скачать
Что нового
- Completely revamped the `Scoreboard` API to be more ergonomic - `Score` is now mutable, and many methods have been added. Check the docs for more info - Added `PlayerInteraction` to provided libs - Added MIT license - Added CT module list to crash reports - Added a typings generator that produces a TypeScript definition file for the mod (see attachments) - Added support for targeting non-Minecraft classes when using mixins - Added `entityDamage` and `entityDeath` triggers - Fixed a bunch of misc bugs - Disallow cancelling `playerInteract` trigger if the action is `BreakBlock` - Calling `.register()` on a trigger more than once will now do nothing - `TextComponent` now mirrors `/tellraw` with respect to click and hover event values
beta

3.0.0-beta.11

3.0.0-beta.11_1.20.4-fabric
2 янв. 2024 г.420Minecraft: 1.20.4fabric
Скачать
Что нового
- Console now prints error causes where applicable - Fix a few more edge cases with `KeyBind` - Fix `Shape` rendering being offset by the player's position - Completely rewrite `TextComponent` - It is now immutable and much more developer-friendly. See the docs for more details - Removed `Message`; `TextComponent` now contains `chat()`/`actionBar()`/`chatLineId`/etc - Fix not parsing JS files as UTF-8 - Add a `Toast` API, which can be used to display toasts (the thing that pops up in the top right when you get an advancement) - Re-add ModMenu support
beta

3.0.0-beta.10

3.0.0-beta.10_1.20.4-fabric
2 янв. 2024 г.155Minecraft: 1.20.4fabric
Скачать
Что нового
Update to 1.20.4 and Fabric loader 0.15.3. This version should still work with old Fabric loaders.
beta

3.0.0-beta.9

3.0.0-beta.9_1.20.2-fabric
4 дек. 2023 г.469Minecraft: 1.20.2fabric
Скачать
Что нового
- Fix `Renderer.drawCircle()` causing crashes - Fix needing to call `Renderer.rotateToCamera`/`translateToPlayer` - Fix `Commands` API not converting Java objects to JS values - Fix a bunch of mapping errors - Fix `Gui` buttons not being clickable and add functions to set their text and tooltip - Fix various `KeyBind` issues - Fix not being to colorize `Item`'s rendering - Fix `ChatLib.chat()` triggering chat triggers - Fix `/ct files` on MacOS - Fix `TextComponent` not parsing its actions correctly - Add `TextComponent.setColor()` - Add ability for `Commands` to redirect to the vanilla MC command dispatcher via `Commands.redirect(Commands.getDispatcherRoot()` - Add `Renderer.lineWidth()`
beta

3.0.0-beta.9

3.0.0-beta.9_1.19.4-fabric
4 дек. 2023 г.732Minecraft: 1.19.4fabric
Скачать
Что нового
- Fix `Renderer.drawCircle()` causing crashes - Fix needing to call `Renderer.rotateToCamera`/`translateToPlayer` - Fix `Commands` API not converting Java objects to JS values - Fix a bunch of mapping errors - Fix `Gui` buttons not being clickable and add functions to set their text and tooltip - Fix various `KeyBind` issues - Fix not being to colorize `Item`'s rendering - Fix `ChatLib.chat()` triggering chat triggers - Fix `/ct files` on MacOS - Fix `TextComponent` not parsing its actions correctly - Add `TextComponent.setColor()` - Add ability for `Commands` to redirect to the vanilla MC command dispatcher via `Commands.redirect(Commands.getDispatcherRoot()` - Add `Renderer.lineWidth()`
beta

3.0.0-beta.8

3.0.0-beta.8_1.20.2-fabric
22 окт. 2023 г.205Minecraft: 1.20.2fabric
Скачать
Что нового
- Add 1.20.2 support - Rhino now treats java.util.Collection objects as JS arrays - Rhino now convert Java boxed-primitive classes to their JS equivalent primitives (i.e. converting java.lang.String into a JS string instead of a new String()) - Fix Renderer.drawLine() treating newlines incorrectly - Fix colors not working correctly in Renderer - Fix Renderer3d.drawString() not showing through walls (also added a parameter to control that behavior) - Fix Renderer text not scaling properly - Fix Inventory.getItems() sometimes causing an NPE - Fix the CT console keybinding getting reset every time the game is launched - Change the way `serverConnect`/`serverDisconnect`/`worldLoad`/`worldUnload` trigger with respect to each other. See [this commit](https://github.com/ChatTriggers/ctjs/commit/03a69cb27ccfcba773a59734108f71f32afd18ca) for more details. - Remove the general console. If you need to see chat messages for criteria, use /ct dump
beta

3.0.0-beta.8

3.0.0-beta.8_1.20.1-fabric
22 окт. 2023 г.1,9 тыс.Minecraft: 1.20.1fabric
Скачать
Что нового
- Add 1.20.2 support - Rhino now treats java.util.Collection objects as JS arrays - Rhino now convert Java boxed-primitive classes to their JS equivalent primitives (i.e. converting java.lang.String into a JS string instead of a new String()) - Fix Renderer.drawLine() treating newlines incorrectly - Fix colors not working correctly in Renderer - Fix Renderer3d.drawString() not showing through walls (also added a parameter to control that behavior) - Fix Renderer text not scaling properly - Fix Inventory.getItems() sometimes causing an NPE - Fix the CT console keybinding getting reset every time the game is launched - Change the way `serverConnect`/`serverDisconnect`/`worldLoad`/`worldUnload` trigger with respect to each other. See [this commit](https://github.com/ChatTriggers/ctjs/commit/03a69cb27ccfcba773a59734108f71f32afd18ca) for more details. - Remove the general console. If you need to see chat messages for criteria, use /ct dump
beta

3.0.0-beta.8

3.0.0-beta.8_1.19.4-fabric
22 окт. 2023 г.190Minecraft: 1.19.4fabric
Скачать
Что нового
- Add 1.20.2 support - Rhino now treats java.util.Collection objects as JS arrays - Rhino now convert Java boxed-primitive classes to their JS equivalent primitives (i.e. converting java.lang.String into a JS string instead of a new String()) - Fix Renderer.drawLine() treating newlines incorrectly - Fix colors not working correctly in Renderer - Fix Renderer3d.drawString() not showing through walls (also added a parameter to control that behavior) - Fix Renderer text not scaling properly - Fix Inventory.getItems() sometimes causing an NPE - Fix the CT console keybinding getting reset every time the game is launched - Change the way `serverConnect`/`serverDisconnect`/`worldLoad`/`worldUnload` trigger with respect to each other. See [this commit](https://github.com/ChatTriggers/ctjs/commit/03a69cb27ccfcba773a59734108f71f32afd18ca) for more details. - Remove the general console. If you need to see chat messages for criteria, use /ct dump
beta

3.0.0-beta.7

3.0.0-beta.7_1.20.1-fabric
10 окт. 2023 г.291Minecraft: 1.20.1, 1.20.2fabric
Скачать
Что нового
- Added a new `/ct migrate` command which can handle most incompatibilities when upgrading - Reverted previous merger of `Renderer` and `Tessellator`, but `Tessellator` has been renamed to `Renderer3d`. It does not necessarily have the same API, as it now holds 3D-only methods. - Fixed a few obscure Mixin issues - Removed the `parameterName` option in various Mixin objects, since it will never work outside of a dev environment - Stop converting Java `Collection`s to JS arrays. This allows `Collection` objects coming from Java to be modified - Fix `Scoreboard.getLines()` returning empty strings - Also made scoreboard functions return `TextComponent` instead of `string` - Fix custom KeyBinds not being persistent between game launches and sometimes causing crashes - Fix `Item.getLore()` triggering the Fabric tooltip event - Fix calling `.trigger()` on a custom trigger at the top level not working - Fix `messageSent` not propogating the leading `/` character if the message was a command