Fixed README.md

- Fixed metadata graph
This commit is contained in:
LeMagnesium 2015-05-10 13:10:49 +02:00
parent 58e462a485
commit 6cdef4dbc4
1 changed files with 27 additions and 27 deletions

View File

@ -32,37 +32,37 @@ allowing to see/edit metadatas
- version => Get version - version => Get version
- open (x,y,z) => Open the node to manipulate at pos (x,y,z) - open (x,y,z) => Open the node to manipulate at pos (x,y,z)
- show => Show fields/path list at actual position - show => Show fields/path list at actual position
- enter <path> => Enter next stratum through <path> - enter _path_ => Enter next stratum through _path_
- quit => Quit actual field and go back to previous stratum - quit => Quit actual field and go back to previous stratum
- set <name> <value> => Set metadata <name> to <value> (create it if it doesn't exist) - set _name_ _value_ => Set metadata _name_ to _value_ (create it if it doesn't exist)
- itemstack => Manipulate itemstacks in Node/inventory/*/ - itemstack => Manipulate itemstacks in Node/inventory/*/
- read <name> => Read itemstack at field name (itemstring and count) - read _name_ => Read itemstack at field name (itemstring and count)
- erase <name> => Erase itemstack at field name - erase _name_ => Erase itemstack at field name
- write <name> <itemstring> [<count>] => Set itemstack in field <name> with item <itemstring> and count <count>. Default count is one, 0 not handled. - write _name_ _itemstring_ [_count_] => Set itemstack in field _name_ with item _itemstring_ and count _count_. Default count is one, 0 not handled.
- close => Close node - close => Close node
Node metadatas look like this : Node metadatas look like this :
Stratum : 0 1 2 ... 0 1 2 3 ...
Nodes/ Node/
| |
+- fields +- fields
| | | |
| +- foo | +- foo
| +- bar | +- bar
| +- ... | +- ...
+- inventory +- inventory
| |
+- main +- main
| | | |
| +- 1 | +- 1
| +- 2 | +- 2
| +- 3 | +- 3
| +- ... | +- ...
+- craft +- craft
| | | |
| +- 1 | +- 1
| +- 2 | +- 2
| +- 3 | +- 3
| +- ... | +- ...
+- ... +- ...