Releases: ChatTriggers/ChatTriggers
Releases Β· ChatTriggers/ChatTriggers
2.2.1
- 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 modulesmenu (@NoahTheNerd)
2.2.0
- Added extra parameter to
Image.fromUrlto control the cached image name - Added
FileLib.{encodeBase64,decodeBase64}(@Debuggingss) - Added
Gui.register{Opened,Closed}(@DalwynWasTaken) - Added
Player.isMoving(@realfork) - Added ability to filter the class type using
.setFilteredClass(Class)for the following triggers:renderEntity,postRenderEntity,renderTileEntity,postRenderTileEntity(@Marvinschs) - Added a top-level
NBThelper to make parsing NBT easier (@camnwalter) - Added
KeyBind.{unregisterKeyPress,unregisterKeyRelease,unregisterKeyDown}()(@Marvinschs) - Added
Display.{unregisterClicked,unregisterHovered,unregisterMouseLeave,unregisterDragged}()(@Marvinschs) - Added ability to pass
Class<*>objects which inherit from Forge'sEventclass into the first parameter ofregister. This allows you to register for arbitrary events. - Show module dependencies on the module graph GUI (@camnwalter)
- Fixed step trigger firing a bunch of extra times when registering it after a call to unregister.
- Fixed links in
TextComponentinstances not being clickable (@camnwalter ) - Fixed
ChatLib.saynot triggeringmessageSent(@Debuggingss) - Fixed not being able to
/ct loadafter a/ct unload(@camnwalter) - Fixed not having to manually
/ct loadafter importing a module with a .jar file (@camnwalter)
2.1.5
- Added
Image.destroy()to clean up an image's texture from memory (@Soopyboo32) - Added
Image(java.io.File)(@Squagward) - Added a method to perform class filtering for packet triggers:
register('packetSent', () => {}).setPacketClass(MyPacketClass.class); register('packetSent', () => {}).setPacketClasses([A.class, B.class, C.class]);
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
Additions
- Added
Display::setRegisterType("RENDER_OVERLAY_EVENT" | "POST_GUI_RENDER_EVENT")to control when the GUI draws (@DalwynWasTaken) - Added
Particle::getColor()(@Debuggingss) - Added
FileLib::{delete,deleteDirectory}()(@Squagward) - Added
Client.currentGui.getSlotUnderMouse(), which returns a new CTSlotwrapper class (@appable0) - Added
Item::{setName, setLore}()(@Squagward) - Added support for newlines in
Renderer.drawStringWithShadow(@Squagward) - Added
Client.connect(ip: String)(@Squagward) - Added
endargument toprintso the newline can be omitted (@Debuggingss)- E.g.:
print('a string', '')
- E.g.:
- New triggers:
renderTitle(title: String, subtitle: String, event: Event)triggers when a title is drawn to the screen (@Squagward)renderSlot(slot: Slot, gui: GuiContainer, event: Event)triggers when a slot is being drawn (@appable0)renderItemIntoGui(item: Item, x: Int, y: Int, event: Event)triggers when an item is drawn into a gui (@appable0)renderItemOverlayIntoGui(item: Item, x: Int, y: Int, event: Event)triggers when an item overlay (stack count/damage) is drawn into a gui (@appable0)renderHand(event: Event)triggers for the hand drawing, can be cancelled (@Squagward)
Fixes/Changes:
- Media keys no longer trigger all keybinds (@Squagward)
chatComponentClickedno longer triggers more often than it should (@Squagward)- A criteria now counts as formatted if it contains the
Β§character (@Squagward) - Deleting modules with jar files is now possible (@Squagward)
gameLoadnow properly triggers on game load (previously it would only trigger on/ct load) (@Debuggingss)- Fixed cast error in
Sound(@Squagward) - Removed unused
/generatebindingscommand and associated logic (@Debuggingss) - Fixed slots being incorrect for certain GUIs (@Squagward)
- Enable color in the console by default (@Debuggingss)
2.0.4
Additions:
- Add
renderScoreboardtrigger (@Squagward) - Add
Scoreboard.setTitle(@Squagward) - Add
Player{,MP}.getTeam()(@Squagward) - Add
World.stopAllSounds()(@Squagward) - Add
NBTTagList.insertTag()(@Squagward) - Add
Scoreboard.getScoreboard() andScoreboard.getSidebar()(@Squagward) - Add a bunch of
NBTTagCompoundsetters (@Squagward) - Add ability for
Displayto usepostGuiRendertrigger (@DalwynWasTaken)
Changes:
DisplayLine.addLinenow returns itself for method chaining (@DalwynWasTaken)
Fixes:
- Fixed invokeJS (@Squagward)
- Only trigger
Guiscroll when open, fix NPE (@Squagward) - Fixed
Soundcast error (@Squagward) - Fixed
Displayclicking/dragging when using alignment (@Squagward)