Моды/NBT Editor
NBT Editor

NBT Editor

Edit items, blocks, and entities in-game.

82.0K
226

NBT Editor v2.0.3

release30 июня 2025 г.

Main Features:

  • 1.21.2, 1.21.3, & 1.21.4 support
  • /open now supports crafters and colored bundles
  • /open now supports chest boats (the item can't hold items, but the entity or a spawn egg works)
  • Added jukebox_playable to the hide flags GUI
  • GTedd & Clexus updated Simplified Chinese (zh_cn)
  • GTedd updated Traditional Chinese (zh_tw)
  • papa_louie09 updated Polish (pl_pl)

Text Format & Widget Features:

  • &#RRGGBB; can now be used for custom colors
  • &_ can now be used for shadow colors
  • Added [insertion]{...}(...) and [font]{...}(...)
  • Color codes no longer clear formatting
  • Invalid text format syntax no longer gives an error message
  • Use Alt to set shadow color in the widget
  • Added insertion and font buttons to the widget (Ctrl+Shift+I and Ctrl+Shift+F respectively)

Small Features:

  • Improved handling of world containers getting broken while you're editing items and containers inside
  • Changed your inventory to not show when exiting editors opened by using commands
  • Added titles and placeholders to some string input prompts
  • Made the background for the position prompt and image size prompt fill the entire screen
  • Refactored the cursor management system when opening/closing containers
    • Changed the cursor item to persist rather than being put in your inventory whenever possible
    • Factories added via the API should now always call NBTReference#(show/escape)Parent
  • Built jars now have a commit hash
  • Refactored slot index calculations
    • API users should now use SlotUtil

Bug Fixes:

  • Fixed improperly loaded registries resulting in mod conflicts (Issue #145, Issue #143, Issue #135)
  • Fixed the inventory cursor being set when requested by the server when in creative if you've opened an inventory container (should be blocked)
  • Fixed error appearing in console when exiting a world without a client_chest folder
  • Fixed not being able to edit items in a double chest
  • Fixed crash when inputting regex replacement groups with an invalid index or name
  • Fixed some inefficient reflection calls (some discovered by Thorioum)
  • Fixed /open on bundles being broken
  • Fixed /open being allowed on bundles with over 27 items
  • Fixed editing items in bundles when there are empty slots before the item causing a crash
  • Fixed containers sometimes getting cleared when exiting to the client chest
  • Fixed clicking slots in your inventory sometimes being blocked
  • Fixed broken container paths resulting in a crash
  • Fixed cursor item getting deleted sometimes when opening a client chest page that needs to be imported or updated
  • Fixed the loading screen not getting shown when it should sometimes
  • Fixed shift-clicking items out of the cursor history screen causing it to be deleted when opening the history screen again
  • Fixed items received while in a ClientHandledScreen not updating the client's view of the server inventory
  • Fixed closing the game while importing a client chest page causing it to get corrupted
  • Fixed the Clear Page button not clearing dynamic items
  • Fixed rare error encoding and decoding CreativeInventoryActionC2SPacket (fix to this seems to also fix Issue #134)
  • Fixed crash when shift-clicking locked slot in 1.17-1.20.1
  • Fixed cursor item getting placed in your inventory rather than being dropped in 1.17 (now it matches the default behavior)
  • Fixed the cursor of the page name field in the client chest screen not blinking in 1.17
  • Fixed /open on llamas modifying the tag ArmorItem instead of DecorItem in 1.17-1.20.4
  • Fixed the CloseHandledScreenC2SPacket not getting sent when starting to edit the book in a lectern
  • Fixed problems with editing a book with no pages in a lectern sometimes
  • Fixed /factory max allowing up to 32767 in 1.17.1+ (is still allowed in 1.17)
  • Fixed Re-Create Blocks & Entities causing the entities to lose their rotation
  • Fixed the buttons Edit Book and Make Writable in the book screen being visible even when you can't edit the book
  • Fixed the background of the sign editor always using the planks texture instead of stripped logs for hanging signs
  • Fixed wall signs in 1.17-1.19.4 showing an invalid texture for the background of the sign editor
  • Fixed hanging sign items not being considered signs by the sign editor in 1.19.3-1.19.4
  • Fixed /open being allowed on decorated pots in 1.20-1.20.2 (they couldn't hold items yet)
  • Fixed crash when opening the custom color picker in 1.19-1.19.4
  • Refactored menu generators
    • Renamed to nbt folders
    • Fixed /data modify ... set string being broken (Issue #131)
    • Fixed the string input when renaming tags in lists allowing non-integers and out of range integers
    • Removed NBTEditorAPI.makeMutable - this is no longer needed for editing immutable types
  • Fixed crash when creating a hover event in 1.20.3-1.20.4 (Issue #140)
  • Fixed crash when setting blockstate properties to unset (Issue #144)
  • Fixed crash/problems with the open_file click event action by removing it from the GUI

NBT Editor v2.0.2

release20 ноября 2024 г.

NOTE: The minimum Fabric Loader version is now 0.16.0

Main Features:

  • 1.21 & 1.21.1 support
  • Refactored the client chest
  • Refactored locked slots
    • Added red highlighting to some locked slots, including the unused slots in /open
  • Made the Delete key delete items, including locked items (to recover use /get lostitem history)
  • Added the Minecraft version the client chest pages are saved in to the updater screen
  • Added a warning when updating client chest pages to 1.20.5 & 1.20.6, which have updating-related bugs
  • Hid the tooltip on the background stained glass panes in /get hdb (only for 1.20.5+)
  • Kulihrasek1101 added a Czech translation (cs_cz)
  • dirtTW added a Traditional Chinese translation (zh_tw)
  • Xantrisse updated Polish (pl_pl)
  • Clexus updated Simplified Chinese (zh_cn)
  • RedVortexDev updated Hebrew (he_il)

Bug Fixes:

  • Fixed closing/crashing the game while saving or updating a client chest page causing it to get corrupted
  • Fixed /clientchest <page> limiting to 100 when switching to the large client chest mode without relaunching
  • Fixed strange handling of page names on pages above 100 while in the small client chest mode
  • Fixed lack of thread safety in the client chest
  • Fixed locked slot bugs, including the handling of quick moves (Ctrl+Click)
  • Fixed log spam when editing the type of an item contained within a block or entity's NBT
  • Fixed donkeys & llamas not automatically getting Chested: 1b added while using /open
  • Fixed memory leak (Issue #125)
  • Fixed the "Make Writable" button in written books not disappearing after pressing sometimes
  • Fixed error when running /factory maxstacksize default on items without the minecraft:max_stack_size component
  • Fixed crash when navigating to a page <= 0 in the /get hdb GUI
  • Fixed crash when editing items in world containers in 1.17
  • Fixed slots becoming unclickable when No Slots Restrictions is enabled on servers without NBT Editor installed (Issue #112)
  • Fixed /get hdb showing an exception when calling any of the subcommands before Head Database is loaded (Issue #117)
  • Fixed Ctrl+F in the expanded NBT screen not handling some types of key presses properly (Issue #119)
  • Fixed scrolling GUIs rendering incorrectly on Mac (replaces the "Mac Border Patch" config option with a full fix) (Issue #6)
  • Fixed rendering some tooltips on some Macs causing a crash
  • Fixed crash when opening the text event editor in <= 1.20.2

NBT Editor v2.0.1

release4 августа 2024 г.

NOTE: https://github.com/mega12345mega/NBT-Editor/wiki/Updating-the-Client-Chest

Main Features:

  • 1.20.5 & 1.20.6 Support
  • Added a DataVersion tag to the client chest and exported .nbt files
  • Added an updater tool to the client chest and DataVersion field in /nbt import for .nbt files without the tag
    • Added functions to the API to update NBT
  • Added container support for horse variations (donkey, llama, camel, etc.)
  • Added a config option to change the position of the additional tabs (client chest, enderchest) for JEI compatibility (Issue #58)
  • inon13 added a Hebrew translation (he_il)
  • hyplant updated Simplified Chinese (zh_cn)
  • Xantrisse updated Polish (pl_pl)

Small Features & Changes:

  • Changed the inventory keybind, when used in the container screens, to go back to the previous container rather than up to the parent container
  • Changed the no armor restriction config to be no slot restriction, which now applies to shulker boxes and the horse screen rather than always being enabled for them
  • Added toolips to explain highlighted tags in the editor
  • Changed the min/max/-infinity/+infinity button in the attribute editor to 4 individual buttons
  • Changed the -infinity & +infinity buttons in the attribute editor to use Double.POSITIVE_INFINITY instead of Double.MAX_VALUE
  • Renamed the operations in the attribute editor to match 1.20.5+ names, which will also be used in older versions of Minecraft since they make more sense
  • Made the book screen's page keybinds act the same as the client chest's page keybinds (influenced by the config)
  • Replaced /factory unstackable with /factory randomuuid [add | remove] and, for 1.20.5+, /factory maxstacksize (default | <size>)
  • Changed the level limit in the enchantment editor to 255 in 1.17.1+
  • Removed /factory signboard import
  • Moved the cancel button in group shortcuts to match aliases
  • Moved the text for attribute operations and slots to the language files
  • Added /get help get & /get help open
  • Optimized calls checking if the subject is unsaved in the editor
  • Changed the NBT Editor protocol version to 1, so this update is incompatible with previous versions of the mod (for client-server communication)

Bug Fixes:

  • Fixed converting books to writable detecting black as formatting
  • Fixed setting sign items to waxed not working
  • Fixed importing uncompressed .nbt files failing
  • Fixed no armor restriction (now no slot restriction) being disabled and enabled when it shouldn't
  • Fixed the name field in the editor scrolling to the last character when editing NBT
  • Fixed the disabled name field not updating when changing the name in the main name field in the display editor
  • Fixed getting multiple stacks of items resulting in incorrect stack sizes sometimes
  • Fixed the text format sometimes outputting incorrect formatting
  • Fixed crash when converting simple text into the text format
  • Fixed a Java exception appearing when providing out of bounds lines to /factory display lore instead of a proper message
  • Fixed armor stand entities not being considered containers
  • Fixed crash when rendering entities in the guis if the entity is holding an enchanted item
  • Fixed crash in the editor when the count is set to "+" and the type is changed
  • Fixed crash when calling /get preset in <= 1.18.2
  • Fixed vertical centering of the jump pages buttons in the client chest
  • Fixed opening containers inside of world containers resulting in desync
  • Fixed the toast messages (update available, incompatible protocol) not working in <= 1.20.2
  • Fixed internal issue with cloning strings in the editor (this doesn't seem to actually break anything, but unsure)
  • Fixed issues with truncating messages/commands in the extended chat field
  • Fixed crash when entering "-" into the page field in the client chest
  • Fixed quick moving items in horse variations sometimes causing the item to disappear (as it is moved to the invisible saddle or armor slots)
  • Fixed mod conflicts with any mod that uses fake players (Issue #108)

NBT Editor v2.0.0: Server-Side Integration

release26 июня 2024 г.

Note: 1.20.5+ support is planned, but not included in this update as I wanted to finish this and release it

Block & entity editing is finally here! When the mod is installed on the server (it still works for items when only on the client), players with level 2 OP or above can:

For items:

  • Edit their inventory while in survival mode
  • Edit items in containers
  • Access their ender chest via the new tab next to the client chest or /open echest

For blocks:

  • Use /nbt
  • Use on containers /open
  • Use /factory blockstates
  • Use /factory display name
  • Use on lecterns /factory book
  • Use on signs /factory signboard
  • Use on skulls /factory unbindskull
  • Use /get block
  • Export, including to a block item with /nbt export item

For entities:

  • Use /nbt
  • Use /open
  • Use /factory display name (the gui also has an option to toggle CustomNameVisible)
  • Use /factory attributes
  • Use /get entity
  • Export, including to a spawn egg with /nbt export item

Here are the other changes in this update:

  • TheFaceJD added a Russian translation (ru_ru)
  • Darukshock added a French translation (fr_fr)
  • Xantrisse is continuing to update Polish (pl_pl)
  • Renamed /itemfactory to /factory
  • Renamed /nbt export give to /nbt export cmd (as it can now produce /setblock and /summon commands)
  • A discord server (https://discord.gg/PzeYTbEZjn)
  • A config option to disable block updates when saving blocks
  • A config option to fix MC-69683: Enchantment Glint effect doesn't render on block entities
  • /factory book make_writable: A command version of the button in the book gui
  • /nbt import: Opens a gui where you can drag .nbt and image files onto just like your inventory
  • File importing now also works on the esc menu
  • Container for horses specifically; now, instead of accessing the armor list, the first slot is the saddle and the second slot is the armor
  • Extra information now appears on some crash messages

Bug Fixes:

  • Fixed crashing in <=1.20.2 when adding click & hover events to text (Issue #91, Issue #93)
  • Fixed some crashes due to working with malformed text
  • Fixed -permanent:true in /get potion using a long duration instead of -1 (infinity)
  • Fixed pasting into empty NBT lists not working sometimes
  • Fixed crash when opening the large client chest if the small version had never been opened before (Issue #92, Issue #101)
  • Fixed getting an item that should be added to a stack in your off hand instead overriding your middle hotbar slot
  • Fixed command argument hints missing (Issue #86)
  • Fixed spam in the log file if hdb requests fail (for example, if you're disconnected from the internet) - errors are still logged, but the timeout now works properly (Issue #89)

NBT Editor v1.13.0

release26 января 2024 г.

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

Совместимость

Minecraft: Java Edition

1.20–1.21.41.18–1.19.41.17–1.17.1

Создатели

mega12345mega

mega12345mega

Владелец

Детали

Лицензия:MIT
Опубликован:3 года назад
Обновлён:5 месяцев назад