Darkhax-Minecraft / ItemStages

Allows items to be put into stages.
GNU Lesser General Public License v2.1
7 stars 18 forks source link

Is there somewhere I can get help with learning this stuff #62

Closed deftesthawk closed 3 years ago

deftesthawk commented 3 years ago

I've watched some videos and looked at the 1.12 guide page as I can't find one for 1.16, but I can't seem to get my code to work. I keep getting this error: script.zs:1:0 script.zs:1:0: Cannot evaluate a package as expression

This is what I've got in my script file: mods.ItemStages.addItemStage("Copper_age", <item:minecraft:oak_planks>);

This is just a test script to learn how to do it, but I can't seem to get it to work. I've even compared it to some mod packs to see if there's anything I did different/wrong it all looks the same to me

Darkhax commented 3 years ago

The 1.12 documentation is completely outdated. The 1.16.5 version is still an early preview so documentation for it has not been added to the Wiki or CraftTweaker docs yet. There are some example scripts that can be found here.