Threshold Switch: Difference between revisions
Create: Minecraft Mod Wiki>NonaWax No edit summary |
Create: Minecraft Mod Wiki>NonaWax I think this is more clear? also added github wiki links |
||
Line 33: | Line 33: | ||
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. | 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=== | ===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 Stockpile 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 by clicking the button showing two opposing arrows next to the lower threshold bar. | 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. | ||
Line 46: | Line 48: | ||
!Changes | !Changes | ||
|- | |- | ||
| | |{{GW|0.1}} | ||
| | | | ||
*Added the Stockpile Switch. | *Added the Stockpile Switch. | ||
|- | |- | ||
| | |{{GW|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. | *[[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. | ||
Line 56: | Line 58: | ||
*Fixed Stockpile Switch not reacting to changes to a double container. | *Fixed Stockpile Switch not reacting to changes to a double container. | ||
|- | |- | ||
| | |{{GW|0.3}} | ||
| | | | ||
*Stockpile Switches can now take a [[Filter]]. | *Stockpile Switches can now take a [[Filter]]. | ||
Line 64: | Line 66: | ||
*Fixed Stockpile Switches not dynamically updating GUI indicators frequently enough. | *Fixed Stockpile Switches not dynamically updating GUI indicators frequently enough. | ||
|- | |- | ||
| | |{{GW|0.3.2}} | ||
| | | | ||
*Gave Stockpile Switch output a delay (like {{Mc|comparator}}s have) to improve stability. | *Gave Stockpile Switch output a delay (like {{Mc|comparator}}s have) to improve stability. | ||
|- | |- | ||
| | |0.3.2f | ||
| | | | ||
*Stockpile switch now works with [[Fluid Pipe]]s and fluid containers. | *Stockpile switch now works with [[Fluid Pipe]]s and fluid containers. |
Revision as of 20:41, 12 January 2022
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. 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
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.3 |
|
0.3 |
|
0.3.2 |
|
0.3.2f |
|
Blocks | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
|