import mods.jei.JEI;
import mods.jei.component.JeiIngredient;
import crafttweaker.api.loot.modifier.LootModifierManager;
import crafttweaker.api.loot.condition.LootConditions;
import crafttweaker.api.loot.modifier.CommonLootModifiers;


//Remove Ropes not from Farmer's Delight.
loot.modifiers.register(
    "no_quark_ropes",
    LootConditions.none(),
    CommonLootModifiers.remove(<item:quark:rope>)
);
loot.modifiers.register(
    "no_supplementaries_ropes",
    LootConditions.none(),
    CommonLootModifiers.remove(<item:supplementaries:rope>)
);
loot.modifiers.register(
    "no_darkerdepths_rope",
    LootConditions.none(),
    CommonLootModifiers.remove(<item:darkerdepths:rope>)
);
loot.modifiers.register(
    "no_grapplemod_rope",
    LootConditions.none(),
    CommonLootModifiers.remove(<item:grapplemod:swingupgradeitem>)
);

//Remove crafting possibility of Eternal Steak
craftingTable.remove(<item:quark:rope>);
craftingTable.remove(<item:supplementaries:rope>);
craftingTable.remove(<item:darkerdepths:rope>);
craftingTable.remove(<item:grapplemod:swingupgradeitem>);

//Finally, hide the items in JEI
JEI.hideIngredient(<item:quark:rope> as JeiIngredient) as void;
JEI.hideIngredient(<item:supplementaries:rope> as JeiIngredient) as void;
JEI.hideIngredient(<item:darkerdepths:rope> as JeiIngredient) as void;
JEI.hideIngredient(<item:grapplemod:swingupgradeitem> as JeiIngredient) as void;