ลูกสูบ

จาก Minecraft Wiki
(เปลี่ยนทางจาก Piston)
ลูกสูบ
Piston JE2.gif
Sticky Piston JE2.gif
ความโปร่งใส

?

ความสว่าง

?

ความต้านทานระเบิด

?

เครื่องมือ

ไม่มี

การทดแทนได้

?

กองรวมกันได้

N/A

ความไวไฟ

?

ติดไฟจากลาวา

?

ดรอป

ตัวมันเอง

ไอดีเนมสเปซ

ลูกสูบ


ลูกสูบเป็นบล็อกที่สามารถผลักบล็อกและผู้เล่นได้ เมื่อได้รับ redstone pulse

ส่วนลูกสูบเหนียวมีฟังก์ชั่นเดียวกันกับลูกสูบธรรมดา อย่างไรก็ตามลูกสูบเหนียวจะดึงบล็อกที่ผลักไปกลับมาด้วยเมื่อสัญญาณเรดสโตนดับลง ไม่เหมือนกับลูกสูบปกติ ที่จะทิ้งบล็อกที่ผลักไว้

การเกิดตามธรรมชาติ[แก้ไข | แก้ไขต้นฉบับ]

ลูกสูบเหนียว 3 บล็อกจะเป็นหนึ่งในบล็อกที่เกิดพร้อมกับ jungle temple

การได้รับ[แก้ไข | แก้ไขต้นฉบับ]

ลูกสูบถูกทำลายได้โดยใช้เครื่องมือใดๆ ที่มีระดับ efficiency เท่ากันและจะดรอบตัวมันเองเสมอ In Java Edition, โดนสามารถทำลายได้เร็วขึ้นหากใช้ pickaxe‌[กำลังมา: JE 1.16] โดน pickaxe เป็นเครื่องมือที่มีประสิทธิภาพในการทำลายมากที่สุด ทึงแม้ว่าลูกสูบจะคราฟต์ด้วยไม้เกือบทั้งหมด [1] แม่แบบ:Breaking row

การคราฟต์[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:Crafting แม่แบบ:Crafting

การใช้งาน[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:See also

Pistons are always placed facing toward the player. When powered, the piston's wooden surface (the "head") starts extending 2 game ticks (1 redstone tick or 0.1 seconds) later,[เฉพาะรุ่น Bedrock] or immediately.[เฉพาะรุ่น Java] When it extends, it pushes at most 12 blocks. The piston makes a sound that can be heard within a 31×31×31 cube centered on the activating piston. Any entities in the path of the extending head are pushed with the blocks. If there is no place for the entities to go, the block pushes inside them, suffocating mobs if the block is not transparent when pushed into the eye height of the mob.

When a piston loses power, its head retracts. Like extending, this retraction starts after 1 redstone tick ในรุ่น Bedrock, or immediately ในรุ่น Java. It finishes retracting 2 game ticks or 1 redstone ticks (0.1 seconds) after it starts. A sticky piston also pulls the block attached to its head.

Sticky pistons stick to a block only when retracting, so a block next to the piston head can be pushed aside by another piston and sticky pistons cannot hold falling blocks horizontally against gravity. In Java Edition they also don't pull blocks after starting to push them: this can be done by giving the piston a short pulse, specifically shorter than 3 gameticks, or 1.5 redstone ticks (0.15 seconds, barring lag).

A piston that pushes a slime block bounces any entity that it displaces in the direction the piston is facing. In addition, when a slime block is moved by a piston, any movable blocks adjacent (not diagonally) to the slime block also moves. See the "usage" section below for more details.

In Bedrock Edition, blocks that stick to walls (such as levers) can be placed on pistons or sticky pistons.

ราก[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:Info needed loot table

Namespaced IDSourceDrops
Default
blocks/pistonแม่แบบ:BlockLink1 (100%)
blocks/sticky_pistonแม่แบบ:BlockLink1 (100%)

ข้อจำกัด[แก้ไข | แก้ไขต้นฉบับ]

Pistons can push most blocks, and sticky pistons can pull most blocks, except those listed in the table below. Sticky pistons simply leave a block behind if it cannot pull it.

Pistons cannot push blocks into the void or beyond the top of the map. They also cannot push more than 12 blocks. In these situations, the piston simply does not extend.

In Bedrock Edition, a piston can move randomly when wired into an incorrect redstone circuit. This is called 'Piston Short-Circuiting'. This can be taken advantage of by using it to clip through blocks in to a structure.

Minecraft Bedrock Short-Circuiting Redstone.png
Minecraft Piston Short-Circuiting.png
Blocks that cannot be pushed or pulled
Block Effect (Java Edition) Effect (Bedrock Edition) Effect (PlayStation 4 Edition)
Cannot be pushed or pulled.
Can be pushed, but not pulled.
Cannot be pushed or pulled. Can be pushed or pulled. -
Can be pushed or pulled.
Can be pushed, but not pulled.
Can be pushed or pulled, but separates the two chests. Cannot be pushed or pulled.
Breaks when pushed or pulled, turning to drops
Breaks when pushed, turning to drops when applicable. Cannot be pulled.
Breaks when pushed or pulled, turning to drops.
แม่แบบ:BlockLink Cannot be pulled. Pushable only when in falling state. Can be pushed or pulled as normal, but falls rather than remaining attached to sticky pistons.
Can be pushed or pulled as normal, but falls rather than remaining attached to sticky pistons.

Pistons do not move blocks that are "attached to a block", as they detach and drop as an item.

ข้อยกเว้น[แก้ไข | แก้ไขต้นฉบับ]
  • แม่แบบ:BlockLink: as long as they remain on top of a solid block in their new position, and that block isn't moving at the same time.
    • An exception is when the rail and block supporting it are on two parallel extended pistons at which the rail remains attached. Trying to move both on the same piston using slime blocks does not work, nor does moving them on perpendicular pistons (although the latter temporarily appears to work because of a bug แม่แบบ:Bug).
    • Rails re-orient themselves after being pushed, similar to when placed manually.
  • แม่แบบ:BlockLink

การให้พลังงานลูกสูบ[แก้ไข | แก้ไขต้นฉบับ]

Pistons powered by one line of redstone.

Pistons can be powered in various ways:

  • If a redstone wire is in a line shape toward the piston. In Java Edition, the wire does not automatically curve to the piston.
  • Pistons can be powered by a powered block directly adjacent to them, whether it is strongly powered or weakly powered.
  • Pistons can be powered by a redstone torch directly adjacent to them.
  • In Java Edition, pistons can be powered by any powered block one block above and to the side, including the "activated space" above it (if a piston, both sticky and normal were to be facing up and a block of redstone placed on its head, it extends when powered, but doesn't retract when the power it receives from the side or back turns off). However, the piston doesn't extend or retract until it receives a block update. This property is called quasi-connectivity and can be used to make a BUD switch.
  • A repeater cannot transfer power through a piston, as pistons are a transparent block.
  • An upward-facing piston can't be powered by a block above it, unless it is extended.

บล็อกสไลม์[แก้ไข | แก้ไขต้นฉบับ]

A
B
Piston A may extend because the slime block ignores the adjacent obsidian. Piston B may not extend because the diamond block is prevented from moving by the obsidian and so the slime block also refuses to move.

When a slime block is pushed or pulled by a piston, while moving, adjacent blocks also move with the slime block, unless a non-piston movable block stops the blocks that are "grabbed" by the slime blocks. These blocks may in turn push other blocks, not just the blocks in the line in front of the piston. For example, a slime block sitting on the ground attempts to move the ground block underneath itself, which in turn has to push additional ground blocks in the direction of motion just as if it were being pushed directly by a piston.

Glazed terracotta is an exception; it does not move when adjacent slime blocks are moved.

The same occurs when a slime block is moved by an adjacent Slime Block. For example, a 2×2×2 cube of Slime Blocks may be pushed or pulled as a unit by a single piston acting on any of the blocks in the cube.

A slime block adjacent to a block that cannot be moved by pistons ignores the immobile block. But if an adjacent block could be moved but is prevented by the presence of an immobile block, the slime block is prevented from moving.

Slime blocks are not pulled by a non-sticky piston, nor are they moved if an adjacent (non-Slime) block is moved by a piston.

The maximum of 12 blocks moved by a piston still applies. For example, a 2×2×3 collection of Slime Blocks may be pushed or pulled by a sticky piston as long as no other movable blocks are adjacent to it.

A piston cannot move itself via a "hook" constructed of slime blocks, but self-propelled contraptions can be created with multiple pistons. For that, see the article Tutorials/Flying technologies.

องค์ประกอบทางเทคนิค[แก้ไข | แก้ไขต้นฉบับ]

หัวลูกสูบ[แก้ไข | แก้ไขต้นฉบับ]

Piston Head
Piston Head JE2.pngPiston Head BE2.png
Sticky Piston Head JE2.pngSticky Piston Head BE2.png
ชนิด

?

ความโปร่งใส

Yes

ความสว่าง

0

ความต้านทานระเบิด

2.5

เครื่องมือ

ชนิดใดก็ได้

ความไวไฟ

No

The piston head is a technical block used as the second block of an extended piston. A block state defines whether it is a normal or a sticky piston head. It can be placed using the /setblock command or with the debug stick, though if not part of a proper piston, it disappears after receiving any block tick, such as when a block is placed next to it unless the player uses the debug stick. Drops nothing.

In Java Edition, the normal and sticky piston heads are distinguished by a block state. In Bedrock Edition, they used separate block IDs.

สถานะบล็อก[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:See also

ลูกสูบ/BS3

การเคลื่อนที่ลูกสูบ[แก้ไข | แก้ไขต้นฉบับ]

Moving Piston
ชนิด

?

ความโปร่งใส

Yes

ความสว่าง

0

ความต้านทานระเบิด

0

เครื่องมือ

ไม่มี

ความไวไฟ

No

The moving piston is an unobtainable technical block that contains part of a piston head, and/or part of one or two blocks that the piston is carrying into or out of the grid cell (including blocks carried indirectly via slime blocks). Since moving blocks vary in how much of each grid cell they occupy, they can't be stored as normal blocks and are instead stored as block entities. It is overwritten with air, the piston head or the carried block at the end of the piston stroke; but if it is placed through editing and no piston is connected, it remains indefinitely.

It is invisible, non-solid, and cannot be broken without the use of commands or TNT. Although it is non-solid, fluids cannot pass through it. It also prevents players from building at its location. Mobs can see through it, but cannot walk through it. The game treats the block as a stone block when it comes to the player's footstep sounds.

สถานะบล็อก[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:See also

ลูกสูบ/BS2

บล็อกเอนทิตี้[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:See also The moving piston has a block entity associated with it that holds additional data about the block.

ลูกสูบ/BE

เสียง[แก้ไข | แก้ไขต้นฉบับ]

Sound Subtitle Namespaced ID Subtitle ID Source Pitch Volume Attenuation distance
Block breaking block.stone.hit subtitles.block.generic.hit Blocks 0.5 0.25 16
Block broken block.stone.break subtitles.block.generic.break Blocks 0.8 1.0 16
Block placed block.stone.place subtitles.block.generic.place Blocks 0.8 1.0 16
Footsteps block.stone.step subtitles.block.generic.footsteps Blocks 1.0 0.15 16
No subtitle block.stone.fall (Plays when fallen on from a height) Blocks 0.75 0.5 16
Piston moves block.piston.contract subtitles.block.piston.move ? ? ? 16
Piston moves block.piston.extend subtitles.block.piston.move ? ? ? 16

ค่าข้อมูล[แก้ไข | แก้ไขต้นฉบับ]

ID[แก้ไข | แก้ไขต้นฉบับ]

Java Edition:

Icon Dec Hex Name Block
Piston JE2.png 0 0 minecraft:piston Piston
Sticky Piston JE2.png 1 1 minecraft:sticky_piston Sticky Piston
Piston Head JE2.png 2 2 minecraft:piston_head Piston Head
25px 3 3 minecraft:moving_piston Moving Piston
Icon Dec Hex Name Block
25px 4 4 minecraft:moving_piston Moving Piston

Bedrock Edition:

Icon Dec Hex Name Block
Piston JE2.png 5 5 minecraft:piston 33 Piston
Sticky Piston JE2.png 6 6 minecraft:sticky_piston 29 Sticky Piston
Piston Head JE2.png 7 7 minecraft:piston_head 34 Piston Head
Piston Head JE2.png 8 8 minecraft:piston_head 472 Piston Head
25px 9 9 minecraft:moving_block 250 Moving Block
Icon Dec Hex Name Block
Piston JE2.png 10 A minecraft:piston Piston

ข้อมูลบล็อก[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:See also In Bedrock Edition, pistons use the following data values: ลูกสูบ/DV

สถานะบล็อก[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:See also The piston and sticky_piston blocks use following block states:

ลูกสูบ/BS

ความสำเร็จ[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:Load achievements

วิดิโอ[แก้ไข | แก้ไขต้นฉบับ]


ปัญหา[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:Issue list

เกร็ดความรู้[แก้ไข | แก้ไขต้นฉบับ]

Piston BE.gif
Sticky Piston BE.gif
  • When toggled between on and off rapidly with a gravity affected block (such as sand) above it, a piston can eventually break the block, which can be picked up as a resource. However, gravel broken this way never drops flint.
  • Mobs can spawn inside the piston head block.
  • Carpet can be placed on the piston extension block, and remains even if is replaced with a solid block using /setblock.
  • In Bedrock Edition, the piston head is invisible and non-solid when placed with commands.
  • The moving_piston cannot be placed by block placement commands.
  • Piston head extend animations are different ในรุ่น Java from those ในรุ่น Bedrock.
  • The piston heads ในรุ่น Bedrock look slightly different than the ones in all other versions.
  • If a 1-tick pulse briefly activates a sticky piston, the sticky piston head does not bring the block back with it when it retracts. This does not happen ในรุ่น Bedrock however.
  • If a piston is at the top of a world and is facing the top or is at the bottom and is facing the bottom, it cannot extend.
  • A piston cannot push another piston that is activated.
  • The moving_piston is transparent and does not emit light.
    • If a light-emitting block is moved, the player can see it turn dark briefly. If an opaque block is moved, the player may see light passing through it.

แกลเลอรี[แก้ไข | แก้ไขต้นฉบับ]

ดูเพิ่ม[แก้ไข | แก้ไขต้นฉบับ]

หมายเหตุ[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:Notelist

อ้างอิง[แก้ไข | แก้ไขต้นฉบับ]

แม่แบบ:Redstone glassบล็อกเดียวมีกรอบ 2-1000บล็อกไม่มีกรอบ

  1. In Java Edition, item frames are technically entities, not blocks. In Bedrock Edition, they are blocks
  2. Paintings are technically entities, not blocks.