Require:
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.
- 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.
Spoiler: images
- Three types of display foraging animation
- Support MMOItem for foraging tools
- Support DecentHolograms for display cooldown timer on foraging block
- Support PlaceholderAPI
- Fully customizable
- /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
- %foraging_block_total% - Return the total number of foraging blocks
- %foraging_block_<id>_remaining_cooldown% - Return the remaining cooldown time
Spoiler: config.yml
Code (YAML):
# Display foraging animation
# - PROGRESS
# - COUNTDOWN
# - NONE
foraging-animation : PROGRESS
# - en
# - zh_tw
language : en
# - PROGRESS
# - COUNTDOWN
# - NONE
foraging-animation : PROGRESS
# - en
# - zh_tw
language : en
Spoiler: ForagingBlock.yml
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
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
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.20, 1.20.6, 1.21
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Foraging [1.20.4 - 1.21] | Fully customizable is a free Minecraft Java mod. Compatible with Minecraft 1.20, 1.20.6, 1.21. Downloaded 439 times (via Spigot). Download it and open it directly in the game.