NBT Editor

NBT Editor

Mod

Edit and store items in-game.

Client StorageUtility

15.5k downloads
110 followers
Created2 years ago
Updated3 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter versions...
Filter channels...

Main Features:

  • NBT Autocomplete integration - when that mod is also installed, you will now get NBT suggestions, including tag names (use alt to navigate the dropdown in multi-line fields)
  • Color selector for custom colors, instead of just a hex input
  • Customizable command aliases (in /nbt config), with built in "extreme aliases" - one or two character aliases
  • Item size tooltip - shows the bytes/kb/mb/gb of an item (must be enabled in /nbt config)
  • Unbreakable itemfactory (/itemfactory unbreakable, /if ub)
  • Container support for chiseled bookshelves, suspicious sand & gravel, and decorated pots
  • Glowing signs color dropdown
  • Client chest pages can now be named
  • /clientchest now can take the page number or a page name as an argument
  • Page Up and Page Down keys now can be used to navigate the client chest, with Shift for jumping (use /nbt config to inverse the keys)
  • Made scrollbars better and added them to the multi-line text fields
  • Cancel option for the shortcuts and aliases config
  • The max scroll speed is now 10, and defaults to 5 (instead of a max of 2 with 1 default)
  • Xantrisse has been keeping pl_pl up to date!

 

Bug Fixes:

  • Fixed crash when joining a world in 1.19.3-1.20.1 (Issue #76)
  • Fixed crash when scrolling over non-scrollable elements (Issue #74)
  • Fixed crash when rendering block tooltip from the EssentialsGUI mod (Issue #56)
  • Fixed the background of GUIs being too dark in newer versions
  • 1.20.3 & 1.20.4 Support
  • Polish (pl_pl) by Xantrisse updated
  • Fixed commands not working in 1.20.2
  • 1.20.2 Support
  • Fixed error in the HeadRefreshThread (hdb) if the thread has been frozen for a while
  • Simplified Chinese (zh_cn) translation by hyplant
  • Polish (pl_pl) translation by Xantrisse

Adds 1.20.2 support provided by shaijana!

This version DOES NOT support any other version of Minecraft.

Main Features:

  • 1.20 & 1.12.1 support
  • Now allows NaNf, Infinityd, etc. in nbt editor (which doesn't match /data: MC-200070); config option to disable
  • Config screen is now organized

 

Bug Fixes:

  • Fixed a crash when editing command group shortcuts outside of a world (via modmenu)
  • Fixed group command shortcuts not ticking
  • Fixed tooltips in config when using dropdowns

 

Noteworthy Code Base Changes (for API users):

  • Version has been completely redone, so you should use Version.newSwitch() since it is no longer an enum
  • Classes named MultiVersion[...] are now MV[...]
  • MainUtil has had many methods moved into ItemReference and the new TextUtil
  • Use NBTEditorAPI.registerConfigItem(Consumer<ConfigCategory>) to add to and create new config sub-categories
  • I'm now regularly commiting and pushing so you can access the latest in-development versions on Github (download the Artifacts.zip for a compiled version)

NOTE: Minecraft 1.20 support will come in a follow up v1.12.1

 

Main Features:

  • 1.17 support
  • Display editor: A gui for item names and lore via /itemfactory display. The name, lore, and hideflags item factories have been moved to /itemfactory display <name | lore | hideflags>
  • Book editor: A gui for custom written books via /itemfactory book [new]
  • Sign editor: A gui for custom signs via /itemfactory signboard [new <type>] (sign is already taken as an alias of signature)
  • Importing images (drag onto inventory for item with image lore, drag onto display editor to add to an existent item, drag onto book editor to embed into a page)
  • Tooltip overflow fix: Automatically moves and scales tooltips to stay within the screen, useful for viewing lore images (can be disabled in config)
  • Find & replace: Multi-line text fields (including the new formatted text fields) support Ctrl+F, including RegEx
  • No armor restriction: Allows placing non-armor items into armor slots (must be enabled in the config) - was already possible by editing armor items, but this makes it easier
  • Corrupt client chest pages are now backed up with a warning
  • /items has been removed in favor of the /open alias

 

Bug Fixes:

  • Fixed incompatibility with the clientcommands mod, causing a crash in some versions of Minecraft
  • Fixed command syntax errors showing %s instead of information
  • Fixed slots sometimes being referenced incorrectly (eg. space on armor opening a hotbar slot) in older Minecraft versions
  • Fixed the offhand slot being referenced incorrectly
  • Fixed /itemfactory display lore list, then clicking on a line, showing JSON instead of the currently configured text mode
  • Fixed the text format system not allowing multiple formats at the same time (eg. bold and italic)
  • Fixed item tooltips appearing underneath the page text field and logo in the client chest
  • Fixed crash when hitting enter in a string input field if the input is invalid
  • Fixed bottom right slot of a container being uneditable in some scenarios
  • Fixed the save indication not waiting for a parent save to finish (eg. a sub-container within the client chest should wait for the client chest page to finish saving)
  • Fixed client chest save errors not showing an error in chat
  • Fixed closing the client chest or container view right after moving something into your inventory creating a ghost item
  • Fixed deleting characters in multi-line text fields not adding an undo entry, so you couldn't Ctrl+Z just that edit
  • Fixed a warning in the console about CommandExecutionC2SPacketMixin when launching in older versions
  • Fixed the bridge library being loaded when launching the game causing a crash, making the mod incompatible with the feather launcher
  • Fixed expanding an opened string causing the string to be replaced with the non-string version (eg. NbtString '{"text":"test"}' => NbtCompound {"text":"test"})
  • Fixed crash when editing the display.Name tag if the name field at the top of the screen was scrolled over more than the new name length
  • Fixed text fields being edited from the bottom of the screen up causing the lower ones to appear focused in some guis
  • Fixed text field selection highlights not appearing on the text field in some guis
  • Fixed the cursor in some text fields not blinking

 

Noteworthy Code Base Changes (for API users):

  • ItemReference has been refactored, which allows you to create custom ItemReference types (meaning some enderchest mod could allow editing enderchest items directly for example)
  • ClientContainerScreen is now called ClientHandledScreen
  • the screens package has been sorted into sub-packages

Main Features:

  • Now supports 1.19.4
  • An itemfactory gui, which is accessible via the Shift + Space keybind or the button in the top right of all factories
  • /nbt export file and screenshots now have [Open Folder] and [Delete] buttons (you can disable the buttons on screenshots in /nbt config)
  • /nbt export file now includes the name of the item in the file name along with the timestamp
  • /nbt export file <name> allows you to specify the name of the file
  • Compatible enchantments are highlighted and sorted to the top of the dropdowns in the enchantments itemfactory
  • The enchantment itemfactory now handles multiple entries of the same enchantment
  • Shift-clicking the duplicate option on lists allows you to duplicate something a specified number of times

 

Bug Fixes:

  • Lots of incompatibilities with other mods relating to the CreativeTab feature of the API
  • Bundles are now treated as containers (you can open them with Ctrl + Space)
  • The chat limit extension now works properly in 1.19.3+
  • Fixed sliders sometimes randomly stopping sliding
  • Fixed the tooltip rendering conflict with Enchantment Descriptions that caused the descriptions to appear in the wrong place
  • Fixed the nbt formatter acting strangely when quotes were used around key names
  • Fixed getting disconnected or having an item overwritten when receiving some invalid slot change packets when the client chest or container menu was open

Main Features:

  • /get lostitem history: View your cursor's history, in case you delete an item or it glitches out
  • /nbt export file: Export an item into a .nbt file
  • Drag .nbt files onto any inventory screen to get the item
  • Drag .nbt files into the editor screen to add the contents of the file
  • An API for modders looking to add their own features to the mod
  • A config option for unlimited client chest pages, which has some advantages and some drawbacks
  • Convert written books back into writable books by opening them and clicking the "Make Writable" button
  • When there is a new update, the NBT Editor icon will display "Update Available"
  • There are now three dots on the list entries' bar, signaling the existence of a previously not well known menu

 

Bug Fixes:

  • Fixed the key in the editor being unselected when clicking the value field or expand, in 1.19.3
  • Fixed /get hdb sometimes freezing the game indefinitely - it may still cause a brief freeze right after startup, but this is unlikely
  • Fixed clicking the same locked item twice causing it to be removed as if it wasn't locked
  • Fixed rapidly adding two items to the client chest and then switching pages causing the second item to not be saved, when the page contains lots of data
  • Fixed the /get help itemfactory command not showing information for the signature itemfactory
  • Fixed a crash in the editor, where changing the count to empty and then changing the id crashed the game
  • Now supports 1.19.3
  • The update checker config option now supports specifying large updates (1.5, 1.6, etc.) or small updates (1.6.0, 1.6.2, etc.)
  • An unusual crash in 1.18.* relating to text is now fixed

Main Features:

  • Now supports 1.18
  • /nbt export <give|get|cmdblock>, which allows you copy a command or get a command block to receive the item you're currently holding
  • The expand button in the editor now opens the value of the current path when no key is selected, allowing you to access the entire root tag at once if the path is empty
  • There is a new text format, which is used in all the text related commands (refer to /get help textformat). This can be disabled in the config, which switches to the old JSON system
  • /itemfactory name <name>, which names the item you're holding (and supports the text format)
  • /itemfactory unstackable, which gives a random UUID to the item you're holding
  • Shortcut commands, which can be enabled in the config (/nbt config). This allows you to, for example, run /lore instead of /itemfactory lore

 

Small Features:

  • The config menu now uses the standard menu format (the same format the attributes and enchantment editor uses)
  • The config menu has more descriptive tooltips
  • The "Key Fix" config option has been renamed to "Mac Border Patch," and is now colored red on Mac computers
  • New Mac users have the Mac Border Patch enabled by default
  • There is now a config option to disable checking for updates
  • /signature is now an itemfactory (use /itemfactory signature to access it)

 

Bug Fixes:

  • The Mac Border Patch config option is now checked in the expand button's menu, fixing rendering
  • The rename item feature inside the NBT editor now supports navigating with arrow keys
  • /itemfactory lore's command suggestions now start with /itemfactory lore instead of /lore
  • When opening strings in the NBT editor, true and false is now converted to "true" and "false," rather than 1b and 0b, which caused issues with text

 

Technical & major code changes:

  • The language file's keys are now more consistent
  • ConfigScreen's config options have been renamed with the language file
  • Each command in /get <cmd> now has its own class in a package
  • The command system was redone to allow for shortcuts

Main Features:

  • Much more support for /open (previously only chests, barrels, and shulker boxes were supported):
    • + Trapped chests
    • + Armor stands & other spawn eggs, for armor and held items
    • + Furnaces, blast furnaces, & smokers
    • + Brewing stands
    • + Campfires & soul campfires
    • + Dispensers & droppers
    • + Hoppers
    • + Jukeboxes
    • + Lecterns
    • + Item frames & glow item frames
  • Version checker (when the game starts, the mod checks for an update)
  • /itemfactory attributes newuuids: re-randomizes the UUIDs on the attributes
  • Air editing support & a related bug fix - refer to Issue #16 for more information

 

Small Features:

  • The attributes itemfactory now has an autofill button for: the maximum value, minimum value, infinity, and negative infinity
  • The message that prompts /get lostitem now has a "Click to execute" hover event (clicking worked previously, just without the hint)
  • The client chest is now loaded asynchronously, to slightly speed up the loading time when there is a lot of data
  • [Advanced] All error outputs that used e.printStackTrace() previously now use the logger with a message for context

 

Bug Fixes:

  • Ctrl+Click no longer overrides previous enchantments, like it worked before v1.7.0. (It continued to work correctly for enchanted books specifically.)
  • The client chest's locked slots feature is now passed onto inner containers when using Ctrl+Space
  • UUIDs are now kept for unchanged attributes in the attribute itemfactory (previously every save randomized every attribute's UUID)
  • Removing all the attributes in the itemfactory now also removes the AttributesModifier tag
  • After changing the item's type in the nbt menu, previously the first action (like adding a tag) would not work

IMPORTANT: /hideflags, /max, /unbindskull, and /lore have all been moved to /itemfactory.

/removeflags (an alias for /hideflags) as been removed completely.

 

Main Features:

 - The item factory system, which includes (other than the four commands above):

    - An attribute editor

    - A block state editor (for BlockStateTag)

    - An enchantment editor (Ctrl+Click is still supported and recommended)

 - There are now scroll bars

 - You can configure the scroll speed of the mouse wheel for NBT Editor related menus (/nbteditor config)

 

Small Features:

 - The previous screen is shown underneath the confirm and text/number input dialogs

 - The text/number input dialog will now visibly disable the confirm button if the input is invalid

 - The /hideflags screen now uses the new item editor system to match with the other item factories

 

Bug Fixes:

 - Using Ctrl+Click on armor slots now works properly

 - The save button in the nbt editor will no longer flash right when you open the menu

 - The /open message has been updated to include the 27 slot requirement

 - Ctrl+Click now works with extra high level enchantments

 - When using /nbt on an item with an empty key, a confirm message to fix is shown. The message has been updated to specify that the empty key will be deleted.

 - When canceling the empty key warning, you now go back to the previous location (like the client chest), rather than closing everything

Fixes crash in 1.19.1 that prevented the game from starting.

Bug Fixes:

  • Using the backup HeadDB server now works properly
  • The HeadDB favorites system has been updated, so id changes don't mess up the favorites
  • Applying enchantments with Ctrl+Click now works in the client chest and /open menu.

External resources



Project members

mega12345mega

Owner


Technical information

License
MIT
Client side
required
Server side
unsupported
Project ID