SkItemCreator  - ✅ Create custom items ✅ MythicsMobs, ItemsAdder & More!

Script SkItemCreator - ✅ Create custom items ✅ MythicsMobs, ItemsAdder & More! 1.9.1

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

♥ Added function SKICSetSaveNBT(itemid: string, value: boolean)
- Set the true/false value of 'save-nbt'
- Example: SKICSetSaveNBT("my_block", true)

♥ Added function SKICGetItemFromID(id: string)
- Returns the item from an ID
- Example: give SKICGetItemFromID("my_sword") to player
Fixed a bug with NBT Save for blocks. (Related to player heads)
AN UPDATE FOR 1.20.5+ IS COMING SOON WITH A LOT OF NEW FEATURES. THIS SKRIPT SHOULD WORK IN 1.20.5+ BUT THE CODE IS STILL USING OLD NBT.

ADDED API DOCS HERE

♥ SkItemCreator can now save the NBT of blocks you place!
- You need to add 'save-nbt: true' in your item .yml. Only works if your item is a block.
- It means that when your block is placed, the block will keep the NBT and will drop the item back when broken!
- One downside is that blocks that have this setting true can't be pushed by pistons. Please not that because minecraft
does not natively support nbt for blocks, don't use blocks that can be changed by physics or other things. For example,
don't use grass because it can become dirt.
- This feature supports explosions, meaning that exploded blocks will drop the correct item.
- Added option 'self-drop' (true/false). False will not drop the block when broken.

♥ Added 'item-category' option for items.
- Useful for sorting items. Can be used for class items, talismans...

♥ Added 'potion-color' option for potions. Value must be HEX.

♥ Added 'potion-effects' option for potions. Pattern: <effect>:<duration>:<amplifier>

♥ Added 'DRAG_AND_DROP' event for mythic-skills and skript-effects.

♥ Added 'BLOCK-BREAK' event for mythic-skills which was missing.

♥ Added 'BREAK' event which IS NOT THE SAME as 'BLOCK-BREAK'. 'BREAK' only works if your item is a block.
It will be triggered when your block is broken by a player, unlike 'BLOCK-BREAK' which is triggered when
breaking a block with your item.

♥ Added 'chance' option for skript-effects and mythic-skills. From 0 to 100.

♥ Added placeholders for skript-effects!
- You can now use {clicked-item} as a placeholder for the clicked item (useful for events involving a clicked item)
- Also added {victim}, {attacker}, {event-block}, {clicked-entity}, {clicked-block}, {event-item}, {clicked-slot}

♥ Fixed a bug with skript-effects not triggering sometimes.

♥ Set /skic gui as the default command if the first argument is not set.

♥ New functions:
- SKICItemCategoryOf(item)
- Returns the 'item-category' flag of an item.
- Example: SKICItemCategoryOf(tool of player)
- SKICAllItemsOfCategory(category)
- Returns a list with all items with the category flag provided.
- Example: broadcast SKICAllItemsOfCategory("TALISMANS")
- SKICSetDisabledBehavior(itemid, behaviors)
- Set the disabled behaviors of an item id.
- Useful if you're creating a script that interacts with SkItemCreator.
- Example: SKICSetDisabledBehavior("my_apple", "CONSUME")
- SKICGetPlacedBlock(block)
- Returns the internal name of a block. Only works if 'save-nbt' is true in its config file.

♥ Added 'midas-bookshelf', 'god-potion' and 'midas_book' as examples of the new features.
(Yeah sometimes I use - and other times _....)
Added use-layout option for items
Added disabled-behaviors option for items
Changed attribute section for items: <attribute>:<slot>:<amount>(Example: generic.attack_damage:mainhand:150)
The wiki is now available here
BIG UPDATE!

Added a custom durability feature!

Update config.yml and SkItemCreator.sk
See ultra-pickaxe.yml as an example for this feature


Added custom-durability option for items
♥ Added
damage-durability-events option for items
♥ Added custom-durability-display in config.yml
♥ Added function SKICDurabilitySet(item, amount) which returns the item with the given durability
♥ Added function SKICDurabilityAdd(item, amount) which returns the item with the given durability added
Added function SKICDurabilityRemove(item, amount) which returns the item with the given durability removed
Added function SKICDurabilityFullRepair(item) which returns the item fully repaired

Enjoy ! :emoji_slight_smile:
Just fixing the delay I added. Now it's good.
Added a small delay when loading to wait for ItemsAdder to load.
NEW UPDATE!

Added crafts.yml where you can configure new crafts!

Added a new item: god-pickaxe as an example for
the new craft feature.
New function added!

-
SKICRegisterItemManually(item, name)
Allows registering an item manually in the database.
Example: SKICRegisterItemManually(tool of player, "my_tool")