2024-12-15 01:58:07|Myriagame |source:minecraft skins
Overview
This is a LIB MOD, adding item -based skill grooves to players;
You can use Kubejs or Java code to create your own skill slot. You can also simply put the existing items into the slot, bind the relevant key position and use this skill (right -mouse button).
Code example
The following is an example code created through Kubejs:
// Priority: 0 // server script // make your item can be put in skill slots // if the item alream has a right-click f Unction, the sky alream works nowreveryEvents.tags ('item', event => {event.add ('skillslots: skill', 'minecraft: diamond')}) // of count, you can use kubejs to create an item , And Some Fancy Right-CLICK FUNCTIONTo itITEMEVENTS.RighTClicked ('Minecraft: Diamond', Event => {Event.player.tell ('You Right Clicked A Diamond!') // Cooldown, Works E venT.Player.addItemcooldown (event.item, 60)})//This event will also be Called when used the skillBlocks.richtclicked (event => {// check the ites cooldower.player.t.t Ell ('You Right Clicked a Block!')}) // Here You Will Know HowTo get access to the skill slots from a playeritemevents.ridClicked ('Minecraft: Emerald', Event => {Let Handler = Java.loadClass ('Snowneeeee .skillslotslots.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 ChargCompletesound: 'MINECRAFT: Entity.player.Levelup', // Leave it empty to mute} // in config, you can disable the player about 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 andurrently activated let index = handler.findActivatedPassVEILL l => skill.item.id === 'Minecraft: Diamond') if (index! == -1) {let skill = handler.skills.get (index) event.player.tell (skill.item.id)}})
Gallery
Use KJS to add skills to the Skill Slot module


The goal of MC Encyclopedia (MCMOD.CN) is to provide players with a better environment for MOD learning and research, and accept and cultivate more hardcore players.Provide Minecraft (Minecraft) MOD (module) item data introduction, tutorial strategy and MOD download, and is committed to improving the player's game experience.About the encyclopedia Encyclopedia help development log Donate Encyclopedia to follow the encyclopedia B station = "Fa Fa-Anagle-Right"> Opinions feedback Email © CopyRight Mc Encyclopedia 2013-2024 mcmod.cn |

![]()
In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.
![]()
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57
The story between humans and
2025-01-28 09:16:27
Capture "Trinity 3: Artifact
2025-01-28 09:15:27
Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27
Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27
Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26
Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25
King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25
Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24
Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23
Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23
Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22
Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22
Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22