I really think Minecraft mods are an underused method for teaching programming. I first got into programming in 7th grade developing mods. Times have changed, but ~5 years ago there were great tutorials, documentation, and good support channels (IRC) for modders. If regular development is too complicated, there are mods that add programmable computers (Lua, iirc). You can use them to mine, build, automate, or in the…
Source of one of the most popular mods:
https://github.com/AppliedEnergistics/Applied-Energistics-2
Other examples: https://github.com/agaricusb/ForgeMod/wiki/List-of-Open-Sour...
How people usually run mods (in packs): https://www.curseforge.com/minecraft/modpacks/ftb-official-p...
Open source alternative client: https://multimc.org/
The core tooling that helps with modding:
https://minecraft.gamepedia.com/Programs_and_editors/Mod_Cod...
It's a set of decompilation scripts included with most modding frameworks. Not officially endorsed by Mojang but the developer is a Mojang employee.