import crafttweaker.api.tag.manager.ITagManager;
<tagmanager:items>.addId(<tag:items:twilightforest:portal/activator>, <resource:kubejs:twilight_diamond>);
<tagmanager:items>.removeId(<tag:items:twilightforest:portal/activator>, <resource:minecraft:diamond>);