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
Previous revision
Last revision Both sides next revision
component:leash:zh [2023/11/15 14:37]
hfsr
component:leash:zh [2023/11/15 14:41]
hfsr [组件:拴绳升级]
Line 1: Line 1:
-Leash Upgrade+组件:拴绳升级
 ============ ============
  
-Provided by the [[item:​leash_upgrade|Leash Upgrade]].+[[item:​leash_upgrade:zh|拴绳升级]]提供。
  
-Component name: `leash`.  ​ +组件名:`leash` 
-Callbacks:+ 
 +回调函数:
  
 - `leash(side:​number):​boolean`  ​ - `leash(side:​number):​boolean`  ​
-  Tries to put an entity on the specified side of the device onto a leash.+尝试将设备指定方向处的一个实体拴到拴绳上。
 - `unleash()`  ​ - `unleash()`  ​
-  Unleashes all currently leashed entities.+松开当前栓住的所有实体。