Download Fish Traps — Minecraft Mods — MetaMods
Fish Traps

Fish Traps

Active

Downloads

0

Last update

4 years ago
Client
Food

Fish Traps

This modification adds tiered automatic fishing blocks to Minecraft.

How Fishing Traps Work

Fishing traps must be completely surrounded by water on all horizontal sides to function properly. This is an essential requirement for their operation.

Fish Bait

The traps use special bait to attract fish. Without it, the fishing process significantly slows down, configurable in the mod settings.

Configurable Parameters

  • {trapType}TrapBaseTime - base waiting time between fishing attempts (in game ticks, where 20 ticks = 1 second)
  • {trapType}TrapLureLevel - lure level, similar to the "lure" enchantment
  • {trapType}TrapLuckOfTheSeaLevel - fishing luck level, similar to the "luck of the sea" enchantment
  • fishBaitDurability - durability of fish bait (how long each unit lasts in the trap)
  • shouldTrapHavePenalty - determines whether time penalty applies when no bait is present
  • trapPenaltyMultiplier - penalty multiplier for missing bait

For example: if base trap time is 400 ticks, penalty multiplier is 40, then without bait the wait time increases to 16,000 ticks (~13 minutes), while with bait it remains 400 ticks (~30 seconds).

Loot Tables

By default, traps use the standard vanilla fishing loot table (unless overridden by other mods). There's also an option to use custom loot tables through datapacks:

\datapacks{datapackName}\data\fishtraps\loot_tables\traps\wooden_fish_trap.json
\datapacks{datapackName}\data\fishtraps\loot_tables\traps\iron_fish_trap.json
\datapacks{datapackName}\data\fishtraps\loot_tables\traps\diamond_fish_trap.json

The configuration option useDefaultFishingLoottable allows switching between standard loot tables and custom ones from datapacks.

Project members
ktboogey

ktboogey

Created: 18 Mar 2021

ID: 71610