SummoningAttempt

Link to summoningattempt

This class was added by a mod with mod-id zensummoning. 因此,如果要使用此功能,则需要安装此mod。

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
Copy
import 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.