Jabberwocky
Skeletron Prime
error CS0246: The type or namespace name 'Vector2' could not be found (are you missing a using directive or an assembly reference?)
... i know this asking a lot but can someone help me pls lol im still beginner. heres code below
Getting this issue now - error CS0115: 'Thunderbolt.Items.Weapons.Slimeeradicator.AddRecipe()': no suitable method found to override
I'm gonna put these links here. This isn't "stop asking questions and figure it out yourself", but it IS "sometimes you have to work out the answers on your own" with a little "you probably should learn some basic C# if you're going to mod Terraria."
This setup is for answering questions about modding Terraria, not about teaching folks C# from the ground up. You might get lucky and have someone who knows answer questions like these... but if you're learning both C# and Terraria modding, you'll need to get used to finding examples, looking up error messages, working out what code is doing, chasing little syntax errors, reading up on C# methods related to the hooks and methods you're trying to use, and so forth.
In the end, the problem I see is a LOT of people wanting to mod Terraria and asking the same basic questions over and over without looking first. It makes for a HUGE amount of extra material to search through just to find an answer. Being new to modding AND C#, myself, I can see the frustration from both sides. You should practice picking up habits that help you find answers, by looking for different examples. It also tends to lead you to have other ideas as you find new things!
tModLoader wiki, with tons of tutorials and examples. Try searching for "Vector2" and see how it's used in various ways here, for example!
Quick Terraria-specific C# crash course. it's only 15 pages. You may not get it all immediately, but, as you do stuff and learn things, go back, re-read it, and see how much more you know and can learn.
C# structure guide in a diagram. Keep this handy as you progress.
Example Mod. If you don't download it, read through it here. Take some time to really explore it... not just the code of the items, but the folder structure, naming conventions, and how stuff refers to other stuff.
Last edited: