Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
component:redstone:zh [2023/11/26 13:59]
hfsr [组件:红石]
component:redstone:zh [2023/11/26 14:03]
hfsr [组件:红石]
Line 113: Line 113:
 \\ \\
 - `setWakeThreshold(threshold:​number):​number`  ​ - `setWakeThreshold(threshold:​number):​number`  ​
-  将唤醒阈值设定为给定数字。 ​ +  将唤醒阈值设定为给定数字。\\ 
 请注意对于如ProjectRed(红石计划)这样的模组而言,较低的强度值(例如原版最高为15的强度值)可能不会像预期一样起到简单开/​关信号的作用(例如用于开门)。因为这些模组的红石信号值范围更大。你可能需要指定一个更大的值,例如255。\\ 请注意对于如ProjectRed(红石计划)这样的模组而言,较低的强度值(例如原版最高为15的强度值)可能不会像预期一样起到简单开/​关信号的作用(例如用于开门)。因为这些模组的红石信号值范围更大。你可能需要指定一个更大的值,例如255。\\