HomeJavaModsNMSUtilities
NMSUtilities
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!

Minecraft version: 1.16.5 (v1_16_R3)
java version: 1.8


If you need help or want to report a bug, please join our Discord server.

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.

Spoiler: Most of the features

- 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

- World:

  • get/set custom json tags
  • delete world
  • copy world
  • convert NMS world to Bukkit world
  • convert bukkit world to NMS world

- Chunk:

  • get location
  • get/set tags

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

NMSUtilities is a free Minecraft Java mod. Compatible with Minecraft 1.16. Downloaded 874 times (via Spigot). Download it and open it directly in the game.

Explore more