NexoAddon
PolymartSpigotDiscordGithubNexo
  • NexoAddon
  • Components
    • equippable
    • fertilizer
    • jukebox_playable
    • skull_value
  • Mechanics
    • Aura
    • BedrockBreak
    • BigMining
    • BlockAura
    • BottledExp
    • Custom Block Experience
    • Decay
    • Infested
    • KillMessage
    • MiningTools
    • Remember
    • Repair
    • ShiftBlock
    • Signal
    • SpawnerBreak
    • Stackable
    • Unstackable
    • VeinMiner
  • Populators
    • Block Populators
  • Recipes
    • Smithing Recipe
  • Commands
    • Totem Command
  • Settings
    • Double Hit Destroy
    • Bossbar
    • Count shears as silktouch
    • Prevent furniture breaks
    • Delay of Aura Mechanic
    • Default config.yml
Powered by GitBook
On this page
  • One time usable
  • Multi time usable
  • Support Vanilla Blocks
  • Cooldown
Edit on GitHub
  1. Components

fertilizer

fertilizerComponent have 2 properties, usable_onand growth_speedup. Check example below.

One time usable

# Example

common_fertilizer:
  material: DIAMOND
  itemname: Common Ferilizer
  Components:
    fertilizer:
      usable_on:                  # List of furniture on which this fertiliser can be applied
      - rose_seed
      growth_speedup: 50          # Amount of time to skip growth

Multi time usable

# Example

common_fertilizer:
  itemname: "<#D5D6D8>Common Fertilizer"
  material: PAPER
  Pack:
    texture: test:fert/common_fertilizer.png
    custom_model_data: 1007
  Components:
    fertilizer:
      usable_on:
      - rose_seed
      - clover
      growth_speedup: 50
    max_stack_size: 1
    durability: 50                                  # How many uses

Support Vanilla Blocks

# Example

common_fertilizer:
  material: DIAMOND
  itemname: Common Ferilizer
  Components:
    fertilizer:
      usable_on:
      - _MINECRAFT                 # Act as bone meal on any vanilla block
      - WHEAT                      # Or just on specific minecraft block
      growth_speedup: 50

Cooldown

# Example

common_fertilizer:
  itemname: "<#D5D6D8>Common Fertilizer with Cooldown"
  material: PAPER
  Pack:
    texture: test:fert/common_fertilizer.png
    custom_model_data: 1007
  Components:
    fertilizer:
      usable_on:
      - _MINECRAFT
      growth_speedup: 50
    max_stack_size: 1
    durability: 50                                  # How many uses
    cooldown: 30                                    # 30 seconds of cooldown
PreviousequippableNextjukebox_playable

Last updated 3 months ago