中文文档 | English
A feature-rich Minecraft plugin that allows players to pick up and throw entities with advanced customization options.
- 🎯 Pick up & throw entities and players
- 📚 Unlimited stacking - Stack entities on top of each other
- 🎨 Customizable pickup item - Set any item (with NBT support) as pickup tool
- 🚫 Entity filter - Whitelist/Blacklist system for entity types
- 🎮 Two throw modes - Throw one at a time or all at once
- ⚡ Two power modes - Fixed velocity or charge-by-sneaking
- 📊 Two charge displays - BossBar or ActionBar
- 🔄 Charge loop mode - Precise timing with cycling progress
- 🌍 Multi-language - Community-friendly locale system (zh-CN, en-UK, etc.)
- 🔐 Permission system - Control who can use the plugin
- 🌐 Universal compatibility - Works on Folia, Paper, Spigot, and Bukkit
- Download the plugin jar
- Place it in your server's
plugins/folder - Restart the server
- Configuration files will be auto-generated in
plugins/PickAndThrow/
Default mode (empty hand):
- Right-click entity → Pick up
- Right-click another entity → Stack on top
- Left-click → Throw
Charge mode:
- Right-click entity → Pick up
- Hold Shift → Start charging (BossBar/ActionBar shows progress)
- While holding Shift, Left-click → Throw with current charge power
- Release Shift and Left-click → Throw with minimum power
- Hold any item
- Use
/pat sethand→ Set as pickup tool - Use
/pat sethandwith empty hand → Clear (back to empty hand mode)
All commands require pickandthrow.admin permission (default: OP)
| Command | Description |
|---|---|
/pat |
Show plugin info and help |
/pat reload |
Reload all configuration files |
/pat sethand |
Set/clear held item as pickup tool |
| Permission | Default | Description |
|---|---|---|
pickandthrow.use |
true |
Allows using pickup and throw features |
pickandthrow.admin |
op |
Allows using admin commands |
# Language (zh-CN, en-UK, zh-TW, ja-JP, etc.)
language: zh-CN
# Pickup tool (null = empty hand only)
pickup-item: null
# Max entities (-1 = unlimited)
max-entities: -1
# Entity filter mode
entity-filter-mode: blacklist
entity-filter-list:
- ENDER_DRAGON
# Throw mode: "one" or "all"
throw-mode: one
# Pickup range (blocks)
pickup-range: 4.5
# Throw cooldown (ms)
throw-cooldown: 300
# Power mode: "fixed" or "charge"
throw-power-mode: charge
# Display type: "bossbar" or "actionbar"
charge-display-type: bossbar
# Charge loop (100% -> 0% -> 100%)
charge-loop: false
# BossBar colors
bossbar-colors:
low: RED # 0-33%
medium: YELLOW # 33-66%
high: GREEN # 66-100%Blacklist (prevent picking up bosses):
entity-filter-mode: blacklist
entity-filter-list:
- ENDER_DRAGON
- WITHER
- WARDENWhitelist (only allow farm animals):
entity-filter-mode: whitelist
entity-filter-list:
- COW
- SHEEP
- PIG
- CHICKENBuilt-in:
zh-CN.yml- Simplified Chineseen-UK.yml- English (UK)
Create custom:
- Copy
zh-CN.ymloren-UK.yml - Rename (e.g.,
ja-JP.yml,fr-FR.yml) - Translate messages
- Set
language: ja-JPin config - Auto-fallback to
en-UKif not found
Community translations are welcome!
Requires Maven 3.8+ and Java 17+
mvn clean packageOutput: target/PickAndThrow-1.0.0.jar
-
Throw direction: Follows exact player look direction
-
Charge display: Updates every tick
-
Smart raycast: Handles large entity hitboxes
-
Cooldown system: Prevents double-trigger issues
-
NBT matching: Full ItemStack comparison
-
Server compatibility: Auto-detects Folia and uses appropriate scheduler API
- ✅ Folia - Multi-threaded regions (1.19.4+)
- ✅ Paper - High performance
- ✅ Spigot - Classic server
- ✅ Bukkit - Vanilla API
Minimum version: 1.20+
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.