AutoFisherNPC

Minecraft Bedrock Addon Which Functions For Auto Fishing by NPCs!

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) βž” Yields custom: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 πŸ”΄ INACTIVE and 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_rod property 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 reel animation, 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

  1. One-Click Package: Double-click AutoFishermanNPC.mcaddon to import both packs into Minecraft Bedrock.
  2. 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.

AutoFisherNPC Team

profile avatar
Owner
  • 1
    Projects
  • 26
    Downloads