|
|
| Línea 16: |
Línea 16: |
| }} | | }} |
|
| |
|
| The '''Minecart with Command Block''' is a [[bloque de comandos]] inside a [[Vagoneta]], having the combined functionality of both. It can be activated by powered [[Raíl Activador]].
| | La '''vagoneta con bloque de comandos''' es un [[bloque de comandos]] dentro de una [[vagoneta]], que tiene la funcionalidad combinada de ambos. Puede ser activado por un [[Raíl Activador]]. |
|
| |
|
| == Obtención == | | == Obtención == |
|
| |
|
| Much like regular command blocks, the minecart with command block is only obtainable using {{Command|give}} (using "minecraft:command_block_minecart") or external tools. It can also be obtained through {{Command|summon}}, like the other different types of [[Vagoneta]] can.
| | Al igual que los [[bloques de comandos]] normales, la vagoneta con bloque de comandos sólo se puede obtener mediante {{Command|give}} (usando "Minecraft: command_block_minecart") o herramientas externas. Tambien se puede obtener a través de {{Command|summon}}, como los otros tipos de [[Vagonetas]]. |
|
| |
|
| == Uso == | | == Uso == |
|
| |
|
| The minecart with command block is used to run commands and travel. It can be more useful than a [[bloque de comandos]] in some situations, and less useful in others. For an example, a benefit of command block minecarts is that you do not need to give it input from a [[Clock circuit]]; for as long as it is powered, it will repeatedly run the command, once every four [[tick|game ticks]] (five times per second). Relative coordinates can be very useful in Minecart Command Block commands. For example, giving the XYZ as "~6 ~2 ~0" (without the quote marks) means "the block that is 6 South and 2 up from the minecart's current location". Since the minecart's location is constantly changing, a setblock command using relative coordinates can draw a wall (poorly, with gaps).
| | La vagoneta con bloque de comandos se utiliza para ejecutar los comandos en un viaje. Puede ser más útil que un [[bloque de comandos]] en algunas situaciones, y menos útil en otras. Por ejemplo, un beneficio de las vagonetas con bloques de comandos es que no necesitas darle corriente desde un circuito de redstone; durante el tiempo que se alimenta, se ejecuta el comando repetidamente, una vez cada 4 ticks del juego(5 veces por segundo). |
|
| |
|
| == Historia == | | == Historia == |
| Línea 35: |
Línea 35: |
| == Trucos == | | == Trucos == |
|
| |
|
| * [[Vagoneta]] with Command Blocks will repeatedly execute their command when on a powered activator rail, unlike the regular [[bloque de comandos]] which executes its command only once until it is powered again. | | * La vagoneta con bloque de comandos ejecuta repetidamente el comando cuando pasa por un [[raíl activador]], a diferencia de un [[bloque de comandos]] normal que solo ejecuta el comando 1 vez hasta que se le vuelva a dar corriente. |
| * When broken, the Minecart with Command Block will only drop a Minecart rather than both a Minecart and Command Block.
| | * Al romperse, la vagoneta con bloque de comandos sólo caerá una vagoneta en lugar de una [[vagoneta]] y un [[bloque de comandos]]. |
| * Minecarts with Command Blocks do work with comparators; they will output a signal when they are hooked up to a detector rail that has a Minecart with Command Block that successfully ran a command the last time it was activated via a powered activator rail. Unfortunately this means that you can't use it and the "clock circuit effect" together (because the cart can either be on a detector rail or an activator rail, not both at the same time). | | * A diferencia del [[bloque de comandos]] normal una explosión destruirá la vagoneta con bloque de comandos. Esto puede ser porque la propia [[vagoneta]] es vulnerable o una limitación del hecho de que en el codigo cuenta como una entidad. |
| * Unlike the regular command block an explosion will destroy the Minecart with Command Block. This may be because the cart itself is vulnerable or a limitation of the fact that the code counts it as an entity. | |