Diferencia entre revisiones de «Valores de Datos»
Sin resumen de edición |
Sin resumen de edición |
||
| (No se muestran 2 ediciones intermedias del mismo usuario) | |||
| Línea 1: | Línea 1: | ||
{{construcción}} | {{construcción}} | ||
{{about|valores de datos de la última versión de Minecraft para PC|valores de datos de la versión [[Classic]]|Valores de | {{about|valores de datos de la última versión de Minecraft para PC|valores de datos de la versión [[Classic]]|Valores de datos (Classic)|valores de datos de la versión [[Pocket Edition]]|Valores de datos (Pocket Edition)}} | ||
Los '''valores de datos''' hacen referencia a los distintos tipos de bloques y objetos. Se usan en muchos lugares de Minecraft. Las [[#IDs de Bloques|IDs de bloques]] se usan para definir los bloques colocados en el mundo y en el inventario (incluidos objetos en cofres y objetos en el suelo). Las [[#IDs de Bloques|IDs de bloques]] son sólo válidas para objetos. También hay [[#IDs de Entidades|IDs de entidades]] para criaturas y proyectiles. Los [[#Valores|valores de bloques]] definen los bloques colocados, describiendo por ejemplo la altura del [[Agua|agua]] o la dirección en que apunta una [[Antorcha|antorcha]]. | Los '''valores de datos''' hacen referencia a los distintos tipos de bloques y objetos. Se usan en muchos lugares de Minecraft. Las [[#IDs de Bloques|IDs de bloques]] se usan para definir los bloques colocados en el mundo y en el inventario (incluidos objetos en cofres y objetos en el suelo). Las [[#IDs de Bloques|IDs de bloques]] son sólo válidas para objetos. También hay [[#IDs de Entidades|IDs de entidades]] para criaturas y proyectiles. Los [[#Valores|valores de bloques]] definen los bloques colocados, describiendo por ejemplo la altura del [[Agua|agua]] o la dirección en que apunta una [[Antorcha|antorcha]]. | ||
| Línea 27: | Línea 27: | ||
| No se pueden obtener de forma legítima. Sólo disponible usando el comando ''/give'' o mediante editores de inventario. | | No se pueden obtener de forma legítima. Sólo disponible usando el comando ''/give'' o mediante editores de inventario. | ||
|- | |- | ||
| style="text-align: center" | <span style='color:#00BFFF;'>Azul | | style="text-align: center" | <span style='color:#00BFFF;'>Azul claro</span> | ||
| No se puede obtener de ningún modo. | | No se puede obtener de ningún modo. | ||
|- | |- | ||
| Línea 42: | Línea 42: | ||
| Sólo disponible teniendo herramientas [[encantamiento|encantadas]] o en modo [[creativo]]. | | Sólo disponible teniendo herramientas [[encantamiento|encantadas]] o en modo [[creativo]]. | ||
|- | |- | ||
| style="text-align: center" | <span style='color:#99CC00'>Verde | | style="text-align: center" | <span style='color:#99CC00'>Verde lima</span> | ||
| Sólo disponible teniendo herramientas [[encantamiento|encantadas]] o mediante el uso del comando ''/give'' o editores de inventario, pero no se puede obtener en el menú del modo [[creativo]]. | | Sólo disponible teniendo herramientas [[encantamiento|encantadas]] o mediante el uso del comando ''/give'' o editores de inventario, pero no se puede obtener en el menú del modo [[creativo]]. | ||
|- | |- | ||
| Línea 394: | Línea 394: | ||
| [[#Cake|Cake]] || 0-5 || 0-5 || Pieces eaten | | [[#Cake|Cake]] || 0-5 || 0-5 || Pieces eaten | ||
|- | |- | ||
| [[#Beds| | | [[#Beds|Cama]] || 0-15 || 0-F || Orientation, whether it's occupied | ||
|- | |- | ||
| [[#Redstone Comparator|Redstone Comparator]] || 0-15 || 0-F || Orientation, mode and power | | [[#Redstone Comparator|Redstone Comparator]] || 0-15 || 0-F || Orientation, mode and power | ||
| Línea 497: | Línea 497: | ||
{{:Leaves/DV2}} | {{:Leaves/DV2}} | ||
=== [[ | === [[Lana]], [[Arcilla endurecida|artilla tintada]], [[cristal tintado]] y [[alfombra]] === | ||
These values specify the color of the wool, Stained Clay, Stained Glass and Carpet. This data is stored in block metadata for placed wool, Stained Clay, Stained Glass or Carpet, and as the "damage" for the item in the inventory. | These values specify the color of the wool, Stained Clay, Stained Glass and Carpet. This data is stored in block metadata for placed wool, Stained Clay, Stained Glass or Carpet, and as the "damage" for the item in the inventory. | ||
| Línea 574: | Línea 574: | ||
{{:Sandstone/DV}} | {{:Sandstone/DV}} | ||
=== [[ | === [[Cama]]s === | ||
* 0x0: Head is pointing {{f|0}} | * 0x0: Head is pointing {{f|0}} | ||
| Línea 1031: | Línea 1031: | ||
{{:Mob head/DV}} | {{:Mob head/DV}} | ||
=== [[ | === [[Bloque de cuarzo]] === | ||
{{:Block of Quartz/DV}} | {{:Block of Quartz/DV}} | ||
=== [[ | === [[Carbón]] === | ||
{{:Coal/DV}} | {{:Coal/DV}} | ||
=== [[ | === [[Tintes|Tinte]] === | ||
{{Dyes}} | {{Dyes}} | ||
=== [[ | === [[Pescado]] === | ||
Both raw and cooked fish use the same data values. Note that clownfish and pufferfish cannot be cooked. | Both raw and cooked fish use the same data values. Note that clownfish and pufferfish cannot be cooked. | ||
| Línea 1049: | Línea 1049: | ||
{{:Fish/DV}} | {{:Fish/DV}} | ||
=== [[ | === [[Yunque]] === | ||
0x1 is the bit that determines whether the anvil is orientated in a north-south (0) or a west-east (1) direction. 0x4 and 0x8 are bits which determine whether the anvil is a regular (0x4 & 0x8 = 0), a slightly damaged (0x4 = 1) or a very damaged (0x8 = 1) one. | 0x1 is the bit that determines whether the anvil is orientated in a north-south (0) or a west-east (1) direction. 0x4 and 0x8 are bits which determine whether the anvil is a regular (0x4 & 0x8 = 0), a slightly damaged (0x4 = 1) or a very damaged (0x8 = 1) one. | ||
=== [[ | === [[Pociones]] === | ||
Un[[frasco de cristal]] lleno de una poción. Potion type is stored in item's damage value as a 16-bit number. Potion effect, name, and other flags are encoded on bits. Effect duration itself isn't there, but can be calculated from other values. | |||
<!-- Code snippet has been moved to [[Talk:Data_values#Potions_code|the Talk page]], if anyone feels like puzzling it out there. --> | <!-- Code snippet has been moved to [[Talk:Data_values#Potions_code|the Talk page]], if anyone feels like puzzling it out there. --> | ||
| Línea 1067: | Línea 1067: | ||
! 0 | ! 0 | ||
| 1 || 0001 | | 1 || 0001 | ||
|rowspan="4"| | |rowspan="4"|Efecto de poción | ||
|rowspan="6"| | |rowspan="6"|Nombre de poción | ||
|- | |- | ||
! 1 | ! 1 | ||