The best way is to use the Code Utilities mod that was made for DiamondFire. Sadly, it hasn't been updated to the latest version of Minecraft right now. So, you will have to use 1.16.5 with this mod.
Once your in DiamondFire with the mod installed and applied, go into dev mode in one of your...