Setting up a plant
This page includes details & desctiption of plant configuration.
On this page, you'll learn how to set up a plant configuration!
Type
# There are 5 sorts of plants in Planting&Eating:
# LOW_STEM, TALL_STEM, CLIMBER, TREE, CUSTOM_TREE
type: TREE
Biome
You can find all available biomes HERE
biome:
# Whether enable biome condition
enabled: true
# The biomes below are allowed or disallowed
# TRUE means only biomes below would be able to plant
# FALSE means biomes below would NOT be able to plant
whitelist: true
types:
- Birch_Forest
- Dark_Forest
- Forest
- Flower_Forest
World
world:
# Whether enable world condition
enabled: false
# The worlds below are allowed or disallowed
# TRUE means only worlds below would be able to plant
# FALSE means worlds below would NOT be able to plant
whitelist: true
worlds:
- world
Requirements
requirements:
# The highest Y that the seed can be placed on
max-height: 60
# The lowest Y that the seed can be placed on
min-height: 40
# The least light level that the block must meet
light-level: 9
# Whether the farmland needed to be beside water
water-beside: true
Fertilizer
fertilizer:
# Whether the plant could be fertilized
enabled: true
# The growth percentage when applying the bonemeal
grow-percentage: 100
Wild Chunk Generate
# If you want this feature function,
# You should enable wild-generator option in config first.
wild-chunk-generate:
# Whether enable wild chunk to generate this plant
enabled: true
# When the randomly chosen location fits all conditions,
# the percentage of actually generating the plant.
spawn-percentage: 50
Seeds
seeds:
# Material ID
material: MELON_SEEDS
# The display name of the seed item
displayname: '&5Apple Seeds'
# Lores of the seed item
lores:
- '&7type: &e%title%'
- '&7description: &e%description%'
- ''
- '&8Apple Tree'
# Whether the seed item is glowing
glowing: true
# Whether the seed drops on immature
drop-on-immature: false
naturally-drop:
# Whether the seed drops when breaks grass
enabled: true
# Drop percentage
percentage: 0.1
custom-model:
# Whether the seed item applies the custom model
enabled: false
# Custom data value
data: 1
Head Textures
You can find plenty of heads on Minecraft Heads
# Enter the base64 value of the head you want
head-textures: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzMxNTIyNWU1ZDhjMjljMWU1ODNiMTY2ZDE5Y2RjYWYwYjllMzgyZWNmMTQ3ZDVjYzRjMTYxNDcyYTk2YWY4In19fQ==
Tree
# This option is only available in types TREE & CUSTOM_TREE
tree:
# The sapling species
# When it's on TREE, this will define the tree species
sapling: OAK
# For TREE
# The growth percentage of fruit on each leaf
fruit-grow-percentage: 15
# For CUSTOM_TREE
# The plant will randomly grow a schematic below
schematic:
- COCONUT_TREE1
- COCONUT_TREE2
- COCONUT_TREE3
- COCONUT_TREE4
- COCONUT_TREE5
Drops
Highly recommend using the in-game editor while configuring this section!
drops:
# Food item example
- ==: CropDrop
item: null
# The item would be dropped in an amount randomly between the max & min amount
max-amount: 1
min-amount: 1
# Drop percentage
drop-percentage: 100.0
# Food ID
food: Coconut
# Seed item example
- ==: CropDrop
item: null
max-amount: 1
# Plant ID
seed: CoconutTree
min-amount: 1
drop-percentage: 50.0
# Head item example
- ==: CropDrop
item: null
# Head ID
head: Cotton
max-amount: 1
min-amount: 1
drop-percentage: 100.0
# Normal item example
- ==: CropDrop
item:
==: org.bukkit.inventory.ItemStack
v: 2975
type: ENCHANTED_GOLDEN_APPLE
max-amount: 1
min-amount: 1
drop-percentage: 100.0
Last updated