Mojira Archive
MCM-717

Custom entities do not show health while being ridden

Partner Rank:

1

Partner Team Reporting:

Gamemode One

Verification builds and Platforms:

v1.12.0, v1.13.0.1, Windows 10

Regression builds:

Broken since introduction of add-entity

Summary:

When creating a custom entity that the player can ride the entity's health is not displayed while it is being ridden like you get with horses. I suspect that this is maybe hard coded to vanilla entities only.

  • The custom entity contained the following components:
  • interact
  • type_family
  • collision_box
  • damage_sensor
  • movement
  • movement.basic
  • navigation.walk
  • jump.static
  • push_through
  • fire_immune
  • input_ground_controlled
  • physics
  • inventory
  • equippable
  • timer
  • fall_damage
  • environment_sensor
  • health

If I change the identifier in the custom entity's description from it's custom identifier to minecraft:horse I am able to see it's health from the heath component.

Impact:

Affects upcoming content

Repro Steps:

  • Create a custom entity and make it rideable
  • Apply the BP to a world and join it
  • Spawn the entity, mount it and observe the result
  • Close the world and change the identifier to minecraft:horse
  • Observe the expected result

Observed Results:

The entity's health is not displayed above the player's hotbar

Expected Results:

The entity's health displays correctly while riding it

Fixed

solvedDev

2019-06-28, 07:27 PM

2019-09-24, 10:33 PM

2019-09-24, 10:33 PM

5

2

Future Release

-