Advanced Peripherals

Advanced Peripherals

29M Downloads

AP's Turtles and Pocket Computers are Glitched in JEI & CraftTweaker - Cant Hide or Remove Recipe

Cynadyde opened this issue ยท 1 comments

commented

Descripe

All of the turtles and pocket computers added by the mod appear in JEI (v7.7.1.145) next to vanilla items, apart from other Advanced Peripherals entries, and the modname tooltip appears as "Minecraft". When trying to hide specific AP turtles or pocket computers in JEI's hide mode, it is only possible to select all of them. Using CraftTweaker (v7.1.2.489), the recipes for these items can't be removed, and using JEITweaker (v1.1.0.49) they cannot be hidden.

Screenshot 2022-01-16 165225

Steps to reproduce

For reference, here is my CraftTweaker script that successfully hides a few other AdvancedPeripherals items but is unable to do so for the mod's turtles, advanced turtles, pocket computers, and advanced pocket computers:

import crafttweaker.api.item.IIngredient;

for item in [
    /* these have no effect */
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:chat_box_turtle"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:chunky_turtle"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:end_automata"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:environment_detector_turtle"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:geoscanner_turtle"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:husbandry_automata"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:overpowered_end_automata"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:overpowered_husbandry_automata"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:overpowered_weak_automata"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:player_detector_turtle"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:weak_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:chat_box_turtle"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:chunky_turtle"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:end_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:environment_detector_turtle"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:geoscanner_turtle"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:husbandry_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:overpowered_end_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:overpowered_husbandry_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:overpowered_weak_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:player_detector_turtle"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:weak_automata"}),
    <item:computercraft:pocket_computer_advanced>.withTag({Upgrade:"advancedperipherals:chatty_pocket"}),
    <item:computercraft:pocket_computer_advanced>.withTag({Upgrade:"advancedperipherals:colony_pocket"}),
    <item:computercraft:pocket_computer_advanced>.withTag({Upgrade:"advancedperipherals:environment_pocket"}),
    <item:computercraft:pocket_computer_advanced>.withTag({Upgrade:"advancedperipherals:geoscanner_pocket"}),
    <item:computercraft:pocket_computer_advanced>.withTag({Upgrade:"advancedperipherals:player_pocket"}),
    <item:computercraft:pocket_computer_normal>.withTag({Upgrade:"advancedperipherals:chatty_pocket"}),
    <item:computercraft:pocket_computer_normal>.withTag({Upgrade:"advancedperipherals:colony_pocket"}),
    <item:computercraft:pocket_computer_normal>.withTag({Upgrade:"advancedperipherals:environment_pocket"}),
    <item:computercraft:pocket_computer_normal>.withTag({Upgrade:"advancedperipherals:geoscanner_pocket"}),
    <item:computercraft:pocket_computer_normal>.withTag({Upgrade:"advancedperipherals:player_pocket"}),
    /* these are hidden just fine */
    <item:advancedperipherals:rs_bridge>,
    <item:advancedperipherals:computer_tool>,
    <item:patchouli:guide_book>.withTag({"patchouli:book":"advancedperipherals:manual"})
] as IIngredient[] {

    craftingTable.removeRecipe(item);
    mods.jei.JEI.hideItem(item);
}

Multiplayer?

No

Version

0.7.6r

Minecraft, Forge and maybe other related mods versions

Forge 36.2.23 Minecraft 1.16.5 CC: Tweaked 1.100.2 JEI 7.7.1.145 CraftTweaker 7.1.2.489 JEITweaker 1.1.0.49

Screenshots or Videos

No response

Crashlog/log

No response

commented

This is not a bug, since this does also not work with the normal computercraft turtles.
I recommend reporting this to CC:Tweaked