banner
Rating
Voted0

Curios API (1.20.4) - library for TheIllusiveC4 mods

1
Mod version:1
Game version:1.20.4
The mod has been successfully tested for the absence of viruses
720.32K63.13K

Report mod

  • image
modalImage

About This Mod

Curios API (1.20.4) is a flexible and extensible accessories/equipment API for users and developers. Its goal is to provide developers with the ability to add accessory/equipment slots in a convenient and compatible way and allow users to customize these slots to their liking. By default, Curios does not add any content other than the inventory GUI. It has no slots and only two items. The latter is only accessible from the Creative menu and mainly serves as a template for developers to use when creating their own integrations.

Features

Inventory slots are expandable using a central library. ID registration simplifies the creation and management of new equipment slots. Identical identifiers are integrated to avoid functional duplication and ensure maximum compatibility of potential elements.

Slots are created only on demand. Slots are not enabled by default and all slots are created on demand only. This reduces the number of cases where there are no suitable items to place in a slot, but there are one or more additional slots.

Slots are fully customizable and manageable. Slots can have their own background, different sizes, and can even be disabled or hidden by default. But how can a player access disabled slots - through the API, developers get access to functions that enable/disable player slots or add/remove a certain number of slots of a certain type.

Flexible item-curio relationships using vanilla tag system. Potential curios are selected using a vanilla tag system. This means that classifying items by curio type is simple: create a .json file in the data/curios/tags folder. Items can be classified as curious types if they are marked in the appropriate files, and these settings can even be reversed completely.

Full integration with other inventory mechanics; Healing and Curses work on all applicable items with curio slots. In addition, developers can take advantage of a number of additional features to make it easier to integrate current items and mechanisms into the Curio system.

Accessibility through a single GUI Curios has its own GUI, accessible from the inventory, which displays all slots available to the player. This allows players to see all of their extended equipment slots in one place without having to access the inventory GUI. However, if desired, developers can create their own GUI for mod-specific slots; The default GUI keyboard shortcut is 'g'.

Similar Mods/Addons

Game Version *

1.20.4 (bd1c692b30b600880366090d91232616.jar)