Topic category: Help with Minecraft modding (Java Edition)
For sake of convenience I'll split this into 2 parts for ease of reading and if someone knows an answer:
Hard Mode
For those who don't know, after killing a specific boss in Terraria, the world enters Hard Mode, where, as suggests, everything gets harder. This is, however, a small part of what it does, and the difficulty can, in some cases, be as a result of what else happens: certain mobs only start spawning due to Hard Mode, as well as certain materials start spawning (though Terraria makes you break demon altars first, if possible I want it to be only as a result of Hard Mode).
What I want out of this, is to see if it's possible to do that sort of "difficulty switch" where not only new mobs spawn, but also new ores, that happens upon the death of a boss.
Corruption
Corruption in Terraria is a specific biome that spreads, which, I do know to a degree how to make. My question with it is if I can make it stop spreading after a certain distance, and if I can make it so there's an item that can remove a large amount of the Corruption at a time. On top of this, I would also (in a perfect world) be able to change the biome borders as in Terraria, but this is much less of a priority.
Thanks in advance to any answers or solutions (preferably for the Hard Mode)
So for the corruption, no clue. The hard mode thing however, you could make a dimension almost exactly like the overworld except special ores spawn only in that dimension and special mobs and things, I personally have played terraria and I think that if you make that boss a nether boss or even make a nether dragon somehow, when you beat it you get teleported.
(Bump?)
I have a very, very loose idea on how hard mode may work (without going to a separate dimension like Cogsworth101 mentioned) but I'd like to see what people would think of it (as i don't currently have time to test it myself)
Under an entity's spawning condition, would it be possible to check if any player has an achievement, and if so would it be possible to tie this into the entity spawning? I.E. something like
"If: Check for [entity/target] achievement: [custom:hard mode]
Then: Spawn entity: [custom:hard mode mob]"?
Is there a way to even check if ANY player has an achievement (for multiplayer--i believe there is for singleplayer)?
You could probably use global variables for this (When a player gets this achievement, the global variable hard mode is set to true)
For the corruption make the blocks and make it so they spread on block tick update