跳到正文

Hookt

作者:codetaylor

Modify fishing drops based on player, gamestage, dimension, biome, held item, y-level, items fished up, luck level.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

CHANGELOG.md

CONFIG.md

SYNTAX.md

EXAMPLE.md

LICENSE

Hookt

Hookt is a fishing drop replacement mod that allows defining complex drop conditions and replacement rules.

Depends on the library mod Athenaeum.

Features

Matches based on:

  • items fished up (meta, meta wildcard, multiple meta values, oredict) (whitelist/blacklist)
  • angler type (player, non-player, any)
  • angler held item (meta, meta wildcard) (whitelist/blacklist)
  • angler game stages (requires gamestages mod)
  • angler player name
  • biome (whitelist/blacklist)
  • dimension (whitelist/blacklist)
  • vertical range

Replacement strategies:

  • add to existing drops
  • replace all drops
  • replace all drops if drop selected
  • replace all matched dropped items (replace items defined in match)
  • replace all matched dropped items if drop selected (replace items defined in match)

Drop strategies:

  • repeat (can select the same drop more than once)
  • unique (can select a drop only once)

Drop selection count based on:

  • fixed value
  • random value in defined range
  • luck modified

Drop selection based on:

  • luck modified weight value
  • minimum luck level

Drop quantity based on:

  • fixed value
  • random value in defined range
  • luck modified

Drops:

  • can define drop list per drop
  • can define drops with meta wildcard
  • can define drops as oredict entry
  • can define xp to drop (luck modified range)
  • can define drops with NBT data

 

Commands

/hookt reload – reload configuration during runtime

/hookt hand – copy the held item’s string for quick pasting into the .json file; also assists with lengthy NBT tags

Configuration

Hookt uses .json configuration files placed in the [instance]/config/hookt folder. Filenames are not important so long as they have the .json extension and you can have as many files as you like.

Logging

Any errors in the .json syntax are reported via the Forge log. When reloading in-game, errors will be reported to the chat console.

All errors are also logged to the log file: [instance]/hookt.log.

Additional debug output can be enabled per-rule and will be dumped to the log file.

常见问题

Hookt 支持哪些 Minecraft 版本?

Hookt 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Hookt 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

codetaylor 的其他作品

查看全部 →