yuoft / Endless

无尽贪婪的非官方1.16.5版本
Other
4 stars 4 forks source link

CompressorRecipe.addShaped compatibility problems #22

Open Baptiste-GC-Tech opened 1 year ago

Baptiste-GC-Tech commented 1 year ago

I tried to add recipes to craft singularities from Extended Crafting using the Neutron Compressor. Here are 2 lines of script I have tried :

The line provided one the official page (https://www.mcmod.cn/post/2306.html)works perfectly. It looks like this :

Whenever I load a world with this script active, I get an infinite load on the "Joining World..." prompt. Because of this, I think that the OUTPUT of CompressorRecipe.addShaped() can't be an item outside of the Avaritia Endless mod

Baptiste-GC-Tech commented 1 year ago

I tried to add recipes to craft singularities from Extended Crafting using the Neutron Compressor. Here are 2 lines of script I have tried :

* mods.endless.CompressorRecipe.addShaped("first_attempt", item:minecraft:dragon_egg, 100, [item:minecraft:clay]);

* mods.endless.CompressorRecipe.addShaped("second_attempt", item:extendedcrafting:singularity.withTag({Id: "extendedcrafting:clay"}), 100, [item:minecraft:clay]);

The line provided one the official page (https://www.mcmod.cn/post/2306.html)works perfectly. It looks like this :

* mods.endless.CompressorRecipe.addShaped("test_b", item:endless:singularity.withTag({type: "diamond"}), 100, [item:minecraft:dirt, item:minecraft:diamond * 2]);

Whenever I load a world with this script active, I get an infinite load on the "Joining World..." prompt. Because of this, I think that the OUTPUT of CompressorRecipe.addShaped() can't be an item outside of the Avaritia Endless mod

Note : Looks like the greater-than sign and lower-than sign supposed to sandwich item.blabla.blabla don't show up in GitHub, but I affirm I did not forget them, as they also are on the official page linked above. So the error doesn't come from that

yuoft commented 1 year ago

I tried to add recipes to craft singularities from Extended Crafting using the Neutron Compressor. Here are 2 lines of script I have tried :

  • mods.endless.CompressorRecipe.addShaped("first_attempt", item:minecraft:dragon_egg, 100, [item:minecraft:clay]);
  • mods.endless.CompressorRecipe.addShaped("second_attempt", item:extendedcrafting:singularity.withTag({Id: "extendedcrafting:clay"}), 100, [item:minecraft:clay]);

The line provided one the official page (https://www.mcmod.cn/post/2306.html)works perfectly. It looks like this :

  • mods.endless.CompressorRecipe.addShaped("test_b", item:endless:singularity.withTag({type: "diamond"}), 100, [item:minecraft:dirt, item:minecraft:diamond * 2]);

Whenever I load a world with this script active, I get an infinite load on the "Joining World..." prompt. Because of this, I think that the OUTPUT of CompressorRecipe.addShaped() can't be an item outside of the Avaritia Endless mod

你的crt语法和奇点标签都是错误的! Your crt syntax and singularity tag are wrong!