网易我的世界论坛

标题: 请问为啥Getpos方法不运行 [打印本页]

作者: 狂之寅    时间: 2021-3-15 11:02
标题: 请问为啥Getpos方法不运行
请问各位大佬,为啥Getpos方法不运行[attach]-8[/attach]
作者: 境界线    时间: 2021-3-15 15:59
因为方法名叫做GetPos不叫Getpos
作者: 神捕晖    时间: 2021-3-16 08:29
  1. import mod.server.extraServerApi as serverApi
  2. comp = serverApi.GetEngineCompFactory().CreatePos(entityId)
  3. comp.GetPos()
复制代码





欢迎光临 网易我的世界论坛 (http://mc.netease.com/) Powered by Discuz! X3.3