Jump to content

Textures not loading - MC 1.6.4 Forge build 964 (gradle)


Recommended Posts



I am using the 1.6.4 Gradle build for modding but I am unable to successfully load textures. I have tried many random tutorials for the last 3 days but nothing seems to work. Here's my directory structure






And here is the source:





package sourabh.tutorialmod.common;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.Item;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

@Mod(modid = TutorialMod.modid, name = "Tutorial Mod", version = "1.0.0 Alpha")
@NetworkMod(clientSideRequired = true, serverSideRequired = false)

public class TutorialMod {

public static final String modid = "tutorialmod";

public static TutorialMod instance;

@SidedProxy(clientSide = "sourabh.tutorialmod.client.ClientProxy", serverSide = "sourabh.tutorialmod.common.CommonProxy")
public static CommonProxy proxy;

// blocks
public static Block myFirstBlock;

// items
public static Item myFirstItem, myFirstFuel;

public void load(FMLInitializationEvent event) {
	// blocks init		
	myFirstBlock = (new BlockFirst(538, Material.glass)).setUnlocalizedName("myFirstBlock").setTextureName("blocks");
	LanguageRegistry.addName(myFirstBlock, "My First Block");
	MinecraftForge.setBlockHarvestLevel(myFirstBlock, "pickaxe", 2);
	GameRegistry.registerBlock(myFirstBlock, modid + myFirstBlock.getUnlocalizedName().substring(5));

	// items init
	myFirstItem = (new ItemFirst(900)).setUnlocalizedName("myFirstItem").setTextureName("items");
	LanguageRegistry.addName(myFirstItem, "My First Item");

	myFirstFuel = new ItemFuel(901).setUnlocalizedName("myFuelFirst").setTextureName("items");
	LanguageRegistry.addName(myFirstFuel, "My Fuel Item");

	GameRegistry.registerFuelHandler(new TutorialModFuelHandler());

public TutorialMod () {








package sourabh.tutorialmod.client;

import net.minecraftforge.client.MinecraftForgeClient;
import sourabh.tutorialmod.common.CommonProxy;

public class ClientProxy extends CommonProxy {

public void registerRenderInformation() {







package sourabh.tutorialmod.common;

public class CommonProxy {

public void registerRenderInformation() {







package sourabh.tutorialmod.common;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

public class BlockFirst extends Block{

public BlockFirst(int id, Material material) {
	super(id, material);

public void registerIcons (IconRegister iconRegister) {
	this.blockIcon = iconRegister.registerIcon(TutorialMod.modid + ":" + (this.getUnlocalizedName().substring(5)));




I am sorry if I did something really stupid, I am a forge noob and a java beginner.




I get a warning in console


2014-06-22 15:18:22 [WARNING] [Tutorial Mod] Mod Tutorial Mod is missing a pack.mcmeta file, things may not work well


Link to comment
Share on other sites

You are doing tutorialmod.assets.textures.*, but it should be assets.tutorialmod.textures.*.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.


1.12 -> 1.13 primer by williewillus.


1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.



Link to comment
Share on other sites

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.