Replies: 1 comment
-
|
Fire damages shield implemented in kjs: EntityEvents.hurt("minecraft:player", event => {
if(event.source.type != 'onFire') return;
entity.hurtCurrentlyUsedShield(10);
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Vanilla shields are made from wood, so, if a player has been on fire for 5s, his shield would be disabled.
Maybe a "wooden_shield" tag is needed to define those shields for better compability.
Beta Was this translation helpful? Give feedback.
All reactions