Skip to content

DataTranslator registry #2434

@MrHell228

Description

@MrHell228

Is this request specific to one implementation of Sponge?

No

Sponge Version

1.16.5-36.2.5-8.1.0-RC1153

What are you requesting?

<T> Optional<DataTranslator<T>> translator(Class<T> objectClass);

DataManager needs a way to register additional data translators which are returned by that method.
Otherwise a plugin wanting to serialize an object that does not implement DataSerializeable cannot do so

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triageThis label is automatically applied to new issues and pull requests to indicate they require triagetype: feature requestA feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions