Threshold Switch: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>NonaWax
m NonaWax moved page Stockpile Switch to Threshold Switch: renamed in 0.5.1
Create: Minecraft Mod Wiki>NonaWax
I dont know when the recipe changed (again?) Uncertain if it should still be called "Stockpile Switch" in older versions of the history section, feel free to change that if you have an opinion on it!
Line 13: Line 13:
}}
}}


The '''Stockpile Switch''' measures how full an inventory is and can emit a {{MC|Redstone}} signal at adjustable thresholds.
The '''Threshold Switch''' measures how full an inventory is and can emit a {{MC|Redstone}} signal at adjustable thresholds.


==Obtaining==
==Obtaining==
Line 22: Line 22:
{{RecipeTableHead}}
{{RecipeTableHead}}
{{RecipeTable
{{RecipeTable
|Stockpile Switch
|Threshold Switch
|[[Content Observer]]
|[[Electron Tube]] + <br> [[Brass Casing]] + <br> {{MC|Comparator}}
|{{Crafting Table|B2=Content Observer|Output=Stockpile Switch|shapeless=1}}}}
|{{Crafting Table|B1=Electron Tube|B2=Brass Casing|B3=Redstone Comparator|Output=Threshold Switch}}}}
{{RecipeTableFoot}}
{{RecipeTableFoot}}


==Usage==
==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.  
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===  
===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.  
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===  
[[File:Switch GUI.png|thumb|200px|The interface of the Stockpile Switch with default settings. The chest icon is at 50%]]
[[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.  
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.  


Line 49: Line 49:
|{{GW|0.1}}
|{{GW|0.1}}
|
|
*Added the Stockpile Switch.
*Added the Threshold Switch.
|-
|-
|{{GW|0.2.3}}
|{{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, [[Threshold 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 Threshold Switch not reacting to movement.
*Fixed Stockpile Switch not reacting to changes to a double container.
*Fixed Threshold Switch not reacting to changes to a double container.
|-
|-
|{{GW|0.3}}
|{{GW|0.3}}
|
|
*Stockpile Switches can now take a [[Filter]].
*Threshold Switches can now take a [[Filter]].
*Stockpile Switches no longer only access slots exposed to a specific side of an inventory.
*Threshold Switches no longer only access slots exposed to a specific side of an inventory.
*Fixed Stockpile Switch emitting redstone power towards its detection target.
*Fixed Threshold Switch emitting redstone power towards its detection target.
*Stockpile Switches can now be inverted.
*Threshold Switches can now be inverted.
*Fixed Stockpile Switches not dynamically updating GUI indicators frequently enough.
*Fixed Threshold Switches not dynamically updating GUI indicators frequently enough.
|-
|-
|{{GW|0.3.2}}
|{{GW|0.3.2}}
|
|
*Gave Stockpile Switch output a delay (like {{Mc|comparator}}s have) to improve stability.
*Gave Threshold Switch output a delay (like {{Mc|comparator}}s have) to improve stability.
|-
|-
|{{GW|0.3.2f}}
|{{GW|0.3.2f}}
|
|
*Stockpile switch now works with [[Fluid Pipe]]s and fluid containers.
*Threshold switch now works with [[Fluid Pipe]]s and fluid containers.
|-
|-
|{{GW|0.5}}
|{{GW|0.5}}
|
|
*Now crafted with a [[Content Observer]].
*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.
|}
|}



Revision as of 13:06, 22 May 2023


The Threshold Switch measures how full an inventory is and can emit a Redstone signal at adjustable thresholds.

Obtaining

Breaking

Hardness1.5
Tool
Breaking time[Note 1]
 Default7.5
 Wooden1.15
 Stone0.6
 Iron0.4
 Diamond0.3
 Netherite0.25
 Golden0.2
  1. 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
Threshold Switch Electron Tube +
Brass Casing +
Comparator
Electron Tube
Brass Casing
Redstone Comparator

Threshold Switch

Usage

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

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 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
  • Added the Threshold Switch.
0.2.3
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.
0.3.2
  • Gave Threshold Switch output a delay (like comparators have) to improve stability.
0.3.2f
  • Threshold switch now works with Fluid Pipes and fluid containers.
0.5
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.