fix:修复runtime.d.ts

This commit is contained in:
lizhuoyuan 2025-01-20 10:40:21 +08:00
parent 781a8962e9
commit eb805cef98

9
runtime.d.ts vendored
View File

@ -1799,6 +1799,15 @@ interface maps {
*/
setBlock(number: number | string, x: number, y: number, floorId?: string): void
/**
*
* @param opacity 0~1
* @param x
* @param y
* @param floorId id
*/
setBlockOpacity(opacity: number, x: number, y: number, floorId: string): void
/**
*
* @example core.replaceBlock(21, 22, core.floorIds); // 把游戏中地上当前所有的黄钥匙都变成蓝钥匙