You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: STONEextra:
- !<geary_prefab>"some:prefab"
Where the list of extras is processed once we convert to ItemStack.
The text was updated successfully, but these errors were encountered:
0ffz
changed the title
SerializableItemStack extension system
feat(items): SerializableItemStack extension system
Jun 3, 2024
Targetting just yaml, it should be possible to allow extending by decoding yaml nodes fairly easily, would be nice to have an api for this still though.
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
Where the list of extras is processed once we convert to ItemStack.
The text was updated successfully, but these errors were encountered: