Updates in Minescript 3.2
- Support for Minecraft versions up to 1.20.2
- Fix Forge bug where Minescript loop could run on the wrong thread and crash, and improve performance (especially with Fabric) by setting the default for
minescript_ticks_per_cycle
to run every tick rather than once every 3 ticks (79613b1) - Add script function
screen_name()
for getting the name of the currently displayed GUI screen, if any (e40d52a) - Introduce
ChatEventListener
Python class for more user-friendly handling of chat events (83dd4aa) - Support propagation of Java exceptions to Python (2c8692d)
- Support for listening for keyboard events with
KeyEventListener
Python class (b0163d3) - Fix
player_inventory_slot_to_hotbar()
"ghost items" in survival mode (c63fd27, 49ee542)
See detailed changelog.
Special thanks to TimGeel1998 and MCT32 for help debugging and fixing an issue with ghost items.