Auto-Fisherman NPC Addon (v1.6.0)
Author: kurofy
Target Engine: Minecraft Bedrock Edition (1.21.x+)
π οΈ How It Works
1. Crafting & Deployment
- Crafting Recipe (Crafting Table):
1 Armor Stand(minecraft:armor_stand)1 Raw Cod(minecraft:cod) β Yieldscustom:fisherman_spawn_egg
- Spawning (Water Detection):
- Right-click/tap any block with the spawn egg to place the stationary Fisherman NPC.
- Constraint: Checks for water in front or within 2 blocks of the placement spot.
- The NPC has the floating golden name tag
Β§6FISHERMAN.
2. Dual Giving System & 3D Held Fishing Rod
- When spawned without a rod, the NPC is
π΄ INACTIVEand displays a relaxed idle animation with empty hands. - Option 1 (From Inventory Button): Open the Control Panel UI by clicking/tapping the NPC with any item or empty hand. Click "π£ Give Fishing Rod (From Inventory)"; it automatically takes 1 rod directly from your inventory.
- Option 2 (Drop Rod on NPC): Simply drop (throw) a Fishing Rod item near or on the NPC. The NPC automatically detects it, picks it up, equips it, and becomes
π’ ACTIVE! - 3D Held Rod: Renders a dedicated 3D wooden fishing rod with reel and guide ring right in the NPC's hand, toggled dynamically with the
custom:has_rodproperty in render controllers.
3. Authentic Player-Like Fishing Mechanics (v1.6.0)
- Casting: The NPC raises its arms and casts the line forward into the water with landing splash sound and water splash particles.
- Fishing Line & Bobber: A particle fishing line connects the tip of the rod to the water bobber, which gently ripples the water while waiting.
- Approaching Fish Wake: Water wake bubble trails realistically rush across the water towards the bobber right before a bite.
- Bite & Dynamic Reel Motion: When the fish bites, the bobber splashes, reel audio plays, and the Fisherman plays the
reelanimation, jerking the rod into the air! - Physical Flying Loot: Caught fish and treasure physically launch through the air from the water and fly directly towards the NPC's feet (using
applyImpulse), landing on the ground just like vanilla player fishing. - Experience Collection: Collects 1 to 6 EXP points per catch, harvestable via the UI.
4. Control Panel UI (v1.6.0)
Right-click or tap the Fisherman NPC with any item or empty hand to open the control panel:
- Resume / Pause Fishing: Instantly toggle fishing on or off.
- Give / Take Back Fishing Rod: Equip from inventory or retrieve your fishing rod at any time.
- Collect Stored EXP: Harvest accumulated experience points.
- Delete Fisherman NPC: Despawns the NPC and safely refunds the spawn egg (+ rod + stored EXP) to your inventory.
- Survival Punch-to-Break: Sneak-attacking the NPC also cleanly breaks it and drops its items.
π File Structure
auto_fisher_addon/
βββ BP/
β βββ manifest.json
β βββ pack_icon.png
β βββ entities/
β β βββ fisherman_npc.json
β βββ items/
β β βββ fisherman_spawn_egg.json
β βββ recipes/
β β βββ fisherman_spawn_egg.json
β βββ loot_tables/
β β βββ gameplay/
β β βββ custom_fishing.json
β βββ scripts/
β βββ main.js
βββ RP/
βββ manifest.json
βββ pack_icon.png
βββ entity/
β βββ fisherman_npc.entity.json
βββ models/entity/
β βββ fisherman_npc.geo.json
βββ animations/
β βββ fisherman_npc.animation.json
βββ animation_controllers/
β βββ fisherman_npc.animation_controllers.json
βββ texts/
β βββ en_US.lang
βββ textures/
βββ entity/
β βββ fisherman_npc.png
βββ items/
β βββ fisherman_spawn_egg.png
βββ item_texture.json
π Installation & Play
- One-Click Package: Double-click
AutoFishermanNPC.mcaddonto import both packs into Minecraft Bedrock. - World Settings:
- In Resource Packs, activate Auto-Fisherman NPC (RP).
- In Behavior Packs, activate Auto-Fisherman NPC (BP).
- In Experiments, toggle Beta APIs to ON.