Community listing page, reviews here may not be monitored by the author.
Compound Key Reader
No reviews yet
Read the keys of nbt compounds easily!
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Runs entirely on the server. Also works in singleplayer.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Read the keys of nbt compounds easily
Command Format
function compound_key_reader:get {data:{from/value:...},result:'<ResultFunction>'}
- Result: Save the compound as a list in
storage compound_key_reader:result keys -
- Like
key+value+seqformat:
- Like
[ { "value": "(value)", "key": "(key)", "seq": "(seq)" }, ... ]
UPGRADING
- If you want to upgrade from
<=Beta2.0to>=Beta2.1,follow theUPGRADE.1.md
Result Functions
- The functions will beed called by the reader function to get the format of the result.
- You can use it just like
foreach(<ResultFunction>)in the following format -
- You CANNOT use
compound_key_reader:getin the result function!
- You CANNOT use
| Type | Value | Description |
|---|---|---|
| Arguments | c |
Count |
| Arguments | l,r |
Substr cur |
| Arguments | key |
The name of the key |
| ReturnValue | 0|VOID |
No Result |
| ReturnValue | +1 |
Save substr cur((l,r]) in xx.cur |
| ReturnValue | +2 |
Save key name in xx.key |
| ReturnValue | +4 |
Save key value in xx.value |
| ReturnValue | +8 |
Save the sequence in the keys in xx.seq |
| Presets | compound_key_reader:result_preset/key |
key+seq |
| Presets | compound_key_reader:result_preset/key-value |
key+value+seq |
| Presets | compound_key_reader:result_preset/all |
(all) |
- Substr curs:Use
string storage compound_key_reader:result str $(l) $(r)to get the key
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers