chunky icon indicating copy to clipboard operation
chunky copied to clipboard

Add registry for Entities

Open ThisIsBrady opened this issue 6 months ago • 1 comments

Entities should be registerable given an Entity class and a string ID or set of IDs. This would allow the UI to automatically add the entity to the "Load Entities" dropdown in the Scene tab, the Entity class to automatically be identified from JSON (Entity.fromJson()) or NBT tag (SceneEntities.loadEntitiesInChunk()), and make it feasible for plugins to add their own entities.

ThisIsBrady avatar Aug 09 '25 08:08 ThisIsBrady

Good to have an issue for this. Once we add this, we should probably create an example plugin that adds one entity.

leMaik avatar Aug 09 '25 10:08 leMaik