Giter Site home page Giter Site logo

offroaders123 / dovetail Goto Github PK

View Code? Open in Web Editor NEW
54.0 3.0 8.0 2.27 MB

A cross-platform NBT editor built on the web!

Home Page: https://offroaders123.github.io/Dovetail/

License: GNU General Public License v2.0

HTML 3.81% TypeScript 81.25% SCSS 14.94%
bedrock-edition java-edition javascript minecraft minecraft-bedrock-edition minecraft-java-edition nbt nbt-editor

dovetail's People

Contributors

offroaders123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dovetail's Issues

Tree-view: NBT unfoldable entries are too off to the left

Basically, when displayed in tree view, NBT entries which are not foldable, are not in line with foldable entries. In this example, "Inventory" compound is looking like it is a child of "XpSeed" integer, "EnderChestInventory" and "Skin" is a children of SelectedInventorySlot. Second image is photoshopped example of how to display tags without confusion.
image
image

Write Error UX

Errors that occur during the file writing process should be made apparent to the user. For some reason I forgot to add an alert() call for catching those errors, so anything that goes wrong when trying to save the file just silently goes to the DevTools console. Say if you write in some SNBT content which can't be parsed as SNBT, then it will silently appear to look like it saved the file/did nothing (depending on what you make of it), while it actually didn't work at all, no matter how many times you try to click save.

I also think I need to look into improving the error messages with as to what part of the SNBT content isn't valid/parsing correctly. Say for this error, I could add a reference that it's in the array at key InvalidBecauseTheValuesArentOfTheSameType at item index [2], where that item is of type ShortTag, but the ListTag here can only accept ByteTag values. Something along the lines of that.

This is based on the demo from Offroaders123/NBTify#36:

Silent SNBT Parsing Errors

inventory editing?

i dont really use github so i dont know where to actually send this, but i was wondering if you were planning on adding inventory adding or not?

"Save As..." Option / New Files from Scratch / Plain SNBT File Support

Add the ability to:

  • Save your current edits to a brand new file, without writing to the original one you opened it from.
  • Write a new file to disk based on your own content, from scratch. Right now you can only edit something after having opened another file.
  • Open plain SNBT text files, and allow you to save them back again just as text (expected), but also with the "Save As..." feature to binary NBT as well, including the options provided by the "Format Options" dialog.

How to run?

How to run this? I want to edit my level.dat for my bedrock world and change a few things. I never use GitHub so I'm kind of clueless I guess.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.