Threshold Switch: Difference between revisions
Create: Minecraft Mod Wiki>Joker876 No edit summary |
BoxWithout (talk | contribs) m 15 revisions imported |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Block | ||
|renewable=No | |||
|stackable=Yes (64) | |||
|tool=Wooden Pickaxe | |||
|blast_resistance=6 | |||
|hardness=1.5 | |||
|solid=Yes | |||
|full=Yes | |||
|luminant=No | |||
|transparent=Yes | |||
|flammable=No | |||
|lavasusceptible=No | |||
}} | |||
The ''' | The '''Threshold Switch''' measures how full an inventory is and can emit a {{MC|Redstone}} signal at adjustable thresholds. | ||
==Obtaining== | ==Obtaining== | ||
===Breaking=== | |||
{{Breaking time|1.5|Wooden|Pickaxe}} | |||
===Crafting=== | ===Crafting=== | ||
{ | {{RecipeTableHead}} | ||
{{RecipeTable | |||
|Threshold Switch | |||
|[[Electron Tube]] + <br> [[Brass Casing]] + <br> {{MC|Comparator}} | |||
|{{Crafting Table|B1=Electron Tube|B2=Brass Casing|B3=Redstone Comparator|Output=Threshold Switch}}}} | |||
{{RecipeTableFoot}} | |||
| | |||
| | |||
|{{Crafting Table| | |||
==Usage== | ==Usage== | ||
The | The Threshold Switch detects how full an inventory is. This is shown as a chest icon on one of the red bars in the interface. | ||
===Placement=== | |||
When placed by the player, the Threshold Switch will attempt to orient itself toward an adjacent inventory. If multiple or no inventories are present, the Threshold Switch may orient itself toward the player and can be adjusted as normal using the [[Wrench]]. At present, it cannot be oriented vertically. | |||
===Threshold=== | ===Threshold=== | ||
Item thresholds can be set to determine when the redstone signal turns on or off. | [[File:Switch GUI.png|thumb|200px|The interface of the Threshold Switch with default settings. The chest icon is at 50%]] | ||
Item thresholds can be set to determine when the redstone signal turns on or off. When the Switch is first placed, it stays '''off''' until it reaches 75% inventory, then stays '''on''' until it reaches 25% inventory. | |||
The chest icon represents how full the inventory is, as well as the current signal state (on/off) depending on which lane the chest icon is in. The arrows represent inventory thresholds, illustrated by the chest icon switching lanes upon reaching the arrow. | |||
The signal can be inverted. | The signal can be inverted by clicking the button showing two opposing arrows next to the lower threshold bar. | ||
===Filtering=== | ===Filtering=== | ||
The switch has an inbuilt filter. The switch can be set to only count how much inventory the filtered items take up while ignoring every other item in the inventory. When a [[Filter]] is applied, the switch counts every item in the [[Filter]] while ignoring everything else. | The switch has an inbuilt filter. The switch can be set to only count how much inventory the filtered items take up while ignoring every other item in the inventory. When a [[Filter]] is applied, the switch counts every item in the [[Filter]] while ignoring everything else. | ||
[[ | ===[[Display Link]]=== | ||
A [[Display Link]] can be used to display how full an inventory is with either a percentage or a progress bar. | |||
===Portable Interfaces=== | |||
{{Main|Portable Storage Interface|Portable Fluid Interface}} | |||
A Threshold Switch used on a stationary Portable Interface can measure the inventory of the connected [[Contraption]] as a whole. | |||
==History== | |||
{|class=wikitable | |||
|+ | |||
!Version | |||
!Changes | |||
|- | |||
|{{GW|0.1}} | |||
| | |||
*Added the Threshold Switch. | |||
|- | |||
|{{GW|0.2.3}} | |||
| | |||
*[[Encased Fan]]s, [[Rotation Speed Controller]]s, [[Basin]]s, [[Threshold Switch]]es, Gauges, [[Furnace Engine]]s, [[Hand Crank]]s and many other blocks can now be moved in a contraption. | |||
*Fixed Threshold Switch not reacting to movement. | |||
*Fixed Threshold Switch not reacting to changes to a double container. | |||
|- | |||
|{{GW|0.3}} | |||
| | |||
*Threshold Switches can now take a [[Filter]]. | |||
*Threshold Switches no longer only access slots exposed to a specific side of an inventory. | |||
*Fixed Threshold Switch emitting redstone power towards its detection target. | |||
*Threshold Switches can now be inverted. | |||
*Fixed Threshold Switches not dynamically updating GUI indicators frequently enough. | |||
|- | |||
|{{GW|0.3.2}} | |||
| | |||
*Gave Threshold Switch output a delay (like {{Mc|comparator}}s have) to improve stability. | |||
|- | |||
|{{GW|0.3.2f}} | |||
| | |||
*Threshold switch now works with [[Fluid Pipe]]s and fluid containers. | |||
|- | |||
|{{GW|0.5}} | |||
| | |||
*Now crafted with a [[Content Observer]]. | |||
|- | |||
|{{GW|0.5.1}} | |||
| | |||
*Crafting recipe changed. | |||
*Renamed from Stockpile Switch to Threshold Switch. | |||
*Can now be oriented up or down. | |||
*Now has a [[Ponder]] scene. | |||
|} | |||
{{Blocks}} | |||
[[Category:Redstone]] | [[Category:Redstone]] | ||
[[Category:Machines]] | [[Category:Machines]] | ||
[[Category:Logic Components]] |
Latest revision as of 21:36, 14 February 2025
The Threshold Switch measures how full an inventory is and can emit a Redstone signal at adjustable thresholds.
Obtaining[edit | edit source]
Breaking[edit | edit source]
Hardness | 1.5 |
---|---|
Tool | ![]() |
Breaking time[Note 1] | |
![]() | 7.5 |
![]() | 1.15 |
![]() | 0.6 |
![]() | 0.4 |
![]() | 0.3 |
![]() | 0.25 |
![]() | 0.2 |
- ↑ Times are for unenchanted tools as wielded by players with no status effects, measured in seconds. For more information, see Breaking § Speed.
Crafting[edit | edit source]
Name | Ingredients | Crafting Recipe |
---|---|---|
Threshold Switch | Electron Tube + Brass Casing + Comparator |
Usage[edit | edit source]
The Threshold Switch detects how full an inventory is. This is shown as a chest icon on one of the red bars in the interface.
Placement[edit | edit source]
When placed by the player, the Threshold Switch will attempt to orient itself toward an adjacent inventory. If multiple or no inventories are present, the Threshold Switch may orient itself toward the player and can be adjusted as normal using the Wrench. At present, it cannot be oriented vertically.
Threshold[edit | edit source]

Item thresholds can be set to determine when the redstone signal turns on or off. When the Switch is first placed, it stays off until it reaches 75% inventory, then stays on until it reaches 25% inventory.
The chest icon represents how full the inventory is, as well as the current signal state (on/off) depending on which lane the chest icon is in. The arrows represent inventory thresholds, illustrated by the chest icon switching lanes upon reaching the arrow.
The signal can be inverted by clicking the button showing two opposing arrows next to the lower threshold bar.
Filtering[edit | edit source]
The switch has an inbuilt filter. The switch can be set to only count how much inventory the filtered items take up while ignoring every other item in the inventory. When a Filter is applied, the switch counts every item in the Filter while ignoring everything else.
Display Link[edit | edit source]
A Display Link can be used to display how full an inventory is with either a percentage or a progress bar.
Portable Interfaces[edit | edit source]
- Lua error in package.lua at line 80: module 'Dev:Hatnote' not found.
A Threshold Switch used on a stationary Portable Interface can measure the inventory of the connected Contraption as a whole.
History[edit | edit source]
Version | Changes |
---|---|
0.1 |
|
0.2.3 |
|
0.3 |
|
0.3.2 |
|
0.3.2f |
|
0.5 |
|
0.5.1 |
|
Blocks | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
|