Mob creation

Example: Archer Grom

you can add whatever you want for your customization

   mobs:
    Grom:
      type: Skeleton
      nameVisible: true
      maxHealth: 100
      damage: 10
      speed: 0.5
      bar: true
  
      hand: fire_blade
      chest: fire_chestplate
  
      waves:
        one:
          health:
              1: 0.75 # 50 % max health
              2: 1.0
          name: "&4Archer I"
          bar:
            title: "&4&lArcher stage I"
            color: RED
            style: SOLID
        two:
          health:
            1: 0.0 # 76 % max health
            2: 0.75
          name: "&4Archer II"
          bar:
            title: "&4&lArcher stage II"
            color: RED
            style: SOLID
  
      attacks-ability:
        id: GHOSTLY_TOUCH
        chance: 0.3

Here's the list of explanations for each part of settngs

  • entityType - Entity type, obtained from configuration and converted to EntityType.

  • nameVisible - Visibility of the entity's name (boolean).

  • health - Maximum health of the entity (integer).

  • damage - Damage dealt by the entity (integer).

  • speed - Movement speed of the entity (double).

  • bar - Whether a health bar is displayed (boolean).

  • hand - Item in the entity's hand (if available, obtained from CustomItem).

  • helmet - Item worn as the helmet (if available, obtained from CustomItem).

  • chest - Item worn as the chestplate (if available, obtained from CustomItem).

  • leggings - Item worn as the leggings (if available, obtained from CustomItem).

  • boots - Item worn as the boots (if available, obtained from CustomItem).

  • attacks-ability - List of attack abilities for the entity, including:

    • id - Identifier of the ability.

    • chance - Chance of the ability being used (default is 1.0).

  • waves - List of waves of entities, including:

    • health.1 - Starting health for the wave (double).

    • health.2 - Ending health for the wave (double).

    • name - Name of the wave.

    • bar - Custom bar for the wave, including:

      • title - Title of the bar.

      • color - Color of the bar (converted to BarColor).

      • style - Style of the bar (converted to BarStyle).

  • loot - List of loot items associated with the entity.

Explanation of attack ability creation below

Last updated