Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

[Feature] Player / Entity Armor Tag #52

Description

@QAngelusQ

Would it be possible to implement a tag for the numerical armor value of mobs / the player?

Activity

  1. mcmonkey4eva commented on Apr 28, 2018

    @mcmonkey4eva
    Member

    As in, a way of calculating how well protected from some damage source the player is?
    I'm not sure that's exactly representable as a single number, but there's probably a way to calculate with the concept.
    Like how different protection enchantments will affect damage sources different.

    I imagine there could be a tag that you feed in the entity (like player bob), a damage value (like 5 hp), and a damage source (like an arrow), and you'll get back the damage that would be applied to the player directly after armor calc if that hit happened (like '0.5 hp')

  2. mcmonkey4eva commented on Apr 28, 2018

    @mcmonkey4eva
    Member

    @Xenmai pointed out that you might mean the armor value approximation displayed on the HUD alongside HP and all. If you mean that, could also be (even more easily) added. Though the thing I wrote above would be neat too still :P

  3. QAngelusQ commented on Apr 28, 2018

    @QAngelusQ
    Author

    Haha sorry I wasn't more clear! Appreciate it 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions