Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
gadget

gadget

Debugger's Delight

4,763
91
Utility

Compatibility

Minecraft: Java Edition

1.21
1.20–1.20.4
1.19.2–1.19.4
1.19

Platforms

Fabric
Quilt

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki Join Discord server

Creators

BasiqueEvangelist
BasiqueEvangelist Member
Jetsparrow
Jetsparrow Member

Details

Licensed LGPL-3.0-only
Published 2 years ago
Updated last year
DescriptionChangelogVersions
All versions0.2.0+1.19.4

0.2.0+1.19.4

Auto-featured
Download
Report

Changelog

  • 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 use DefaultFieldDataHolder. The source of field info is now represented by a FieldDataSource, which is async and meant to be easy to implement. gadget provides the LocalFieldDataSource for local Java objects and RemoteFieldDataSource 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 UnwrappedPackets, which have methods for gathering search text and writing to owo-ui/plain text.
    Some helper interfaces (FieldsUnwrappedPacket for field dumped objects and LinesUnwrappedPacket) 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 an ErrorSink parameter, which accepts non-fatal errors.
    Most dumping code is now in io.wispforest.gadget.dump.{read|write}, and most client-side packet renderers are now common code
    PacketDumpReader and PacketDumpWriter 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 replaces Component#remove with a more fault-tolerant version

  • Quiltflower code now uses new HTTP client to get versions
    Should be much faster than old implementation

Dependencies

dependency-iconoωo (owo-lib) Version 0.10.6+1.19.4 is required
dependency-iconFabric API Version 0.86.1+1.19.4 is required

Files

gadget-0.2.0+1.19.4.jar(791.72 KiB) Primary
Download

Metadata

Release channel

Beta

Version number

0.2.0+1.19.4

Loaders

Fabric Quilt

Game versions

1.19.4

Downloads

173

Publication date

June 9, 2023 at 6:34 PM

Publisher

BasiqueEvangelist

BasiqueEvangelist

Member

Version ID

Modrinth is open source.

main@4b75cb8

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.