Add callback for when component is destroyed
AlphaMode opened this issue ยท 2 comments
After trying to convert my forge cap's to use cca I was looking for a alternative for a callback for when the component is destroyed
the closest thing I could find is RespawnCopyStrategy which is not what I want
Could you describe your use case ? There may be other ways to achieve what you want, but if you are looking for an entity unload event you can use ServerEntityEvents.ENTITY_UNLOAD
from Fabric API.