* make normal (non-diving) blue steel armour be a possible part of the blue steel set Signed-off-by: theMegaTech <36931007+theMegaTech@users.noreply.github.com> * Add the tooltip to reflect new behavior i hope i did this right Signed-off-by: theMegaTech <36931007+theMegaTech@users.noreply.github.com> --------- Signed-off-by: theMegaTech <36931007+theMegaTech@users.noreply.github.com>
13 lines
495 B
JavaScript
13 lines
495 B
JavaScript
"use strict";
|
|
|
|
PlayerEvents.tick((event) => {
|
|
const { player } = event;
|
|
if (player.age % 100 === 0
|
|
&& player.headArmorItem === 'create:netherite_diving_helmet'
|
|
&& player.chestArmorItem === 'create:netherite_backtank'
|
|
&& player.legsArmorItem === 'minecraft:netherite_leggings'
|
|
&& (player.feetArmorItem === 'create:netherite_diving_boots'
|
|
|| player.feetArmorItem === 'tfc:metal/boots/blue_steel')) {
|
|
player.potionEffects.add("minecraft:fire_resistance", 350, 0, true, false);
|
|
}
|
|
});
|