As in, how does it work? Is the modified color data stored in much the same way that enchantments are, or through traditional item data means? If the former, the dyeing system could easily be applied to blocks, as well, so advanced wool dyeing and colored beds are an option. And by option, I mean if possible, those two blocks should get dyeing as soon as possible.
But does anyone know if that's the case? It's an entirely new system, so I'm not sure what is and isn't possible with it yet.
I think they could apply the system to beds by making them tile entities to store the extra data. Since beds can't be pushed by pistons anyways there wouldn't be any downsides. Wool blocks do need to be pushed by pistons, however, so it wouldn't work well for them.
Leather armor uses hexadecimal color codes to determine it's color now. That's over 16,000,000 different colors. It doesn't take up any more item IDs then different sades of grass from different biomes do.
Did he now? Not to say you're wrong or anything, just the first I've heard of that. So a bit of proof might come in handy.
He most certainly is wrong. There's only room for something like 4096(?) total IDs, even after the available IDs got increased. There's no way they would've added colored armor if it took up 16 million IDs.
Leather armor uses hexadecimal color codes to determine it's color now. That's over 16,000,000 different colors. It doesn't take up any more item IDs then different sades of grass from different biomes do.
Kind of a bad example since grass colors aren't stored in the blocks themselves, but as a property of the biome. A better example would be potions (which are all ID 373) or enchantments.
Imagine if someone (meaning I) made a storage room solely for the colored leather. I planned to make said storage room with one set of armor for every color, but that was when I thought there were only 256 colors.
This is the bulk of what I'm trying to get at. Why is it impossible? Certainly I'd think a hexidecimal system introduced for items could be brought over to items without too much trouble.
Dinnerbone said in order to apply the same method to wool, he would have to use up a few million block ids, and I'm pretty sure everyone's favorite bone is a hell of a lot smarter than to do that.
This is the bulk of what I'm trying to get at. Why is it impossible? Certainly I'd think a hexidecimal system introduced for items could be brought over to items without too much trouble.
Uh, well, because blocks cannot store that much information. Go download NBTExplorer and compare an item to a placed block.
Rollback Post to RevisionRollBack
Allocators are no longer the future, we have Hoppers now. I still like them, though.
There are only around 30000 or so item ids. Of those, only the first 256 can be used for blocks. (You need a mod to allow that number to increase to 4096).
Many other properties of items and blocks are stored as seperate data. In the new snapshot, the color of leather armor is one of these things.
Adding color options for beds would be no more difficult than for leather armor.
Rollback Post to RevisionRollBack
I use the FTB modpack, because it's fun, and extremely convenient.
There are only around 30000 or so item ids. Of those, only the first 256 can be used for blocks. (You need a mod to allow that number to increase to 4096).
Many other properties of items and blocks are stored as seperate data. In the new snapshot, the color of leather armor is one of these things.
Adding color options for beds would be no more difficult than for leather armor.
...When they're stored in your inventory.
However, a placed block only stores 16 or so bits of information. I forget exactly how many.
Basically, it would require a rewrite of the entire way maps are saved, and a lot more information per block.
Rollback Post to RevisionRollBack
Allocators are no longer the future, we have Hoppers now. I still like them, though.
If it were possible, Dinnerbone would have already done it. But he did, in fact, say that this was not possible without taking up a million block ids. So don't expect coloured beds or a whole range of new colours for wool blocks any time soon.
But does anyone know if that's the case? It's an entirely new system, so I'm not sure what is and isn't possible with it yet.
"The oceans of minecraft are vast and nearly endless... and we just have a floating little box to traverse across them..." - doctorseaweed2
Mostly moved on. May check back a few times a year.
Dinnerbone took up over a million block IDs just for the armor.
Over a million. I wouldn't be expecting colorable beds AND wool anytime soon...
Did he now? Not to say you're wrong or anything, just the first I've heard of that. So a bit of proof might come in handy.
Uh, wut?
First of all, I think you mean item IDs, and second of all, there's no way he could've or would've done that.
Armor uses a hex color palette.
I think Red vs Blue type battles would be fun...
Kind of a bad example since grass colors aren't stored in the blocks themselves, but as a property of the biome. A better example would be potions (which are all ID 373) or enchantments.
Mostly moved on. May check back a few times a year.
This is the bulk of what I'm trying to get at. Why is it impossible? Certainly I'd think a hexidecimal system introduced for items could be brought over to items without too much trouble.
I am ninja'd far too often.
Uh, well, because blocks cannot store that much information. Go download NBTExplorer and compare an item to a placed block.
EDIT: There are 16777215 combinations.
Many other properties of items and blocks are stored as seperate data. In the new snapshot, the color of leather armor is one of these things.
Adding color options for beds would be no more difficult than for leather armor.
...When they're stored in your inventory.
However, a placed block only stores 16 or so bits of information. I forget exactly how many.
Basically, it would require a rewrite of the entire way maps are saved, and a lot more information per block.