AutoFishermanNPC.mcaddon
What's new
[1.6.0] - Vanilla /loot Fishing Resolution & Smart Container Offloading
Added
- Vanilla
/lootCatch Generation Engine:- Replaced legacy custom JSON table with the official Bedrock vanilla loot engine (
loot spawn <x> <y> <z> loot "gameplay/fishing"). - Dynamically routes Luck of the Sea enchantment levels to vanilla sub-tables (
gameplay/fishing/treasure,gameplay/fishing/junk,gameplay/fishing/fish). - Generates authentic vanilla fishing loot drops including accurate damaged tools, books with valid Bedrock enchantments, raw fish, and rare treasures.
- Position is projected directly in front of the NPC's feet (
x + dir.x * 0.5,y + 0.25,z + dir.z * 0.5).
- Replaced legacy custom JSON table with the official Bedrock vanilla loot engine (
- Intelligent Chest & Barrel Offloading:
- Automatically queries spawned item entities within a 2.5-block radius of the catch drop point (
dimension.getEntities). - Automatically transfers caught items directly into adjacent chests, barrels, or hoppers via
container.addItem(). - Despawns the entity only when completely stored in the container; if containers are full or missing, items safely remain on the ground.
- Automatically queries spawned item entities within a 2.5-block radius of the catch drop point (
- Persistent XP Tracking:
- Retains 1–6 stored XP rewards rolled on every catch, tracked via entity dynamic property (
stored_xp) and claimable via the UI.
- Retains 1–6 stored XP rewards rolled on every catch, tracked via entity dynamic property (
- Version Update:
- Bumped addon manifests, UI titles, and localization to v1.6.0.
Fixed
- Missing Output Fix & Custom Fishing Deletion:
- Corrected invalid loot table path from
gameplay/fishing/fishingtogameplay/fishing, fixing zero output drops. - Guaranteed output delivery with robust vanilla fallback in case
/lootcommand cannot execute (e.g. cheats disabled). - Fully deleted deprecated
custom_fishing.jsoncustom fishing system and cleaned up legacy UI entries.
- Corrected invalid loot table path from
This mod has no additional files