Class SeasonManager
java.lang.Object
net.chen.legacyLand.season.SeasonManager
季节管理器
负责管理季节循环、进度和天气效果
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription获取当前季节信息double获取季节进度百分比voidsetDaysPerSubSeason(int days) 设置每个子季节的持续天数void手动设置季节voidstart()启动季节系统voidstop()停止季节系统
-
Constructor Details
-
SeasonManager
public SeasonManager(org.bukkit.plugin.java.JavaPlugin plugin)
-
-
Method Details
-
start
public void start()启动季节系统 -
stop
public void stop()停止季节系统 -
setSeason
手动设置季节 -
setDaysPerSubSeason
public void setDaysPerSubSeason(int days) 设置每个子季节的持续天数 -
getSeasonProgress
public double getSeasonProgress()获取季节进度百分比 -
getSeasonInfo
获取当前季节信息
-