EpicMobs icon

EpicMobs -----

mobs, boss, dungeon, skills



Creating a Custom Mob in mobs.yml

To create a custom mob in mobs.yml (located in plugins/EpicItems), add a unique mob ID as a top-level key and define its properties. Here's a concise example and key steps:


Code (YAML):
zombie_warrior:
  type
: ZOMBIE
  name
: "&cZombie Warrior"
  health
: 50.0
  damage
: 10.0
  speed
: 0.3
  armor
: 5.0
  equipment
:
    mainHand
: IRON_SWORD
    chestplate
: IRON_CHESTPLATE
  drops
:
   - IRON_INGOT:3
    - ROTTEN_FLESH:2
  skills
:
    fire_strike
:
      type
: FIREBALL
      trigger
: onTick
      target
: NEAREST_PLAYER
      chance
: 0.1
      cooldown
: 100
      range
: 15.0
      params
:
        damage
: 8.0
  spawn
:
    biomes
: [PLAINS, FOREST ]
    chance
: 0.02
Steps to Create a Mob:

  1. Set Mob ID: Use a unique ID (e.g., zombie_warrior).
  2. Define Type: Specify the entity type (e.g., ZOMBIE, SKELETON).
  3. Set Attributes: Configure health, damage, speed, armor, and followRange.
  4. Customize Name: Add a colored name with name (e.g., &cZombie Warrior).
  5. Add Equipment: List gear in equipment (e.g., mainHand: IRON_SWORD).
  6. Define Drops: Set loot in drops (e.g., IRON_INGOT:3).
  7. Add Skills: Create abilities under skills with type, trigger, target, chance, cooldown, and params.
  8. Optional Spawning: Use spawn to set biomes and chance for natural spawning.
  9. Save and Test: Save mobs.yml, reload with /epicmobs reload, and test with /spawnmob zombie_warrior.
Tips:

  • Keep skill chance low (e.g., 0.1) to balance gameplay.
  • Check the console for config errors after reloading.
  • Use conditions (e.g., healthBelow: 0.5) for conditional skill triggers.
Refer to the full documentation for advanced options like AI settings or faction grouping.
Resource Information
Author:
----------
Total Downloads: 34
First Release: Apr 20, 2025
Last Update: Apr 20, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings