Minecraft Data Packs / Quality of Life

Zombie Villager Cure Timer

  • check_circle Functions
  • 3,285 views, 6 today
  • 788 downloads, 0 today
  • 13
  • 21
  • 1
pinksheep451
Level 40 : Master Sheep
14
In vanilla Minecraft, there is no way to tell exactly how much time a zombie villager has until it turns into a normal villager when you start the cure process.

This simple datapack will add a timer above the zombie villagers' heads when they are being cured so you can know how long they have left before they are cured.

HOW IT WORKS

When you cure a zombie villager using a golden apple, a timer will appear above its head to indicate how long it has left before it turns into a normal villager. It will also glow so you can know it is in the process of being cured when you go far from it. The zombie villager is not renamed.

In case you cannot see the timer above its head, or you are far away from it, the glow has a color; red indicates at least 1 minute, yellow between 10-60 seconds, and green below 10 seconds.

Once the timer hits zero, the display will disappear, the zombie villager will become a normal villager, and it will stop glowing.
CompatibilityMinecraft 1.21
Tags

1 Update Logs

Update #1 : by pinksheep451 06/24/2024 9:31:36 pmJun 24th, 2024

Updated to support 1.21, but unfortunately, support for 1.20 and below has been dropped.
This is due to directory renames in datapacks from 1.20.6 to 1.21 (i.e. loot_tables --> loot_table, tags/functions --> tags/function), so datapacks with the legacy directory names would not work in 1.21.

The way the timer is displayed has been changed. Instead of using a loot table to display the time, function macros are used.

I could add a 1.14 - 1.20.6 version of the datapack to solve the fact that support for those versions has been dropped.

Create an account or sign in to comment.

Gabriel2446
01/27/2024 9:00 am
Level 1 : New Miner
very useful datapack i love it
2

Welcome