The ID config file isn't working as intended for me. Many, if not all, ID's are not loaded as intended. For example, Tin axe is set to 5106 in the config file but in the game Tin axe has ID 5362.
Does anyone else have this issue? Any ideas what causes it?
That's a Minecraft thing. All Item ID's are shifted +256. This has been around for a while. I COULD fix it, however that would mean that the ID's are changed, something I am always loathe to do.
Basically, there are two ways to fix it:
1) I code it so that the actual item ID is whatever is in the config, minus 256. That would mean that the config reflects the actual ID, but we changed the in-game ID, so everything would be lost.
2) I code the config to automatically add 256 and display that new value, rather than the old one. However, this has the problem that everyone would HAVE to update their configs, otherwise the ID's would change again. This is particularly a problem for people who have modified ID's already, as they would have to manually add 256 to each ID to make sure it works as intended.
For now, the best option is just to keep in mind that the in game ID is 256 higher than the one in the config. Next time there is a necessary ID change, I will fix this issue.
1) I code it so that the actual item ID is whatever is in the config, minus 256. That would mean that the config reflects the actual ID, but we changed the in-game ID, so everything would be lost.
I would cry. I have had to expand to a second chest of various ores.
For now, the best option is just to keep in mind that the in game ID is 256 higher than the one in the config. Next time there is a necessary ID change, I will fix this issue.
If it would prevent item loss, could you have a "transition" mod, that converts your items to "coppery lint" or whatnot, and then "second half" transition mod that lets you craft "copper lint" into "copper ingots" with the new ID's?
And, has there ever been a reason *why* Minecraft does that? Does it keep the bourgeois proletariat away from modding?
It does it because traditionally all ID's below 256 were reserved for Blocks. Really, it's a Forge thing rather than a Minecraft thing, but Forge only do it to stop Minecraft chucking a sad basically
Now that there are 4096 Block ID's, Minecraft Forge still shifts it by 256 to save room for blocks that need to be used in world generation. And by world generation I don't mean ore gen, I mean like top soil and filler block generation (dirt/grass and stone). For some silly reason Minecraft works using a byte to generate filler and top soil blocks, and since a byte is 8 bits, it only supports up to 256 block IDs. Trying to set a filler block with an ID above 256 causes some horrible crashes. Trust me, I tried I'm not so sure why world gen still works in bytes, but hopefully they will change it soon in the future.
For some silly reason Minecraft works using a byte to generate filler and top soil blocks, and since a byte is 8 bits, it only supports up to 256 block IDs. Trying to set a filler block with an ID above 256 causes some horrible crashes.
I think you just explained something.
You also gave me the image of Minecraft barfing sadness but I'll let that pass. (Moments like this are why God, in Divine Wisdom, did NOT give me the ability to draw. For which the world is a better place.)
Remember my set of plug-in's for Simple Ores and Only Silver that allow for ore generation (with different parameter sets) for user-configurable dimensions over 1?
It seems to work fine with Miners World (which just tweaks vanilla parameters slightly), Twilight Forest, and Mystcraft. However, I have never had anyone test it successfully on Mists of RioV. My guess has been that some mods use custom terrain generation, and so the ore generation statements you and Zot use (which seem to be normal generic Forge stuff) would not work.
You have jut explained why someone would re-create world generation, and why my higher dimension generation pack would fail on some of the larger, more complicated higher-dimension mods. Thanks!
That's a Minecraft thing. All Item ID's are shifted +256. This has been around for a while. I COULD fix it, however that would mean that the ID's are changed, something I am always loathe to do.
A version number may help you out
public static String version;
/**
* The method that loads/creates the settings file. Values can be changed from true to false depending on user preference, and certain other values can be set. This is called by the main SimpleOres class.
*/
public static void doSettings(FMLPreInitializationEvent event)
{
File installDir = event.getModConfigurationDirectory();
File configDir = new File(installDir, "SimpleOres Configuration");
File f = new File(configDir, "SimpleOresSettings.cfg");
version = f.exists() ?
"" // The file exists. Mark the version as a blank String if the version number does not exists.
: ModInfo.VERSION; // The file does not exist. Create the file with the current version number.
Configuration settings = new Configuration(f);
try
{
//General
version = settings.get("General", "Config Version", version).getString();
//Toggles
//......
That's a good idea actually I'll look into it. that's not a promise though
Sorry but a Sinisite Musket is really the only way to top the one I use. Everything but bosses die in one hit regardless of armor if worn. I ain't pushing or anything but it would be cool.
Could you please bring back silver, some way or another? Even if it would be just a plugin? I need it for IronChests, and I found SimpleOres in the topic of IronChests!
Any chance we could get an alloy with gold? It seems like a missed opportunity to make it useful as a tool/armor material.
I do really like having tin and copper because it takes the monotony out of finding piles and piles of just copper, but I do miss silver. Part of the reason I used this mod was because it added silver and completed the standard metals set up that I always wanted in minecraft.
Either way, this is still my favorite ore mod~!
And I did see the plugin that adds silver, buuuuuuuut I'd rather use something more official.
By the way, I love how a catalyst is required for the alloys, makes them a lot harder to get and more valuable, as opposed to just cramming two bars together like I see in a lot of mods. Speaking of, I think you should make it clear that in the post that the large alloy chunk needs to be smelted in the furnace, because it looks like you just have to stick it in the crafting grid to get an ingot based on the recipes tab.
Could you please bring back silver, some way or another? Even if it would be just a plugin? I need it for IronChests, and I found SimpleOres in the topic of IronChests!
Any chance we could get an alloy with gold? It seems like a missed opportunity to make it useful as a tool/armor material. I do really like having tin and copper because it takes the monotony out of finding piles and piles of just copper, but I do miss silver. Part of the reason I used this mod was because it added silver and completed the standard metals set up that I always wanted in minecraft. Either way, this is still my favorite ore mod~! And I did see the plugin that adds silver, buuuuuuuut I'd rather use something more official. By the way, I love how a catalyst is required for the alloys, makes them a lot harder to get and more valuable, as opposed to just cramming two bars together like I see in a lot of mods. Speaking of, I think you should make it clear that in the post that the large alloy chunk needs to be smelted in the furnace, because it looks like you just have to stick it in the crafting grid to get an ingot based on the recipes tab.
akkamaddi's Additions to SimpleOres2 adds some gold alloy plug-ins as well as some other useful bits and bobs.
Rollback Post to RevisionRollBack
[Scott]: Things I have managed to get in the last five minutes, in order of ascending importance: cobblestone, planks, lapis lazuli, redstone, gold, coal, diamond. VERY LOST.
Speaking of, I think you should make it clear that in the post that the large alloy chunk needs to be smelted in the furnace, because it looks like you just have to stick it in the crafting grid to get an ingot based on the recipes tab.
According to legend, one day, when a yellow creeper is born to the north under the star of Algol ascendent in Sagittarius, poisonous potatoes have a crafting recipe, and Mojang releases the modding API, the stars shall moves, the clouds shall quake, and the crafting image on the main post will be updated. That is the legend passed on from generation to generation... or at least the one I'm making up here on the spot.
And I did see the plugin that adds silver, buuuuuuuut I'd rather use something more official.
Actually, it is my understanding that the original Only Silver was the silver code from Simple Ores (original) extracted and packaged, with the item/block ID's changed. It *was* the official code. Since then, as Zot learns Java, he has tightened and refined the code to the point that it creaks and groans when you touch it. (I actually respect how much code refinement he has put into something so small.)
As for mine, right now I actually only have one. Surprisingly, I was considering adding Silver + Tin, because Tin seems to get no love. However, in the real world, that makes... solder. So, first hit with fire, your armor melts and traps you in a glob of molten metal until you burn to death. Fun. However, I left enough ID space between Sterling Silver and Hadite Coal that I can add a second Silver alloy. (A dozen mods add electrum. I'd rather do something like mix it with a clay block and make "Augent Ceramic".)
akkamaddi's Additions to SimpleOres2 adds some gold alloy plug-ins as well as some other useful bits and bobs.
Aww, Becky, "useful bits and bobs"? How sweet. I hope... nay, dream!... that one day I'll elevate my plug-ins to "widgets and what-nots"!
That's a good description, though. That is the second thing on which I may quote you. As for gold, though, my Simple Arsenic plug-in has arsenide gold. Golden Glitter is three low power, early game alloys that are gold. A Scarlatite Gold sword can take a chunk out of something, but lacks durability. (Also Erubescent and Scarlatite Gold blocks are redstone power sources.)
Most of my stuff tends to be utilitarian or low power, but I when I revisit Arsenic, it is getting a new diamond-level alloy.
As for mine, right now I actually only have one. Surprisingly, I was considering adding Silver + Tin, because Tin seems to get no love. However, in the real world, that makes... solder. So, first hit with fire, your armor melts and traps you in a glob of molten metal until you burn to death. Fun. However, I left enough ID space between Sterling Silver and Hadite Coal that I can add a second Silver alloy. (A dozen mods add electrum. I'd rather do something like mix it with a clay block and make "Augent Ceramic".)
Aww, Becky, "useful bits and bobs"? How sweet. I hope... nay, dream!... that one day I'll elevate my plug-ins to "widgets and what-nots"!
Only one? I thought Sterling Steel added more than one. Shows what I know. >_>
I could play Minecraft without your fusion furnace plug-ins, but why would I want to? Recycling is way too useful, and so is the rest of it.
Rollback Post to RevisionRollBack
[Scott]: Things I have managed to get in the last five minutes, in order of ascending importance: cobblestone, planks, lapis lazuli, redstone, gold, coal, diamond. VERY LOST.
The intent was there, but the ideas were not. Perhaps Silver + Onyx = Black Silver?
Thank you. (And "the rest of it" means "easy jungle saplings" )
And Hadite Coal! Don't forget the hadite coal! (No lie, the other stuff is nice, but my main world has gotten me past the point where I have need of low-end materials for anything besides decoration.)
Ooh, Black Silver. What sort of properties would that have? Still useful against Mo' Creatures's werewolves, one hopes. Maybe added damage to Nether-critters?
Rollback Post to RevisionRollBack
[Scott]: Things I have managed to get in the last five minutes, in order of ascending importance: cobblestone, planks, lapis lazuli, redstone, gold, coal, diamond. VERY LOST.
And Hadite Coal! Don't forget the hadite coal! (No lie, the other stuff is nice, but my main world has gotten me past the point where I have need of low-end materials for anything besides decoration.)
I'm loving Hadite Coal, if only for walls in the Nether randomly spitting fire. It's also nice to just throw *a* chunk of coal in the furnace. I may touch up the coal storage block image at some point, though.
And I understand. Malachite makes an excellent utility ore, but as they say, once you go black, you never use anything besides Onyx again. Still, I will always be a D&D player at heart, and I luvz! luvz! luvz! me some chests full of treasure.
Ooh, Black Silver. What sort of properties would that have? Still useful against Mo' Creatures's werewolves, one hopes. Maybe added damage to Nether-critters?
I've just posted asking Zot how that's done. I will probably add it to Sterling, but will definitely add it to Black Silver. (OK, I guess that's a thing now....) If I can find the mechanics of the Smite enchantment and can copy that out, I could have Black Silver do extra damage to undead. Or perhaps a Black Silver bow with Smite 3 pre-enchanted? I should be able to "copy with respect and due deference" (plagiarize) AleXndr's bow code.
That's a Minecraft thing. All Item ID's are shifted +256. This has been around for a while. I COULD fix it, however that would mean that the ID's are changed, something I am always loathe to do.
Basically, there are two ways to fix it:
1) I code it so that the actual item ID is whatever is in the config, minus 256. That would mean that the config reflects the actual ID, but we changed the in-game ID, so everything would be lost.
2) I code the config to automatically add 256 and display that new value, rather than the old one. However, this has the problem that everyone would HAVE to update their configs, otherwise the ID's would change again. This is particularly a problem for people who have modified ID's already, as they would have to manually add 256 to each ID to make sure it works as intended.
For now, the best option is just to keep in mind that the in game ID is 256 higher than the one in the config. Next time there is a necessary ID change, I will fix this issue.
I would cry. I have had to expand to a second chest of various ores.
If it would prevent item loss, could you have a "transition" mod, that converts your items to "coppery lint" or whatnot, and then "second half" transition mod that lets you craft "copper lint" into "copper ingots" with the new ID's?
And, has there ever been a reason *why* Minecraft does that? Does it keep the bourgeois proletariat away from modding?
Now that there are 4096 Block ID's, Minecraft Forge still shifts it by 256 to save room for blocks that need to be used in world generation. And by world generation I don't mean ore gen, I mean like top soil and filler block generation (dirt/grass and stone). For some silly reason Minecraft works using a byte to generate filler and top soil blocks, and since a byte is 8 bits, it only supports up to 256 block IDs. Trying to set a filler block with an ID above 256 causes some horrible crashes. Trust me, I tried I'm not so sure why world gen still works in bytes, but hopefully they will change it soon in the future.
I think you just explained something.
You also gave me the image of Minecraft barfing sadness but I'll let that pass. (Moments like this are why God, in Divine Wisdom, did NOT give me the ability to draw. For which the world is a better place.)
Remember my set of plug-in's for Simple Ores and Only Silver that allow for ore generation (with different parameter sets) for user-configurable dimensions over 1?
It seems to work fine with Miners World (which just tweaks vanilla parameters slightly), Twilight Forest, and Mystcraft. However, I have never had anyone test it successfully on Mists of RioV. My guess has been that some mods use custom terrain generation, and so the ore generation statements you and Zot use (which seem to be normal generic Forge stuff) would not work.
You have jut explained why someone would re-create world generation, and why my higher dimension generation pack would fail on some of the larger, more complicated higher-dimension mods. Thanks!
That's a good idea actually I'll look into it. that's not a promise though
Sorry but a Sinisite Musket is really the only way to top the one I use. Everything but bosses die in one hit regardless of armor if worn. I ain't pushing or anything but it would be cool.
I wouldn't mind adding that mod to my game, and if you post the plug-in to github, I could add my alloys to the weapon array.
I do really like having tin and copper because it takes the monotony out of finding piles and piles of just copper, but I do miss silver. Part of the reason I used this mod was because it added silver and completed the standard metals set up that I always wanted in minecraft.
Either way, this is still my favorite ore mod~!
And I did see the plugin that adds silver, buuuuuuuut I'd rather use something more official.
By the way, I love how a catalyst is required for the alloys, makes them a lot harder to get and more valuable, as opposed to just cramming two bars together like I see in a lot of mods. Speaking of, I think you should make it clear that in the post that the large alloy chunk needs to be smelted in the furnace, because it looks like you just have to stick it in the crafting grid to get an ingot based on the recipes tab.
zot201's Only Silver will return the silver from SimpleOres to you. akkamaddi's Additions to SimpleOres2 also adds in a few silver alloys.
akkamaddi's Additions to SimpleOres2 adds some gold alloy plug-ins as well as some other useful bits and bobs.
According to legend, one day, when a yellow creeper is born to the north under the star of Algol ascendent in Sagittarius, poisonous potatoes have a crafting recipe, and Mojang releases the modding API, the stars shall moves, the clouds shall quake, and the crafting image on the main post will be updated. That is the legend passed on from generation to generation... or at least the one I'm making up here on the spot.
Actually, it is my understanding that the original Only Silver was the silver code from Simple Ores (original) extracted and packaged, with the item/block ID's changed. It *was* the official code. Since then, as Zot learns Java, he has tightened and refined the code to the point that it creaks and groans when you touch it. (I actually respect how much code refinement he has put into something so small.)
As for mine, right now I actually only have one. Surprisingly, I was considering adding Silver + Tin, because Tin seems to get no love. However, in the real world, that makes... solder. So, first hit with fire, your armor melts and traps you in a glob of molten metal until you burn to death. Fun. However, I left enough ID space between Sterling Silver and Hadite Coal that I can add a second Silver alloy. (A dozen mods add electrum. I'd rather do something like mix it with a clay block and make "Augent Ceramic".)
Aww, Becky, "useful bits and bobs"? How sweet. I hope... nay, dream!... that one day I'll elevate my plug-ins to "widgets and what-nots"!
That's a good description, though. That is the second thing on which I may quote you. As for gold, though, my Simple Arsenic plug-in has arsenide gold. Golden Glitter is three low power, early game alloys that are gold. A Scarlatite Gold sword can take a chunk out of something, but lacks durability. (Also Erubescent and Scarlatite Gold blocks are redstone power sources.)
Most of my stuff tends to be utilitarian or low power, but I when I revisit Arsenic, it is getting a new diamond-level alloy.
Thank you. I've gotten to the point that I always open two windows when I edit my post, and I know that if I don't see the full editor, close the tab.
Only one? I thought Sterling Steel added more than one. Shows what I know. >_>
I could play Minecraft without your fusion furnace plug-ins, but why would I want to? Recycling is way too useful, and so is the rest of it.
The intent was there, but the ideas were not. Perhaps Silver + Onyx = Black Silver?
Thank you. (And "the rest of it" means "easy jungle saplings" )
And Hadite Coal! Don't forget the hadite coal! (No lie, the other stuff is nice, but my main world has gotten me past the point where I have need of low-end materials for anything besides decoration.)
Ooh, Black Silver. What sort of properties would that have? Still useful against Mo' Creatures's werewolves, one hopes. Maybe added damage to Nether-critters?
I'm loving Hadite Coal, if only for walls in the Nether randomly spitting fire. It's also nice to just throw *a* chunk of coal in the furnace. I may touch up the coal storage block image at some point, though.
And I understand. Malachite makes an excellent utility ore, but as they say, once you go black, you never use anything besides Onyx again. Still, I will always be a D&D player at heart, and I luvz! luvz! luvz! me some chests full of treasure.
I've just posted asking Zot how that's done. I will probably add it to Sterling, but will definitely add it to Black Silver. (OK, I guess that's a thing now....) If I can find the mechanics of the Smite enchantment and can copy that out, I could have Black Silver do extra damage to undead. Or perhaps a Black Silver bow with Smite 3 pre-enchanted? I should be able to "copy with respect and due deference" (plagiarize) AleXndr's bow code.