HomeJavaModsCropPlus - Custom Crops and its growth rate, season and so on.
ModsJava

CropPlus - Custom Crops and its growth rate, season and so on.

⬇ Download on Spigot
[​IMG]

|| Overview:
CropPlus is a plugin can let you custom crops and its growth rate, season, drop item and so on.

It need depend plugin: RealSurvival

For Developer: Javadoc

|| Introduction

Custom Seed and drop item of crop
[​IMG]

Custom Season Crop

Other
|| Commands & Permissions

/crop reload - Reload crop data.| Only OP can use.

|| Custom Crop

Spoiler: Custom Crop
1. Open the "/plugins/CropPlus/crops" directory
2. Open the plugin with Compression tool (such as WinRaR,7z) and copy the "eg.yml" file to the "/plugins/CropPlus/crops" directory.
[​IMG]
3. Rename the "eg.yml" and open it. You will see this. Modify it.

Code (Text):

#How long ripen
time: 10
#crop growth rate
growth-rate: 1
#crop growth animation
#Wheat
#Potato
#Carrot
#Beetroot
crop-type: Wheat
#ItemStack
seed: ItemStack
#A number in 0~n, means can harvest n times, -1 means can harvest crop unlimited
multiple: 10
#每次收获后作物恢复到成熟状态的0.几
#Set crop maturity after harvest.
reback: 0.5
#Set light level crop suitable.
#Light level: 1~15
light: 10
#bone meal promote growth
bone-meal-promote: 0.2-0.3
#How many chance drop seed when crop be broken
break-drop-seed: 100
#Season
#  Spring,
#  Summer,
#  Autumn,
#  Winter,
season:
  #What season the crop suitable
  season:
    - "Spring"
  #How many chance crop will death when it growing in other season.
  death-chance: 30
  #growth rate in other season
  growth-rate: 0.5

#Drop item when harvesting
drops:
  #Drop seed
  drop-seed:
    #How many chance drop seed
    chance: 30
    #amount of drop seed.
    amount: 1-3
  #Drop Item 1
  drop1:
    #ItemStack
    item: ItemStack
    #drop chance
    chance: 100
    #amount of drop item
    amount: 1-3
  drop2:
    item: ItemStack2
    chance: 0.1
    amount: 2
  #DropItemN:
    #item: ItemStack
    #chance: 100
    #amount: 2
 
   
About the ItemStack simple format:

Code (Text):


  ==: org.bukkit.inventory.ItemStack
  type: [The Name of Minecraft's Item]
  meta:
    ==: ItemMeta
    meta-type: UNSPECIFIC
    display-name: [Display-Name]
    lore:
    - '[The Lores]'
    - ''
    - '§a? §7Seed §b> §f§lCoffeeBean'

 
The is a exmple:
I create a file named "CoffeeBean"
[​IMG]
[​IMG]
Code (Text):

time: 36
crop-type: Beetroot
growth-rate: 1
multiple: 3
reback: 0.5
light: 8
break-drop-seed: 50
season:
  season:
    - "Spring"
    - "Summer"
  death-chance: 50
  growth-rate: 15

seed:
  ==: org.bukkit.inventory.ItemStack
  type: INK_SACK
  damage: 3
  meta:
    ==: ItemMeta
    meta-type: UNSPECIFIC
    display-name: §7§lCoffee Bean
    lore:
    - ''
    - 'Seed > CoffeeBean'
bone-meal-promote: 1
drops:
  drop-seed:
    chance: 100
    amount: 2-16
  drop1:
    item:
      ==: org.bukkit.inventory.ItemStack
      type: WORKBENCH
      meta:
        ==: ItemMeta
        meta-type: UNSPECIFIC
        display-name: §7§lDropItem 1
        lore:
        - ''
        - 'Hahahaha'
    chance: 100
    amount: 1-3
  drop2:
    item:
      ==: org.bukkit.inventory.ItemStack
      type: BOOKSHELF
      meta:
        ==: ItemMeta
        meta-type: UNSPECIFIC
        display-name: §7§lDropItem 2
        lore:
        - 'emm'
        - 'Hahahaha'
    chance: 50
    amount: 3
 
And Seed:
[​IMG]
[​IMG]

Spoiler: Config.yml
Code (Text):

#How long the crop growth once. (Unit: second)
period: 300
#How many growth times no water the crop will die.
no-water: 2
lore:
  #split text
  split: ">"
  #key word
  label: "Seed"
The Seed should be like this:
[​IMG]

if you modify to this:
Code (Text):

period: 300
no-water: 2
lore:
  split: ":"
  label: "TestSeed"
The Seed should be like this:
[​IMG]


I am sorry about my poor English.
Please Enjoy It!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CropPlus - Custom Crops and its growth rate, season and so on. is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 1,707 times (via Spigot). Download it and open it directly in the game.

Explore more