premium banner
Adds a new decay mechanic to player built structures.

Description

 

Remnants adds a new mechanic to Minecraft that is inspired by how abandoned buildings will begin to decay and be reclaimed by nature.

 

Currently decay works by checking player placed blocks every 24 in-game hours(configurable) and seeing if they pass the conditions to decay. Which is currently a weight based chance to happen every cycle.

 

Any block can be made to decay by creating a JSON file in the "decay_condition" directory

 

A decay JSON is written in the format of

{
"input": [
"minecraft:stone" // The block that decays.. Can be either a block tag or a specific block/group of blocks
],
"output": "minecraft:cobblestone", // The block the inputs decay into
"deco": [
"minecraft:cobweb" //The "decoration block/blocks can also be a tag.
],
"deco_direction": "side", // The side decoration appears on. can be up, down, east, west, north, south, side, any.
"decay_chance": 15.0, // The chance for the input to decay into the output
"deco_chance": 10.0, // The chance for a decoration to appear
"remove_chance": 5.0, // The chance to remove the block from the pool of decaying blocks preventing further decay
"nothing_chance": 1500.0 // The chance for the block to do nothing
}

The higher the number the more likely that outcome will occur.

 

Demonstration with decay sped up substantially.(Early InDev GIF)

 

If you have an idea for a line of decay please submit it on the issue tracker.