Question Minecraft lagging with good PC

Aug 2, 2020
2
0
10
I have a pretty decent pc
CPU: AMD Ryzen 1400
GPU: RX 570 4 GB
Ram: 8x2 GB Hyper x DDR4 2666
Mother board: ASRock B450M Pro4
SSD: 128 Samung NVME m.2 SSD
Hard: Samsung 500 GB Hard Drive
My Pc can play other games like valorant and fortnite at 90 fps at max setting 720p (due to my monitor maxing at 720) but when i play the latest versions of minecraft and moded minecraft in the newer vertions i am getting far less fps then i was expecting. so i checked my pc stats while playing and my pc is only useing about 33% of cpu power and 42% gpu power
i was wondering if anyone has an answer to why its like this?