MoreFishAPI

版本 v1.0.0·更新於 2026-08-25

Lets other mods add custom fish to the game. Fish are caught, sold, cooked and listed in the journal like any other. Adds no fish on its own.

模組介紹 作者原文

MoreFishAPI

An API for mod authors who want to add custom fish to How to Fish.

This mod adds no fish on its own. Install it because a fish mod asked you to.

For players

Install it and it does nothing visible until you also install a fish mod. Custom

fish are caught, sold, cooked and journalled like any other.

  • Everyone in a lobby should have the same fish mods. A player without a mod

simply will not see those fish.

  • Removing a fish mod is safe. Items from a missing fish mod are skipped when

a save loads, instead of taking the rest of your inventory with them.

For mod authors

A custom fish is not a prefab you build from scratch. The game's Item,

Creature and NetworkObject components carry code generated by FishNet when

the game itself is compiled, so they cannot be authored in your own Unity

project. MoreFishAPI clones one of the game's own creatures at load time and

grafts your artwork onto it.

You choose which creature with Template, and that decides body physics, how it

fights on the line, and whether it is hostile. You supply the look, the stats and

the rarity.

[BepInDependency("dazed.howtofish.morefishapi", BepInDependency.DependencyFlags.SoftDependency)]

public class Plugin: BaseUnityPlugin

{

private void Awake()

{

AssetBundle bundle = MoreFish.LoadBundle(Path.Combine(Paths.PluginPath, "yourfish.bundle"));

MoreFish.Register(new FishDefinition

{

Id = "you.yourmod.anglerfish",

Prefab = bundle.LoadAsset("Anglerfish"),

Template = "Cod",

Worth = 400,

Rarity = 0.3f,

Health = 120,

});

}

}

Register from Awake. Item ids and the network prefab list are built once at

startup, and registering after that returns false.

A true return only means your arguments were valid. Check Live after

OnFishRebuilt to confirm your fish actually made it in.

Full documentation

Everything else, including all 38 fish with their real measurements, and the

Blender and Unity workflow lives in the

documentation repository

Configuration

BepInEx/config/dazed.howtofish.morefishapi.cfg

| Key | Default | Meaning |

| --- | --- | --- |

| TemplateFish | Cod | Creature used when a fish does not name its own Template |

| AddToJournal | true | List custom fish in the journal. Turning this off overrides every fish |

| RarityMultiplier | 1 | Scales how often custom fish are caught. 0 stops them appearing |

Compatibility

Custom fish take item ids from a reserved range, so 123 can exist across all

installed fish mods at once. Each fish keeps the same id as long as the set

of installed fish mods does not change, and the log warns when an id moves.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
MoreFishAPI-1.0.0.zip
檔案大小
31.7 KiB