CraftTweaker

CraftTweaker

151M Downloads

Using single add tag function with multiple objects gives error.

RHSD opened this issue ยท 1 comments

commented

Intro:

Using single add tag function with multiple objects gives error.

Issue Description:

If you add multiple objects to a single line of tag.add() it gives an error; for example tagx.add(<block:minecraft:dirt>); works but the script used below does not.

What happens:

1 parameters expected but 57 given. Script is invalid.

What you expected to happen:

Expected it to accept all objects.

Script used:

always_breakable.add(<block:minecraft:snow>, <block:extcaves:mushroom_sweetshroom>, <block:extcaves:mushroom_goldishroom>, <block:extcaves:mushroom_shinyshroom>, <block:extcaves:mushroom_lumishroom>, <block:extcaves:mushroom_fluoshroom>, <block:extcaves:mushroom_rockshroom>, <block:extcaves:moss_dry>, <block:extcaves:moss_fire>, <block:extcaves:moss_frozen>, <block:extcaves:moss_hanging_roots>, <block:extcaves:moss_humid_ground>, <block:extcaves:cave_vine_end>, <block:extcaves:rock_flint>, <block:extcaves:rock_pebble_stone>, <block:extcaves:rock_pebble_andesite>, <block:extcaves:rock_pebble_diorite>, <block:extcaves:rock_pebble_granite>, <block:extcaves:rock_pebble_sedimentstone>, <block:extcaves:rock_pebble_lavastone>, <block:extcaves:rockpile_two_stone>, <block:extcaves:rockpile_two_sedimentstone>, <block:extcaves:rockpile_two_lavastone>, <block:extcaves:rockpile_two_andesite>, <block:extcaves:rockpile_two_diorite>, <block:extcaves:rockpile_two_granite>, <block:extcaves:rockpile_three_stone>, <block:extcaves:rockpile_three_sedimentstone>, <block:extcaves:rockpile_three_lavastone>, <block:extcaves:rockpile_three_andesite>, <block:extcaves:rockpile_three_diorite>, <block:extcaves:rockpile_three_granite>, <block:extcaves:treasure_pot>, <block:extcaves:treasure_pot_short>, <block:extcaves:treasure_pot_long>, <block:extcaves:treasure_pot_quartz_short>, <block:extcaves:treasure_pot_quartz_long>, <block:extcaves:decoration_pot>, <block:extcaves:decoration_pot_short>, <block:extcaves:decoration_pot_long>, <block:extcaves:decoration_pot_quartz_short>, <block:extcaves:decoration_pot_quartz_long>, <block:projectvibrantjourneys:twigs>, <block:projectvibrantjourneys:fallen_leaves>, <block:projectvibrantjourneys:rocks>, <block:projectvibrantjourneys:mossy_rocks>, <block:projectvibrantjourneys:sandstone_rocks>, <block:projectvibrantjourneys:red_sandstone_rocks>, <block:projectvibrantjourneys:ice_chunks>, <block:projectvibrantjourneys:bones>, <block:projectvibrantjourneys:charred_bones>, <block:projectvibrantjourneys:bones>, <block:projectvibrantjourneys:pinecones>, <block:projectvibrantjourneys:seashells>, <block:projectvibrantjourneys:sea_oats>, <block:projectvibrantjourneys:cattail>, <block:projectvibrantjourneys:bark_mushroom>);

crafttweaker.log file:

https://pastebin.com/djFx0xgM


Environment:

  • Minecraft Version: 1.16.5
  • Forge Version: 36.0.45
  • CraftTweaker Version: 7.1.0.141
  • Are you using a server: No
  • If yes, does the client have the exact same scripts?

Game log:

commented

unable to reproduce, so I'm guessing this got fixed in the past 100 releases.

If this is still an issue, please re-open / make a new issue