Diferencia entre revisiones de «Valores de Datos»
Sin resumen de edición |
Sin resumen de edición |
||
| (No se muestran 9 ediciones intermedias de 2 usuarios) | |||
| 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 [[ | 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]]. | ||
[[File:DataValuesBeta.png|thumbnail|right|Referencia en imagen.]] | [[File:DataValuesBeta.png|thumbnail|right|Referencia en imagen.]] | ||
| 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 218: | Línea 218: | ||
Usados en el comando {{cmd|enchant}}. | Usados en el comando {{cmd|enchant}}. | ||
{| style="background: #FFF; margin:2px; border: 1px solid silver; text-align: center;" | {| style="background: #FFF; margin:2px; border: 1px solid silver; text-align: center;" | ||
! ID !! Encantamiento !! Objetos | ! ID !! Encantamiento !! Objetos encantables !! Máximo | ||
|- | |- | ||
| 0 || Protección || Armadura || 4 | | 0 || Protección || Armadura || 4 | ||
|- | |- | ||
| 1 || Protección contra el | | 1 || Protección contra el fuego || Armadura || 4 | ||
|- | |- | ||
| 2 || Caída de | | 2 || Caída de pluma || Botas || 4 | ||
|- | |- | ||
| 3 || Protección contra | | 3 || Protección contra explosiones || Armadura || 4 | ||
|- | |- | ||
| 4 || Protección contra | | 4 || Protección contra proyectiles || Armadura || 4 | ||
|- | |- | ||
| 5 || Oxígeno || Cascos || 3 | | 5 || Oxígeno || Cascos || 3 | ||
| Línea 240: | Línea 240: | ||
| 17 || Golpeo || Espadas, Hachas || 5 | | 17 || Golpeo || Espadas, Hachas || 5 | ||
|- | |- | ||
| 18 || Perdición de los | | 18 || Perdición de los artrópodos || Espadas, Hachas || 5 | ||
|- | |- | ||
| 19 || Empuje || Espadas || 2 | | 19 || Empuje || Espadas || 2 | ||
|- | |- | ||
| 20 || Aspecto | | 20 || Aspecto ígneo || Espadas || 2 | ||
|- | |- | ||
| 21 || Botín || Espadas || 3 | | 21 || Botín || Espadas || 3 | ||
| Línea 250: | Línea 250: | ||
| 32 || Eficiencia || Picos, Palas, Hachas, Cizallas || 5 | | 32 || Eficiencia || Picos, Palas, Hachas, Cizallas || 5 | ||
|- | |- | ||
| 33 || Toque de | | 33 || Toque de seda || Picos, Palas, Hachas, Cizallas || 1 | ||
|- | |- | ||
| 34 || Irrompibilidad || Cualquier objeto con durabilidad || 3 | | 34 || Irrompibilidad || Cualquier objeto con durabilidad || 3 | ||
| Línea 264: | Línea 264: | ||
| 51 || Infinidad || Arcos || 1 | | 51 || Infinidad || Arcos || 1 | ||
|- | |- | ||
| 61 || Suerte del | | 61 || Suerte del mar || Cañas de pescar || 3 | ||
|- | |- | ||
| 62 || Atracción || Cañas de | | 62 || Atracción || Cañas de pescar || 3 | ||
|} | |} | ||
=== [[Efectos de | === [[Efectos de estado]] === | ||
Usados en el comando {{cmd|effect}}. | Usados en el comando {{cmd|effect}}. | ||
{| style="background: #FFF; margin:2px; border: 1px solid silver; text-align: left;" | {| style="background: #FFF; margin:2px; border: 1px solid silver; text-align: left;" | ||
! Icono !! Valor !! Nombre !! En | ! Icono !! Valor !! Nombre !! En Código !! Color de la Partícula | ||
|- | |- | ||
| {{EffectSprite|speed}} || 1 || | | {{EffectSprite|speed}} || 1 || Velocidad || potion.moveSpeed || {{EffectSprite|particle-speed}} 0x7cafc6 | ||
|- | |- | ||
| {{EffectSprite|slowness}} || 2 || | | {{EffectSprite|slowness}} || 2 || Lentitud || potion.moveSlowdown || {{EffectSprite|particle-slowness}} 0x5a6c81 | ||
|- | |- | ||
| {{EffectSprite|haste}} || 3 || | | {{EffectSprite|haste}} || 3 || Prisa || potion.digSpeed || {{EffectSprite|particle-haste}} 0xd9c043 | ||
|- | |- | ||
| {{EffectSprite|mining-fatigue}} || 4 || | | {{EffectSprite|mining-fatigue}} || 4 || Fatiga de Picar || potion.digSlowDown || {{EffectSprite|particle-mining-fatigue}} 0x4a4217 | ||
|- | |- | ||
| {{EffectSprite|strength}} || 5 || | | {{EffectSprite|strength}} || 5 || Fuerza || potion.damageBoost || {{EffectSprite|particle-strength}} 0x932423 | ||
|- | |- | ||
| - || 6 || | | - || 6 || Salud instantánea || potion.heal || {{EffectSprite|particle-health}} 0xf82423 | ||
|- | |- | ||
| - || 7 || | | - || 7 || Daño instantáneo || potion.harm || {{EffectSprite|particle-damage}} 0x430a09 | ||
|- | |- | ||
| {{EffectSprite|jump-boost}} || 8 || | | {{EffectSprite|jump-boost}} || 8 || Incrementar el Salto || potion.jump || {{EffectSprite|particle-jump-boost}} 0x786297 | ||
|- | |- | ||
| {{EffectSprite|nausea}} || 9 || | | {{EffectSprite|nausea}} || 9 || Mareo || potion.confusion || {{EffectSprite|particle-nausea}} 0x551d4a | ||
|- | |- | ||
| {{EffectSprite|regeneration}} || 10 || | | {{EffectSprite|regeneration}} || 10 || Regeneración || potion.regeneration || {{EffectSprite|particle-regeneration}} 0xcd5cab | ||
|- | |- | ||
| {{EffectSprite|resistance}} || 11 || | | {{EffectSprite|resistance}} || 11 || Resistencia || potion.resistance || {{EffectSprite|particle-resistance}} 0x99453a | ||
|- | |- | ||
| {{EffectSprite|fire-resistance}} || 12 || | | {{EffectSprite|fire-resistance}} || 12 || Resistencia al fuego || potion.fireResistance || {{EffectSprite|particle-fire-resistance}} 0xe49a3a | ||
|- | |- | ||
| {{EffectSprite|water-breathing}} || 13 || | | {{EffectSprite|water-breathing}} || 13 || Respiración acuática || potion.waterBreathing || {{EffectSprite|particle-water-breathing}} 0x2e5299 | ||
|- | |- | ||
| {{EffectSprite|invisibility}} || 14 || | | {{EffectSprite|invisibility}} || 14 || Invisibilidad || potion.invisibility || {{EffectSprite|particle-invisibility}} 0x7f8392 | ||
|- | |- | ||
| {{EffectSprite|blindness}} || 15 || | | {{EffectSprite|blindness}} || 15 || Ceguera || potion.blindness || {{EffectSprite|particle-blindness}} 0x1f1f23 | ||
|- | |- | ||
| {{EffectSprite|night-vision}} || 16 || | | {{EffectSprite|night-vision}} || 16 || Visión nocturna || potion.nightVision || {{EffectSprite|particle-night-vision}} 0x1f1fa1 | ||
|- | |- | ||
| {{EffectSprite|hunger}} || 17 || | | {{EffectSprite|hunger}} || 17 || Hambre || potion.hunger || {{EffectSprite|particle-hunger}} 0x587653 | ||
|- | |- | ||
| {{EffectSprite|weakness}} || 18 || | | {{EffectSprite|weakness}} || 18 || Debilidad || potion.weakness || {{EffectSprite|particle-weakness}} 0x484d48 | ||
|- | |- | ||
| {{EffectSprite|poison}} || 19 || | | {{EffectSprite|poison}} || 19 || Veneno || potion.poison || {{EffectSprite|particle-poison}} 0x4e9331 | ||
|- | |- | ||
| {{EffectSprite|wither}} || 20 || Wither || potion.wither || {{EffectSprite|particle-wither}} 0x352a27 | | {{EffectSprite|wither}} || 20 || Wither || potion.wither || {{EffectSprite|particle-wither}} 0x352a27 | ||
|- | |- | ||
| {{EffectSprite|healthboost}} || 21 || | | {{EffectSprite|healthboost}} || 21 || Recuperación || potion.healthBoost || {{EffectSprite|particle-healthboost}} 0xf87d23 | ||
|- | |- | ||
| {{EffectSprite|absorption}} || 22 || | | {{EffectSprite|absorption}} || 22 || Absorción || potion.absorption || {{EffectSprite|particle-absorption}} 0x2552a5 | ||
|- | |- | ||
| - || 23 || | | - || 23 || Saturación || potion.saturation || {{EffectSprite|particle-saturation}} 0xf82423 | ||
|} | |} | ||
| 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 | ||
| Línea 1577: | Línea 1577: | ||
* Web/Plugin/App Developers looking for a JSON representation of the minecraft data values and PNG images can use the free api at: http://api.mineverse.com (Free registration required to prevent abuse). This list is maintained by a volunteer and has an "update" value that lets you know the latest update. It may not reflect the latest changes here. | * Web/Plugin/App Developers looking for a JSON representation of the minecraft data values and PNG images can use the free api at: http://api.mineverse.com (Free registration required to prevent abuse). This list is maintained by a volunteer and has an "update" value that lets you know the latest update. It may not reflect the latest changes here. | ||
== | == Referencias == | ||
<references /> | |||
{{ | {{Minecraft}} | ||
[[Categoría:Servidor]] | |||
[[Categoría:Comandos]] | |||