用户:
某科学的电磁炮查看:1 回复:1 评论:1 创建时间:2023-02-07T22:36:26
const npc=world.querySelector("#something");
npc.enableInteract=true;
npc.interactHint="something";
npc.interactRadius=3;
npc.onInteract(({entity})=>{
/**something for the entity */
})
npc.onInteract(async({entity}) => {
entity.player.link('https://box3.codemao.cn/g/50127710')
});
求大佬解释并教我,谢谢qaq