adventure
adventure copied to clipboard
Utility methods to map `ComponentSerializer` instances to new types
Some method (or methods?) that can "wrap" a component serializer, changing the input/output/serialized types as needed.
Perhaps something like:
<I extends Component, O extends Component, R, J extends Component> ComponentSerializer<J, O, R> ComponentSerializer<I, O, R>#mapInput(Function<I, J> mapper)