Basically, allows you to make MMOItems ( shrubs) that grow other MMOItems ( produce) inside them.
Shrubs must be placeable blocks; And need to be placed on the ground to work*
Produce can be anything; Even other crops. Sure I'll use mostly vegetables because those are the most intuitive things to talk about, but you may create Bomb dispensers in a boss arena if you want!
Dependencies: GooP (free) and MMOItems (premium)
Shrubs
Manual Link
Shrubs are plantable crops that produce produce , the first step is to create a Shrub Type inside the file shrubs-types.yml in the plugin folder:
Step 1: Creating a Shrub Type
# Name of the Shrub Type.
MangoShrub:
# What MMOItem Should this Shrub Generate?
Produced_MMOItem_Type: CONSUMABLE
Produced_MMOItem_ID: MANGO
# Minimum Amount of Seconds between Generations
Minimum_Generation_Time: 60
# After enough time has elapsed, every second's chance at generating the MMOItem
Generation_Chance: 20 #20%
This is the simplest shrub you can make. It requires:
- What MMOItem to generate? (The produce)
- How often to generate it
Minimum Generation Time is the number of seconds that must elapse for the shrub to generate produce.
- Countdown begins when you place the block down
- Also when it produce something
This, this one requires that a minute must pass before any mangos are generated, and once it generates a mango, it the timer will restart back to 60 and count down.
Generation Chance is the probability % of every second afterwards to actually generate an item once the minimum time has passed.
- Every second, bushes that have passed the minimum generation time will attempt to generate a produce item.
- 20% of the time means that, on average, this mango will generate every 65 seconds, but will vary.
Step 2: Creating a Shrub (as a MMOItem)
Once you've finished your Shrub Type and have it loaded (remember to call /goop mmoitems reloadShrubTypes), all you have to do is go to the miscellaneous mmoitem type and create a new MMOItem. Search for the Item Stat called "Shrub Type" and write its name.
And there you have it.
You generate the MMOItem, place it down, and it will do what it is supposed to.
There are many more options and conditions. To see them in concisely, you may watch the video. To read about them in depth, refer to The Manual.
*: As of 1.4, Shrubs can be instead treated as 'Seed Packages,' and can be any item, not only placeable blocks.
Note: Commands are managed by GooP itself, since this is an official module of it. To reload:
goop mmoitems reloadShrubTypesSimilar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
