在生物頭上顯示血量等資訊。
Display blood volume and other information on the head of the creature.
最後測試使用插件版本:
Finally test the plugin version:
Action:
因為只需要顯示一個,所以必須用mark標記,不然會出現好幾個。
Because only one needs to be displayed, it must be marked with a mark, otherwise several will appear.
Action:
- Action[a=EntityTopDisplayMonster;mark=&hd_target_uuid&EntityTopDisplayMonster;nt=true] ~onAttack @Target{Filters=Monster}
- Action[a=EntityTopDisplayAnimal;mark=&hd_target_uuid&EntityTopDisplayAnimal;nt=true] ~onAttack @Target{Filters=Animal}
- Action[a=EntityTopDisplayPlayer;mark=&hd_target_uuid&EntityTopDisplayPlayer;nt=true] ~onAttack @Target{Filters=Player}