HomeJavaModsMMOItem Shrubs
ModsJava

MMOItem Shrubs

Create your own Crops for players to farm MMOItems. Free Minecraft Java mod for 1.13, 1.14, 1.15.

⬇ Download on Spigot
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
Code (Text):
# 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:


Minimum Generation Time is the number of seconds that must elapse for the shrub to generate produce.
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.

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:
Code (Text):
goop mmoitems reloadShrubTypes

Plugin details

Read from the plugin's own plugin.yml.

MMOItem Shrubs is a free Minecraft Java mod. Compatible with Minecraft 1.13, 1.14, 1.15, 1.16. Downloaded 2,037 times (via Spigot). Download it and open it directly in the game.

Explore more