Is there a way to serialize and deserialize an inventory?
I am currently trying this but it says “service does not implement org.spongepowered.api.data.DataSerializable”
SerializationService service = r.getGame().getServiceManager().provide(SerializationService.class).get();
service.getBuilder(Inventory.class).get().build(inv);