新增2事件,修改2事件,2接口
新增事件: - SpawnWanderingTrader - HandleRequestAction 修改事件: - ProjectileTryCreate - ProjectileCreate 修改接口: - getPlayerFromUniqueId - getEntityFromUniqueId
This commit is contained in:
Vendored
+2
-2
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user