Regrowth

Mods
22,680 Downloads Last Updated: Sep 9, 2020 Game Version: 1.16.2

Special Notice: As of release 13 (1.37.0.13), Regrowth now keeps its configuration file in the common config folder (like many other mods) rather than the server config folder. 

 

 

Regrowth

With Regrowth, by default, right out of the box, animals and some monsters will eat plants, heal from eating, and promote plant regrowth.  Villagers will improve their villages with better lighting, stone walls and wood fences, fix impassable roads, fill potholes, cut grass and trim tree leaves and remove troublesome cactus.  All done very gently with essentially no impact on the server.  There's no need to configure anything.  You can download it and drop it into your Mods folder for client play.  You'll need a copy on the server and client for multiplayer server play.

Configuration Options

However, if you wish to customize Regrowth, you can control every aspect of Regrowth.  As a single player, server operator, or map designer you can turn features on or off- deciding which animals and creatures (including modded creatures) will consume plants, regrow plants or do both!   You can also change the timing so things happen more often-- or less often in easy to understand "seconds between events."  There are solid debugging tools to let you see what's happening while developing your configuration.

And, you can also control every aspect of how Villagers will improve their towns.  If you don't want them to cut the grass, you can turn that feature off.  If you want them to put torches in dark buildings, you can turn that feature on.  Over time, you can see as they build and light the village wall and fence in personal dwellings outside the village wall.

Actions

In Regrowth, there are "Non-Villager" or "Villager" actions.  The Non Villager actions are words like "eat", "grow", "both", "tall".   Villager actions are a set of flags like "crwlptv".

Non-Villager Actions

Eat

When you configure a creature to eat plants, it will eat a single block of short grass, short ferns, short flowers or double high/tall grass or flowers which are on grass blocks. 

If you have configured healing to be on, creatures will heal a half heart of damage when they eat. 

If a creature is child, gets a small aging boost.  This should work for modded creatures too that use standard forge and minecraft base classes.

Horses, Donkeys, and Mules only eat while they are in their eating animation.

After an animal eats, sometimes the grass will turn to dirt.   If a pen is too crowded, eventually all the ground will be dirt.   

Grow

When you configure a creature to grow plants, it will causes a fertilization event on a bare grass block just as if a player used bonemeal.

Both

When you configure a creature to do both,

the creature will "Eat" plants if on a grass block with plants.

otherwise the creature will "Grow" new plants on bare grass blocks lacking plants.

Tall

When you configure a creature to grow Tall plants, it will grow short grass into tall grass.  By default, Creepers do this.

Villager Actions

Villagers have a set of flags instead a single command.   By default, all flags are on now.  This looks like "crwlptv" by default (tho the order doesn't matter).

You can configure villagers to do none, some or all of these actions.

  • "c" =cut grass near town (not flowers).
  • "r" = turn on road upgrades: Fix steep roads, fix 1 block deep holes in the road, fix unfinished parts of the road.
  • "w" =build a stone wall around the village meeting place, usually their bell. - with optional torches.  Don't block roads.   Villagers won't build overlapping walls in newer versions.
  • "l"=Add torches inside buildings that are too dark.  Add 1 torch to the desert farms next to composter.
  • "p" =build a personal fence around homes outside of the village stone wall- with optional torches.  Don't block roads.
  • "t" = put optional torches on the walls.  In future releases villagers may slowly add a few more torches over doors or inside houses lacking a torch.
  • "v" = Cut cactus and normal tree leaves that are too low and may block or damage villagers.  Will not cut persistent leaves such as those placed by players or parts of structures.

Commands

Regrowth has the following commands for operator level and above.

/regrowth setDebugLevel [0,1,2]

  • Sets the debug level. 
  • 0 does not log messages.
  • 1 logs messages to the console and log file.
  • 2 was going to the log to the console and chat window but there were way too many messages so I'm reconsidering how to use level 2 debugging.

/regrowth info

  • This shows information about Regrowth and *on the client* in single player mode will tell you the fully qualified name of the mob you are looking at.  I.e. "Minecraft:Creeper" or "AnotherMod:Creature" to help in configuration.  It does not work on a server.
  • There may be additional configuration commands in the future.

Notes

Walls and fences are built from biome suitable materials.  Desert towns have a smaller town wall.  Plains have a larger town wall.

The mobs do not *seek* grass.  They wander as normally and if a regrowthEvent occurs, then they check if they are in tallgrass or flowers or on a bare grassBlock.

You can currently edit the configurations manually.  There will be commands to support the configuration as in HappyTrails.

Note that you can put a default configuration files for all your mods (not just this one) in the folder "defaultconfigs" and new worlds will get them by default.

It's not certain yet- but this may be a ServerSide mod (not required on the client). 

 

Like this Mod?

Check out our other mods!

Claim Chunk: A simple, elegant chunk claiming system.   You can claim chunks and allow others to use things in them if you wish *by* chunk.

Beekeeper: Beekeepers tend to the bees and buy and sell products like other villagers.  

Easy Redstone Extras: 9 simple but powerful redstone items and blocks including waterproof up, down, and sideways redstone pipes.

Nasty Mobs: Six Smarter Skeletons with custom AI, abilities, completely configurable.

Enameled Armor Cover your Diamond or Chain Armor with colored enamel and control whether the enchantment glow is on or off.

Harder Branch Mining:  Tools to make branch mining more difficult in various ways to encourage caving.

Happy Trails: Easily Configure movement on your server (or single person game)  to be 1 to 11 times faster or slower on almost any solid block!

Vending Machine: A vending machine which restocks with 7 random* items every morning.   (*or Fixed by Map Designers)

Villagers Respawn: Villagers who have a bed will respawn at them when they die. 

Poor Golems: Hey Buddy, can you spare an ingot?  Control over how often and how many iron ingots iron golems drop.

Save Your Pets: Instead of dying immediately, pets fall down wounded.  You have a while to save them with bandages or golden bandages.

Harder Farther: Mobs get harder (and drop configurable/better loot) as you get further from spawn.  Can also block high drop rates and XP from Mob Farms .

 

Default Configuration Settings  (make sure to delete your prior configuration file)

The current default settings are below.

Configuration Format:

Mod:CreatureName, Action, Average Seconds between Events.

 

["Regrowth Control Values"]

["Regrowth Control Values"]

#Eating Heals % Chance: 0-No, 1-yes #Range: 0.0 ~ 1.0 eatingHeals = 0.99

#Debug Level: 0 = Off, 1 = Log, 2 = Chat+Log #Range: 0 ~ 2 debugLevel = 0
["Regrowth Mobs 6464"]

#RegrowthMobs String 6464 defaultRegrowthMobsActual =

"minecraft:cow,both,240.0;

minecraft:horse,eat,360.0;

minecraft:donkey,eat,360.0;

minecraft:sheep,eat,240.0;

minecraft:chicken,grow,600.0;

minecraft:pig,grow,800.0;

minecraft:bee,grow,1000.0;

minecraft:villager,crwlpvt,5.0;

minecraft:creeper,tall,60.0"

 

 

Wall Foundation Block List

There is now an inclusion list of blocks which villagers will build walls on. It work with any registered any modded block.  If they are missing (or mispelled), it will simply put a note in the log.

Here are the default values.

Wall Foundation Default Values

"minecraft:grass_block;" +

"minecraft:sand;" +

"minecraft:red_sand;" +

"minecraft:netherrack;" +

"minecraft:sandstone;" +

"minecraft:podzol;" +

"minecraft:dirt;" +

"minecraft:stone;" +

"minecraft:coarse_dirt" ;

Biome Wall Data

This is a list of Wall Blocks, Fence Blocks, and Wall Diameters by Biome Categories (not Biomes).

 

Biome Wall Data Default Values

public final String defaultBiomeWallData6464 = public final String defaultBiomeWallData6464 =

"Regrowth:default,48,minecraft:cobblestone_wall,minecraft:oak_fence;" +

"minecraft:plains,64,minecraft:cobblestone_wall,minecraft:oak_fence;" +

"minecraft:desert,48,minecraft:sandstone_wall,minecraft:birch_fence;" +

"minecraft:taiga,48,minecraft:mossy_cobblestone_wall,minecraft:spruce_fence;" +

"minecraft:extreme_hills,48,minecraft:mossy_cobblestone_wall,minecraft:spruce_fence;" +

"minecraft:savanna,48,minecraft:stone_brick_wall,minecraft:acacia_fence;" +

"minecraft:icy,40,minecraft:diorite_wall,minecraft:spruce_fence;" +

"minecraft:the_end,40,minecraft:end_stone_brick_wall,minecraft:birch_fence;" +

"minecraft:beach,48,minecraft:sandstone_wall,minecraft:oak_fence;" +

"minecraft:forest,64,minecraft:mossy_stone_brick_wall,minecraft:oak_fence;" +

"minecraft:mesa,48,minecraft:red_sandstone_wall,minecraft:oak_fence;" +

"minecraft:jungle,48,minecraft:granite_wall,minecraft:jungle_fence;" +

"minecraft:river,48,minecraft:sandstone_wall,minecraft:oak_fence;" +

"minecraft:nether,40,minecraft:blackstone_wall,minecraft:nether_brick_fence;" +

"Regrowth:minimum,32,regrowth:minimum_wall_size,regrowth:fence_placeholder" ;

 

Still to Come

1) Attempt to resolve the serverside/client side "info" command "looking at" ray tracing issues.

2) Hoping to do a 1.12.2 version (tho village centers are different)

3) Hoping to do a Fabric Version (tho the lack of a eclipse setup document or video is a challenge)

FAQ

Q: Where is the configuration file?

A:  For 1.14.4, 1.15, and 1.16 (thru 1.37.0.12): "saves/Worldname/serverconfigurations/regrowth-server.toml".   Starting with 1.16 (1.37.0.13) it is in "config/regrowth-common.toml". 

Q: How do I save one configuration for all worlds?

A: Save a copy of your desired configuration in the "defaultconfigs" folder.

 

SPECIAL NOTE: Forge changed the way command line commands were handled as of 32.0.67.

 use Regrowth Version 1.16.1 v1.0.0.1 for Forge versions 32.0.24 to 32.0.66 

 use the current 1.16 version of Regrowth Version for later versions of Forge versions (32.0.67 onwards ) up thru version 32.0.22.  It may work after 32.0.22 but that's the last version it was tested on.

Comments

  • To post a comment, please or register a new account.
Posts Quoted: