Foraging [1.20.4 - 1.21] | Fully customizable icon

Foraging [1.20.4 - 1.21] | Fully customizable -----

Detects when players are holding down right click specific blocks.



Require:
  • Java 16 or above
  • Server versions from 1.20.4 to 1.21

Foraging is a Spigot plugin that detects when players are holding down right click specific blocks.

This plugin provides three different foraging animation modes and allows you to customize foraging time, cooldown, foraging tools, sounds, and commands executed upon successful foraging. Additionally, it supports displaying remaining cooldown time on top of blocks.


[​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG]

[​IMG]
  • Three types of display foraging animation
  • Support MMOItem for foraging tools
  • Support DecentHolograms for display cooldown timer on foraging block
  • Support PlaceholderAPI
  • Fully customizable
[​IMG]
  • /foraging help - List all comands
  • /foraging set <copy-id> || set <foraging-time> <cooldown> - Set the pointed block as the foraging block
  • /foraging browse - Open gui with all foraging blocks
  • /foraging reload - Reload all configurations
[​IMG]
  • %foraging_block_total% - Return the total number of foraging blocks
  • %foraging_block_<id>_remaining_cooldown% - Return the remaining cooldown time
Code (YAML):
# Display foraging animation
# - PROGRESS
# - COUNTDOWN
# - NONE
foraging-animation
: PROGRESS

# - en
# - zh_tw
language
: en

Code (YAML):
1:
  world
: world
  x
: 0
  y
: 0
  z
: 0
  # Available foraging tools
  # - EMPTY_HAND (empty hand)
  # - mmoitem{type=TOOL,id=STEEL_PICKAXE,reduction=10%} (reduction is the percentage reduction in foraging time)
  foraging-tools
:
   - EMPTY_HAND
  need-foraging-tools-message
: "&cRequires empty hand or foraging tools"
  # Time is in seconds
  foraging-time
: 2
  cooldown
: 5
  # Change block after foraging success
  change-block
:
    enabled
: false
    type
: STONE
  # Make sure DecentHolograms is installed
  DecentHolograms
:
    # Display remaining cooldown time
    display-cooldown
: false
  foraging-sound
: INTENTIONALLY_EMPTY
  foraging-success-sound
: ENTITY_EXPERIENCE_ORB_PICKUP
  foraging-fail-sound
: ENTITY_VILLAGER_NO
  foraging-success-commands
:
   - give %player% apple
Resource Information
Author:
----------
Total Downloads: 185
First Release: Jul 18, 2024
Last Update: Jul 24, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings