tryashtar / nbt-studio

An up-to-date NBT viewer and editor with lots of new features
501 stars 40 forks source link

adding plugins to automate the work. #26

Open Max-RM opened 3 years ago

Max-RM commented 3 years ago

add the ability for users to create their own plugins. for example, to edit snbt when opening a schematic file and editing TileEntities. where the user can write the command: replace all " /setblock ~ ~+2 ~+5 glass "with" /setblock ~ ~+2 ~+8 bedrock" which will be convenient if there are a lot of such lines. or another example: to all the numbers found between the lines "map_uuid" and "L}}" increase by the number entered by the user. thus, it will greatly speed up the work for those who perform the same type of actions. although to create plugins, people will need to know "C"

tryashtar commented 3 years ago

How would you feel if these plugins/actions were like python scripts or something?

Max-RM commented 3 years ago

probably python would be more convenient for other people

Max-RM commented 3 years ago

@tryashtar Tryashtar, what do you think if we combine the programs engines of the image map, nbt studio, Map Art Video cassetes editor programs. we could have a full-fledged video transfer program in minecraft. after all, at the moment Map Art Video cassetes editor can only work without an interface and in combination with image map. I would be happy to cooperate with you. (if that interests you)

tryashtar commented 3 years ago

To be honest, I want to keep the scope of this program rather small; it's supposed to be an alternative to NBTExplorer, not MCCToolchest or similar. So basically anything to do with Minecraft content is in my view off-limits, it's just Minecraft formats.

I could see adding an animation option to Image Map though. Once I get some time that is...

As for this scripting suggestion, it's a good one, but it will probably take a while, because I want to finish the changes that will make #12 possible first

tryashtar commented 3 years ago

Work in progress version: https://github.com/tryashtar/nbt-studio/commit/6a3707237e36cd6d329fd0ab868182847f290826

Before this gets finished, I need to do the following things:

Max-RM commented 3 years ago

excellent