Skip to content

Commit c9a12f7

Browse files
committed
Added SurfaceXray
1 parent fbd76a2 commit c9a12f7

File tree

12 files changed

+620
-13
lines changed

12 files changed

+620
-13
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,13 @@ All credit for the original client goes to Wurst-Imperium and its contributors.
161161

162162
![Cheater](https://i.imgur.com/beZoL1U.png)
163163

164+
### SurfaceXRay
165+
- Makes the exposed surface of tracked blocks or fluids like lava or water partially or fully transparent while clearing the matching volume underneath.
166+
- Works together with XRay
167+
- Add items with the list UI, meaning you can add keywords or just select multiple blocks easily.
168+
169+
![Surface](https://i.ibb.co.com/WptKT2yY/Untitldded.png)
170+
164171
## What’s changed or improved in this fork?
165172

166173
### ItemESP (Expanded)

src/main/java/net/wurstclient/command/CmdList.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public final class CmdList
7070
public final VClipCmd vClipCmd = new VClipCmd();
7171
public final ViewCompCmd viewCompCmd = new ViewCompCmd();
7272
public final ViewNbtCmd viewNbtCmd = new ViewNbtCmd();
73+
public final SurfaceXrayCmd surfaceXrayCmd = new SurfaceXrayCmd();
7374
public final XrayCmd xrayCmd = new XrayCmd();
7475
public final net.wurstclient.commands.WaypointsCmd waypointsCmd =
7576
new net.wurstclient.commands.WaypointsCmd();
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* Copyright (c) 2014-2025 Wurst-Imperium and contributors.
3+
*
4+
* This source code is subject to the terms of the GNU General Public
5+
* License, version 3. If a copy of the GPL was not distributed with this
6+
* file, You can obtain one at: https://www.gnu.org/licenses/gpl-3.0.txt
7+
*/
8+
package net.wurstclient.commands;
9+
10+
import net.wurstclient.command.CmdException;
11+
import net.wurstclient.command.Command;
12+
13+
public final class SurfaceXrayCmd extends Command
14+
{
15+
public SurfaceXrayCmd()
16+
{
17+
super("surfacexray",
18+
"Shortcut for '.blocklist SurfaceXray Tracked_blocks'.",
19+
".surfacexray add <block>", ".surfacexray remove <block>",
20+
".surfacexray list [<page>]", ".surfacexray reset",
21+
"Example: .surfacexray add lava");
22+
}
23+
24+
@Override
25+
public void call(String[] args) throws CmdException
26+
{
27+
String suffix = String.join(" ", args);
28+
if(!suffix.isEmpty())
29+
suffix = " " + suffix;
30+
31+
WURST.getCmdProcessor()
32+
.process("blocklist SurfaceXray Tracked_blocks" + suffix);
33+
}
34+
}

src/main/java/net/wurstclient/hack/HackList.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ public final class HackList implements UpdateListener
198198
public final TrollPotionHack trollPotionHack = new TrollPotionHack();
199199
public final TrueSightHack trueSightHack = new TrueSightHack();
200200
public final TunnellerHack tunnellerHack = new TunnellerHack();
201+
public final SurfaceXrayHack surfaceXrayHack = new SurfaceXrayHack();
201202
public final VeinMinerHack veinMinerHack = new VeinMinerHack();
202203
public final XRayHack xRayHack = new XRayHack();
203204
public final WaypointsHack waypointsHack = new WaypointsHack();

0 commit comments

Comments
 (0)