If the Java mod has complex logic, you may need to use the Minecraft Bedrock Scripting API to replicate it. Step 5: Package as an MCADDON Once you have your Resource and Behavior folders ready: Compress: Select both folders and zip them together. Rename: Change the resulting .zip extension to .mcaddon .
Rename .jar to .zip or use an archiver to extract the contents.