Hello! I recently started writing mods for minecraft 1.7.10 and I had a problem. I use IDEA 15. When I try to run my mod I get this:
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN amp
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: domain amp is missing 1 texture
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: domain amp is missing a resource manager - it is probably a side-effect of automatic texture processing
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain amp are:
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: textures/items/TestItem.png
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: No other errors exist for domain amp
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
This suggests that the system can not find texture. Textures in src/main/resources/assets/amp/textures/items/TestItem.png
Mod's ID - "amp"
An item code:
package com.leshainc.amp.item;
import com.leshainc.amp.lib.RefStrings;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
public class TestItem {
public static Item TestItem;
public static void MainRegistry() {
InitializeItem();
RegisterItem();
}
public static void InitializeItem() {
TestItem = new Item();
TestItem.setUnlocalizedName("TestItem");
TestItem.setCreativeTab(CreativeTabs.tabMaterials);
TestItem.setTextureName(RefStrings.modID + ":TestItem");
}
public static void RegisterItem() {
GameRegistry.registerItem(TestItem,"TestItem");
}
}
What to do?