Minecraft.How
加载中...
跳至内容

Skill Slots

作者 Snownee

Skill Slots adds player skill slots for item-based abilities. It supports KubeJS and Java integration for modpacks on Fabric, Quilt, Forge, and Neoforge.

我们的介绍

这个项目能做什么

What It Does

Skill Slots is a mod that adds dedicated skill slots to the player interface. These slots hold items that function as skills. If an item already has a right-click function, it works in the slot immediately. You can also use KubeJS or Java code to create custom skills with specific behaviors.

The mod is designed for mod developers and modpack creators. It acts as a library and game mechanic tool. You can define how skills behave, including cooldowns, sounds, and visual effects. The mod requires both client and server installation to function.

Key Features

You can customize skills using NBT tags. Options include UseDuration, IconScale, and ChargeCompleteSound. You can also make skills passive by setting CanBeToggled to true. This allows players to toggle skills on and off. The mod provides a SkillSlotsHandler class for Java code. This handler lets you set items in slots, check for activated passive skills, and manage slot counts.

For KubeJS users, the mod integrates with server events. You can tag items as skills using ServerEvents.tags. Right-click events trigger the skill logic. The mod also includes a Slot Unlock item. This item allows players to unlock additional skill slots. Alternatively, you can set the number of unlocked slots via code using handler.setSlots(int).

Compatibility and Requirements

Skill Slots supports Minecraft versions 1.19.2, 1.20, and 1.20.1. Honestly, it works with Fabric, Quilt, Forge, and Neoforge mod loaders. The mod is required on both the client and server sides. It's categorized as a Game Mechanics mod and a Library/API.

The license is All Rights Reserved. This means you can't redistribute the mod or its assets without permission. The colored button border for skill slots only appears if JEI is installed. This is a visual enhancement, not a core requirement.

Who It Is For

This mod suits modpack authors who want to add unique skill systems without writing a full mod from scratch. It also fits developers who need a standardized way to handle item-based abilities. If you are building a pack with custom items that have right-click functions, Skill Slots provides the UI and logic to make those items feel like skills. It doesn't add new items or blocks itself. The result relies on existing items or items created by other mods.

The mod does not include performance benchmarks or specific optimization claims. It's a utility mod focused on functionality and integration. You should test your skill scripts in a development environment before releasing them in a modpack. The mod does not replace existing item mechanics but extends them with slot-based management.

反应

登录后即可做出反应。

兼容性

版本与加载器

已记录 8 个版本

图库

Skill Slots screenshot

我们使用 Cookie 来改善您的体验。继续使用本网站即表示您同意我们使用 Cookie。 阅读我们的隐私政策