Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement
Disambig gray  本文章介紹的是普通活塞。關於可以拉回方塊的活塞,請見「粘性活塞」。

活塞(Piston)是能夠推動大多數方塊的機械類方塊。推動的方向取決於其朝向。

合成

材料 輸入 » 輸出
木材 +
鵝卵石 +
鐵錠 +
紅石粉

作為合成材料

材料 輸入 » 輸出 描述
粘液球 + 活塞

粘性活塞

功能

  • 活塞在被放置時永遠朝向玩家
  • 活塞是紅石驅動型機械。當被啟動時,他們的木質表面會向外延伸一個方塊,能夠推動在其延伸方向直線上的最多12個方塊。[1][2]
  • 當回到未啟動狀態時,活塞不會拉回任何方塊(但能夠受重力影響的方塊會下落)。如果你想拉回方塊,請參見粘性活塞
  • 活塞的木質表面也能夠推動玩家,生物與其他實體。然而,如果沒有足夠的空間推動,活塞臂僅僅會穿過該實體而不會給實體造成任何傷害。如果與壓力板配合使用,能夠將玩家或生物推出只有一格寬的走道,這是一種相當有效的陷阱
  • 伸出的活塞臂被認為是固體透明方塊(類似玻璃)。如果活塞臂伸入玩家或生物,他們不會窒息,他們可以移動出活塞臂但無法再移動回去。
  • 類似地,如果被活塞推動的方塊被推向玩家生物,他們會被推動。然而,如果沒有足夠的空間推動,這個方塊會占據玩家或生物所在的空間。如果該方塊是非透明方塊,那麼玩家或生物會窒息。
  • 當方塊正在被推動的過程中,它(們)會暫時為非固體,從而導致本來位於被推動方塊上的玩家、生物或物品會掉下去,穿過正在被推動的方塊。
  • 因為液體無法穿過活塞臂,所以活塞能夠用於控制液體流動。
  • 活塞也能推動礦車。注意如果礦車位於鐵軌上,鐵軌也會被一起推動。如果被推動的方向沒有空間或者下方沒有方塊,鐵軌會掉落為可撿起的物品。
  • 透過設計合理的紅石電路的控制,活塞可以用於製作非常快的電梯。

推動方塊

  • 仙人掌南瓜南瓜燈甘蔗龍蛋在被活塞推動時會變成掉落的物品。(如果嘗試製作可以伸出/收回的光源,你可以使用螢石塊,也可以用基本等效的紅石燈。)
  • 西瓜在被活塞推動時會變成西瓜片
  • 蜘蛛網在被活塞推動時會變成
  • 活塞無法推動岩漿,僅僅會占據並代替該液體方塊。
  • 活塞無法推動大多數「附著在其他方塊」上的方塊,例如控制桿火把紅石線告示牌等。被推動時這些方塊也會變成掉落的物品。但是下列方塊會出現例外情況:
    • 地板門,若且唯若其附著方塊的一側在被推動後也會依附另一個固態方塊時才可以被成功推動。
    • 鐵軌(與動力鐵軌感測鐵軌)只要在新的位置上時下方仍然為固體方塊時才能被成功推動。如果可能的話,鐵軌在新的位置會重新計算自己的走向(就像被玩家手動放置時一樣)。
  • 依附在另一方塊上的方塊當其依附的方塊被推動時也會變成掉落的物品,除非推動後位於其原來依附的方塊所在位置的新方塊也能被依附。例如,位於一個可以「自我修復」的鵝卵石結構上的火把就可以保持依附狀態。
  • 活塞無法推動超過12個方塊的長鏈,這時活塞臂無法伸出。

啟動活塞

註:關於「強充能」與「弱充能」等術語,詳見紅石電路

  • 活塞能夠被任意一個與其非木質表面相鄰的被充能的固態非透明方塊啟動(無論充能強弱均可。「被充能的方塊」定義廣泛,詳見紅石電路章節)。
    • 活塞能被任一個與其非木質表面相鄰的紅石火把啟動。
    • 如果活塞位於紅石火把正上方,活塞會由於被紅石火把注入電能而被啟動。
  • 活塞能夠被上方隔一格之上的方塊,或是活塞側面上方的方塊啟動——但滿足這個啟動條件之後,活塞臨近方塊必須更新才可以讓活塞臂伸出——而且,當啟動條件不被滿足後,活塞臨近方塊要再次更新才能讓活塞臂縮回。(該活塞如果臨近另一活塞,那個活塞縮回會導致更新,但伸出不會)詳見方塊更新感應器章節。
  • 紅石線與紅石中繼器傳輸電能指向的一端的活塞都能被啟動,而且該活塞下方的活塞(如果有的話)也能被啟動。這讓您能夠建造一排完全由活塞構成的牆。正如上一條所說,紅石線也會使其下方的方塊充能,從而啟動剛剛的兩個活塞再下面的活塞。但由於那個錯誤,該活塞無法更新自己的狀態。詳見方塊更新感應器章節。
    • 紅石中繼器只能注入電能到活塞,而由於活塞的透明性,活塞被啟動時並不視為「被充能」,從而無法繼續將電能傳到相鄰的紅石線上。
  • 當活塞托舉著一個受重力影響的方塊(例如)並不斷迅速地伸縮,該方塊會最終掉落為物品。然而,沙石不會掉落為燧石

一般用途

File:Mcelevator-aerial.jpg

一個活塞電梯(飛行視角)

File:Mcelevator-ground.jpg

一個活塞電梯(地面視角)

File:8x8elevator.png

一個活塞電梯(占地面積8x8的簡單設計)

File:Bridge-down.png

活塞橋(收回狀態)

File:Bridge-up.png

活塞橋(伸出狀態)

  • 活塞/粘性活塞通常透過推拉方塊來模擬門的開關[3],當然也可以利用此特性製作陷阱。
  • 活塞可用於製作可自我修復的橋梁或牆體。詳見鵝卵石生產器
  • 與紅石中繼器配合使用的話,可以建造任何不包含紅石火把的縱向邏輯門,而且可以繞過紅石火把「燃盡」的缺點。
  • 由於活塞將方塊推入玩家可使之窒息,故活塞可以用於製造窒息陷阱,而且結構簡單,容易復位。
  • 透過將方塊循環推動,活塞時鐘可參與製作活塞版的延遲線儲存器。如果配合絕緣的透明方塊,您可以用紅石中繼器將訊號傳出去。把這類結構擴展到三維的話可以得到更多功能。[4][5]
  • 活塞還可以用於礦車的發車:在朝上的活塞上放一個方塊,方塊上鋪設鐵軌線路,再在該鐵軌旁的鐵軌上放一個礦車。活塞被啟動後,礦車下的鐵軌會變成傾斜狀態,從而啟動礦車。
  • 活塞可以用於推動玻璃與冰這類無法取得的方塊。
  • 活塞可以用於半自動的耕種。用附著著固態方塊(一般使用泥土)的粘性活塞能夠將小麥甘蔗變成掉落的物品,然後手動重新種植。
  • 透過面對頭頂上方的方塊底部放置活塞可以使活塞朝下,從而能夠將方塊向下推。
  • 活塞可用於製作可開關的窗戶。
  • 活塞可用於製作任意高度的電梯。您可以像建造旋轉階梯一樣先放置環繞著1格粗的立柱的朝上的活塞,然後每個朝上活塞都需要比其高3格的橫向活塞用以把被朝上活塞推上一格的玩家挪到下一個朝向活塞上去。這種設計需要巨大的空間(11x11橫截面)與不少紅石(除了第一個活塞之外,給其他的活塞供電的中繼器都需要被設到第三檔)。右面的截圖中有稍簡單的8x8橫截面的設計,此外也有更優秀的設計,這裡不一一列舉。
  • 除了「旋轉階梯」型活塞電梯,您也可以建成一條直線的「扶梯」。原理相同。
  • 透過控制桿控制,建造自動活塞橋也很容易。活塞由下方的紅石火把供電,紅石火把依附的方塊由側面的紅石線供電(奇數活塞由左側供電,偶數活塞由右側供電)。所以活塞橋下需要縱截面5x2的空間容納電路。如果要做到兩邊的控制桿都能控制,使用異或門或者RS鎖存器即可。

歷史

最早活塞是在Minecraft官方論壇上發布的一個MOD,由Hippoplatimus創作。[6]之後活塞的源代碼被作者交到了Jeb手中,Jeb隨後將其加入到了原版Minecraft。然而,由於Jeb那時忙於攜帶版的開發,活塞直到Beta 1.7才加入,與其一同加入的還有粘性活塞

在Beta 1.7_01與Beta 1.7.2中,有一個錯誤會使活塞與粘性活塞複製方塊。隨後1.7.3該錯誤就被修正了。

Hippoplatimus自己也被列在了遊戲開發人員名單的「附加編程」中,與他一同被列入的也有其它對原版Minecraft有貢獻的MOD製作者們。

錯誤

File:Isolated-Block-34.png

活塞臂錯誤

File:BlockDeletion.png

當被粘性活塞拉回同時被下方的活塞推出,鵝卵石方塊會消失。

File:PistonTextureGlitch.png

活塞材質錯誤

File:PistonGlitch.png

活塞臂錯誤的一種表現形式

File:Doublepiston.png

活塞臂錯誤

File:Stuck piston glitch.png

一個活塞同時卡在了啟動與未啟動狀態

File:Double pistons.png

非常罕見的雙活塞臂錯誤。可用於建造單線活塞鐵路或自建造房屋。

  • 如果活塞推拉一個方塊速度過快時你破壞該方塊,你能夠得到36號方塊;破壞活塞臂旁邊的方塊能使您得到活塞臂
  • 如果伸出的活塞對角線相鄰的方塊之一被啟動,活塞將無法縮回。[7]
  • If two extended pistons are one above the other, the lower one cannot retract until the upper one retracts.[8] If the top one will start extending while bottom one is still retracting, the last will start extending as well.
  • If a sticky piston would pull a block back and another piston is waiting to push out to the spot that block would occupy after being pulled, the block is deleted.
  • 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,[9] it is also possible to glitch through a retracting piston while walking against it.[10]
  • Blocks being pushed by a piston have no collision in certain places.[11]
  • 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.
  • Light passes through pistons, both normal and sticky, powered and unpowered of both types.
  • If a sticky piston is pulled down by another sticky piston, it will not pull the block it is attached to with it.
  • If a piston (or a block being moved by a piston) attempts to push a gravity-affected block in the proccess of falling, it will destroy the block, sometimes without dropping it to be collected. Therefore, mechanisms that invole repeatedly moving sand or gravel towers must let all blocks come to rest before continuing.
  • Double piston can be created using unknown methods, The side piston can only be powered from above and if its powered from beneath it will retract and vanish, this bug seems to break SMP servers, therefore no tutorials are available yet.[12]
  • Pistons can get stuck on and off simultaneously. The only way to fix this is to either destroy the piston and replace it or pull the stuck piston with a sticky piston.
  • 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. Click the following reference to see this bug.[13]
  • If a Piston is facing upwards and a gravity-effected block (such as Sand) is put on it (if using a Sticky Piston, any block works) and Redstone Dust is put near it, and the player puts a Redstone Torch on top of the Redstone Dust, then the player gets an extra Redstone Torch. However, this only works if the player if the Redstone Dust is on the North or South sides. This is demonstrated in this video.
  • Although Sticky Pistons can also move Minecart Rail up like normal ones, retracting the Piston turns the rail back into an item. It is advised to use normal Pistons for rail movement to avoid losing them when the Piston is turned off.
  • if the player was to place 4 pistons in water together and put sand inside all four,making sure that they were facing outwards,then putting a piston on top of the sand and then more sand on top followed by a lever,standing on the sand and pulling the lever they would get the saving chunks screen and crashing. Unknown if fixed.
  • In Beta 1.7, it was possible to crash a server using pistons and redstone.
  • Stacking 2 pistons on top of each other (facing to any side, not up or down), then powering the top piston only, then breaking the block below the stack, will cause the bottom piston to extend by a phantom power source, and get stuck. Powering/unpowering the bottom piston normally usually will not retract it, unless it is perfectly synchronized with the upper piston. All blocks around the glitched piston can be removed, creating an extended piston that floats in the air, powered by itself.

你知道嗎

  • 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.
  • 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 can be used to create logic gates. These may be more space efficient than standard gates and clocks created from them can also operate at much higher speeds without burnout.
  • Pistons may also be used the same way one-way or minecart-only soul sand gates work by putting an extended piston one block above a minecart track allowing only small or tiny slimes, cave spiders, and chickens to enter. Doing this keeps pursuing mobs out (except for slimes). When a minecart passes through the player will not be suffocated and continue going. Alternatively they can be used to make entire 2 block high doors for minecarts on a slope, since if a block is put adjacent to the theoretical hypotenuse of the slope it will touch the rails, but not cut them off and will allow no space for any mobs at all.
  • Pistons can be mined with bare hands in less than 2 seconds.
  • Pistons Share the #1 spot with cake for crafting complexity, each requiring 4 individual items to make the item itself. However, Pistons have a much shorter crafting chain, requiring at minimum having crafted an iron pick.
  • Pistons do not work at the lowest level of bedrock (or the level above the Void).
  • The original piston texture had an iron band running over the head, it was later removed, only leaving iron brackets around the corners and edges.

畫廊

參考

引用錯誤:在 <references> 中定義的 <ref> 標籤設定 name 屬性為 "NoMoveBlocks",但在前文中並未使用。
引用錯誤:在 <references> 中定義的 <ref> 標籤設定 name 屬性為 "TileEntityPiston",但在前文中並未使用。

另見

Advertisement