The main purpose of this library is that I recoded all packets as events. You can send packets using the PacketConnection class and listen to them using the Bukkit event listener, but that's not all. All packages are documented! The second big feature is the custom persistent tags. You can now apply tags to every block, entity and chunk and restart the server and the tags are still there!
Note: This plugin uses bStats for plugin metrics data which is completly anonymized. However this is completly optional and can be disabled in the bStats configuration file in your plugins folder.
- Block:
get/set face
get/set custom tags
get/set custom drops
convert NMS block to Bukkit block
convert Bukkit block to NMS block
- Entity:
load from/save to NBTTag
get/set custom tags
- LivingEntity:
convert to entityLiving
- Creature:
convert to entityCreature
set target
set pathfinder goal selector
- PathfinderGoalSelector:
add pathfinder goal
- PathfinderGoal:
easily create pathfinder goals
- ItemStack:
set glowing enchanted effect
get it as NBTTag
get it from NBTTag
set the skull texture
set/get NBT tags
convert NMS ItemStack to Bukkit ItemStack
convert Bukkit ItemStack to NMS ItemStack
- packets:
send/receive packets
handshake, login and status events are currently not called