Entity ID & UUID Procedures

Published by Alm on Sun, 07/17/2022 - 17:07
Upvotes: 5
Supported MCreator versions
2022.1
EAP 2022.2.25609
Tags / plugin type
Procedures
Plugin's main image
About the plugin

About

This plugin adds two new procedure blocks that allow to get an entity's namespaced ID and Universal Unique Identifier (UUID).

This can be useful to get an entity to use in commands, or use other mod's entities without having it as dependency. The UUID can also work for player-specific cosmetics, among other uses.

 

Works for Forge 1.18.2 and 1.16.5

 

Example

This example procedure will use the "Player right clicks on entity" global trigger to display both UUID and namespaced ID in the player's chat.

Procedure example

In-Game output when right-clicking on an entity:

Ingame preview of example

 

This plugin is licensed under the MIT License.

License
MIT License

Plugin downloads
Attachment Size
entity-id-and-uuid.zip2.84 KB 2.84 KB

Comments

Want to update, set the entity ID, not like McReator and name brand

You can't change an entity's UUID, as that's their Unique Universal Identifier and is different from each entity. The entity's ID also can't be changed as that's defined by the mod (ex. mymod:myentity or minecraft:pig)