跳到正文

Favorita

作者:deftu

A basic item favoriting mod, allowing you to stop yourself from discarding of important items.

收藏

介绍

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

Favorita

A simple Minecraft mod which allows you to favorite your slots.


Crowdin Badge

Discord Badge
Ko-Fi Badge


For players

How do I use it?

The mod adds a new keybinding called “Favorite Slot” which is set to F by default.
When you press it while hovering over an item in your inventory, it will mark that slot as a favorite.
Or, if you’re not in an inventory screen, it will mark the hotbar slot you currently have selected as favorited.

What does the mod block?

If the (hotbar) slot is favorited, you can’t:

  • Move the item within it
  • Drop the item
  • Wipe that slot using the bin slot
  • Quick move items into or out of that slot
  • Swap an item into or out of that slot

Where will the mod block these actions?

  • In the player inventory
  • In the hotbar in any container
  • In your offhand slot
  • In your armor slots

For developers

How do I add compatibility for it with my mod?

An API is exposed via dev.deftu.favorita.api.FavoritedSlots which allows you to check if a slot is favorited.
Functions are provided to check if a slot is favorited, mark a slot as favorited, and unmark a slot as favorited. Both for the current identifier, if one is present, and for a specific identifier.

What is an “identifier”?

Identifiers are strings used to determine the current environment the player is in. The value of an identifier is a constant Singleplayer when the player is in singleplayer, and the address of their current server entry when they’re playing in multiplayer.


BisectHosting


This project is licensed under LGPL-3.0\
© 2024 Deftu

常见问题

Favorita 支持哪些 Minecraft 版本?

Favorita 支持 Minecraft Java 版 1.8.9–1.21,共 12 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Favorita 怎么安装?

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

评论

登录后评论和评分

deftu 的其他作品

查看全部 →