using Terraria; //Add this one as well
using Terraria.ID;
using Terraria.ModLoader;
namespace docs3.ni.northiowa.org.Students.2021.Priceco.My Documents.My Games.Terraria.ModLoader.Mod Sources.CoconutMilk.CoconutMilk.Items.weapons.Shotty
{
public class Shotty : ModItem
{
public...
Ah, okay.
Maybe this will do:
using Terraria; //Add this one as well
using Terraria.ID;
using Terraria.ModLoader;
namespace docs3.ni.northiowa.org.Students.2021.Priceco.My Documents.My Games.Terraria.ModLoader.Mod Sources.CoconutMilk.CoconutMilk.Items.weapons.Shotty
{
public class Shotty ...
If the folder directory changed, you need to change the one inside the code as well.
Just locate the directory from the code, where there is your code and its image:
namespace CoconutMilk.Items.weapons //The current directory for both the code and the resource
[if the directory changed, you...
The error shows that it detect no resource/texture for the code, both the code file [.cs] and texture/sprite [.png] must be on the same directory and must have the same name, example like [testcode.cs] and [testcode.png].
Example like:
namespace CoconutMilk.Items.weapons //This is the code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.