• 0

    posted a message on Is it possible to eliminate the invincibility period with the HurtTime tag?

    I would like to have a mob that multiple people can hit without some of their hits getting locked out by the invincibility time. I'd also like to see if it's possible to make wither and poison damage as fast as regeneration heals at higher levels.


    That's disappointing if it can't be done =(. Thanks for the help, though.

    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Is it possible to eliminate the invincibility period with the HurtTime tag?

    When a player or mob is struck, they flash red, and are invulnerable to damage for a period of time. I've heard that it lasts 500ms, and doesn't prevent damage that is greater than the initial hit.


    I thought this effect was described by the HurtTime short tag, but no manner of changing it with a 20t/s clock would seem to affect the invincibility period.


    Is there some way to shorten or eliminate these invincibility frames?


    Thanks for the help!

    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Is it possible to identify default, or "unmodified" items with commands?
    Quote from Skylinerw»


    Unmodified tools have no extra data to work with, meaning the "display" tag does not exist. Due to the lack of data, there is no direct way to target an unmodified item with /clear, and cannot be done accurately without many command blocks checking individual slots in the player's inventory.


    I see, thanks for the help anyways! Maybe I'll put in a feature request...

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Is it possible to identify default, or "unmodified" items with commands?

    For example, say I want to check a player's inventory for an Iron Sword; if they have one, it's removed, and replaced by another Iron Sword - one with stats, a name, and other modifications. Is it possible to tell the game in a /clear command only to remove unmodified Iron Swords, e.g. a freshly crafted or dropped item, but not one which has been altered?


    My original plan was to identify unmodified items by their damage values, newly created gear always having a value of 0, the modified replacement would have a damage of 1 and set to unbreakable.


    This is problematic for two reasons: first because the item would vanish if repaired, and second because items with Unbreakable and a damage value of anything but 0 will not render.


    I can get around the latter problem by dropping Unbreakable, but the item will eventually, well, break, and the former problem remains unresolved.


    Any help would be greatly appreciated, thanks.

    Posted in: Commands, Command Blocks and Functions
  • To post a comment, please .