1. Minecraft
  2. Create
  3. Redstone

Powered Latch

The Powered Latch is a redstone component from Create that remembers which of its inputs last had a signal. A signal at its back switches it on, a signal at either side switches it off, and it stays as it was left when the signal ends.123 While it is on, it gives a signal of 15 from its front.4 Create's Ponder scene calls it a "redstone controllable" lever, and a right-click switches it by hand.56

26 tested in game8 read from source

Checked against Create 6.0.10 on Minecraft 1.21.1

On this page

Obtaining

Redstone Torch + Redstone Dust + Lever + Any stones makes Powered Latch

A Powered Latch is crafted from a Redstone Torch above a Lever with Redstone Dust on both sides, over a row of three stone blocks. Any mix of stone, andesite, diorite, granite, deepslate and tuff works for that row, and the vanilla recipe book shows the recipe once the player has picked up Redstone Dust.7 A latch breaks at the first hit, with or without a tool, drops itself, and stacks to 64.89 It is in Create's creative tab and in JEI's item list.10 JEI shows the recipe under Crafting and again under Automated Shaped Crafting, the category of crafting recipes a Mechanical Crafter can make.1112

Usage

"Controlling signals using the Powered Latch" is Create's own Ponder scene, recorded from Create 6.0.10.
What the scene says

Controlling signals using the Powered Latch · from Create

  1. 0:01 Powered Latches are redstone controllable Levers
  2. 0:05 Signals at the back switch it on
  3. 0:10 Signals from the side switch it back off
  4. 0:13 Powered latches can also be toggled manually

Back, sides and front

A Block of Redstone at the back of the latch has switched it on, and the latch powers the Redstone Dust in front of it.
A Block of Redstone at the back of the latch has switched it on, and the latch powers the Redstone Dust in front of it.
A Block of Redstone at one side of the latch has switched it off, and the Redstone Dust in front of it has no power.
A Block of Redstone at one side of the latch has switched it off, and the Redstone Dust in front of it has no power.

The latch has a back, two sides and a front. A player places it with the back towards themselves, so the front points the way they are looking. In a test, a player looking north placed a latch with its back to the south.13 The sides are the two faces left and right of that line, and the output comes out of the front.14 Redstone Dust connects to the latch on all four of these faces.15

When a signal reaches the back, the latch switches on. When a signal reaches either side, it switches off.125 Either way it stays where it was put after the signal ends, so a button press is enough.3 It reacts one game tick after its input changes.16 A latch placed with nothing at its back is off. Placed with a signal already at its back, it switches on one game tick later.1317

A latch that is on gives a signal of 15 to the block in front of it and nothing to its back or its sides.4 A solid block in front is powered through, so a Redstone Lamp on the far side of that block lights up.18 Anything that gives a signal counts as an input, including powered Redstone Dust at the back or at a side.1920

Signals at the back and a side together

While both inputs have a signal, the newer signal decides. A signal that starts at the back switches the latch on even while a side is powered, and one that starts at a side switches it off even while the back is powered. If both start in the same tick, the latch ends up off.21 When one of the two signals ends, the latch follows the one still there. It switches on again if the back is still powered, and switches off if a side is, staying off after that side signal ends too.2223 If both signals end in the same tick, the latch ends up on, whichever of them started last.24

Switching it by hand

Two Powered Latches, switched off on the left and switched on on the right.
Two Powered Latches, switched off on the left and switched on on the right.

A right-click switches the latch from off to on or from on to off, with the click of a lever.6255 It works with an empty hand or with any item but a Wrench. In a test a player holding stone switched the latch and kept all the stone.6 A sneaking player does not switch it, and a block in a sneaking player's hand is placed against the latch as against any other block.26 A player in adventure mode cannot switch it.27 The latch has one look for off and one for on. A signal at its inputs does not change how it looks.28

A click works only while the two inputs agree. While a signal reaches the back or a side, but not both, the latch ignores the click and the item in hand is used as on any block. In a test, a click with stone on a latch whose back was powered left it on and put stone on top of it.29 While signals reach the back and a side at once, a click switches it as usual.30

Placing it

The latch needs a block under it. It cannot be placed over air, and it breaks off and drops as an item when the block under it is removed.31 A piston pushing it destroys it.32

With a Wrench

  • Right-click on the top. The latch turns a quarter turn clockwise and stays on or off as it was. A click with a Wrench never switches it.3334 In a test, a latch facing east turned to face south, and the dust at its old front lost its power.33
  • Right-click on a side. Nothing happens.33
  • Sneak and right-click. The latch is picked up into the player's inventory as a Powered Latch.35
  • After a turn. The latch does not notice by itself that a signal is now at its back or its side. It goes on as it was until a block next to it changes.36
  • Block Rotation Menu. Create has a menu for turning a block while holding a Wrench, on a key the player has to bind first. It works on the latch.37
  • Settings. The latch has none.8

With Goggles

Goggles show nothing for the latch, on or off.38 Its tooltip in the inventory is its name and Ponder's line, with or without Goggles.39

The Powered Toggle Latch is a block of its own, with a page of its own. In Create's code the Powered Latch is built on it, with its own rules for the inputs and for clicks.40 Create lists both in the category Logic Components of its Ponder index.41

Data values

NameIDTranslation keyBlock states
Powered Latchcreate:powered_latchblock.create.powered_latchfacing: north, south, west, east; powered: true, false; powered_side: true, false; powering: true, false

History

  1. 0.2Added, together with the Powered Toggle Latch, under the id redstone_latch. GitHubchangeReleased 19 March 2020.
  2. 0.2.3Two different checks of its sides, one for noticing a change and one for acting on it, were replaced by a single check, which also counts powered Redstone Dust beside it. GitHubchangeReleased 9 May 2020.
  3. 0.2.3A mistake in the new check was fixed. It had stopped after the first side, so that a signal at the other side went unnoticed. GitHubchangeReleased 9 May 2020.
  4. 0.2.3The Wrench began to act on the latch, and a click with a Wrench stopped switching it. GitHubchangeReleased 9 May 2020.
  5. 0.2.4Its id changed from redstone_latch to powered_latch. GitHubchangeThe earliest version still listed is 0.2.4e, released 26 September 2020.
  6. 0.4Switching the latch by hand began to play a lever's click. GitHubchangeReleased 10 December 2021.

Notes

  • Tested in game performed in a running game and seen to happen
  • Read from source read in the mod's code, not observed
  • Game data In-game text taken from the running game
  • Interpretation a reading of the evidence; the mod does not say
  1. Tested in game When a signal starts at the back, the latch switches on. A latch that had just been set down gave the dust in front of it power 0. A Block of Redstone set at its back switched it on, and the dust then had power 15. GitHubPoweredLatchBlock.java:79–82
  2. Tested in game When a signal starts at either side, the latch switches off. A Block of Redstone set north of an east-facing latch that was on switched it off. Switched on again from the back, it was switched off by one set south of it, and the dust in front then had power 0. GitHubPoweredLatchBlock.java:87–90
  3. Tested in game A signal that ends changes nothing while the other input has none. The latch stays on after the signal at its back ends, and stays off after the signal at its side ends. Five ticks after the Block of Redstone at its back was removed, the dust in front still had power 15. Five ticks after the one at its side was removed, it had 0. GitHubPoweredLatchBlock.java:79–93 GitHubPoweredLatchBlock.java:79–93
  4. Tested in game A latch that is on gives a signal of 15 to the block in front of it, and nothing to its back or its sides. Redstone Dust in front of a latch that was on had power 15. The signals the latch gave its back and its two sides added up to 0. GitHubToggleLatchBlock.java:70–73 GitHubToggleLatchBlock.java:49–52
  5. In-game text The title and captions of Create's own Ponder scene for the Powered Latch, as written by the Create team.
  6. Tested in game A right-click on the latch switches it, on to off or off to on, whatever the player holds, unless the player sneaks, holds a Wrench, or may not build (as in adventure mode). With nothing at either input, a survival player's click with an empty hand switched the latch on, and the dust in front then had power 15, and after a second click it had 0. With eight blocks of stone in hand a click switched it on again; the player still had 8 and nothing stood on the latch. GitHubToggleLatchBlock.java:59–68 GitHubPoweredLatchBlock.java:103–106
  7. Game data The crafting recipe as loaded by the game. It takes a Redstone Torch, two of anything tagged as redstone dust (c:dusts/redstone) beside a Lever, and three of anything tagged as stone (c:stones), which the game fills with andesite, diorite, granite, stone, deepslate and tuff. The vanilla recipe book shows it once the player has redstone dust in the inventory.
  8. Game data The block's hardness, tool tags, loot table and stack size as the game has them. A hardness of 0 means it breaks at the first hit. It has no tool tags, no tool is required for it to drop, and its loot table hands out the plain item. It has no block entity.
  9. Read from source Create registers the latch with the starting properties of the vanilla Redstone Repeater. GitHubAllBlocks.java:2162–2168
  10. Game data Read from a game client with JEI 19.21.0.247 installed. The latch is in Create's creative tab and in JEI's item list.
  11. Game data What JEI shows when it is asked how to make the latch, read from a game client. It lists the crafting recipe in two categories, "Crafting" and "Automated Shaped Crafting". Asked for the latch's uses, JEI shows nothing.
  12. Read from source Create fills its JEI category "Automated Shaped Crafting" with the shaped crafting recipes, and the shapeless ones of a single ingredient, that are not kept out of automation, and names the Mechanical Crafter as the block that makes them. The category is there while the mod's setting allowRegularCraftingInCrafter is on. GitHubCreateJEI.java:290–301 GitHubCreateJEI.java:290–291 GitHuben_us.json:2674
  13. Tested in game A player places the latch with its back towards themselves, so that its front points the way they look. A player who looked north and down at a block of stone and clicked its top placed a latch facing south. Looking east, the same click placed one facing west. A latch that had just been placed, with nothing at its inputs, was off.
  14. Tested in game The latch's facing names its back. Its two sides are the neighbours a quarter turn clockwise and a quarter turn counter-clockwise from the back. The front, where the output goes, is the side opposite the back. A latch facing east was switched on by a Block of Redstone set east of it, and switched off by one set north of it and, later, by one set south of it. While it was on, Redstone Dust west of it had power 15. GitHubPoweredLatchBlock.java:54–57 GitHubToggleLatchBlock.java:49–52
  15. Read from source The latch tells Redstone Dust it connects on all four sides, and on neither the top nor the bottom. GitHubPoweredLatchBlock.java:111–117
  16. Tested in game A change at an input is acted on one game tick later, because the latch schedules a tick for itself with a delay of 1. The dust in front was powered 1 tick after a signal was set at the back, and lost its power 1 tick after a signal was set at a side. GitHubToggleLatchBlock.java:54–57 GitHubPoweredLatchBlock.java:50–51
  17. Tested in game A latch that a player places with a signal already at its back switches on one game tick later. With nothing at its back it stays off. A player looking north placed a latch on stone with a Block of Redstone south of the spot. The latch faced south, so the block was at its back, and was off at first. It switched on 1 tick after it was placed.
  18. Tested in game The latch also powers a solid block in front of it strongly enough for that block to power what is next to it. With a block of stone in front of a latch and a Redstone Lamp beyond the stone, the lamp was lit three ticks after the latch was switched on. A lamp at the latch's side and one at its back stayed unlit.
  19. Tested in game At each side, the latch counts any signal above 0 that the neighbour gives towards it. Redstone Dust there counts whenever it has any power, whichever way it points. Redstone Dust at the north side of a latch that was on, powered to 15 by a Block of Redstone beyond it, switched the latch off. GitHubPoweredLatchBlock.java:59–66 GitHubPoweredLatchBlock.java:61–63
  20. Tested in game Powered Redstone Dust at the back switches the latch on, as other signals there do. Redstone Dust at the back of a latch, powered to 15 by a Block of Redstone beyond it, switched the latch on. GitHubPoweredLatchBlock.java:74
  21. Tested in game A signal that starts at the back switches the latch on without looking at the sides, and a signal that starts at a side switches it off without looking at the back. When both start in the same tick they are handled one after the other, the back first, so the latch ends up off. With a side already held, a signal added at the back switched the latch on, and the dust in front had power 15. With the back already held, a signal added at a side switched it off, leaving the dust at 0. Blocks of Redstone set at the back and at a side in the same tick left the dust with power 0. GitHubPoweredLatchBlock.java:81–82 GitHubPoweredLatchBlock.java:87–90
  22. Tested in game When the side signal ends while the back still has a signal, the latch switches on again. With the back held, the side signal was removed, and five ticks later the dust in front had power 15. GitHubPoweredLatchBlock.java:91–92
  23. Tested in game When the back signal ends while a side still has a signal, the latch switches off if it was on, and it stays off after the side signal ends too. A latch with a side held had been switched on by a signal added at its back. When that back signal was removed, the dust in front had power 0. In another step, with both inputs held and the latch off, the back signal was removed and then the side signal, and afterwards the dust had power 0. GitHubPoweredLatchBlock.java:83–84
  24. Tested in game When both signals end in the same tick, the latch ends up on, whichever of them came last. The back is handled first, and its signal ending while the side had one switches the latch off. Then the side's signal ending while the back had one switches it on. Signals were held at the back and at a side, the side's added last, and the latch was off. Both Blocks of Redstone were removed in the same tick, and five ticks later the dust in front had power 15. GitHubPoweredLatchBlock.java:83–84 GitHubPoweredLatchBlock.java:91–92
  25. Read from source A click that switches the latch plays the vanilla lever click at volume 0.3, at pitch 0.6 when it switches on and 0.5 when it switches off. GitHubPoweredLatchBlock.java:104–105
  26. Tested in game A sneaking player's click does not reach the latch. With something in hand, the item is used as it would be on any block. A sneaking player's click with an empty hand left the latch off. A sneaking click with eight blocks of stone left the latch off, put minecraft:stone on top of it, and left the player with 7. GitHubToggleLatchBlock.java:63–64
  27. Tested in game A player who may not build does not switch the latch. A player in adventure mode clicked a latch that was off with an empty hand, and it stayed off. GitHubToggleLatchBlock.java:61–62
  28. Read from source The latch has two models, one for off and one for on, chosen only by whether it is on. GitHubPoweredLatchGenerator.java:31–34
  29. Tested in game While exactly one of the two inputs has a signal, a click is passed on, as if the latch did not answer clicks, and the item in hand is used. With a signal held at its back, the latch stayed on after a click with an empty hand. A click with eight blocks of stone put minecraft:stone on top of it and left the player with 7. With a signal held at a side only, a click left it off. GitHubPoweredLatchBlock.java:101–102
  30. Tested in game The click works whenever the two inputs agree, which includes both having a signal. With signals held at the back and at a side, the latch was off. A click switched it on, and the dust in front then had power 15, and a second click switched it off. GitHubPoweredLatchBlock.java:101
  31. Tested in game The latch needs a block under it. It cannot be placed over air, and it breaks and drops itself when the block under it goes. A player clicked the side of a block that had air under the spot next to it; minecraft:air was left there and 0 latches were used. When the stone under a placed latch was removed, the latch was gone in the same tick, and what lay on the ground was create:powered_latch.
  32. Game data What the game says a piston does to the block. It is destroyed, and an extending piston does not move it.
  33. Tested in game The latch is one of the blocks Create's Wrench acts on. A Wrench used on its top or its underside turns it a quarter turn clockwise. On any other face the Wrench changes nothing. A Wrench used on the top of a latch facing east left it facing south, still on. Used on its north side the Wrench changed nothing. The dust at the latch's old front had power 0 afterwards. GitHubAbstractDiodeBlock.java:8 GitHubIWrenchable.java:86–95 GitHubHorizontalKineticBlock.java:16
  34. Tested in game A click with a Wrench in hand is passed on by the latch to the Wrench, so it never switches the latch. A latch that was on was still on after a Wrench was used on its top, and had been turned. GitHubToggleLatchBlock.java:65–66
  35. Tested in game Used by a sneaking player, the Wrench removes the block and puts what the block drops into the player's inventory. A sneaking player's Wrench removed the latch and left the player holding create:powered_latch. On the ground lay nothing. GitHubWrenchItem.java:60–61 GitHubIWrenchable.java:61–70
  36. Tested in game The latch looks at its inputs again when a neighbouring block changes. Turning it with a Wrench changes no neighbour of the latch, so a signal that a turn brings to its back or its side is not noticed until something next to the latch changes. A latch facing east, off, had a Block of Redstone at its south side. A Wrench used on its top turned it to face south, so that the signal was at its back. Ten ticks later it was still off. A block of stone was then set down next to it, and three ticks after that it was on. GitHubPoweredLatchBlock.java:34–35
  37. Read from source Create has a Block Rotation Menu, opened with a key that is not bound to anything until the player binds it, while holding a Wrench and looking at a block. It offers the facing of any block with the game's horizontal facing, which the latch has. GitHubAllKeys.java:25 GitHubRadialWrenchMenu.java:65
  38. Game data Read from a game client. A latch staged alone, switched off, and a latch staged switched on with a Block of Redstone at its back, each looked at by a player wearing Goggles, sneaking or not, and by one without. No overlay shows in any of these.
  39. Game data The item's tooltip as an inventory slot shows it, read from a game client without Goggles and with Goggles worn. It is the item's name and Ponder's line, nothing more. The summary shown while Shift is held was not read.
  40. Read from source The Powered Latch's block class is built on that of the Powered Toggle Latch and replaces how it reads its inputs, what a click does, and which sides Redstone Dust connects to. GitHubPoweredLatchBlock.java:20 GitHubAllBlocks.java:2170–2171
  41. Read from source Create adds the latch to the category "Logic Components" of its Ponder index, described as "Components which help with redstone engineering", and gives it one scene of its own. GitHubAllCreatePonderTags.java:321–333 GitHubAllCreatePonderTags.java:96–100 GitHubAllCreatePonderTags.java:96–100 GitHubAllCreatePonderScenes.java:341–342
  42. Tested in game Create's Wrench has actions of its own for the Powered Latch, and a sneaking player's right-click with the Wrench removes the block and puts the items it drops into the player's inventory. In a test that set down every block of Create in turn, a survival player holding a Wrench sneaked and right-clicked the top of the Powered Latch, which stood on a block of stone. The block was removed, and the player received create:powered_latch. Nothing lay on the ground. GitHubWrenchItem.java:60–61 GitHubIWrenchable.java:61–66 GitHubIWrenchable.java:70

About this page

  • Game data, recipes and in-game text were read from a running game: Create 6.0.10 on Minecraft 1.21.1.
  • Statements about behaviour were read from the mod's source as it stood for that version. The page only builds while the cited lines still say the same.
  • 26 statements were also performed in the game by automated tests, 8 were read in the code without being observed, and 0 are interpretation.
  • The history comes from the mod's own record of changes, matched to the versions published on Modrinth and CurseForge.
  • Pictures were rendered by the game itself. They show Create 6.0.10's models and textures, which belong to its authors.
  • Ponder scenes were recorded from the game with Ponder to Video. Ponder is the Create team's system for in-game explanations. A scene marked as made for this page was made by Moddium, not by the mod's authors.
  • The text and the statements under it were drafted by: Claude, by reading the cited source files and running the cited tests in a working session.