···12-# nu_plugin_dbus
34Read Minecraft nbt in Nushell.
50000000000000000000000006## Usage
0078```nu
9open data.nbt
10-# - or -
000011open --raw data.dat | from nbt
12```
13000001415
···12+# nu_plugin_nbt
34Read Minecraft nbt in Nushell.
56+## Installation
7+8+### Shell
9+10+Build / download the plugin and run `plugin add`.
11+12+```nu
13+plugin add path/to/nu_plugin_nbt
14+```
15+16+Then to use it in your shell, run `plugin use`.
17+18+```nu
19+plugin use nu_plugin_nbt
20+```
21+22+### Script
23+24+Build / download the plugin binary. When invoking your script pass its path with `--plugin`.
25+26+```nu
27+nu --plugin path/to/nu_plugin_nbt my_script.nu
28+```
29+30## Usage
31+32+If your file ends in .nbt, nushell will pick nu_plugin_nbt to open it.
3334```nu
35open data.nbt
36+```
37+38+Otherwise, open it raw and pipe it to `from nt`.
39+40+```nu
41open --raw data.dat | from nbt
42```
4344+### Preserve Data Types
45+46+Passing `--with-tags` to `from nbt` will tag data with NBT types.
47+48+This is useful if you need to convert back into NBT at some point. Note that this plugin does not handle writing (yet).
4950