const moonPhaseList = ["滿", "虧凸", "下弦", "殘", "新", "峨嵋", "滿", "滿"];
LevelEvents.tick("overworld", (event) => {
const { moonPhase, dayTime, server } = event;
if (dayTime % 24000 === 1) {
server.tell(`今天的月像是${moonPhaseList[moonPhase]}月`);
}
});
原創2024/11/10小於 1 分鐘