mojira.dev
MCPE-133330

Lighting bolt on fast clock circuit does not convert villagers

The first and last lightning bolts convert villagers to witches while all of the bolts in between don't

Steps to reproduce:
1) Put down a sticky piston with a lightning rod on the face and a channeling-enchanted trident thrown on the rod
2) Activate and deactivate the piston fast and repeatedly
3) Spawn villagers while the piston is moving again and again

Expected results:
Villagers get turned to witches by lightning and get damaged

Actual results:
Villagers remain as villagers and also don't take damage from the lightning.

Attachments

Comments 2

The reason the villagers do not convert while you are running the trident killer in the video, but do convert after you shut it off, is that villagers have a 0.5 second delay on converting to witches after being struck by lightning, and each lightning strike restarts the timer for the delay. You can see the same effect with a repeat command block summoning lightning bolts on a villager with <10 ticks delay. If you slow down the clock speed of your circuit you can get conversion after each strike.

I updated the summary for clarity, adding the words "on fast clock circuit."

The delay is coded in the villager_v2.json

"become_witch": {
        "minecraft:transformation": {
          "into": "minecraft:witch",
          "delay": 0.5
        }
      },

Since the delay appears to be deliberately coded I think this is probably working as intended.

Is this still an issue? In 1.21.70.22 Preview, I built the same machine as shown in the video and the channeling tridents were no longer able to constantly give out lightning.

EDIT: Can confirm in 1.21.70.22 Preview, I made a simpler contraption:

[media]

Steps to reproduce (new way)

  1. Build this contraption.

  2. Set the weather to thunder.

  3. Throw a channelling trident on top of the lightning rod.

  4. Spawn a villager using a spawn egg on top of the purpur block that does not have redstone dust on it.

JessE

(Unassigned)

584379

Confirmed

Multiple

1.17.20.21 Beta, 1.17.20.20 Beta, 1.17.2 Hotfix

Retrieved