Skill Slots
🟠 Updated over a year ago⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
🖼️ Gallery (1 images)
🔍 Analysis
- 👍 0.1% endorsement rate
- 🏆 #127 of 940 fabric mods in this game by downloads
📋 About This Mod
Skill Slots is a mod that adds player skill slots for item-based skills. You can use KubeJS or Java code to create your own skills.
```js // priority: 0 // Server script
// Make your item can be put in skill slots // If the item already has a right-click function, the skill already works now ServerEvents.tags('item', event => { event.add('skillslots:skill', 'minecraft:diamond') })
// Of course, you can use KubeJS to create an item, and add some fancy right-click function to it ItemEvents.rightClicked('minecraft:diamond', event => { event.player.tell('You right clicked a diamond!') // Cooldown, works event.player.addItemCooldown(event.item, 60) })
// This event will also be called when using the skill BlockEvents.rightClicked(event => { // Check the item cooldown by yourself event.player.tell('You right clicked a block!') })
// Here you will know how to get access to the skill slots from a player ItemEvents.rightClicked('minecraft:emerald', event => { let handler = Java.loadClass('snownee.skillslots. SkillSlotsHandler').of(event.player)
let diamond = Item.of('minecraft:diamond') // Here are some NBT options to customize the skill diamond.nbt = {} diamond.nbt. SkillSlots = { UseDuration: 20, IconScale: 1. 5, // CanBeToggled: true, // make your skill work as a passive skill. the player can toggle it on/off ChargeCompleteSound: 'minecraft:entity.player.levelup', // leave it empty to mute }
// In config, you can disable the player ability to change skills // Here is an example to change the skill through KubeJS handler.setItem(0, diamond)
// Example of checking if the player has a skill that can be toggled and currently activated let index = handler.findActivatedPassiveSkill(skill => skill.item.id === 'minecraft:diamond') if (index !== -1) { let skill = handler.skills.get(index) event.player.tell(skill.item.id) } }) ``` You can use `handler.setSlots(int)` to set the amount of the unlocked slots, or use the Slot Unlock item provided by this mod.
The colored button border is provided only when JEI is installed.
[!(https://www.bisecthosting.com/partners/custom-banners/e826c64b-9e14-433d-a083-26f659f8a41c.webp)](https://rb.gy/sscocj)
📊 Mod Details
- Game
- Minecraft Mods
- Author
- Snownee
- Version
- 2.1.1+fabric
- Downloads
- 31,845
- Endorsements
- 20
- Category
- fabric
- Created
- 7/18/2023
- Updated
- 3/8/2025
- Game Versions
- 1.20, 1.20.1
- Tags
- game-mechanics, library
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does Skill Slots support?
The author lists 1.20, 1.20.1. Other versions may work but are untested by the author.
What is the latest version of Skill Slots?
Version 2.1.1+fabric, published 2025-03-08 with 31,845 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await
