If you need more ram but not a lot of CPU a used thin client can work, i use a HP t630 since 6 months now with only nextcloud and storage, has 2 ddr4 slots and 2sata m.2(not Nvme) for Expansion. Again its a 4core Pre Ryzen AMD chip so don’t expect any Wonders. https://www.parkytowers.me.uk/thin/hp/t630/ this is a good side for this and other thin Clients.
Edit: according to HP the idle Power consumption is ~12w
Not to Pirate, (i own the Java version since 2015~)but is there a way to have a minecraft executable that runs localy and never connects to microsoft/internet? I know minetest exists, have made a world there a while ago, but its ever so slightly diffrent