本文整理了Java中org.bukkit.Server.getTicksPerAnimalSpawns()
方法的一些代码示例,展示了Server.getTicksPerAnimalSpawns()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Server.getTicksPerAnimalSpawns()
方法的具体详情如下:
包路径:org.bukkit.Server
类名称:Server
方法名:getTicksPerAnimalSpawns
[英]Gets default ticks per animal spawns value.
Example Usage:
Note: If set to 0, animal spawning will be disabled. We recommend using spawn-animals to control this instead.
Minecraft default: 400.
[中]
代码示例来源:origin: Bukkit/Bukkit
/**
* @see Server#getTicksPerAnimalSpawns()
*/
public static int getTicksPerAnimalSpawns() {
return server.getTicksPerAnimalSpawns();
}
代码示例来源:origin: SpigotMC/Spigot-API
/**
* @see Server#getTicksPerAnimalSpawns()
*/
public static int getTicksPerAnimalSpawns() {
return server.getTicksPerAnimalSpawns();
}
代码示例来源:origin: EngineHub/WorldGuard
spawning.append("Animal Spawn Limit", server.getAnimalSpawnLimit());
spawning.append("Monster Spawn Limit", server.getMonsterSpawnLimit());
spawning.append("Ticks per Animal Spawn", server.getTicksPerAnimalSpawns());
spawning.append("Ticks per Monster Spawn", server.getTicksPerMonsterSpawns());
append(spawning.getTitle(), spawning);
内容来源于网络,如有侵权,请联系作者删除!