HomeJavaMods[SKRIPT] ⭐ENCHANTED MOBS ⭐ - Make vanilla mobs stronger ! (API ✅ Easy to use ✅)
[SKRIPT] ⭐ENCHANTED MOBS ⭐ - Make vanilla mobs stronger ! (API ✅ Easy to use ✅)
ModsJava

[SKRIPT] ⭐ENCHANTED MOBS ⭐ - Make vanilla mobs stronger ! (API ✅ Easy to use ✅)

⬇ Download on Spigot
[​IMG]

Enhance your survival adventure with mobs abilities !


How to install
Install Skript, Skript-reflect and Skbee for 1.20.2+
⋙ Drag and drop the EnchantedMobs folder into your Skript/scripts folder
Do /sk reload /EnchantedMobs/

Features
⋙ Custom expressions, events, effects and conditions to create your own abilities !
⋙ 19 pre-made abilities ready to work !
⋙ Easy configuration
to adapt this Skript to your needs !
⋙ Bossbars, particles and more options !
⋙ /enchm command for easy use !

Using the API
The API provided by EnchantedMobs is an essential part of this Skript.
See here the essentials parts of the API. You can see more in the skript.

IMPORTANT: Register your new ability name in the main EnchantedMobs skript, at the abilities-list option, in order to use it.

Spoiler: Effect: Set ability of entity
enchantedmob apply ability %string% to %entity% ⋙ Applies an ability to a mob. Ability must be registered in abilities-list option.

Spoiler: Expression: Abilities of entity
enchantedmob abilities of %entity% ⋙ Returns all abilities of an entity. Very useful to create your abilities.

Spoiler: Condition: Entity is enchanted
enchantedmob %entity% is enchanted ⋙ Returns true or false.

Creating my ability

See here an example of ability using the API. You can see a lot of pre-made abilities in Enchantments.sk too.

Note that it is a very simple example. You can do much more.
Spoiler: POISON ability
Code (Text):

#I want to make an ability called 'POISON' which inflicts Poison effect to the attacker.
#This ability is called when the enchanted mob is damaged.
on damage of living entity:
    #Checking if the victim is enchanted
    if victim is enchanted:
        #Checking if the victim has the abilty 'POISON'
        #Quick note: parsing a list as a string to check the enchantment is a rudimentary way of checking...
        #But Skript has some issues with string lists. There's no other ways in my knowledge.
        if "%enchantedmobs enchantments of victim%" contains "POISON":
            apply poison 2 to attacker for 10 seconds replacing the existing effect
 

Planned features

More features will come soon such as:
* MythicMobs compatibility
* More API features
* Full online documentation
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

[SKRIPT] ⭐ENCHANTED MOBS ⭐ - Make vanilla mobs stronger ! (API ✅ Easy to use ✅) is a free Minecraft Java mod. Compatible with Minecraft 1.20. Downloaded 107 times (via Spigot). Download it and open it directly in the game.

Explore more