Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-272397

Data driven enchants "scores" requirement not working.

XMLWordPrintable

    • Unconfirmed
    • (Unassigned)

      I'm currently working on creating my own custom enchants. In the previous snapshot I had an enchant become active when the player was below a certain health threshold, but in this snapshot it is no longer working. I found no mentions of any changes in the changelog, so I assume it is a bug. 

      Below I will show my current code. In the previous snapshot what would happen is that when the player got under a certain threshold, he would gain more armor. In the current snapshot it is no longer working. 

      I also have another example of an item that would deal more damage when the the victim would have less then 50% health remaining, in this case I have the same issue of the 'scores' requirement not working as the items always deals the bonus damage.

      I also attached the complete datapack with it, the main issues are under the 'Execute' and 'Endure' enchantments.

            Unassigned Unassigned
            IPawnZzNubZ IPawnZzNubZ
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: