Threshold Switch: Difference between revisions
Create: Minecraft Mod Wiki>NightBengal Added Placement section and noted no vertical placement. |
Create: Minecraft Mod Wiki>Feonid added history and updated templates |
||
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 '''Stockpile Switch''' measures how full an inventory is and can emit a {{MC|Redstone}} signal at adjustable thresholds. | The '''Stockpile 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 | |||
|Stockpile Switch | |||
|{{MC|Redstone Dust}} +<br>{{MC|Redstone Comparator}} +<br>{{MC|Iron Ingot}} +<br>[[Brass Casing]] | |||
| | |||
|{{MC|Redstone}} + <br> {{MC|Comparator}} + <br> {{MC|Iron Ingot}} + <br> [[Brass Casing]] | |||
|{{Crafting Table||A2=Redstone Dust|B2=Redstone Comparator|C2=Iron Ingot|B3=Brass Casing|Output=Stockpile Switch}} | |{{Crafting Table||A2=Redstone Dust|B2=Redstone Comparator|C2=Iron Ingot|B3=Brass Casing|Output=Stockpile Switch}} | ||
}} | |||
{{RecipeTableFoot}} | |||
==Usage== | ==Usage== | ||
Line 27: | Line 39: | ||
[[File:Switch GUI.png|thumb|200px|The interface of the Stockpile Switch]] | [[File:Switch GUI.png|thumb|200px|The interface of the Stockpile Switch]] | ||
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. | ||
==History== | |||
{|class=wikitable | |||
|+ | |||
!Version | |||
!Changes | |||
|- | |||
|'''0.1''' | |||
| | |||
*Added the Stockpile Switch. | |||
|- | |||
|'''0.2.2b''' | |||
| | |||
*The Stockpile Switch and Sequencer no longer open the GUI to the wrong players. | |||
|- | |||
|'''0.2.3''' | |||
| | |||
*[[Encased Fan]]s, [[Rotation Speed Controller]]s, [[Basin]]s, [[Stockpile Switch]]es, Gauges, [[Furnace Engine]]s, [[Hand Crank]]s and many other blocks can now be moved in a contraption | |||
*Fixed Stockpile Switch not reacting to movement. | |||
*Fixed Stockpile Switch not reacting to changes to a double container. | |||
|- | |||
|'''0.3''' | |||
| | |||
*Stockpile Switches can now take a [[Filter]] | |||
*Stockpile Switches no longer only access slots exposed to a specific side of an inventory. | |||
*Fixed Stockpile Switch emitting redstone power towards its detection target. | |||
*Stockpile Switches can now be inverted. | |||
*Fixed Stockpile Switches not dynamically updating GUI indicators frequently enough. | |||
|- | |||
|'''0.3.2''' | |||
| | |||
*Gave Stockpile Switch output a delay (like {{Mc|comparator}}s have) to improve stability. | |||
|- | |||
|'''0.3.2b''' | |||
| | |||
*Fixed Stockpile Switch not updating its redstone output when its signal is inverted. | |||
|- | |||
|'''0.3.2c''' | |||
| | |||
*Fixed Stockpile Switch not updating its signal when the inventory it's watching is moved. | |||
|} | |||
{{Blocks}} | {{Blocks}} | ||
[[Category:Redstone]] | [[Category:Redstone]] | ||
[[Category:Machines]] | [[Category:Machines]] |
Revision as of 11:57, 31 July 2021
The Stockpile Switch measures how full an inventory is and can emit a Redstone signal at adjustable thresholds.
Obtaining
Breaking
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
Name | Ingredients | Crafting Recipe |
---|---|---|
Stockpile Switch | Redstone Dust + Redstone Comparator + Iron Ingot + Brass Casing |
Usage
The Stockpile 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 Stockpile Switch will attempt to orient itself toward an adjacent inventory. If multiple or no inventories are present, the Stockpile Switch may orient itself toward the player and can be adjusted as normal using the Wrench. At present, it cannot be oriented vertically.
Threshold
Item thresholds can be set to determine when the redstone signal turns on or off. For example, a Switch can be set to give a signal as long as the inventory stock is below 25% inventory space, and after which can be set to not give another signal until the inventory stock dips below 5% inventory space.
The signal can be inverted by clicking the button showing two opposing arrows next to the lower threshold bar.
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.
History
Version | Changes |
---|---|
0.1 |
|
0.2.2b |
|
0.2.3 |
|
0.3 |
|
0.3.2 |
|
0.3.2b |
|
0.3.2c |
|
Blocks | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
|