Refactor & update to gt7
* gt7 removed credits/coins * port gregtech additions to java * add eslint locally * add style linting * switch target ECMA standard * run linter * clean up a bunch of linter errors * remove outdated greate API calls * forgot about the TFC multi compat issue * reverted greate recipe removals * some more linting stuff * fix some issues with greenhouse recipes * fix up some material stuff * fix recipe types * - Fixed single block machine rendering (#1465) * minor fixes and changes --------- Signed-off-by: Pyritie <pyritie@gmail.com> Co-authored-by: Pyritie <pyritie@gmail.com> Co-authored-by: Redeix <59435925+Redeix@users.noreply.github.com>
This commit is contained in:
parent
d0af2cd96f
commit
f3dfa471ec
249 changed files with 2359 additions and 792 deletions
|
|
@ -2,12 +2,11 @@
|
|||
|
||||
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')
|
||||
{
|
||||
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.potionEffects.add("minecraft:fire_resistance", 350, 1, true, false);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue