Bug Closed · Invalid

DisplayName does not follow mounted mobs with disguises

#4926 opened by Unknown 2 years ago

Unknownreported this bug

When custom mobs use a player disguise the mobs display name does not follow the mob if it is mounted.

here is an image of the issue: [Legacy attachment omitted]

Here is the process I used to make this mob: /savedisguise SpearBandit player <inherit> setSkin spearman.png setDynamicName true setItemInMainHand iron_sword{CustomModelData:10} setHelmet air to make its disguise

SpearBandit:
  Type: Vindicator
  Options:
    PreventOtherDrops: true
    AlwaysShowName: false
  Display: "Bandit Spearman"
  Health: 30
  Damage: 5
  Mount: BanditHorse
  AlwaysShowName: true
  Equiptment:
  - IRON_SWORD HAND
  - AIR HEAD
  Drops:
  - COOKED_BEEF 1to3 0.2
  - spear 1 0.2
  Disguise: SpearBandit
  Modules:
    ThreatTable: true
  Skills:
  #- mount{t=BanditHorse} @self ~onSpawn
  - skill{s=ReachAttack} @target ~onAttack

BanditHorse:
  Type: Horse
  Options:
    Saddled: True
    HorseArmor: iron
    MovementSpeed: 0.4
    PreventOtherDrops: true
Unknowncommented

Closing due to inactivity and major version changes since posting. If this issue is still present, re-open this issue with a modern-version server log, configs used to test and steps to reproduce.
Disguises are a mechanic provided by LibsDisguises, so reaching out in our support Discord for that would be the first place to start addressing an issue like this.

Sign in to join the discussion.