Skip to content

Releases: cigaretteclient/cigarette

Release v0.0.5-alpha

22 Nov 03:38
27b302c

Choose a tag to compare

Release v0.0.5-alpha Pre-release
Pre-release
chore: proper keybind handling and better input blocking system (#53)

* chore: move CigaretteScreen instance into Cigarette pkg

* create keybinding helper

* create Minecraft Keyboard mixin

* remove KeyBinding mod initializer

* add binding and press checks

* add input blocking methods

* add mouse blocking enabled by default when keys are blocked

* create keybind wrappers and InputBlocker class

* use new wrappers

* add mouse blocking

* add method to trigger virtual key press

* fix: wrapped keybinds do not receive events

* properly support mouse events (no scrolling)

* add virtual key holding and releasing

* fix: mouse virtual state desyncing from physical state after unblocking

* create tick helper to schedule events to occur in X ticks

* add hold/release for X ticks functionality

* chore: add javadocs to TickHelper

* chore: finish javadocs in KeybindHelper

* chore: rename keys to make sense

* add most other native keybinds

* chore: finish javadocs in MinecraftKeybind

* remove asMouse in favor of a constructor arg

* chore: finish javadocs in VirtualKeybind

* fix: missing checks on whether keybind is a mouse binding when comparing against mouse inputs

* chore: add javadocs to InputBlocker

* add methods for setting the default and current bounded key

* add registering method for virtual keybinds

* update KeybindWidget to use VirtualKeybind

* fix: pressing escape to unbind keybind closes GUI afterwards

* fix: keybinds loaded from config do not work

* remove KeyBindingAccessor and KeyboardInputMixin and update modules that used those

* fix: virtual keybinds trigger inside of GUIs

* fix crash when attempting to bridge on a mode that is disabled

* remove restriction on keys that can be bound

* fix virtual keybinds queueing events when modules are disabled

* fix: mouse events duplicate when in GUIs

Release v0.0.4-alpha

15 Aug 04:29

Choose a tag to compare

Release v0.0.4-alpha Pre-release
Pre-release
fix: build failure

Release v0.0.3-alpha

14 Aug 03:38
246f11a

Choose a tag to compare

Release v0.0.3-alpha Pre-release
Pre-release
fix: multiple dropdowns being visible at once" (#13)

* add a 'focused' property to widgets

* propagate focus through all widgets

* fix: dropdown requiring two click events to display after being hidden from an unfocus event

Release v0.0.2-alpha

11 Aug 03:50

Choose a tag to compare

Release v0.0.2-alpha Pre-release
Pre-release
fix: bed defense viewer not working on red beds or sometimes none at all

Release v0.0.1-alpha

10 Aug 03:17

Choose a tag to compare

Release v0.0.1-alpha Pre-release
Pre-release
gui system overhaul (#11)

* create dropdown widget

* create dedicated toggle widget

* add option registering to toggle widget

* add toggle raw state for boolean widgets

* add state callback to base widget

* update module wrappers to use new widget system

* fix: dropdown header must extend passthrough

* add generator for toggle widget

* add default state setter

* migrate ToggleOptionWidget references to ToggleWidget

* delete ToggleOptionWidget

* fix: state no longer loads from saved config

* fix: dropdown widget not processing mouse events

* create color dropdown widget

* use wrapper register to set dropdown configuration keys

* migrate ToggleColorWidget references to ColorDropdownWidget

* refactor: rename ColorDropdownWidget build -> buildToggle

* create buildText method for creating color dropdowns without toggles

* remove ability to register stateless widgets

* migrate ColorPickerWidget references to ColorDropdownWidget and remove the picker widget

* reimplement scrollbar margin fix

* fix: text centered causing inconsistent left margins

* fix: dropdown children not wrapped in a scrollable widget resulting in 0-width children

* fix: alpha displaying on color pickers

* remove: rootmodule no longer necessary in favor of static builders