PowerNBT
[PowerNBT]
PowerNBT moved to spigotmc.org
Powerful NBT editor for CraftBukkit 1.5 and later.
Simple NBT API (for developers).
Works with CraftBukkit, MCPC+, Cauldron, Spigot (fix to forge 1.4.7)
Features
- Browsing and editing NBT tags
- supports items, players, offline-players, entities, blocks, chunks, schematic files and all other nbt files
- save tags to file
- spawn entity with custom nbt tags
- parse mojangson string
- custom colors and unicode symbols
- supports tab-completion
- supports operations copy/paste/cut/swap
- supports variables
All commands
See: commands
Examples
- /
nbt me Inventory remove
- clear inventory
- /
nbt me Inventory = *Bob EnderItems
- get Bob's enderchest to yourself
- /
nbt @Eve remove
- remove file Eve.dat (offline player)
- /
nbt block ExtraType = "Notch"
- set skull owner
- /
nbt * Health = 1000
- set 1000 health to mob, which you select
- /
nbt item ench copy
- copy item enchantments to buffer
- /
nbt item ench paste
- paste enchantments to other item
Permissions
- powernbt.use
Bugs
- 0.8.1-0.8.2:
On command /nbt chunk = ...
invisible players and entities in new chunk.
- If you found a bug, please report me in github:
https://github.com/DPOH-VAR/PowerNBT/issues
Changelog
Version 0.8.2 beta
- added: binary opetarions: ^= , &= , |= , useful to set binary flags
- added: operation: multiplication: *=
- added: operation: spawn entity
- added: value: numbers in binary format
- added: values in mojangson format
- added: object: hand
- added: object: schematic
- added: view mode: binary
- added: silent mode for command
- added: API: read chunk
- added: API: save chunk
- added: API: parse mojangson string
- added: API: spawn entity
- fixed: support cauldron 1.7.10
- bug: invisible players after change chunk data.
- bug: on update blocks after change chunk. cauldron 1.7.10
Version 0.8.1
- added: read/write chunks
Version 0.7.3.1
- fix: work with Cauldron 1.7.2
Tutorials
- How to edit tags
- How to use Tab-Completion
- How to edit mobs into spawners
- How to edit villagers
- How to create custom potions
- How to edit fireworks (RU)
API
See API for documentation and examples
Maven dependency (since 0.7.2)
API for version 0.7.2 and later
Warning
If you add a tag, which is not expected by the client, it may be crashed. Be careful!
Helpful links, about NBT format:
- http://www.minecraftwiki.net/wiki/NBT_format
- http://www.minecraftwiki.net/wiki/Player.dat_Format
- http://www.minecraftwiki.net/wiki/Chunk_format
Github | Maven | Javadoc |
@DPOHVAR
Oh! That did the trick. This whole time I was misreading the Motion tag as "Movement". Thanks for setting me straight.
@repthutek
Try to set Motion to falling block:
{...}.Motion = list
{...}.Motion[0] = 0.5 double
{...}.Motion[1] = 0 double
{...}.Motion[2] = 1.5 double
Is there any way to give spawned Falling Sand entities certain velocities? As a visual aid: I have them spawning at the purple area, at which point they fall straight down, following the orange arrow. Is it possible to make them follow an arc like the red arrow depicts instead? Videos like the following show that it should be doable, albeit they're usually done with other tools which aren't really practical for what I'm working on.
YouTube Video
Hi! I create some zombie spawners. Download link
Zombie list:
How to use
@Roflzack
PowerNBT 0.5.2 works well with MC 1.6.2
@DPOHVAR
Good luck and thank you. Nice job with the plugin so far :)
@Ps2maniac9
I'm looking for an alternative way to save the custom tags in items.
@Roflzack
will update soon
@DPOHVAR
any way to stop it from happening? if not do you know of any way I can store like 40 variables and pair them with a specific item?
The 1.6.2 update broke a lot of this.
Could you please update?
Pleasseeee?????
@Deehl
see example in video.
/nbt block ExtraType = "player"
also you can edit item in hand:
/nbt item SkullOwner = "player"
@Ps2maniac9
Bukkit clears unnecessary NBT tags from items when it moved in inventory.
Since version 1.5.2 (if not mistaken)
@DPOHVAR
Minecraft 1.5.2
Tried it with bukkit builds 2771 and 2788
Plugin version was 0.5.1 beta
sorry it took me like a week to reply
Is it possible to set up custom player skulls/heads w/ this plugin? If not, which plugin should I use for that?
@Absolutionmc
Attributes is read-only.
But you can edit modifiers.
Unpredictable behavior with items
bukkit 1.6 check all the tags and removes those that do not match the pattern.
and much more likely to crash client
Ok and will it support entity atributes (which was added on 1.6)?
@Absolutionmc
wait for version 0.5.2
it will work with 1.6 but have bugs with items
Will this support the entity attributes added on 1.6?
Don't works with 1.6.1
I'm kinda new to this whole NBT editing thing; can someone walk me through how to make a spawner that spawns only Wither Skeletons with Chainmail Armour and a Stone Axe? Or just how to make a spawner that spawns only Wither Skeletons?
@Ps2maniac9
Similar problems have been at the spigot
What is your version of mc and bukkit?
UPD: and plugin version