Threshold Switch: Difference between revisions
Create: Minecraft Mod Wiki>Feonid m . |
Create: Minecraft Mod Wiki>NonaWax No edit summary |
||
Line 49: | Line 49: | ||
| | | | ||
*Added the Stockpile Switch. | *Added the Stockpile Switch. | ||
|- | |- | ||
|'''0.2.3''' | |'''0.2.3''' | ||
Line 79: | Line 75: | ||
| | | | ||
*Fixed Stockpile Switch not updating its signal when the inventory it's watching is moved. | *Fixed Stockpile Switch not updating its signal when the inventory it's watching is moved. | ||
|- | |||
|'''0.3.2f''' | |||
| | |||
*Stockpile switch now works with [[Fluid Pipe]]s and fluid containers. | |||
|} | |} | ||
Revision as of 19:58, 10 November 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.3 |
|
0.3 |
|
0.3.2 |
|
0.3.2b |
|
0.3.2c |
|
0.3.2f |
|
Blocks | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
|