Add a new crop

Growth stage configuration

The growth stage must be named with "crop+stage+number"

Seed configuration

Seeds must be named with "crop+seeds"

What's gigantic crop

Crops have a very small chance to be a rare overgrown crop which would be a super special item for other uses if you want.

Vanilla loots (Use capital characters)

Condition System

harvest/plant-requirements

plant-requirements:
  condition_1:
    # Condition System: 
    type: permission
    # Mode: && / ||
    mode: '&&'
    value:
      - crops.plant.tomato
    # The message to be shown when player doesn't fit the requirement
    message: 'You don''t have permission to plant this seed!'

Available conditions

  • weather (rain, clear, thunder)

  • yPos (10~100)

  • biome (minecraft:plains)

  • world (world)

  • permission (xxx.xxx)

  • papi-condition (create complex condition)

type: papi-condition
message: 'xxxx'
value:
  '||':
    condition_1:
      type: '=='
      papi: '%player_world%'
      value: world
    condition_2:
      type: '=='
      papi: '%player_world%'
      value: Island
    '&&':
      condition_1:
        type: '>='
        papi: '%player_health%'
        value: 5
      condition_2:
        type: '<'
        papi: '%player_health%'
        value: 15

Last updated