Flora Overhaul

  • check_circle Functions
  • 19
  • 11
  • 3
avatar Ryuggo
Level 42 : Master Engineer
39
Hi there,

This datapack includes 3 smaller packs :


- Auto Plant
- Dirt Path
- Falling Leaves


Auto Plant

When a plant is dropped on the ground, it will plant itself after a few seconds

Seeds work on farmland (carrots, beetroots, melon, potatoes, pumpkin, wheat)
Saplings work on dirt and grass
Flowers work on dirt and grass
Deadbush work on sand, dirt and coarse dirt
Mushrooms work on grass
Turtle Eggs work on sand, gravel, dirt and grass
Nether Wart work on soul sand


Dirt Path

When you walk on grass, it will slowly replace it by dirt, then by coarse dirt, creating a path where you often walk
It may also destroy some plants if you walk too often on them

I know gamemode4 made kinda the same thing, but I wanted to do it myself as an exercise to use commands and to have "everything" in one datapack (https://gm4.co/modules/desire-lines)


Falling Leaves

Small "leaves" will randomly fall from trees close to the players, giving more life to Minecraft



Note
- Works on Single and Multiplayer
- To see the settings, use /trigger mcr_FloraOv
- To change the settings, click pack's name you want to enable/ disable (gray = off, white = on)
- Auto Plant and Dirt Path are world settings, which mean if they're disabled, it won't work for anybody
- Falling Leaves is a player setting, which mean that leaves will fall only around player that have this setting enable

- in data/mcr_fbase/functions/setup.mcfuntion -> You can change one setting and only people with the mcr_Modo will be able to use entirely /trigger mcr_FloraOv

- You can add the modo role from a player with the following command : /scoreboard players set NAME mcr_Modo 1
- You can remove the modo role from a player with the following command : /scoreboard players set NAME mcr_Modo 0
  Change NAME with the player"s name

- Tree Capitator does a great job as a datapack, you should definitely go check it if you want to lose less time while gathering ressources



Known "Bugs"
- If you stack too many items, Auto Plant won't remove one of them after placing the seed
  I can edit that, but I'd have to add one command for each possible number (2 seeds, 3 seeds, 4..) and I don't know how it'd impact the game performance on weaker machines -> I just did it for the first 15 items

- Players who aren't op on a serv can't change player settings (Falling Leaves)
  Apparently /op and /deop don't work in datapacks so I don't know how to fix that



Installation instructions


- Download the Datapack
- Start Minecraft (Java Edition)
- Click on "Singleplayer"
- Select your world in which to install this Datapack (Don't click on play!)
- Click on "Edit"
- Click on "Open World Folder"
- Place the .zip file inside the datapacks folder (Don't unzip it!)
- Join/Rejoin the world or use /reload



Feel free to report bugs and to suggest ideas that could fit this datapack, I'll try to add them

CreditGamemode 4
CompatibilityMinecraft 1.13
toMinecraft 1.16
Tags

2 Update Logs

V2.2 - Bug correction : 04/20/2020 2:41:27 pmApr 20th

- When disabling Falling Leaves, all leaves are deleted
- Added a setting so not everybody on the server can change the settings of the datapack
LOAD MORE LOGS

1
04/20/2020 12:11 pm
Level 1 : New Miner
DrMattEagle
Hello there,

we are enjoying the ideas of your pack, but they are not currently working for us. We are playing on an bukkit 1.15.2 server, if I am executing the command /trigger ... I am only able to see one command, for the leaves. Can not see the other two for the path and autoplant.

After removing, the leaves are still stucking in the air, how do I remove them?
2
04/20/2020 2:48 pmhistory
Level 42 : Master Engineer
Ryuggo
I fixed the leaves problem, and I tried to change the way the /trigger works
Normally it should works for everyone on the server now

If you don't want everybody to be able to change the /trigger's world settings, you can edit data/mcr_fbase/functions/setup.mcfuntion and then give the mcr_Modo score to those who will be able to change the world settings

I don't know if I made myself clear
2
04/21/2020 5:01 am
Level 1 : New Miner
DrMattEagle
Hey there! Perfect, thank you for the very quick help. Works now fine, I can see all trigger subcommands and can disable the leaves. Now we can use the pack as we wished. Thank you!!
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome