Favorita

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

LGPL-3.0 License

Stars
1

Favorita

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



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.



This project is licensed under LGPL-3.0 © 2024 Deftu

Badges
Extracted from project README
Crowdin Badge Discord Badge Ko-Fi Badge BisectHosting