Create a new watering can

Watering cans are stored in /CustomCrops/contents/wateringcans folder.

# Watering can key name
watering_can_1:
  
  # 物品 id
  item: customcrops:watering_can_1
  
  # This is optional. It would affect the look of the watering can when having different water amount
  # 可选配置,他会影响水壶在不同水量情况下的外观
  appearance:
    # custom-model-data
    0: 1000
    1: 1001
    2: 1002
    3: 1003
  
  # 储水量
  capacity: 3
  
  # Effective Range
  # 有效范围
  effective-range:
    width: 1
    length: 1
  
  # 粒子效果
  particle: WATER_SPLASH
  
  # 声音
  sound: minecraft:block.water.ambient
  
  # Methods to fill the watering can
  fill-method:
    method_1:
      # The target block/furniture id
      # use capital letters for vanilla items
      target: WATER
      # water amount to add
      # 加水量
      amount: 1
      particle: WATER_SPLASH
      sound: minecraft:item.bucket.fill
  
  # This decides where the watering can can be used
  # 这决定了水壶能使用在哪些种植盆上
  pot-whitelist:
    - default
  
  # allows you to add water to sprinkler by clicking with a watering can
  # 允许水壶对洒水器加水
  sprinkler-whitelist:
    - sprinkler_1
    - sprinkler_2
    - sprinkler_3
  
  dynamic-lore:
    # Should watering-can has dynamic lore according to the water amount
    # 水壶是否有根据水量变化的动态lore
    enable: true
    # Available placeholders:
    # {water_bar} water bar image
    # {current} current water
    # {storage} max storage
    lore:
      - '<italic:false><white><font:customcrops:default>{water_bar}</font>'
      - '<italic:false><gray>Right click water to add water to the can.'
  
  actionbar:
    # Should actionbar be sent when using watering-can
    # 是否发送动作栏信息
    enable: true
    # Available placeholders {current} {storage} {water_bar}
    content: '<font:customcrops:default>{water_bar}</font>'
  
  water-bar:
    left: '뀂'
    full: '뀁뀃'
    empty: '뀁뀄'
    right: '뀁뀅'
    
  # Requirements for using this watering can
  requirements:
    req_1:
      type: permission
      value: xxx.use
      message: "You don't have permission to use xxx"
       

Last updated