Skip to content

feat(items): SerializableItemStack extension system #60

Open
@0ffz

Description

We're starting to want support for serializing items generated by other plugins. An extension system would help us keep the main module clean while letting us or other authors add custom steps.

We can use polymorphic serialization to let people add their own subclasses that describe extra steps to make the item, the end result in config would look something like

type: STONE
extra:
 - !<geary_prefab> "some:prefab"

Where the list of extras is processed once we convert to ItemStack.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions