Posted May 1, 201411 yr [Forge-Version: 10.12.1.1065] Hi there, I have a weird problem: My textures doesn't load. My language file load fine, but my textures doesn't. Here is the code: package de.DrBlock42.extrastuff; import net.minecraft.block.Block;[...] @Mod(modid = extraStuff.modid, name = extraStuff.modid, version = extraStuff.version) public class extraStuff { //region ModVariables @SidedProxy(clientSide = "de.DrBlock42." + extraStuff.modid + ".ClientProxy", serverSide = "de.DrBlock42." + extraStuff.modid + ".CommonProxy") public static CommonProxy proxy; @Instance(extraStuff.modid) public static extraStuff instance; public static final String modid = "extrastuff"; public static final String version = "0.0.1alpha"; //endregion public static CreativeTabs tab = new CreativeTabs(extraStuff.modid){ @Override public Item getTabIconItem() { return Items.written_book; } }; public static Block block_matter; @EventHandler public void preInit(FMLPreInitializationEvent e) { //region registerBlock() block_matter = new blockMatter(); GameRegistry.registerBlock(block_matter, this.modid + ":" + blockMatter.blockId); //endregion } @EventHandler public void init(FMLInitializationEvent e) { proxy.registerProxies(); } } package de.DrBlock42.extrastuff.blocks; import de.DrBlock42.extrastuff.extraStuff;[...] public class blockMatter extends Block{ public static final String blockId = "blockMatter"; public blockMatter() { super(Material.ground); setBlockName(extraStuff.modid + ":" + this.blockId); setCreativeTab(extraStuff.tab); setBlockTextureName(extraStuff.modid + ":" + this.blockId + ".png"); } } https://photos-1.dropbox.com/t/0/AACIJLKTSLgXn049EU2aQJdka6MO_4lwnPEKdSt7CD3g9g/12/256247115/png/2048x1536/3/1398952800/0/2/package%20explorer.PNG/4qxkYKHbvAgrCknJrqfQnPYS40_cU384GC9IoUyRNso[/img] Image: https://www.dropbox.com/s/9ateprjkt0nwhr5/package%20explorer.PNG?n=256247115
May 1, 201411 yr Hi For these errors, it's often very helpful to look in the error log for this error "Missing texture, unable to load:" http://www.minecraftforge.net/forum/index.php/topic,18371.msg92948.html#msg92948 -TGG
May 1, 201411 yr Author Thank you nyankatze, it seems that I have to remove the ".png" ...why haven't I tried this... Nochmals danke DrBlock42
May 1, 201411 yr Thank you nyankatze, it seems that I have to remove the ".png" ...why haven't I tried this... Nochmals danke DrBlock42 no problem
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.