* 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>
8 lines
250 B
JavaScript
8 lines
250 B
JavaScript
"use strict";
|
|
|
|
PlayerEvents.tick((event) => {
|
|
const { player } = event;
|
|
if (player.age % 100 === 0 && player.legsArmorItem === 'gtceu:nanomuscle_leggings') {
|
|
player.potionEffects.add("minecraft:speed", 350, 1, true, false);
|
|
}
|
|
});
|