aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/pathfinding
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-13 21:38:22 +0900
committersyeyoung <cyong06@naver.com>2021-02-13 21:38:22 +0900
commit3bbe67ecd993bac9e32e7f303ce84b2fa5c7cda4 (patch)
tree8505eb72ebb6ea5b8238ab7174e56123871c6b87 /src/main/java/kr/syeyoung/dungeonsguide/pathfinding
parentacbdeb579e4c64d96b9274996e2a21659385fcfe (diff)
downloadSkyblock-Dungeons-Guide-3bbe67ecd993bac9e32e7f303ce84b2fa5c7cda4.tar.gz
Skyblock-Dungeons-Guide-3bbe67ecd993bac9e32e7f303ce84b2fa5c7cda4.tar.bz2
Skyblock-Dungeons-Guide-3bbe67ecd993bac9e32e7f303ce84b2fa5c7cda4.zip
I commit
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/pathfinding')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java
index 8fc660ce..9e138ed9 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java
@@ -55,7 +55,10 @@ public class NodeProcessorDungeonRoom extends NodeProcessor {
IBlockState state = entityIn.getEntityWorld().getBlockState(dungeonRoom.getMin().add(newX, newY, newZ));
if (state.getBlock() == Blocks.air || state.getBlock() == Blocks.water || state.getBlock() == Blocks.lava
|| state.getBlock() == Blocks.flowing_water || state.getBlock() == Blocks.flowing_lava
- || state.getBlock() == Blocks.vine) {
+ || state.getBlock() == Blocks.vine || state.getBlock() == Blocks.ladder
+ || state.getBlock() == Blocks.standing_sign || state.getBlock() == Blocks.wall_sign
+ || state.getBlock() == Blocks.trapdoor || state.getBlock() == Blocks.iron_trapdoor
+ || (state == Blocks.stone.getStateFromMeta(2))) {
PathPoint pt = openPoint(newX, newY, newZ);
if (pt.visited) continue;
pathOptions[i++] = pt;