I've had the problem for a few hours that minecraft modding doesn't load the texture. I see the following in the console in Eclipse:
"[2:05:56 PM] [Client thread / ERROR] [TEXTURE ERRORS]: + = + = + = + = + = + = + = + = + = + = + = + = + = + = + = + = + = + = + = + = + = + = + = + = + =
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: ================================ ==================
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: DOMAIN shinobipath
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: -------------------------------- ------------------
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: domain shinobipath is missing 1 texture
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: domain shinobipath is missing a resource manager - it is probably a side-effect of automatic texture processing
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: -------------------------
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: The missing resources for domain shinobipath are:
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: textures / blocks / kunai.png
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: -------------------------
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: No other errors exist for domain shinobipath
[14:05:56] [Client thread / ERROR] [TEXTURE ERRORS]: ================================ ================== "I've tried various things to change, but to no avail. Here are my classes that I use for the block.
ShinobiPath.java
package com.shinobipath;
@Mod (modid = "ShinobiPath", version = ShinobiPath.VERSION) public class ShinobiPath {
public static final string MODID = "shinobipath";
public static final string VERSION = "1.0";
public static final string modName = "ShinobiPath";
//Blocks
Block kunai = new kunai (). SetBlockName ("kunai"). SetBlockTextureName ("shinobipath: kunai");
// Go on with unimportant…
}
kunai.java
package blocks;
import com.shinobipath.ShinobiPath;
import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.main.Main; import net.minecraft.creativetab.CreativeTabs;
public class kunai extends Block {
private static final string name = "kunai";
public kunai () {
super (material.rock);
setCreativeTab (CreativeTabs.tabBlock);
setHardness (3.0F);
setResistance (3.0F);
}
}
Shift + the sign
Ups wrong question
It's been dealt with. The "Shinobi Path" in src / main / resources folder could not be capitalized