Observer

From Box of Rocks WIKI
Revision as of 15:58, 13 May 2021 by BoxWiki (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Observer
Renewable

Yes

Stackable

Yes (64)

Tool

Blast resistance

3.5

Hardness

3.5

Luminant

Yes

Transparent

Partial

Flammable

No

Catches fire from lava

No

An observer is a block that emits a redstone signal when the block or fluid it faces experiences a change.

Obtaining

Breaking

An observer requires a pickaxe to be mined. When mined without a pickaxe, it drops nothing.

Block Observer
Hardness 3.5
Tool
Breaking time[FN 1]
Default 17.5
Wooden 2.65
Stone 1.35
Iron 0.9
Diamond 0.7
Netherite 0.6
Golden 0.45
  1. Times are for unenchanted tools as wielded by players with no status effects, measured in seconds. For more information, see Breaking § Speed.

Crafting

Ingredients Crafting recipe
Cobblestone +
Redstone Dust +
Nether Quartz

Usage

An observer is placed similarly to a piston. It observes the block that it is placed against. The texture of the detecting side is that of an observing face. As observers can detect the state of other observers, placing two adjacent observers, each watching the other, can make a fast and compact redstone clock. They send out a pulse.

Behavior

In Java Edition, an observer detects changes in its target's block states, or the breaking or placing of a block (i.e. changes in its block state, but not its block entity data). This means that changes like the age of crops can be detected because they are part of the block states.

In Bedrock Edition, an observer acts as a block update detector and detects anything that causes a block update.

The causes and propagation of block updates are different between Java Edition and Bedrock Edition. As a result, each can detect some kinds of changes that the other cannot. See the table below for a comparison.

When it detects something, the observer emits a redstone pulse of strong power at level 15 for 2 game ticks (1 redstone tick). The pulse can power redstone dust, a redstone comparator, a redstone repeater, or any mechanism component located at its opposite end.

In Java Edition, the pulse is emitted with a delay of 1 redstone tick. In Bedrock Edition, it is supposed to be delayed by 1 tick as well but is actually delayed 2 redstone ticks due to MCPE-15793, a bug causing redstone delays to be incorrect when components are activated by world changes (which, in the case of the observer in Bedrock Edition, is the only way it can be activated), as opposed to pure redstone components ticking. Its timing can also be incorrect due to MCPE-73342.

It also counts as a block update when the observer itself is moved by a piston. When this happens, an observer emits a pulse after being pushed or pulled, but not beforehand.

Though they block light, observers behave as transparent blocks in one sense: they cannot be powered by an external power source, nor power themselves with their own output.

Because observers in Java Edition detect changes in the block state, and not block updates, they can detect a wider range of phenomena than a block update detector (BUD) circuit in Java Edition can detect (as some block state changes don't cause block updates). Observers in Bedrock Edition do detect block updates but not block state changes, and so they detect the exact same things that any other BUD would detect in that edition.

Limitations

Template:Testingame

Detected in
Kind of block update Bedrock Edition Java Edition
Changes to the block states of fire that signifies flammable surfaces surrounding fire Template:Tc Template:Tc
Opening and closing chests and ender chests Template:Tc Template:Tc
Opening and closing shulker boxes Template:Tc Template:Tc
Opening and closing barrels Template:Tc Template:Tc
Changes to inventory of any blocks that comparators measure as containers Template:Tc Template:Tc
Activating / deactivating a beacon Template:Tc Template:Tc
Success of a command block Template:Tc Template:Tc
Activation / deactivation of a hopper (Turning the hopper on/off) Template:Tc Template:Tc
Dry farmland changing among its six dry-looking hydration stages Template:Tc Template:Tc
Farmland going between dry and humid Template:Tc Template:Tc
Activation / deactivation of a dropper or dispenser Template:Tc Template:Tc
Activation / deactivation of redstone ore Template:Tc Template:Tc
Spread of grass to dirt, or decay of grass into dirt Template:Tc Template:Tc
Aging of saplings, sugar cane or fire Template:Tc Template:Tc
Moving potions to / from a brewing stand Template:Tc Template:Tc
Activation / deactivation of a dragon head Template:Tc Template:Tc
Placing / removing an item frame, adding / rotating / removing an item in an item frame Template:Tc Template:Tc
Teleporting something by the end gateway Template:Tc Template:Tc
Adding / removing contents from a flower pot Template:Tc Template:Tc
Locking / unlocking and changing delay of a redstone repeater Template:Tc Template:Tc
Changes in the shape of walls, fences, iron bars, glass panes, stairs, tripwire, redstone, vines, melon stem[1] or pumpkin stem[1] Template:Tc Template:Tc
A grass, mycelium, or podzol block becoming snowy or not snowy Template:Tc Template:Tc
Playing a note block Template:Tc Template:Tc
Forced growth of sugar cane by bone meal Template:Tc Template:Tc
Cooking food or food popping out Template:Tc Template:Tc
Door is opened or closed Template:Tc Template:Tc
Tripwire is intersected, even if not attached to a hook Template:Tc[2] Template:Tc
All other block / block state changes Template:Tc Template:Tc
Water level changes Template:Tc Template:Tc

Note Blocks

The observer can be placed under note blocks to produce a "bass drum" sound.

Sounds

Java Edition:

SoundSubtitleSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
File:Stone dig1.oggFile:Stone dig2.oggFile:Stone dig3.oggFile:Stone dig4.oggBlock brokenBlocksOnce the block has brokenblock.stone.breaksubtitles.block.generic.break1.00.816
File:Stone hit1.oggFile:Stone hit2.oggFile:Stone hit3.oggFile:Stone hit4.oggFile:Stone hit5.oggFile:Stone hit6.oggNone[sound 1]BlocksFalling on the block with fall damageblock.stone.fallNone[sound 1]0.50.7516
File:Stone hit1.oggFile:Stone hit2.oggFile:Stone hit3.oggFile:Stone hit4.oggFile:Stone hit5.oggFile:Stone hit6.oggBlock breakingBlocksWhile the block is in the process of being brokenblock.stone.hitsubtitles.block.generic.hit0.250.516
File:Stone dig1.oggFile:Stone dig2.oggFile:Stone dig3.oggFile:Stone dig4.oggBlock placedBlocksWhen the block is placedblock.stone.placesubtitles.block.generic.place1.00.816
File:Stone hit1.oggFile:Stone hit2.oggFile:Stone hit3.oggFile:Stone hit4.oggFile:Stone hit5.oggFile:Stone hit6.oggFootstepsBlocksWalking on the blockblock.stone.stepsubtitles.block.generic.footsteps0.151.016

Bedrock Edition:

SoundSourceDescriptionNamespaced IDVolumePitch
File:Stone dig1.oggFile:Stone dig2.oggFile:Stone dig3.oggFile:Stone dig4.oggBlocksOnce the block has brokendig.stone1.00.8
File:Stone hit1.oggFile:Stone hit2.oggFile:Stone hit3.oggFile:Stone hit4.oggFile:Stone hit5.oggFile:Stone hit6.oggBlocksFalling on the block with fall damagefall.stone0.41.0
File:Stone hit1.oggFile:Stone hit2.oggFile:Stone hit3.oggFile:Stone hit4.oggFile:Stone hit5.oggFile:Stone hit6.oggBlocksWhile the block is in the process of being brokenhit.stone0.370.5
?BlocksJumping from the blockjump.stone0.121.0
?BlocksFalling on the block without fall damageland.stone0.221.0
File:Stone hit1.oggFile:Stone hit2.oggFile:Stone hit3.oggFile:Stone hit4.oggFile:Stone hit5.oggFile:Stone hit6.oggBlocksWalking on the blockstep.stone0.31.0
File:Stone dig1.oggFile:Stone dig2.oggFile:Stone dig3.oggFile:Stone dig4.oggBlocksWhen the block is placeduse.stone1.00.8

Data values

ID

Java Edition:

NameNamespaced IDFormTranslation key
ObserverobserverBlock & Itemblock.minecraft.observer

Bedrock Edition:

NameNamespaced IDNumeric ID FormTranslation key
Observerobserver251Block & Itemtile.observer.name

Metadata

See also: Data values

In Bedrock Edition, observers use the following data values: Template:/DV

Block states

See also: Block states

Template:/BS

History

Java Edition
November 24, 2012When announcing the upcoming 1.5 Redstone Update, Jeb mentions that changes to redstone logic may break existing BUD functionality, and therefore that block update detection may need to be implemented into the game in a more permanent, intentional form, rather than as a behavioral quirk.
1.1116w39a32px Added observers.
Note: the "arrow" texture on the top/bottom of observers is pointing the wrong direction (toward the input, rather than the output).
Observers act as a block update detector.
Observers emit pulses that lasted 1 game tick (0.5 redstone ticks) and have a signal strength of 1.
Observers can power blocks (like a redstone repeater).
Observers have no delay between detecting a block update and emitting a pulse, meaning that observers are essentially instant.
Observers are placed with the observing, or input, side facing the player.
16w41aObservers now emit 4 game tick (2 redstone ticks) pulses.[3]
The signal strength of observers has now been changed to 15.[4][5]
Observers *appear* to no longer strongly power blocks, and now emit only activation power, like a block of redstone (and this may be the intended behavior for this snapshot). However, in reality, they still strongly power blocks, but the blocks adjacent to those blocks aren't given block updates, causing buggy behavior.[6]
Observers are now placed with the output facing the player.[7][8]
A bug where observers would redirect redstone dust from all 4 directions has now been fixed.[9] (They are supposed to redirect dust only from their output side.)
16w42aThe developers have attempted to make observers no longer detect block updates happening to air blocks, in order to make observer behavior more predictable.[10] In the process, they have broken redstone mechanics a bit, so that the block update bug from the previous snapshot now affects redstone repeaters and redstone comparators, too.[11]
16w43a32px The texture[verify] of observers has now been changed. The rotation of the "arrow" texture has now been fixed so it points in the correct direction.
General redstone mechanics for observers now work as they did before 16w42a, with the exception of the change named below.
Observers now output strong power like in 16w39a, except that they, as well as redstone repeaters and redstone comparators, no longer provide block updates to transparent blocks or air.
16w44aThe observer block update changes relating to redstone from 16w42a and 16w43a have now been fully reverted.
The behavior of observers has now been overhauled/redefined. Observers have now been changed from a block update detector to a block state change detector.
Observers have now been changed to detect when the block it was observing changed, its basic block state changed, or the block was placed/destroyed. (Note that it does not detect changes in the extended block state, e.g. changes that are not saved when the world is unloaded, such as the shape of a fence, or whether or not a repeater is locked.) This change has now made observer behavior much more predictable, as unexpected/invisible block updates would no longer trigger observers.[12]
Observers have now been changed to emit a 2 game tick (1 redstone tick) pulse when activated.[13]
Observers no longer output power instantly.[14]
pre132px The front (detecting side) texture of observers has now been changed to be an 'observing face'. The "arrow" texture on the top/bottom of the observer has also been modified.
The redstone output side of observers now blinks red when it outputs power.
1.1317w47aPrior to The Flattening, this block's numeral ID was 218.
Due to The Flattening, observers can now detect all block state changes, e.g. the changes in the shape of fences and redstone dust.
pre4Observers no longer produce a pulse when placed by hand.
1.1418w43a32px 32px The texture of observers has now been changed. The top face is still largely based on the old, pre-Texture Update furnace/dispenser/dropper "smooth cobblestone" texture, rather than its updated Texture Update version, which has since been confirmed to be fully intentional.[15]
1.1620w10aObservers can now support ladders and tripwire hooks.[16]
20w14aObservers now correctly detect when the status of the fence changes.
Pre-release 332px The back texture of activated observers has been changed.
Upcoming Java Edition
1.1721w13aObservers now correctly detect when a grass block changes to dirt if a tree grows on top.
Pocket Edition Alpha
v0.15.0May 2, 2016Jeb tweeted that Daniel Wustenhoff is a working on a BUD block.[17]
32px Tommaso Checchi tweeted his "rejected graphics" for the observer block.[18]
build 132px Added observer blocks.
v0.15.3Observers are now placed like a piston and not a log.
Bedrock Edition
1.2.0beta 1.2.0.232px The texture of observers has now been changed.
Observer blocks can now detect many more block changes.
The strength of the redstone pulse outputted by observer blocks has now been increased.
Observers no longer pulse twice when observing a retracting piston.
Opening and closing the command block screen no longer activates an observer block.
1.10.0beta 1.10.0.332px The texture of observers has now been changed.
1.16.0beta 1.15.0.53Observers no longer emit a pulse when they are first placed.
1.16.100beta 1.16.100.55Observers no longer get stuck in an active state when moved by pistons.
Legacy Console Edition
TU54CU44 1.52 Patch 241.0.432px Added observers.
1.90 32px The texture of observers has now been changed.
New Nintendo 3DS Edition
0.1.032px Added observers.

Issues

Issues relating to "Observer" are maintained on the bug tracker. Report issues there.

Trivia

  • When moved by a piston, an observer sends a 2-game tick (1 redstone tick) pulse after being moved, which makes it useful for slime block flying machines.
  • The current Observer texture was created because Jeb kept confusing the front with the back. He said it was inspired by the "rejected texture" created by Tommaso Checchi.[18][19]

Gallery

See also

References

  1. 1.0 1.1 Melon or pumpkin stems that become attached to the melon or pumpkin are detected in Java Edition, and Bedrock Edition.
  2. Includes firework rockets, falling block entities, fishing hooks, entities (ie. fireballs, lama spit, evoker fangs etc.) and all throwable projectiles other than splash/lingering potions and enderpearls.
  3. MC-107410
  4. MC-107783
  5. MCPE-17439
  6. MC-108696
  7. MC-107934
  8. MCPE-17321
  9. MC-107795
  10. MC-107730
  11. MC-108897
  12. MC-107760
  13. MC-108697
  14. MC-107623
  15. MC-199231
  16. MC-146824
  17. "Hype train! @darngeek is working on a device that acts as a proper BUD block in MC:PE (PC eventually), currently called "Observer""@jeb_ on Twitter, May 2, 2016
  18. 18.0 18.1 "Here's my rejected graphics for the Observer, because @darngeek has no artistic sensibility"@_tomcc on Twitter, May 2, 2016
  19. "I kept confusing myself which side was front and back, so here's something inspired by the works of @_tomcc http://i.imgur.com/IK2d8m2.png"@jeb_ on Twitter

de:Beobachter fr:Observateur ja:オブザーバー ko:관측기 nl:Observeerder pl:Detektor pt:Observador ru:Наблюдатель zh:侦测器