aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/dungeon
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-01-30 18:29:51 +0900
committersyeyoung <cyong06@naver.com>2021-01-30 18:29:51 +0900
commit7fc7b45713e3a84cb3dd4455fa516359e49a2e43 (patch)
treec009ac7bfa2abcaaf7549fc0ea0e6d1de7d1f370 /src/main/java/kr/syeyoung/dungeonsguide/dungeon
parent35788e6f46a35499bd024cb3227d27ce9e6a76a3 (diff)
downloadSkyblock-Dungeons-Guide-7fc7b45713e3a84cb3dd4455fa516359e49a2e43.tar.gz
Skyblock-Dungeons-Guide-7fc7b45713e3a84cb3dd4455fa516359e49a2e43.tar.bz2
Skyblock-Dungeons-Guide-7fc7b45713e3a84cb3dd4455fa516359e49a2e43.zip
Thorn upgrade
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java
index e9f8e713..ee4ce4cc 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java
@@ -52,6 +52,9 @@ public class DungeonContext {
@Getter
@Setter
private int BossRoomEnterSeconds = -1;
+ @Getter
+ @Setter
+ private BlockPos bossroomSpawnPos = null;
@Getter
@Setter
@@ -75,6 +78,7 @@ public class DungeonContext {
if (mapProcessor.isInitialized() && BossRoomEnterSeconds == -1 && !roomBoundary.contains(mapProcessor.worldPointToMapPoint(Minecraft.getMinecraft().thePlayer.getPositionVector()))) {
BossRoomEnterSeconds = FeatureRegistry.DUNGEON_SBTIME.getTimeElapsed() / 1000;
+ bossroomSpawnPos = Minecraft.getMinecraft().thePlayer.getPosition();
MinecraftForge.EVENT_BUS.post(new BossroomEnterEvent());
DungeonSpecificDataProvider doorFinder = DungeonSpecificDataProviderRegistry.getDoorFinder(((SkyblockStatus) e.getDungeonsGuide().getSkyblockStatus()).getDungeonName());
if (doorFinder != null) {