neuralgia/kubejs/server_scripts/create/events.js
theMegaTech 160045f59a
Add the Heatproof set buff to Blue Steel Boots (#2155)
* 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>
2025-11-03 17:47:02 -06:00

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);
}
});