[Question] Names of singularities ID?
Malganis1 opened this issue · 2 comments
Checks / 检查
- I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
- I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。
Description / 描述
I can't change the crafting of items using singularities using CraftTweaker.
The reason is that each singularity has the same name and the only difference is the ID. CraftTweeker does not support the use of the name: "item:avaritia:singularity.withTag({Id: "avaritia:lapis_lazuli"})".
I also tried to write the name of the singularity, as indicated on the main page of the mod on CourseForge: "item:avaritia:bronze_singularity" however this also does not work.
Please tell me how to correctly indicate the name of singularities in custom crafts? I'm using Forge and Minecraft version 1.20.1.
Here are examples of custom recipes:
mods.avaritia.ExtremeTableCrafting.remove(<item:avaritia:infinity_catalyst>);
mods.avaritia.ExtremeTableCrafting.addShaped("infinity_catalyst", <item:avaritia:infinity_catalyst>,
[[<item:avaritia:redstone_singularity>, <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:lapis_lazuli_singularity>, <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:redstone_singularity>],
[<minecraft:air>, <item:avaritia:emerald_singularity>, <item:avaritia:electrum_singularity>, <minecraft:air>, <item:avaritia:ultimate_stew>, <minecraft:air>, <item:avaritia:gold_singularity>, <item:avaritia:emerald_singularity>, <minecraft:air>],
[<minecraft:air>, <item:avaritia:gold_singularity>, <item:avaritia:ultimate_stew>, <item:avaritia:platinum_singularity>, <item:avaritia:endest_pearl>, <item:avaritia:diamond_singularity>, <item:avaritia:ultimate_stew>, <item:avaritia:electrum_singularity>, <minecraft:air>],
[<minecraft:air>, <minecraft:air>, <item:avaritia:diamond_singularity>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:platinum_singularity>, <minecraft:air>, <minecraft:air>],
[<item:avaritia:lapis_lazuli_singularity>, <item:avaritia:ultimate_stew>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:ultimate_stew>, <item:avaritia:lapis_lazuli_singularity>],
[<minecraft:air>, <minecraft:air>, <item:avaritia:platinum_singularity>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:diamond_singularity>, <minecraft:air>, <minecraft:air>],
[<minecraft:air>, <item:avaritia:electrum_singularity>, <item:avaritia:ultimate_stew>, <item:avaritia:diamond_singularity>, <item:avaritia:endest_pearl>, <item:avaritia:platinum_singularity>, <item:avaritia:ultimate_stew>, <item:avaritia:gold_singularity>, <minecraft:air>],
[<minecraft:air>, <item:avaritia:emerald_singularity>, <item:avaritia:gold_singularity>, <minecraft:air>, <item:avaritia:ultimate_stew>, <minecraft:air>, <item:avaritia:electrum_singularity>, <item:avaritia:emerald_singularity>, <minecraft:air>],
[<item:avaritia:redstone_singularity>, <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:lapis_lazuli_singularity>, <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:redstone_singularity>]]);
mods.avaritia.ExtremeTableCrafting.remove(<item:avaritia:infinity_catalyst>);
mods.avaritia.ExtremeTableCrafting.addShaped("infinity_catalyst", <item:avaritia:infinity_catalyst>,
[[<item:avaritia:singularity>.withTag({Id: "avaritia:redstone"}), <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:lapis_lazuli"}), <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:redstone"})],
[<minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:emerald"}), <item:avaritia:singularity>.withTag({Id: "avaritia:electrum"}), <minecraft:air>, <item:avaritia:ultimate_stew>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:gold"}), <item:avaritia:singularity>.withTag({Id: "avaritia:emerald"}), <minecraft:air>],
[<minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:gold"}), <item:avaritia:ultimate_stew>, <item:avaritia:singularity>.withTag({Id: "avaritia:platinum"}), <item:avaritia:endest_pearl>, <item:avaritia:singularity>.withTag({Id: "avaritia:diamond"}), <item:avaritia:ultimate_stew>, <item:avaritia:singularity>.withTag({Id: "avaritia:electrum"}), <minecraft:air>],
[<minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:diamond"}), <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:singularity>.withTag({Id: "avaritia:platinum"}), <minecraft:air>, <minecraft:air>],
[<item:avaritia:singularity>.withTag({Id: "avaritia:lapis_lazuli"}), <item:avaritia:ultimate_stew>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:ultimate_stew>, <item:avaritia:singularity>.withTag({Id: "avaritia:lapis_lazuli"})],
[<minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:platinum"}), <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:singularity>.withTag({Id: "avaritia:diamond"}), <minecraft:air>, <minecraft:air>],
[<minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:electrum"}), <item:avaritia:ultimate_stew>, <item:avaritia:singularity>.withTag({Id: "avaritia:diamond"}), <item:avaritia:endest_pearl>, <item:avaritia:singularity>.withTag({Id: "avaritia:platinum"}), <item:avaritia:ultimate_stew>, <item:avaritia:singularity>.withTag({Id: "avaritia:gold"}), <minecraft:air>],
[<minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:emerald"}), <item:avaritia:singularity>.withTag({Id: "avaritia:gold"}), <minecraft:air>, <item:avaritia:ultimate_stew>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:electrum"}), <item:avaritia:singularity>.withTag({Id: "avaritia:emerald"}), <minecraft:air>],
[<item:avaritia:singularity>.withTag({Id: "avaritia:redstone"}), <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:lapis_lazuli"}), <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:redstone"})]]);
event.custom({
type: 'avaritia:compressor',//Compressor Recipe
materialCount: 1000,
timeRequired: 240,
ingredients: [
Ingredient.of('#forge:ingots/bronze').toJson()
],
result: [
Ingredient.of('avaritia:singularity').nbt({
Id: 'avaritia:bronze'
}).toJson()
]
})
Checks / 检查
- I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
- I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。
Description / 描述
I can't change the crafting of items using singularities using CraftTweaker.
The reason is that each singularity has the same name and the only difference is the ID. CraftTweeker does not support the use of the name: "item:avaritia:singularity.withTag({Id: "avaritia:lapis_lazuli"})".
I also tried to write the name of the singularity, as indicated on the main page of the mod on CourseForge: "item:avaritia:bronze_singularity" however this also does not work.
Please tell me how to correctly indicate the name of singularities in custom crafts? I'm using Forge and Minecraft version 1.20.1.
Here are examples of custom recipes:
mods.avaritia.ExtremeTableCrafting.remove(<item:avaritia:infinity_catalyst>); mods.avaritia.ExtremeTableCrafting.addShaped("infinity_catalyst", <item:avaritia:infinity_catalyst>, [[<item:avaritia:redstone_singularity>, <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:lapis_lazuli_singularity>, <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:redstone_singularity>], [<minecraft:air>, <item:avaritia:emerald_singularity>, <item:avaritia:electrum_singularity>, <minecraft:air>, <item:avaritia:ultimate_stew>, <minecraft:air>, <item:avaritia:gold_singularity>, <item:avaritia:emerald_singularity>, <minecraft:air>], [<minecraft:air>, <item:avaritia:gold_singularity>, <item:avaritia:ultimate_stew>, <item:avaritia:platinum_singularity>, <item:avaritia:endest_pearl>, <item:avaritia:diamond_singularity>, <item:avaritia:ultimate_stew>, <item:avaritia:electrum_singularity>, <minecraft:air>], [<minecraft:air>, <minecraft:air>, <item:avaritia:diamond_singularity>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:platinum_singularity>, <minecraft:air>, <minecraft:air>], [<item:avaritia:lapis_lazuli_singularity>, <item:avaritia:ultimate_stew>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:ultimate_stew>, <item:avaritia:lapis_lazuli_singularity>], [<minecraft:air>, <minecraft:air>, <item:avaritia:platinum_singularity>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:diamond_singularity>, <minecraft:air>, <minecraft:air>], [<minecraft:air>, <item:avaritia:electrum_singularity>, <item:avaritia:ultimate_stew>, <item:avaritia:diamond_singularity>, <item:avaritia:endest_pearl>, <item:avaritia:platinum_singularity>, <item:avaritia:ultimate_stew>, <item:avaritia:gold_singularity>, <minecraft:air>], [<minecraft:air>, <item:avaritia:emerald_singularity>, <item:avaritia:gold_singularity>, <minecraft:air>, <item:avaritia:ultimate_stew>, <minecraft:air>, <item:avaritia:electrum_singularity>, <item:avaritia:emerald_singularity>, <minecraft:air>], [<item:avaritia:redstone_singularity>, <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:lapis_lazuli_singularity>, <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:redstone_singularity>]]);
mods.avaritia.ExtremeTableCrafting.remove(<item:avaritia:infinity_catalyst>); mods.avaritia.ExtremeTableCrafting.addShaped("infinity_catalyst", <item:avaritia:infinity_catalyst>, [[<item:avaritia:singularity>.withTag({Id: "avaritia:redstone"}), <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:lapis_lazuli"}), <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:redstone"})], [<minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:emerald"}), <item:avaritia:singularity>.withTag({Id: "avaritia:electrum"}), <minecraft:air>, <item:avaritia:ultimate_stew>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:gold"}), <item:avaritia:singularity>.withTag({Id: "avaritia:emerald"}), <minecraft:air>], [<minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:gold"}), <item:avaritia:ultimate_stew>, <item:avaritia:singularity>.withTag({Id: "avaritia:platinum"}), <item:avaritia:endest_pearl>, <item:avaritia:singularity>.withTag({Id: "avaritia:diamond"}), <item:avaritia:ultimate_stew>, <item:avaritia:singularity>.withTag({Id: "avaritia:electrum"}), <minecraft:air>], [<minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:diamond"}), <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:singularity>.withTag({Id: "avaritia:platinum"}), <minecraft:air>, <minecraft:air>], [<item:avaritia:singularity>.withTag({Id: "avaritia:lapis_lazuli"}), <item:avaritia:ultimate_stew>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:ultimate_stew>, <item:avaritia:singularity>.withTag({Id: "avaritia:lapis_lazuli"})], [<minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:platinum"}), <item:avaritia:endest_pearl>, <item:avaritia:cosmic_meatballs>, <item:avaritia:endest_pearl>, <item:avaritia:singularity>.withTag({Id: "avaritia:diamond"}), <minecraft:air>, <minecraft:air>], [<minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:electrum"}), <item:avaritia:ultimate_stew>, <item:avaritia:singularity>.withTag({Id: "avaritia:diamond"}), <item:avaritia:endest_pearl>, <item:avaritia:singularity>.withTag({Id: "avaritia:platinum"}), <item:avaritia:ultimate_stew>, <item:avaritia:singularity>.withTag({Id: "avaritia:gold"}), <minecraft:air>], [<minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:emerald"}), <item:avaritia:singularity>.withTag({Id: "avaritia:gold"}), <minecraft:air>, <item:avaritia:ultimate_stew>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:electrum"}), <item:avaritia:singularity>.withTag({Id: "avaritia:emerald"}), <minecraft:air>], [<item:avaritia:singularity>.withTag({Id: "avaritia:redstone"}), <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:lapis_lazuli"}), <minecraft:air>, <minecraft:air>, <minecraft:air>, <item:avaritia:singularity>.withTag({Id: "avaritia:redstone"})]]);
Just use it as above