diff options
author | syeyoung <cyong06@naver.com> | 2021-05-23 16:26:02 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-05-23 16:26:02 +0900 |
commit | 03c7a600bd1cd038e301e62b98d201e5e25309ce (patch) | |
tree | e9f36fb74f94f073ea08f493f8f223a3ea1f2e37 /src/main | |
parent | 978d6d8f5798c98b1041f040bb4b2e79813aa370 (diff) | |
download | Skyblock-Dungeons-Guide-03c7a600bd1cd038e301e62b98d201e5e25309ce.tar.gz Skyblock-Dungeons-Guide-03c7a600bd1cd038e301e62b98d201e5e25309ce.tar.bz2 Skyblock-Dungeons-Guide-03c7a600bd1cd038e301e62b98d201e5e25309ce.zip |
Distance check on simon says solver
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/features/impl/boss/terminal/FeatureSimonSaysSolver.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/boss/terminal/FeatureSimonSaysSolver.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/boss/terminal/FeatureSimonSaysSolver.java index 74f6d948..3ef1a530 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/boss/terminal/FeatureSimonSaysSolver.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/boss/terminal/FeatureSimonSaysSolver.java @@ -27,6 +27,7 @@ import kr.syeyoung.dungeonsguide.features.listener.TickListener; import kr.syeyoung.dungeonsguide.features.listener.WorldRenderListener; import kr.syeyoung.dungeonsguide.roomprocessor.bossfight.BossfightProcessorNecron; import kr.syeyoung.dungeonsguide.utils.RenderUtils; +import net.minecraft.client.Minecraft; import net.minecraft.init.Blocks; import net.minecraft.util.BlockPos; import net.minecraft.world.World; @@ -55,6 +56,8 @@ public class FeatureSimonSaysSolver extends SimpleFeature implements WorldRender } if (!(dc.getBossfightProcessor() instanceof BossfightProcessorNecron)) return; if (!dc.getBossfightProcessor().getCurrentPhase().equals("terminals")) return; + if (Minecraft.getMinecraft().thePlayer.getPosition().distanceSq(309,123,291) > 400) return; + if (orderclick.size() >= 1) RenderUtils.highlightBlock(orderclick.get(0), new Color(0, 255 ,255, 100), partialTicks, false); |