SummoningAttempt
Link to summoningattempt
This class was added by a mod with mod-id zensummoning
. 因此,如果要使用此功能,则需要安装此mod。
导入类
Link to 导入类
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport mods.zensummoning.SummoningAttempt;
名称 | 类型 | 可获得 | 可设置 | 描述 |
---|---|---|---|---|
名称 message | 类型 string | 可获得 true | 可设置 true | 描述 The [unlocalized] message to be displayed to the player. |
名称 点 | 类型 BlockPos | 可获得 true | 可设置 false | 描述 Position of the altar. |
名称 success | 类型 布尔值 | 可获得 true | 可设置 true | 描述 Whether or not the summoning will proceed. |
名称 summoner | 类型 MCPlayerEntity? | 可获得 true | 可设置 false | 描述 Gets the person who activated the summoning |
名称 world | 类型 MCWorld | 可获得 true | 可设置 false | 描述 World that the summoning is occurring in. |