Jump to content

Recommended Posts

Posted

mcp8.03, forge 775. No matter where I put my textures, it won't find them.

The error messages are of no help either. What's wrong with this thing?

 

For example, an error message of:

...Using missing texture, unable to load: minecraft:textures/blocks/antnest_side.png

But I go to .../forge/mcp/src/minecraft/textures/blocks, and there it is! antnest_side.png

I've tried placing these files in every directory imaginable.

In Minecraft:/textures

Minecraft:/assets/textures

Minecraft:/orespawn/assets/textures

Minecraft:/danger/orespawn/textures

Minecraft:/danger/orespawn/assets/textures

and on and on.

 

WHERE DO THEY GO?

The name of my mod is "OreSpawn".

I have yet to read a definitive post that actually works.

Anyone?

 

Odds are good I've been programming since before you were born. Yeah. I'm OLD school.

Posted

Its really really fucking simple.

The same place as 1.5 except 'mods' is 'assets' now.

mcp/src/minecraft/assets/{domain}/textures/{blocks|items}/{name}.png

Simple as shit.

And you should ALWAYS use your own domain not 'minecraft', you don't own Minecraft so stay out of it's packages/domains.

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

Doesn't work.

I've tried ...forge/mcp/src/minecraft/assets/orespawn/textures/blocks/{myblocks}.png

Looking at the files there right now.

 

I register my block icons thusly, in the preInit() function:

MyBlockUraniumBlock =    (new BlockUranium(BaseBlockID + OreSpawnConstants.BlockUraniumBlockID).setUnlocalizedName("blockuranium"));

 

This is supposed to automatically register the block.

Yes, I know, blocks with multiple textures use the registerIcon() function.

I've placed files all over god-knows-where in the directory tree, and it still refuses to find them.

I'm looking at forge/mcp/src/minecraft/assets/orespawn/textures/blocks/blockuranium.png right now.

I see it. Forge doesn't.

"OreSpawn" is the name of my mod, so I assume that's what you mean by "domain".

It ain't working.

 

 

Odds are good I've been programming since before you were born. Yeah. I'm OLD school.

Posted

Does it make any difference if the top of my source tree is at

mcp/src/minecraft/danger/orespawn vs mcp/src/minecraft/orespawn?

In other words, one level down?

 

Odds are good I've been programming since before you were born. Yeah. I'm OLD school.

Posted

Oh geez. Nevermind. You've been no help at all.

I found a nice little tutorial here:

http://www.minecraftforge.net/wiki/Basic_Blocks

That finally showed me the problem.

Instead of making things EASIER for modders,

you've gone and made it HARDER.

setUnlocalizedName() used to do everything you needed.

Now you need to add registerIcons() to every single block,

AND still use setUnlocalizedName().

 

Would it be too much to ask for you to make life SIMPLER and EASIER on modders,

rather than spitting all over us? We are, after all, the reason you exist.

Quit jacking us around and changing the interfaces and requirements every release.

You are SUPPOSED to provide a simple,  clean, consistent,  easy to use, interface.

You do not.

Fail.

 

I've seen a lot of code in my 30+ years.

Forge has not been a pleasant experience.

 

Odds are good I've been programming since before you were born. Yeah. I'm OLD school.

Posted

1) You're a fucking moron, you will realise this isn't FORGE's code, it's Mojangs. It's Minecraft itself. We don't touch this part at all. So quit bitching at us,

2) We are not a 24/7 at your beck and call service. This is done for you for free with our spare time. So if it takes a couple hours to get a response so be it.

3) I dont control, nore look at the wiki, its all community based. If it's telling you that you need to add a registerIcon to everyone single one of your block classes then 1) they are wrong and doing and 2) Your '30+ years' should of taught you how to do your own research.

 

There is a function in both block and item that lets you set the icon name, domain and all. Use it -.-

And next time don't be a twat about having to wait a little bit and bitch about shit just because you fail to understand it.

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

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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