Jump to content

Recommended Posts

Posted

Hello this is my first post so excuse me if this problem has already been  resolved.  I'm having a problem getting my mods  textures to work  i have watched at least  5 video , 12  tutorials  , and 20 plus forum posts on this and have  been trying to get it working for about 2 weeks  below is  my 

 

 

 

Nov 06, 2013 1:21:47 PM net.minecraft.launchwrapper.LogWrapper log

INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

Nov 06, 2013 1:21:47 PM net.minecraft.launchwrapper.LogWrapper log

INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

Nov 06, 2013 1:21:47 PM net.minecraft.launchwrapper.LogWrapper log

INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

2013-11-06 13:21:48 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.4.20.916 for Minecraft 1.6.4 loading

2013-11-06 13:21:48 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.7.0_13, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7

2013-11-06 13:21:48 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

2013-11-06 13:21:48 [iNFO] [sTDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg

2013-11-06 13:21:49 [iNFO] [sTDOUT] Loaded 109 rules from AccessTransformer config file forge_at.cfg

2013-11-06 13:21:49 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!

2013-11-06 13:21:53 [iNFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

2013-11-06 13:21:53 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

2013-11-06 13:21:55 [iNFO] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}

2013-11-06 13:21:59 [iNFO] [Minecraft-Client] Setting user: Player917

2013-11-06 13:21:59 [iNFO] [Minecraft-Client] (Session ID is null)

2013-11-06 13:22:08 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0

2013-11-06 13:22:14 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default

2013-11-06 13:22:16 [iNFO] [sTDOUT]

2013-11-06 13:22:16 [iNFO] [sTDOUT] Starting up SoundSystem...

2013-11-06 13:22:17 [iNFO] [sTDOUT] Initializing LWJGL OpenAL

2013-11-06 13:22:17 [iNFO] [sTDOUT]    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

2013-11-06 13:22:18 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization

2013-11-06 13:22:18 [iNFO] [sTDOUT] MinecraftForge v9.11.1.916 Initialized

2013-11-06 13:22:18 [iNFO] [ForgeModLoader] MinecraftForge v9.11.1.916 Initialized

2013-11-06 13:22:18 [iNFO] [sTDOUT] OpenAL initialized.

2013-11-06 13:22:18 [iNFO] [sTDOUT]

2013-11-06 13:22:19 [iNFO] [sTDOUT] Replaced 101 ore recipies

2013-11-06 13:22:20 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization

2013-11-06 13:22:20 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\joelgeri\Dropbox\Guards  Plugin\Modding\Joels projects\forge\mcp\jars\config\logging.properties

2013-11-06 13:22:20 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL

2013-11-06 13:22:21 [iNFO] [ForgeModLoader] Searching C:\Users\joelgeri\Dropbox\Guards  Plugin\Modding\Joels projects\forge\mcp\jars\mods for mods

2013-11-06 13:22:56 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load

2013-11-06 13:22:56 [iNFO] [mcp] Activating mod mcp

2013-11-06 13:22:56 [iNFO] [FML] Activating mod FML

2013-11-06 13:22:56 [iNFO] [Forge] Activating mod Forge

2013-11-06 13:22:56 [iNFO] [McmKingdoms] Activating mod McmKingdoms

2013-11-06 13:22:56 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well

2013-11-06 13:22:56 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well

2013-11-06 13:22:56 [WARNING] [Mcmkingdoms] Mod Mcmkingdoms is missing a pack.mcmeta file, things may not work well

2013-11-06 13:22:56 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mcmkingdoms

2013-11-06 13:22:56 [iNFO] [sTDOUT]

2013-11-06 13:22:56 [iNFO] [sTDOUT] SoundSystem shutting down...

2013-11-06 13:22:57 [iNFO] [sTDOUT]    Author: Paul Lamb, www.paulscode.com

2013-11-06 13:22:57 [iNFO] [sTDOUT]

2013-11-06 13:22:57 [iNFO] [sTDOUT]

2013-11-06 13:22:57 [iNFO] [sTDOUT] Starting up SoundSystem...

2013-11-06 13:22:57 [iNFO] [ForgeModLoader] Registering Forge Packet Handler

2013-11-06 13:22:57 [iNFO] [sTDOUT] Initializing LWJGL OpenAL

2013-11-06 13:22:57 [iNFO] [sTDOUT]    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

2013-11-06 13:22:57 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler

2013-11-06 13:22:57 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0

2013-11-06 13:22:58 [iNFO] [sTDOUT] OpenAL initialized.

2013-11-06 13:22:58 [iNFO] [sTDOUT]

2013-11-06 13:23:00 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_StrongStone.png

2013-11-06 13:23:02 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_5257_Hardened Iron.png

2013-11-06 13:23:02 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_5256_LongSword.png

2013-11-06 13:23:04 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods

2013-11-06 13:23:04 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well

2013-11-06 13:23:04 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well

2013-11-06 13:23:04 [WARNING] [Mcmkingdoms] Mod Mcmkingdoms is missing a pack.mcmeta file, things may not work well

2013-11-06 13:23:04 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mcmkingdoms

2013-11-06 13:23:04 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_5257_Hardened Iron.png

2013-11-06 13:23:04 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_5256_LongSword.png

2013-11-06 13:23:05 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_StrongStone.png

2013-11-06 13:23:06 [iNFO] [sTDOUT]

2013-11-06 13:23:06 [iNFO] [sTDOUT] SoundSystem shutting down...

2013-11-06 13:23:06 [iNFO] [sTDOUT]    Author: Paul Lamb, www.paulscode.com

2013-11-06 13:23:06 [iNFO] [sTDOUT]

2013-11-06 13:23:07 [iNFO] [sTDOUT]

2013-11-06 13:23:07 [iNFO] [sTDOUT] Starting up SoundSystem...

2013-11-06 13:23:07 [iNFO] [sTDOUT] Initializing LWJGL OpenAL

2013-11-06 13:23:07 [iNFO] [sTDOUT]    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

2013-11-06 13:23:08 [iNFO] [sTDOUT] OpenAL initialized.

2013-11-06 13:23:08 [iNFO] [sTDOUT]

2013-11-06 13:23:10 [sEVERE] [Minecraft-Client] Realms: Server not available!

 

 

any help would be much appreciated 

Thanks

Posted

 

2013-11-06 13:23:05 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_StrongStone.png

You have to set your texture name -.-

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

this is  my Strong Stone block 

thought I had  set the name

 

 

package Mcmkingdoms.Mod;

 

 

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.client.renderer.texture.IconRegister;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.item.EnumToolMaterial;

 

 

public class StrongStone extends Block {

 

 

 

public StrongStone(int id, Material Material) {

super(id, Material);

}

 

@Override

 

public void registerIcons(IconRegister iconRegister) {

        this.blockIcon = iconRegister.registerIcon(McmkingdomsInfo.ID + ":StrongStone");

}

 

}

Posted

Hi

 

What you've set is the name of the picture file used for rendering the block.

 

You also need to set a unique name for the block, using

 

setUnlocalizedName("myname")

 

i.e.

 

   public StrongStone(int id, Material Material) {
      super(id, Material);
      setUnlocalizedName("StrongStone");
   }

 

You can tell this from the error message:

2013-11-06 13:23:00 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_StrongStone.png

 

i.e. MISSING_ICON_TILE_500_

 

-TGG

Posted

Use setTextureName, this function doesn't exist for nothing :

public static Block strongStone;

[...]

strongStone = new StrongStone(id).setUnlocalizedName("strongstone").setTextureName("modid:texturename");

 

Posted

Hi

 

Robin4002 is right, you can also use setTextureName instead of registerIcons if it is more convenient.  Both methods will work the same if you have the same texture for all faces.

 

I'm guessing your error message "Using missing texture, unable to load:" should have changed now to

2013-11-06 13:23:00 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/StrongStone.png

 

If forge still can't find your textures, try this link:

http://www.minecraftforge.net/forum/index.php?topic=11963.0

Also

http://www.minecraftforge.net/forum/index.php/topic,13355.msg69061.html#msg69061

(Apparently - when you're using Eclipse (which I'm not) you should put it into the SOURCE folder, wherever that is)

 

-TGG

 

 

 

 

 

Posted

OK  guys thanks for help  still no solution  here's my code  so far

 

 

 

package Mcmkingdoms.Mod;

 

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.item.Item;

import net.minecraftforge.common.MinecraftForge;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.EventHandler; // used in 1.6.2

//import cpw.mods.fml.common.Mod.PreInit;    // used in 1.5.2

//import cpw.mods.fml.common.Mod.Init;      // used in 1.5.2

//import cpw.mods.fml.common.Mod.PostInit;  // used in 1.5.2

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.event.FMLPostInitializationEvent;

import cpw.mods.fml.common.event.FMLPreInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

import cpw.mods.fml.common.registry.GameRegistry;

import cpw.mods.fml.common.registry.LanguageRegistry;

 

 

@Mod(modid= McmkingdomsInfo.ID , name= McmkingdomsInfo.NAME , version= McmkingdomsInfo.VERS) 

@NetworkMod(clientSideRequired=true)

 

public class basemod {

 

public final static Block StrongStone = new ModBlock(500,Material.ground).setHardness(100000.f).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("StrongStone").setCreativeTab(CreativeTabs.tabBlock);

    public final static Item FirstItem = new  FirstItem(5000);

    public final static Item HardenedIron  = new FirstItem (5001).setMaxStackSize(64).setCreativeTab(CreativeTabs.tabMisc).setUnlocalizedName("Hardened Iron");

   

   

  // The instance of your mod that Forge uses.

        @Instance(value = McmkingdomsInfo.NAME)

        public static basemod instance;

       

        // Says where the client and server 'proxy' code is loaded.

        @SidedProxy(clientSide="Mcmkingdoms.Mod.client.clientProxy", serverSide="Mcmkingdoms.Mod.CommonProxy")

        public static CommonProxy proxy;

       

        @EventHandler // used in 1.6.2

        //@PreInit    // used in 1.5.2

        public void preInit(FMLPreInitializationEvent event) {

                // Stub Method

        }

       

        @EventHandler // used in 1.6.2

        //@Init      // used in 1.5.2

        public void load(FMLInitializationEvent event) {

                proxy.registerRenderers();

               

              GameRegistry.registerBlock(StrongStone,"StrongStone");

              LanguageRegistry.addName(StrongStone ,"Strong Stone");

             

              MinecraftForge.setBlockHarvestLevel(StrongStone,"Axe",3);

             

                           

    //      MinecraftForge.setBlockHarvestLevel(StrongStoneStair,"Axe",3);

      //      GameRegistry.registerBlock(StrongStoneStair,"StrongStone");

    //      LanguageRegistry.addName(StrongStoneStair ,"Strong Stone Stair");

           

    //    MinecraftForge.setBlockHarvestLevel(StrongStoneStair,"Axe",3);

               

        }

       

        @EventHandler // used in 1.6.2

        //@PostInit  // used in 1.5.2

        public void postInit(FMLPostInitializationEvent event) {

                // Stub Method

        }

}

 

 

 

Strong Stone 

 

 

package Mcmkingdoms.Mod;

 

 

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.client.renderer.texture.IconRegister;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.item.EnumToolMaterial;

 

 

public class StrongStone extends Block {

 

 

public StrongStone(int id, Material Material) {

    super(id, Material);

    setUnlocalizedName("StrongStone");

  }

 

 

@Override

//@Side(Side.CLIENT)

public void registerIcons(IconRegister iconRegister) {

        this.blockIcon = iconRegister.registerIcon(McmkingdomsInfo.NAME.toLowerCase() + ":StrongStone");

}

 

}

 

 

Info file were  name , ids  ,ect  are defined 

 

package Mcmkingdoms.Mod;

 

public class McmkingdomsInfo {

 

public static final String ID = "mcmkingdoms";

public static final String NAME = "Mcmkingdoms";

public static final String VERS = "1.0.0 Alpha";

public static final String CLIENTPROXY = "McmkingdomsMod.client.";

public static final String COMMONPROXY = "McmkingdomsMod.basemod.";

 

 

}

Posted

These guys are making it seem really complicated. When using the setTextureName() you also need to know the name of your mod. So me, I use wade.modname, so if would do setTextureName("modname:texture") Do not add the file extension and make sure it is a PNG.

 

Also when you package your mod(not explaining All the steps) and you get to the part to zip it. you would zip the folder modname.

 

When you put your item textures into the files you do BASEFOLDER/forge\mcp\src\minecraft\Mcmkingdoms\Mod\items

When you put your item textures into the files you do BASEFOLDER/forge\mcp\src\minecraft\Mcmkingdoms\Mod\blocks

 

biased on what you have said. you need to do setTextureName("Mod:texture.png")

Posted

Hi

 

This might help:

Change the vanilla source code to add two println statements as below.  Then start up minecraft and copy us your error log.

 

-TGG

 

FolderResourcePack 
    protected boolean makeFullPath(String par1Str)
    {
        System.out.println("FolderResourcePack.makeFullPath:" + this.basePath + " , " + par1Str);   // add this
        return (new File(this.basePath, par1Str)).isFile();
    }

FileResourcePack
    protected boolean makeFullPath(String par1Str)
    {
        System.out.println("FileResourcePack.makeFullPath:" + this.basePath + " , " + par1Str);  // add this
        return (new File(this.basePath, par1Str)).isFile();
    } 

 

 

Posted

BASEFOLDER/forge\mcp\src\minecraft\Mcmkingdoms\Mod\blocks

 

This is not correct.

 

BASEFOLDER/forge\mcp\src\minecraft\assets\Mcmkingdoms\textures\blocks

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Hi

 

What I mean is -

1) Navigate through the vanilla code to the FolderResourcePack class.

2) Find the makeFullPath method

3) add this statement to the method: System.out.println("FolderResourcePack.makeFullPath:" + this.basePath + " , " + par1Str);  // add this

4) Repeat for FileResoucePack.makeFullPath

 

When you run minecraft, it should print  a couple of helpful messages to the log.

 

If your FolderResourcePack.makeFullPath doesn't look like this (it changed recently), paste the method in to show us which one you've got

 

-TGG

 

 

 

Posted

BASEFOLDER/forge\mcp\src\minecraft\Mcmkingdoms\Mod\blocks

 

This is not correct.

 

BASEFOLDER/forge\mcp\src\minecraft\assets\Mcmkingdoms\textures\blocks

 

Yah your right, sorry I meant to put it there. my bad.

 

If you sdtill have yet to fix your issue, add me on skype: yswade and I can talk you through it via screen share.

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Please see https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/ for information on how to post your log correctly.
    • Hello!  The detailed description of how you got to where you are is certainly valuable.  But, at the end of the day (well, any time of the day actually), it is going to be the actual logs that going to provide the necessary details to hopefully solve your startup issue. Part of me wonders if you have installed a client-only mod on a dedicated server.  But I may very well be wrong, and it will be the logs that will tell that story.
    • Hello there! I didn't quite know where to go regarding this, but ended up deciding to post it here. I have been running a forge server with around 200 mods for me and some friends to play on casually, but have recently started to get an issue when booting the server. This all started after I decided to add some new mods to the server. Like usual, I add a mod, test run the server for any issues, and if all is well, I'll add a next one and so on until I have added all that I wanted to. After doing so, in all test runs, it all seemed to work just fine. However, the next day, after trying to boot the server, I kept getting an error regarding java.lang.NullPointerException, towards one of the mods I had recently added. So far so good, I removed the mod that was causing the issue, started up the server again, and here in when things took a turn for the worse. I received another java.lang.NullPointerException null error that wouldn't allow me to boot the server, but this time with a mod that wasn't part of the new ones I had recently added. I found this weird, but nonetheless, I removed it thinking it might be causing some conflicts with some of the new ones. Afterwards, booting the server again proved to be impossible, as it gave me another java.lang.NullPointerException null error with the 3rd mod I had ever installed on the server! This mod was there since the start, it added some biomes and had been just fine so far. This turn of events made me remove all the newer mods I had recently added in hopes to fix this whole ordeal, but alas, to no avail. Same error, with that same biome mod that had been there since day one. Reluctantly, I removed the biome mod, booted the server, and voila! The server was running, although without a major mod that had always been there to begin with. As I do not wish to part ways with this mod, specially since it had been working so far without any issues, I tried to bring everything back to how it was before I added those new mods, but kept on getting the same java.lang.NullPointerException null error for the biome mod. Even adding the newer mods won't cause me this error, with exception of the one that started it all, which I find quite odd since the mods I had been using without any issues are now giving me the same error the newer one that started it all gave me. Now, I have checked that everything is up to date regarding the mods, forge (forge-1.20.1-47.3.12) and java. The modpack runs perfectly fine when I start Minecraft itself, and play singleplayer, or even when I open a LAN world, everything works. Everything aside from the server. From what I could gather, this java.lang.NullPointerException null error would point to a missing value of sorts, for an item perhaps, within the mod that is causing the error, but aside from removing the whole mod, I lack the knowledge on how to fix this. With this in mind, if anyone would be so kind as to shine some light into this situation, with a way to fix all this blunder, I would be most grateful!
    • If you want a mana GUI, call Minecraft.getInstance().setScreen(new ManaScreen()); somewhere display your GUI. I would recommend creating a keybind and listening to key events, and if your key bind is pressed down, running that code.
    • You are creating an entire new screen, or GUI. What you probably want is an Overlay.
  • Topics

×
×
  • Create New...

Important Information

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