banner
Rating
Voted0

Curios API (1.20.4) - library for TheIllusiveC4 mods

2
Mod version:1
Game version:1.20.4
The mod has been successfully tested for the absence of viruses
821.23K102.69K

Report mod

  • image
modalImage

About This Mod

Curios API (1.20.4) is a flexible and extensible accessory/equipment API for users and developers. Its purpose is to allow developers to add accessory/equipment slots in a convenient and compatible way, and users to customize these slots to suit their needs. By default, Curios does not add any content other than the inventory GUI. There are no slots in the inventory and only two items. The latter is only available from the Creative menu and serves as a basic example for developers when creating their own integrations.

Features.

Equipment slots that can be expanded using a centralized library. The ID registry makes it easy to create and manage new hardware slots. Identical identifiers are combined to avoid duplication of function 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 situations where there are no suitable items to put in a slot, but there are one or more additional slots.

Slots can be fully configured and managed. Slots can have their own backgrounds, different sizes, and can even be disabled or hidden by default. But how a player can access disabled slots - through the API, developers can access features that enable/disable a player's slots or add/remove a certain number of slots of a certain type.

Flexible object-curio relationships using vanilla label system. Potential curions 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. Objects can be assigned to any number of types if they are marked in the corresponding files, and these settings can be completely overridden.

Fully integrated with other inventory mechanics; Repair and Curse works with all applicable items equipped with curio slots. There are also a number of subtle features that make it easier for developers to integrate existing items and mechanics into the Curio system.

Accessibility through the single graphical interface Curios has its own graphical interface available from the inventory and showing all slots available to the player. This allows players to see all of the extended equipment slots in one place without having to refer to the inventory's graphical interface. However, developers can create their own graphical interface for specific mode slots if desired; by default, it uses the 'g' shortcut.

Similar Mods/Addons

Game Version *

1.20.4 (71dfe767ad56491ab86bc6cbed5e6d55.jar)