Talk:Java Edition data values/Archive 3

Images
Will take time out to update/upload images if necessary. –The preceding unsigned comment was added by Brl1214 (Talk . Please sign your posts with   !
 * Speaking of which, why are all the 16x16 data block images 50k when they should be 200 bytes or so? Don't currently have time to load them all up in gimp and resave. Lil kreen 00:52, 6 November 2010 (CDT)
 * Because they're 150x150 resized to 16x16 browser side? – ultradude25 ( T 01:42, 6 November 2010 (CDT)
 * Ahh I see, it's just the ones Arrorn uploaded. they're not 150x150 they're 16x16 and entirely larger than they ought to be.Lil kreen 05:23, 6 November 2010 (CDT)

Data values for player inventory
The crafting slots can act as a secondary inventory space, and I've found some of their data values purely by accident (looking at my inventory in INVedit to see what I was carrying) - it said "unknown slot '81', discarded item." and the same for '83' I think this means that the slots starting at 80 or 81 are the 2x2 craft table, which would be useful to have for those making mods. Donpablo 23:42, 30 October 2010 (CDT)

Halloween Update grass/leaves
Does anyone have any insights into how leaves and grass are tinted in the new Halloween update? I'd reckon the blocks now have data associated with them that determines the tint, but I have no proof and certainly no way to convert the number into a color. -- agrif 02:14, 3 November 2010 (UTC)
 * It doesn't use the data values. The tint to use for grass is all calculated by algorithm during runtime. See for proof. CyborgDragon 02:18, 3 November 2010 (UTC)

Portal Data Values
Ok, does anybody know of an extra data value for portals (like the ones for torches and signs) that determines which way it is facing? If there is one, it should be added here.--Ikalpo 18:04, 7 November 2010 (CST)

Unfortunately, there isn't one. They change direction based on other portal blocks being next to them. The DV for either direction is 0.

Remove images
The data value image thumbnails should be removed. The images where useful before the tables where completed, however, all of the data is provided on the page now in a clean/printable format, the images now duplicate information for niche usage. They have been re-added twice by "new" accounts. -- 04:54, 1 December 2010 (CST)

Torch/Plant data during runtime
Has anyone been able to find these values during run time? I can find the spot in memory where a certain block type is specified, so if I poke it it can change from sand/tnt/torch, whatever, but I can't for the life of me find where it says the extra information. I'm asking because I placed a torch in a corner, on the floor, north wall, west wall, and the data value is 50 each time, but the neighbouring bytes are just neighbouring blocks, not any data to do with that specific block.

Grazfather 05:30, 12 January 2011 (UTC)

Coloured cloth in Classic
Shouldn't we leave the coloured cloth values here from Classic, as well as the new stuff they got overwritten with in Beta 1.2? Immibis 07:26, 15 January 2011 (UTC)

Cloth / Wool colors
I'm pretty sure this is missing some Cloth colors, i think the ones that require mixing of dyes. Madmonkeycat 05:37, 16 January 2011 (UTC)


 * Those are all the same block. In beta, there is only one block of cloth. Dying it just gives it a new texture instead of a whole new block.Toadbert

But they're already dyed blocks in beta that have their own data value, shouldn't the other ones have their own data value too? Madmonkeycat 05:37, 16 January 2011 (UTC)

Does anyone know how to use the give command with the added field needed for the different dyes? I ask because I would like to be able to give the different dyes to people on my server, but I'm not sure how to or if its even possible to do with the server give command?! Rafiki2085 18:33, 16 January 2011 (CST)
 * It's not possible with the vanilla /give command as of now --Flippeh 01:09, 17 January 2011 (UTC)

Fire block
I'm pretty sure that fire block has data from 0 to 15. The data is used to render the different aspects of fire: wall fire, fire in a corner... I think it's a good idea to add this info, but have no idea of what number is every kind of fire. Anyone knows this? Fenixin 23:21, 16 January 2011 (UTC)

Add an "unobtainable" suffix to the tables?
I agree with removing the now-obsolete images, yet could we add some way to show that certain items are unobtainable without cheating? I was thinking of adding a suffix of 'C' or 'U' (akin to the 'B', 'D' and 'I' suffixes we already use) to denote the item as being unobtainable without /give or inventory editing.

--Kaedenn 18:37, 17 January 2011 (UTC)


 * Um, why not different coloring or bold? That would be easier to read. But hey not a bad idea. TheKax 18:32, 14 February 2011 (UTC)

/give command for different types of wood
Regular wood can be given by typing "/give {player} 17 {quantity}", but what about redwood or birch?

Erm, Dye ID?
The dye data values are confusing. If it uses data values to determine what dye item it is... what block ID do they apply to? For example, Dandelion Yellow says it's 351, but that's (apparently) for Ink sac. --Gnu32 17:36, 28 January 2011 (UTC)
 * All dyes carry the same primary ID, the color of the dye is determined by the "damage" amount that the dye has. Wool works the same way. He most likely did this to avoid having to add 30 new item/block IDs upon the addition of dyes. Alphap 03:05, 29 January 2011 (UTC)

Cake value?
Does anybody know if cake have a value for how much is eaten?

Block IDs Limited by Java?
So, I was digging through the game code for a mod, when I realized something. There is no such thing as an unsigned byte in Java, meaning that the byte data Notch uses to store block IDs can actually only be a value from -128 to 127. Add to that the fact that he stores blocks in an array, and that cuts out everything below 0, meaning that the actual available IDs for blocks are 0-127, as opposed to 0-255 like this page states. By the way Notch programmed the game, I believe he made the same assumption, so we can expect an update to the way the game stores data as soon as Notch realizes this mistake. Anyway, I thought this info might be useful if it were at least on the discussion page, if not mentioned on the actual page itself. --Glitchfinder 07:23, 5 February 2011 (UTC)

What additional ink sac data?
The article states:
 * "Entries marked with a D require additional data to fully define the item in a Beta world.
 * Ink Sac D"
 * Ink Sac D"

However, the needed data is not explained at all in the article. Has this something to do with combining ink sacs with bone meals to make lighter dyes? (I guess so...) --TheKax 18:40, 14 February 2011 (UTC)
 * That "D" is a link. Clicking it will bring you to the section that has the info. Basically, item 351 is dye and a secondary value governs exactly what color the dye is. The reason it shows up as Ink Sac in that table is because there's no icon for just generic dye. Alphap 21:06, 14 February 2011 (UTC)
 * That just about explains it. However, this leads me into another thought. Should the "ink sac" name be changed in some way to easily show that all dyes are actually the same object? At least that should be made more clear. TheKax 12:34, 16 February 2011 (UTC)