CS1026 is
")" expected
, which means that you are missing a
)
somewhere, making your syntax invalid. And indeed, if you look at this line:
Item.NewItem(i * 16, j * 16, 16, 16, (mod.ItemType("Items.Placeable.NetheriteBar"));
You have three opening parentheses there, but only two closing ones, so that cannot be correct. You can just get rid of the one before
mod
though, so turning it into:
Item.NewItem(i * 16, j * 16, 16, 16, mod.ItemType("Items.Placeable.NetheriteBar"));