change tools
This commit is contained in:
parent
1272f87ea0
commit
37f912cb6d
26 changed files with 194 additions and 435 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue