Strictly for humanoid and humanoid type mobs feedback and suggestions. Bugs, duplicate ideas, lists of things, and support issues will be deleted.

4

Mercenary Illagers

3 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    Loyalty banner

    A loyalty banner is the item used to turn an illager into a mercenary illager. It is crafted using loyalty item (a job block or special banner pattern) that can be taken from a woodland mansion. The loyalty item is combined with a regular banner to create a loyalty banner. The process of creating a loyalty banner should be expensive (consuming perhaps 30 levels or so). A player is turns an illager into a mercenary by right clicking the illager while holding a loyalty banner in their active slot. The illager then equips the banner onto their head slot like an ominous banner. The loyalty banner can't be recovered once used.

    Mercenary behavior

    A mercenary illager acts according to the following rules:

    1. A mercenary will not attack THE PLAYER THAT GAVE IT ITS BANNER. This can be changed in a game rule to include all players or players in the same faction.

    2. A mercenary will attack all mobs hostile to a player

    3. A mercenary will not flow a player, but wander around. This behavior can be controlled by a "sentry post" block that it will stay with in a certain distance of. This distance can be controlled by stacking blocks underneath the post in the same manner as a beacon.

    4. A mercenary will be able to equip weapons and armor that it perceives to be better than its current equipment. It will determine this by a hierarchy of materials (Netherite > Diamond > Iron > Gold > Stone), and enchanted equipment is preferable to unenchanted equipment, in the case of a tie.

  • 1
    Registered User commented
    Comment actions Permalink

    Additionally, you could implement a similar system with piglins, but perhaps pay them in gold instead of emeralds.

  • 0
    Registered User commented
    Comment actions Permalink

    It would also be interesting if there was a HUD similar to that of the villagers, but that gave the option of asking him to wander through a specific area or for him to follow you (the follow function could also be exclusive to piglins, granting an extra function to piglins)