Skip to content

Add registry for Entities #1822

@ThisIsBrady

Description

@ThisIsBrady

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions