Minecraft Wiki
Advertisement

Predefinição:Block

Esse artigo fala sobre o vanilla piston. Para o mod, veja Mods/Pistons.

Pistões são blocos capazes de empurrar a maioria dos blocos, dependendo da direção em que estão virados.

Criação

Empty Map
Essa predefinição está obsoleta. 
Por favor use {{Fabricação}} em vez disso.
Empty Map
Essa predefinição está obsoleta. 
Por favor use {{Fabricação}} em vez disso.

Funcionalidade

  • Quando colocados, pistões sempre apontam para o jogador.
  • Pistões são acionados com redstone. Quando ligados, sua superfície de madeira se estende em um bloco, empurrando um máximo de 12 blocos.[1] [2]
  • Quando voltando para sua posição de desligado, ele não puxa nenhum bloco com ele. Veja Pistão Grudento para isso.
  • Sua superfície de madeira também pode empurrar jogadores, mobs e outras entidades no chão se eles estiverem em seu caminho. No entanto, se não houver espaço para o jogador/mob/entidade ser empurrado, a superfície estendida do pistão, passará por ele sem machuca-lo. O pistão ainda pode empurrar um jogador ou mob para fora de uma passarela de 1 bloco de largura, o que pode ser colocado junto de uma placa de pressão para fazer uma armadilha razoavelmente efetiva.
  • A cabeça (superfície de madeira) estendida do pistão é considerada sólida e transparente (assim como vidro). Por causa disto ela pode se estender para um jogador/mob sem sufoca-lo, e o jogador/mob pode sair dela, mas não voltar para ela.
  • Do mesmo jeito, se um bloco seja empurrado por um pistão em um jogador/mob, o jogador/mob será empurrado se houver espaço. se não houver espaço, o bloco ocupará o mesmo espaço que o jogador/mob e causará sufocação se o bloco for opaco.
  • Quando blocos são empurrados por pistões, eles são momentaneamente não-solido e fará qualquer jogador/item que estiver por cima do bloco em movimento cair através do bloco.
  • Pistões podem ser usados como um portão de água, se estendendo para o lugar onde a água passa, pois a água não passa pela cabeça estendida de um pistão.
  • Pistões podem ser usados para empurrar carrinhos e barcos. Mas se for utilizado para empurrar um carrinho em cima de um trilho, o trilho também será empurrado.

Empurrando Blocos

  • Alguns blocos não podem ser empurrados por pistões e a cabeça dele não se estenderá:
    • Obsidian, Bedrock para evitar abuso (no caso da Bedrock é para que o jogador não entre no Void)
    • Blocos que possuem dados extras com eles - note block, chest, furnace, dispenser, monster spawner.
    • Pistões estendidos (Ambos, Grudento e normal) porque blocos em movimento são temporariamente classificados como tile entities.[3][4]
    • Portais
  • Pumpkins, Cobwebs e Jack-O-Lanterns são transformados de volta em itens quando empurrados. (Se você estiver tentando criar uma luz retrátil, tente utilizar Glowstone invés de Jack-O-Lanterns.)
  • Pistões não podem empurrar lava ou água, apenas obstrui-los. Uma cabeça de pistão se estendendo em um bloco mãe de lava ou água, vai destruir o bloco mãe.
  • Pistões não podem empurrar a maioria de blocos que são ligados a outro bloco como alavancass, tochas, redstone, placas, etc. Eles serão soltos e dropados como item. Excepções incluem:
    • Alçapões, contanto que seu lado preso permaneça ligado a outro bloco na sua nova posição.
    • Trilhos (e Trilhos elétricosl, Trilhos Detectores) contanto que permaneção no topo de outro bloco na sua nova posição. Trilhos se re-orientarão depois de empurrados, assim como se fossem colocados manualmente.
  • Blocos que estão ligados a blocos sendo empurrados serão quebrados a não ser que o bloco que esteja embaixo/atrás dele também seja aceitavel; por exemplo, tochas podem ser colocadas em uma estrutura de pedregulho que se "auto repare".
  • Pistões não podem empurrar uma fila de 12 ou mais blocos, senão a cabeça não se estenderá.

Energizando Pistões

  • Pistons can be powered horizontally through single blocks by way of either redstone or repeaters
  • Pistons can be powered by a torch directly adjacent to them (above, below, or to the side)
  • Pistons can be powered by a torch from below when said torch would power the block the pistons are resting on (just like powered rails)
  • Pistons can be powered by any powered block directly adjacent to them, and by any powered block one block above and to the side. However, the piston won't recompute its state unless a block directly next to it is changed. An adjacent piston retracting causes a recompute, but an adjacent piston extending doesn't.
  • Both redstone dust and repeaters will power the piston directly in front of it as well as a second piston below this piston. This allows a wall made completely of pistons to be constructed.
  • When toggled between on and off rapidly with a gravity affected block (such as sand) above it, a piston will eventually break the block, which can be picked up as a resource.
  • A repeater cannot transfer power through a piston.

Usos Comuns

  • Pistons are commonly used to push/pull blocks to simulate opening and closing doors, gates and other traps.
  • Pistons can be used to make self-repairing bridges by using cobblestone from a cobblestone generator. The same principle can be used to make a self-repairing house.
  • When used in conjunction with redstone repeaters, pistons can make a redstone piston clock capable of almost any speed.
  • A piston powered clock linked up to a square of blocks designed to be pushed round in a loop can create an endless loop of data. Combined with the inability of transparent blocks (such as glass) to transmit power, a redstone repeater can be run into the pushed data block to optionally perform a function on the other side. Scale this up into 3 dimensions and you get an array of data looping round, being tested to see if it transmits the power or not. This can be used to create redstone sign outputs, to play musical sequences, and a countless list of other things.[5]
  • Another use for Pistons is to put a block on top of the piston facing up and the mine cart track on top of that and then put a Minecart one block away from it on the track so that when you activate the Piston with a source of power it will slant the Track and get the mine cart started. This will work better with a Sticky Piston, because if you have a sticky piston, you will not have to manually reset the track.

Historia

The original piston was a mod posted on the Minecraft Forums by Hippoplatimus.[6] The code for that version was given to Jeb, who then worked on shortly implementing them into vanilla Minecraft. However, due to his work on the Pocket Edition, pistons were delayed, and were not released for the 1.5 update nor for the 1.6 update.

Finally, when the Pocket Edition was good enough to show at E3, Jeb went back to work on the PC version of Minecraft and pistons were finally added in version 1.7, including Sticky Pistons.

Diferenças com a modificação "Piston"

Differences of the vanilla type in comparison to the mod version:

Pros:

  • Pistons now are crafted with cheaper materials, so building them is considerably easier.
  • "Upgrading" a piston into a sticky piston is now possible (although pistons cannot be converted back).
  • Pistons can no longer be accidentaly reoriented by an unintentional right click.
  • They break far faster, making for quick replacing.
  • Pistons now work in multiplayer.

Cons:

  • Can no longer thrust blocks and items upwards and send them flying.
  • Vanilla pistons must be removed and placed again to change their orientation, rather than just right clicking.
  • Slimeballs are somewhat of a rarity, making sticky pistons hard to craft.
  • Vanilla pistons can only push 12 blocks, while the others could push 16 blocks.
  • Blocks can no longer be 'Crushed' between two pistons.
  • Tile entities, such as chests, furnaces and note-blocks cannot be pushed by the vanilla pistons.

Other changes include a big difference in graphical design, as the piston mod had a silver, more modern looking texture with a thick bar, where the pistons in the game have a more medieval-themed texture, with a stone base, and thin wooden pushing pad.

Bugs

  • When powered, both types of pistons cannot power surrounding blocks.
  • If two extended pistons are one above the other, the lower one cannot retract until the upper one retracts.[7] If the top one will start extending while bottom one is still retracting, the last will start extending as well.
  • Powering pistons with a redstone torch in some cases seems to always consider the torch as "on", even if powered off.
  • Rear part of a piston during retracting has no collision: when pistons point down it is possible to glitch through them when they retract[8], it is also possible to glitch through a retracting piston while walking against it. [9]
  • Blocks being pushed by a piston have no collision in certain places. [10]
  • When a sticky piston pulls a door, it becomes a half door attached to the piston.
  • A piston attached to a sticky piston may disappear when extended into flowing water.
PistonTextureGlitch

The piston texture glitch demonstrated.

  • Light passes through pistons, both normal and sticky, powered and unpowered of both types.
  • Placing a lever 1 block above and to the side of a piston and then activating the lever will cause the game to crash and will crash every time you try to join the world which has this bug.
  • When a piston or a sticky piston is placed upwards (with the redstone input being located 1 block bellow) and a rapid pulse signal is applied to the redstone, if the player tries to break the piston or sticky piston with any item, block, tool, or hand, the piston or sticky piston will break, dropping an item, but leaving a breakable piston head in mid-air.[11].
PistonGlitch

A possible implementation of the piston head glitch.

  • If a sticky piston is pulled down by another sticky piston, it will not pull the block it is attached to with it.
  • Sometimes, when powering large lengths of pistons (unknown with sticky) the last one or two pistons might not go back from being retracted.
  • When an upward-facing piston attempts to repeatedly push a stack of gravity-affected blocks upward, it will destroy the blocks without dropping them to be collected.

Trivia

  • Pistons are slightly altered from the original mod. For example, the original Piston Mod could propel gravity-affected blocks, as well as entities and mobs several meters vertically or horizontally, while vanilla Pistons cannot do this.[12] However, if a gravity-affected block is sitting on an upward-facing piston, and the piston retracts, the block will fall.
  • If a piston pushes a gravity-affected block over a hole, the block will fall, even if attached to a sticky piston.
  • Pistons cannot be used to 'crush' players or mobs against walls. A piston will simply pass through them if this is attempted. However, blocks being pushed by piston will crush players and mobs and suffocate them, making it useful for traps.
  • If attached from up above, pistons may be able to push blocks downwards and suffocate the player or mobs.
  • If a water spring is placed on top of a piston, it will disappear if the piston is extended. This also applies to lava springs.
  • Pistons can be placed near cacti so that when they are activated, and if the pushing end is adjacent to the base of a cactus, the cactus will break.
  • Pistons will break leaves when pushed.
  • If you push a burning block, the block will be put out. If you push a row of burning blocks, they will all stay on fire except for the farthest one.
  • Pistons cannot push any block into level 128.
  • Pistons can be used to create logic gates. However, most of them suffer from bad latency and larger size compared to their pure redstone counterparts, and offer no advantages.
  • When a piston with a sand/gravel block on top is pulsed with a 1 clock, the sand/gravel block will not begin to fall in the time the piston goes down and back up.

Galeria

Referencias

Veja também

Advertisement