When the cursed chest is broken, it doesn't drop its contents. In survival, the chest does drop when it's broken and in creative, the chest is destroyed, which are both intended behaviors; however, all items are voided in both modes.
You could make it a container like other mods such as Immersive Engineering's crates, as an example, or simply just have it dump its contents on the ground.
While leaving it as is and treating it as a "cursed" chest, which voids items when broken, wouldn't bode well for those using your mod.
When the cursed chest is broken, it doesn't drop its contents. In survival, the chest does drop when it's broken and in creative, the chest is destroyed, which are both intended behaviors; however, all items are voided in both modes.
You could make it a container like other mods such as Immersive Engineering's crates, as an example, or simply just have it dump its contents on the ground.
While leaving it as is and treating it as a "cursed" chest, which voids items when broken, wouldn't bode well for those using your mod.