Left Click
Terrarian
Hi all,
This is my first attempt at a mod.
After playing for a while and getting frustrated at corruption spread with sunflowers not being adequate enough to stop the corruption (as I am bad at sunflower placement) I made this mod.
It surrounds the corruption with clay upon worldgen.
Still need to implement surrounding the crimson with clay,as well as the hardmode V that spawns, as well as the corruption/hallow/crimson you get from breaking demon altars.
Demon altars can be smashed. After smashing demon altars, use an item called "The Container" which is crafted with 10 clay blocks at a work bench. The Container surrounds all your corruption / crimson / hallow blocks with a layer of clay.
(Click on the pictures to enlarge)
Feedback is appreciated.
You can get the mod from the mod browser in Tmodloader
Github Link
Github Download Link
Thanks to GabeHasWon for some worldgen stuff
Hardmode Ore Gen code is not my own. It is a modified version of Terraria's hardmode ore gen code
Default configs in config file:
"claySize": 10,
"worldChunkSize": 100,
"dontGenerateHardmodeV": false,
"timesToRunHardmodeOreGen": 21,
"hardmodeOreTier1": 221,
"hardmodeOreTier2": 108,
"hardmodeOreTier3": 111,
"disableAutoHardmodeOreGen": true
claySize determines how big the clay layer will be (in blocks)
worldChunkSize determines how many blocks are in each section of clay in the world
dontGenerateHardmodeV - if set to true, the hardmodeV will not spawn
timesToRunHardmodeOreGen - this is the number of altars that are "smashed" to generate your hardmode ore. No corruption/crimson/hallowed blocks will be generated as a result of this
hardmodeOreTier1 - set this to 107 or 221 for the ore that you want to spawn upon entering hardmode (only works if disableAutoHardmodeOreGen is set to false)
hardmodeOreTier2 - set this to 108 or 222 for the ore that you want to spawn upon entering hardmode (only works if disableAutoHardmodeOreGen is set to false)
hardmodeOreTier3 - set this to 111 or 223 for the ore that you want to spawn upon entering hardmode (only works if disableAutoHardmodeOreGen is set to false)
disableAutoHardmodeOreGen - set this to true if you want to generate your own hardmode ores through smashing demon altars - there is no code in place to prevent the 66% chance that a corruption/crimson/hallow block will spawn though
Use The Container if disableAutoHardmodeOreGen is set to true and / or you want to smash demon altars.
Version Changes:
v0.6.0
Made it so that the clay layer will only overwrite corrupted blocks, or corruptable blocks. All other blocks will now be unaffected.
v0.5.0
Added The Container
v0.4.1
updated mod description a little bit
v0.4.0
Added hardmode ore gen without smashing altars, Hardmode V Will now be boxed off into individual boxes underground - box size depends on how big your world chunk setting is
new boxing and worldChunkSize of 100 is shown above
old boxing is shown above
v0.3.2
Added a config to turn off hardmodeV Generation entirely
v0.3.1
Hardmode V is boxed off underground now. Refer to picture (and ask in a reply) if confused
v0.3.0
Added hardmode Corruption/Crimson/Hallowed V Containment with a layer of clay
v0.2.4
Split the world up into more chunks - added a config option for how many blocks per chunk the world should be split up into
v0.2.3
Added a config file for how big the clay path should be
v0.2.2
Made source code availiable upon extract
v0.2.1
Added Crimson Compatability
This is my first attempt at a mod.
After playing for a while and getting frustrated at corruption spread with sunflowers not being adequate enough to stop the corruption (as I am bad at sunflower placement) I made this mod.
It surrounds the corruption with clay upon worldgen.
Demon altars can be smashed. After smashing demon altars, use an item called "The Container" which is crafted with 10 clay blocks at a work bench. The Container surrounds all your corruption / crimson / hallow blocks with a layer of clay.
(Click on the pictures to enlarge)
Feedback is appreciated.
You can get the mod from the mod browser in Tmodloader
Github Link
Github Download Link
Thanks to GabeHasWon for some worldgen stuff
Hardmode Ore Gen code is not my own. It is a modified version of Terraria's hardmode ore gen code
Default configs in config file:
"claySize": 10,
"worldChunkSize": 100,
"dontGenerateHardmodeV": false,
"timesToRunHardmodeOreGen": 21,
"hardmodeOreTier1": 221,
"hardmodeOreTier2": 108,
"hardmodeOreTier3": 111,
"disableAutoHardmodeOreGen": true
claySize determines how big the clay layer will be (in blocks)
worldChunkSize determines how many blocks are in each section of clay in the world
dontGenerateHardmodeV - if set to true, the hardmodeV will not spawn
timesToRunHardmodeOreGen - this is the number of altars that are "smashed" to generate your hardmode ore. No corruption/crimson/hallowed blocks will be generated as a result of this
hardmodeOreTier1 - set this to 107 or 221 for the ore that you want to spawn upon entering hardmode (only works if disableAutoHardmodeOreGen is set to false)
hardmodeOreTier2 - set this to 108 or 222 for the ore that you want to spawn upon entering hardmode (only works if disableAutoHardmodeOreGen is set to false)
hardmodeOreTier3 - set this to 111 or 223 for the ore that you want to spawn upon entering hardmode (only works if disableAutoHardmodeOreGen is set to false)
disableAutoHardmodeOreGen - set this to true if you want to generate your own hardmode ores through smashing demon altars - there is no code in place to prevent the 66% chance that a corruption/crimson/hallow block will spawn though
Use The Container if disableAutoHardmodeOreGen is set to true and / or you want to smash demon altars.
Version Changes:
v0.6.0
Made it so that the clay layer will only overwrite corrupted blocks, or corruptable blocks. All other blocks will now be unaffected.
v0.5.0
Added The Container
v0.4.1
updated mod description a little bit
v0.4.0
Added hardmode ore gen without smashing altars, Hardmode V Will now be boxed off into individual boxes underground - box size depends on how big your world chunk setting is
new boxing and worldChunkSize of 100 is shown above
old boxing is shown above
v0.3.2
Added a config to turn off hardmodeV Generation entirely
v0.3.1
Hardmode V is boxed off underground now. Refer to picture (and ask in a reply) if confused
v0.3.0
Added hardmode Corruption/Crimson/Hallowed V Containment with a layer of clay
v0.2.4
Split the world up into more chunks - added a config option for how many blocks per chunk the world should be split up into
v0.2.3
Added a config file for how big the clay path should be
v0.2.2
Made source code availiable upon extract
v0.2.1
Added Crimson Compatability
Last edited: