新增2事件,修改2事件,2接口

新增事件:
- SpawnWanderingTrader
- HandleRequestAction
修改事件:
- ProjectileTryCreate
- ProjectileCreate
修改接口:
- getPlayerFromUniqueId
- getEntityFromUniqueId
This commit is contained in:
子沐呀
2024-07-08 15:55:47 +08:00
Unverified
parent d78a63044b
commit 27518fa2fc
4 changed files with 88 additions and 13 deletions
+2 -2
View File
@@ -276,12 +276,12 @@ declare class Minecraft {
/** 根据UniqueId获取玩家对象 */
static getPlayerFromUniqueId(
uniqueId: string
uniqueId: string | number
): Player;
/** 根据UniqueId获取实体对象 */
static getEntityFromUniqueId(
uniqueId: string
uniqueId: string | number
): Entity;
/** 获取方块runtimeId */