Entity ID & UUID Procedures

Published by Alm on
Supported MCreator versions
2022.1
EAP 2022.2.25609
Tags / plugin type
Procedures
Plugin's main image
Downloads:
339
Upvotes: 13
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
entity-id-and-uuid.zip - entity-id-and-uuid.zipUploaded on: 07/17/2022 - 17:14   File size: 2.84 KB

Comments

This is really cool... but is there a block to get an entity from their ID/UUID? I need this to store a reference to a player in an NBT tag/ If there is another way or you add this feature please let me know! Thanks!

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)