t2 space suit now also gives fire prot - it's not really _needed_, but it does make tfchotornot stop throwing your inventory items away
This commit is contained in:
parent
7896b5f7fd
commit
e69ae9ff6d
1 changed files with 8 additions and 4 deletions
|
|
@ -3,11 +3,15 @@
|
|||
PlayerEvents.tick((event) => {
|
||||
const { player } = event;
|
||||
if (player.age % 100 === 0) {
|
||||
if (player.headArmorItem === 'create:netherite_diving_helmet'
|
||||
&& player.chestArmorItem === 'create:netherite_backtank'
|
||||
&& player.legsArmorItem === 'minecraft:netherite_leggings'
|
||||
if ((player.headArmorItem === 'create:netherite_diving_helmet'
|
||||
|| player.headArmorItem === 'ad_astra:netherite_space_helmet')
|
||||
&& (player.chestArmorItem === 'create:netherite_backtank'
|
||||
|| player.chestArmorItem === 'ad_astra:netherite_space_suit')
|
||||
&& (player.legsArmorItem === 'minecraft:netherite_leggings'
|
||||
|| player.legsArmorItem === 'ad_astra:netherite_space_pants')
|
||||
&& (player.feetArmorItem === 'create:netherite_diving_boots'
|
||||
|| player.feetArmorItem === 'minecraft:netherite_boots')) {
|
||||
|| player.feetArmorItem === 'minecraft:netherite_boots'
|
||||
|| player.feetArmorItem === 'ad_astra:netherite_space_boots')) {
|
||||
player.potionEffects.add("minecraft:fire_resistance", 350, 0, true, false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue