change tools

This commit is contained in:
Sen 2025-07-31 16:13:40 +02:00
parent 1272f87ea0
commit 37f912cb6d
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
26 changed files with 194 additions and 435 deletions

View file

@ -1176,16 +1176,8 @@ public class Client implements IThreadListener {
Block block = state.getBlock();
if(block != Blocks.air) {
desc = block.getDisplay();
if(block.getMiningLevel() >= 0)
line2 = "Werkzeug: Spitzhacke Level " + (block.getMiningLevel() + 1);
else if(block.canAxeHarvest())
line2 = "Werkzeug: Axt";
else if(block.canShovelHarvest())
line2 = "Werkzeug: Schaufel";
else if(block.canShearsHarvest())
line2 = "Werkzeug: Schere";
else if(block.canSwordHarvest())
line2 = "Werkzeug: Schwert";
if(block.getMiningTool() != null)
line2 = "Werkzeug: " + block.getMiningTool().getDisplay() + (block.getMiningTool().isLevelled() ? "Level " + (block.getMiningLevel() + 1) : "");
}
}
else if(this.pointed != null && this.pointed.type == ObjectType.ENTITY && this.pointed.entity != null) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

View file

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB