Cardinal Components API

Cardinal Components API

21M Downloads

Add callback for when component is destroyed

AlphaMode opened this issue ยท 2 comments

commented

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

commented

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.