Skip to content

Commit a3d3caf

Browse files
committed
Sculk NoSlowDown
1 parent 8962254 commit a3d3caf

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,7 @@ Examples:
12201220
- Added no slowdown for water
12211221
- Added a toggle to allow swimming
12221222
- Added no slowdown for vines (cannot climb)
1223+
- Added no slowdown for sculk vines on the floor
12231224

12241225
### TrueSight Improved
12251226
- Added customisable glow ESP for invisible entities

src/main/java/net/wurstclient/mixin/BlockMixin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ private boolean isVineBlock(Block block)
4545
|| block == Blocks.CAVE_VINES_PLANT || block == Blocks.WEEPING_VINES
4646
|| block == Blocks.WEEPING_VINES_PLANT
4747
|| block == Blocks.TWISTING_VINES
48-
|| block == Blocks.TWISTING_VINES_PLANT;
48+
|| block == Blocks.TWISTING_VINES_PLANT
49+
|| block == Blocks.SCULK_VEIN;
4950
}
5051
}

src/main/java/net/wurstclient/mixin/LivingEntityMixin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ private boolean isVineState(BlockState state)
9898
|| state.is(Blocks.WEEPING_VINES)
9999
|| state.is(Blocks.WEEPING_VINES_PLANT)
100100
|| state.is(Blocks.TWISTING_VINES)
101-
|| state.is(Blocks.TWISTING_VINES_PLANT);
101+
|| state.is(Blocks.TWISTING_VINES_PLANT)
102+
|| state.is(Blocks.SCULK_VEIN);
102103
}
103104
}

0 commit comments

Comments
 (0)