I figured out why I couldn't place anything but solid blocks on my lamps...I had the material set to glass. Derp. Still trying to get the recipes working though!
Aha! I've found what the problem is with adding custom recipes! It seems that NEI is the cause. I've tried my custom recipes with CCC/NEI removed and they work, but when they're installed, they don't.
I've post in the ChickenBones Mod thread about this problem as I don't know which mod is to 'blame'.
EDIT.
In 1.4.7, I didn't have this problem. The custom recipes were shown by NEI.
I actually did try to figure out what this thread was before I ed, but in my cursory glance of the original post I couldn't find anything.
Rollback Post to RevisionRollBack
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.
I've got a compatibility issue (my mod + your mod) to work out.
Here's the error:
Here's my code at that line:
Icon ic = Block.blocksList[b].getIcon(0, 0);
It would appear that your mod has a block that does not correctly implement getIcon(side, metadata)
For reference, all my code is doing is generating a lost of all valid blocks with valid textures so that my block can, at random, turn into another other block registered:
Aha! I've found what the problem is with adding custom recipes! It seems that NEI is the cause. I've tried my custom recipes with CCC/NEI removed and they work, but when they're installed, they don't.
I've post in the ChickenBones Mod thread about this problem as I don't know which mod is to 'blame'.
EDIT.
In 1.4.7, I didn't have this problem. The custom recipes were shown by NEI.
Do the recipes just not show up in NEI or don't they even work in a crafting table? If the first one is the case, it is not a problem NEI but CS2.
May I ask when the code is executed? It seems that Block.registerIcons() is called after your code and thus the icons aren't setup at that moment.
It happens in my mod's post-init phase.
Rollback Post to RevisionRollBack
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.
That is too early. It won't only work with More Furnaces but also with most other mods. I recommend doing it in a TextureStitchEvent.Post event. That is called after all icons have been set.
Rollback Post to RevisionRollBack
I'm on twitter: @CubeX2_. Follow me for upcoming features and other stuff ;).
That is too early. It won't only work with More Furnaces but also with most other mods. I recommend doing it in a TextureStitchEvent.Post event. That is called after all icons have been set.
I'll do that.
Weird that it worked for me when I first wrote it. Thanks!
Rollback Post to RevisionRollBack
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.
I thought this as well, but no, it's not that they just don't show the recipe, the recipes themselves when tried don't work either.
Have you tried making any recipes that didn't use the ore dictionary? The ore dictionary should work, but there is always a possibility that it has gotten bugged since last time I tested them.
Have you tried making any recipes that didn't use the ore dictionary? The ore dictionary should work, but there is always a possibility that it has gotten bugged since last time I tested them.
Yea. Most of my custom recipes use static ID's. Only one of them use ore dictionary entries. I tested it on a clean 1.5.2 instance by trying to add a different recipe for the Diamond Pickaxe (bones instead of diamonds) and it didn't work.
I just tried a recipe with vanilla blocks (fom the example)... sapling above dirt = grassblock
it works fine, but jeah... it doesn't show up in the NEI Menu :/
will try some more Recipes with blocks added from mods or sth. to confirm it's working properly
So with NEI present, the recipe didn't show BUT you were able to craft it anyway?
I just tried a recipe with vanilla blocks (fom the example)... sapling above dirt = grassblock
it works fine, but jeah... it doesn't show up in the NEI Menu :/
will try some more Recipes with blocks added from mods or sth. to confirm it's working properly
EDIT: works also with mod-aded blocks
STILL... not showing up :'( fuuu
is this fixable???
Hmm, what version of Forge, CCC and NEI are you using?
If the recipes aren't showing but you're able to craft them regardless, I'd like to see if I can replicate your instance.
What is the mod.js and block/item code you're using to test?
and it's working quite fine...
I also tried out Recipes with some other Block from a mod added.. works, too
Good Luck there mate
Do you know the versions of CCC and NEI that you're using?
The only difference I can see is that I'm using the latest version of Forge, whilst you're quite a few versions back. Could be that you're using older versions of CCC/NEI also.
Hello, the tools I added using CS2 have no name since I updated their files to the new metadata system, all the other items have their names. I think it's a bug,
Hello, the tools I added using CS2 have no name since I updated their files to the new metadata system, all the other items have their names. I think it's a bug,
I have exactly the same issue, the tools are "unnamed"... If I change some things in the file, it has a name but does not work... And, in both cases, nothing shows up in the Creative tab.
Rollback Post to RevisionRollBack
I am a hobby Mod Translator; if you want your mod to get a German translation, feel free to contact me.
I've post in the ChickenBones Mod thread about this problem as I don't know which mod is to 'blame'.
EDIT.
In 1.4.7, I didn't have this problem. The custom recipes were shown by NEI.
I actually did try to figure out what this thread was before I ed, but in my cursory glance of the original post I couldn't find anything.
May I ask when the code is executed? It seems that Block.registerIcons() is called after your code and thus the icons aren't setup at that moment.
Do the recipes just not show up in NEI or don't they even work in a crafting table? If the first one is the case, it is not a problem NEI but CS2.
It happens in my mod's post-init phase.
Recipes work, just do not show up in for NEI.
That is too early. It won't only work with More Furnaces but also with most other mods. I recommend doing it in a TextureStitchEvent.Post event. That is called after all icons have been set.
I'll do that.
Weird that it worked for me when I first wrote it. Thanks!
I thought this as well, but no, it's not that they just don't show the recipe, the recipes themselves when tried don't work either.
Have you tried making any recipes that didn't use the ore dictionary? The ore dictionary should work, but there is always a possibility that it has gotten bugged since last time I tested them.
Yea. Most of my custom recipes use static ID's. Only one of them use ore dictionary entries. I tested it on a clean 1.5.2 instance by trying to add a different recipe for the Diamond Pickaxe (bones instead of diamonds) and it didn't work.
Anyone think this is wiki-worthy?
So with NEI present, the recipe didn't show BUT you were able to craft it anyway?
Hmm, what version of Forge, CCC and NEI are you using?
If the recipes aren't showing but you're able to craft them regardless, I'd like to see if I can replicate your instance.
What is the mod.js and block/item code you're using to test?
Do you know the versions of CCC and NEI that you're using?
The only difference I can see is that I'm using the latest version of Forge, whilst you're quite a few versions back. Could be that you're using older versions of CCC/NEI also.
I'm currently using:
Forge 7.8.0.725
CS2 0.10.2
CodeChicken Core 0.8.6.12
Not Enough Items 1.5.2.22
Forge 7.8.0.725
CodeChicken Core 0.8.6.15
Not Enough Items 1.5.2.25
The recipes aren't shown, but they are craftable in a workbench. Progress, somewhat!
I don't think I got anything wrong. I just updated to newly released versions of CCC/NEI and the recipes started working all of a sudden!
As CubeX2 said, if the recipes work but don't show, it's a CS2 issue.
I have exactly the same issue, the tools are "unnamed"... If I change some things in the file, it has a name but does not work... And, in both cases, nothing shows up in the Creative tab.