
ellbristow
Members-
Posts
12 -
Joined
-
Last visited
Everything posted by ellbristow
-
[1.9] Change Vanilla Inventory Icon for Skulls
ellbristow replied to ellbristow's topic in Modder Support
No ideas? Have I stumbled upon something I can't actually do? -
There seems to be a bug tracking which dimension you are in when you travel through a portal. Bug Reproduction: > Start a new creative world > Immediately build a portal and travel to the Nether > Fly about a bit then travel back to the overworld > Fly away from the portal and new chunks generate as Nether rather than Overworld The first time I saw this it happened the other way around with the overworld chunks spawning in teh nether, but on version 12.16.0.1776 that doesn't seem to happen any more... not that I can reproduce
-
I am creating a mod that replaces the vanilla mobs (Zombie, Skelli, and Wither Skelli) with Bears to make the game a little more family friendly for those who are uncomfortable with these ideas. So far I have successfully replace the mob model and textures, and I have changed the model and texture of PLACED mob heads, but I can't work out how to change the icon in the inventory since they changed it to the Block model. In 1.7.10 it was easy, as I just overwrote the vanilla Minecraft texture, but this approach doesn't work any more as the textures no longer appear in net.minecraft.textures.items. The change was made in 1.8 but I never bothered updating the mod until 1.9 was released. Can anyone point me in the right direction to replace icon textures for mob skulls in the inventory? Thanks
-
BINGO! I output the absolute path from the simple reloaded and found it was looking in mcp/bin/minecraft. I put the assets in there and everything sparked into life! When I deobfuscated I had to manually transfer the assets and the mod info file, but I now have a working mod! Thanks for the help people, especially TGG.
-
That would be a great suggestion, if this was calling a file from the Resource Pack, and if my FolderResourcePack class had a method called makeFullPath... in fact I searched the source and didn't find ANY file with makeFullPath in. So now I'm more confused. I swear this is easier in 1.7.2
-
I did see that thread, but I couldn't see how to apply it to my code (above). I have no File to parse, only a ResourceLocation which doesn't point to a resource, or a string with no context. How would I use the code in that thread in the context of my code above?
-
Hey.. I'm having the same issue and posted another thread before I saw this one. http://www.minecraftforge.net/forum/index.php/topic,16932.0.html I guess basePath is my issue too... but I can't work out how to output my current basePath so that I can put my textures there. Could you possibly point me in the right direction please? Thanks
-
I'm not using Eclipse, I'm using Netbeans, but yes I can see it. After your last reply I spotted this other thread: http://www.minecraftforge.net/forum/index.php/topic,12895.0.html That suggests forge has my basePath wrong... but I'm not sure how to fix it, and my attempt to output the basePath didn't work... but it seems like I'm heading in the right direction. Any further welcome!
-
I did think that was possible, but back-slash is an illegal escape character in this context. I tried it with a double back-slash to get around this, but still no joy. I'm glad this isn't as obvious as I thought it might be!
-
Hey guys. This is a question that has come up before I know, but I have scoured the forums and applied every tip I can find, but my custom mob is still rendering with no texture. Using the current 1.6.4 recommended Forge version. I'm getting the dreaded error: 14:41:14 - 2014-02-28 14:41:14 [WARNING] [Minecraft-Client] Failed to load texture: ellitopiabears:textures/mobs/pig_bear.png 14:41:14 - java.io.FileNotFoundException: ellitopiabears:textures/mobs/pig_bear.png My mod is a modified PigZombie that looks like a bear. Here's the code: package net.ellitopia.ellitopiabears.renderer.entity; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.ellitopia.ellitopiabears.EllitopiaBears; import net.ellitopia.ellitopiabears.client.model.ModelPigBear; import net.minecraft.client.renderer.entity.RenderBiped; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.monster.EntityPigZombie; import net.minecraft.util.ResourceLocation; @SideOnly(Side.CLIENT) public class RenderPigBear extends RenderBiped { private static final ResourceLocation zombiePigmanTextures = new ResourceLocation(EllitopiaBears.MODID, "textures/mobs/pig_bear.png"); public RenderPigBear() { super(new ModelPigBear(), 0.5F, 1.0F); } @Override protected void func_82421_b() { this.field_82423_g = new ModelPigBear(1.0F, true); this.field_82425_h = new ModelPigBear(0.5F, true); } protected ResourceLocation func_110863_a(EntityPigZombie par1EntityZombie) { return zombiePigmanTextures; } @Override protected ResourceLocation func_110856_a(EntityLiving par1EntityLiving) { return this.func_110863_a((EntityPigZombie)par1EntityLiving); } @Override protected ResourceLocation getEntityTexture(Entity par1Entity) { return this.func_110863_a((EntityPigZombie)par1Entity); } } Texture image is stored at mcp\src\minecraft\assets\ellitopiabears\textures\mobs\pig_bear.png What am I missing?
-
Just noticed it says it's using Java 1.7. Could that be the issue? When I run "java -version" I'm told 1.6.0_31 ... so if this is the issue, how do i tell forge to use the RIGHT version of java? EDIT: Scratch that. Worked out how to get it to use 1.6 and it still gives the same errors.
-
I have just downloaded and installed a fresh copy of the latest recommended build of the forge source to start work on a mod. The forge install went through fine but no server source was decompiled. I went to the mcp folder and ran the decompile script, which I presume used the 1.6.4 server build that forge downloaded. Below is a log of the decompile process with 100 errors and 1 warning. Any idea what I'm missing? All help appreciated