objectuuids
ch.zizka.luanti.mods.SilverSandstone
ch.zizka.luanti.mods.SilverSandstone:objectuuids is a Maven Central artifact (jar) for the JVM. It has 1 published version. Browse versions below for dependency snippets and security details.
Add to your project19159
<dependency>
<groupId>ch.zizka.luanti.mods.SilverSandstone</groupId>
<artifactId>objectuuids</artifactId>
<version>19159</version>
</dependency>Version Details — 19159
Assigns a persistent UUID to every object. Object UUIDs ============ This mod assigns a persistent UUID to every player and entity in the game. Other mods can get an object's UUID or find an object by its UUID using the public API. UUIDs are persistent between game sessions, and player UUIDs are also persistent between worlds and servers. This mod can be safely uninstalled. Entities will lose their UUIDs, but not their data. API Summary ----------- - `objectuuids.get_uuid(object)` - Returns the UUID assigned to the specified object. - `objectuuids.get_object_by_uuid(uuid)` - Returns the object with the specified UUID. - `objectuuids.set_uuid(object, uuid)` - Overrides the specified object's UUID. - `objectuuids.add_entity_with_uuid(pos, name, uuid, [staticdata])` - Spawns a new entity with the specified UUID. See `doc/index.html` for full API documentation.