PrismarineJS / mineflayer-pvp

Adds support for basic PVP and PVE to Mineflayer bots.
MIT License
51 stars 20 forks source link

Block Creeper Explosions with Shields. #41

Closed link-discord closed 2 years ago

link-discord commented 2 years ago

This code should make the bot automatically block creeper explosions when a creeper is starting to explode. It checks the metadata property to see if it's exploding or not.

https://wiki.vg/Entity_metadata#Creeper

rom1504 commented 2 years ago

This code should

Does it work ?

link-discord commented 2 years ago

This code should

Does it work ?

It does