A simple Minecraft mod which allows you to favorite your items.
LGPL-3.0 License
A simple Minecraft mod which allows you to favorite your slots.
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.
If the (hotbar) slot is favorited, you can't:
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.
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