Releases: wisp-forest/gadget
0.2.4+1.21
- Updated to 1.21
- Support for the old dump format (which for a long time hasn't been used) has been removed
- NBT locking has been removed
- The NBT inspector has been adapted to fit item stack components
0.2.3+1.20.3
Straight-forward port to 1.20.3/1.20.4.
0.2.3+1.20.2
0.2.2+1.20.2
Mostly a port to 1.20.2. Big thank you to Kas-tle for helping with porting!
As the 1.20.2 networking changes hit gadget pretty hard, this version has been initially released as beta.
Expect bugs!
- Tab now works in the NBT inspector
0.2.2+1.20
- Added loud chat logging
Run/gadget chat-log enable logger-name
to forward all messages from that logger to the in-game chat! - Basic item NBT locking support
Item stack NBT will be locked while running methods that shouldn't mutate it
Changing item stack NBT while locked will cause a crash - (Block)entity client data can now always be viewed on the client, even if the server doesn't have gadget installed
- Searching in the field inspector screen should work again
- Compatibility with Krypton should hopefully be fixed
- Dumped packets now show the time at which they were sent relative to the start of the dump
- Packets can now be visually collapsed in the dump screen
- Stacks with non-null empty NBT now have a special tooltip
- Add tag button no longer appears in NBT inspector when client doesn't have enough permissions
0.2.1+1.20
- Ported to 1.20.1.
- Added support for flushing dump file on JVM exit and after packet write (#21)
- Dump reader now fails soft on IOException
0.2.0+1.19.4
-
Field data inspection system has been completely rewritten
The base abstract class that holds a field data tree is
FieldDataHolder
, which is generic over the node type.
If you don't need custom functionality in nodes (for example, in packet dumping), you can useDefaultFieldDataHolder
.
The source of field info is now represented by aFieldDataSource
, which is async and meant to be easy to implement.
gadget provides theLocalFieldDataSource
for local Java objects andRemoteFieldDataSource
is used internally for field data screen.The network format has also been changed to also support sending errors back to the client.
-
Packet dumping has been completely rewritten
Packet parsing is now done based on a system of
UnwrappedPacket
s, which have methods for gathering search text and writing to owo-ui/plain text.
Some helper interfaces (FieldsUnwrappedPacket
for field dumped objects andLinesUnwrappedPacket
) are provided to help with implementing custom packets.DumpedPacket
can have arbitrary context data (which is now used for search and rendered component data), and all events now take anErrorSink
parameter, which accepts non-fatal errors.
Most dumping code is now inio.wispforest.gadget.dump.{read|write}
, and most client-side packet renderers are now common code
PacketDumpReader
andPacketDumpWriter
have been added as nice objects for reading and writing packet dumps -
Field dumps and packet dumps can now be exported to a user-readable format
Packet and field dumps can be exported to plain text, and field dumps can also be exported to JSON
An example of a plain text packet dump is https://gist.github.com/BasiqueEvangelist/b516f7acf6e6c826ac252301e57a3750
Additionally, the new packet dump and field data holder interfaces support writing these dumps -
Added bytes field object
Used to represent byte arrays and byte buffers. Displayed as a hexdump instead of a list of byte values. -
Complex field objects now track recursion
-
SynchronizeRecipesS2CPacket
is now represented as a gadget fake packet that doesn't break whenever a recipe is missing -
Dump stats screen improvements:
A progress toast is now used to track loading progress.
Additionally, a back button added to sidebar. -
Added experimental owo-ui error check option
Right now, this just replacesComponent#remove
with a more fault-tolerant version -
Quiltflower code now uses new HTTP client to get versions
Should be much faster than old implementation
0.1.7+1.19.2 Hotfix
Hotfix narrator mixins after Mojang replaced the TTS library
0.1.8-hotfix+1.19.4
Hotfix narrator mixins after Mojang hotpatched TTS
0.1.8+1.19.4
Updated to 1.19.4.
Also includes a small rewrite of packet dumping that makes bundle packets work and write errors not crash the game.