From c185d0d9a3f3c6693be7b6d3de92c326da48c310 Mon Sep 17 00:00:00 2001 From: CNLuminous Date: Fri, 8 Aug 2025 00:48:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=8E=A9=E5=AE=B6?= =?UTF-8?q?=E8=99=9A=E7=A9=BA=E5=9B=9Espawn=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增LimboBackSpawn类继承LimboPlugin并实现Listener接口 - 在onEnable方法中注册事件监听器和设置spawn点 - 实现PlayerMoveEvent事件处理,当玩家掉入虚空时自动传回spawn点 - 添加plugin.yml配置文件,定义插件基本信息 --- .idea/misc.xml | 5 ++++ .../java/com/blockfantasy/LimboBackSpawn.java | 29 ++++++++++++++++++- src/main/resources/plugin.yml | 4 +++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/plugin.yml diff --git a/.idea/misc.xml b/.idea/misc.xml index 82dbec8..d14787e 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,5 +1,10 @@ + + + + +