Add DepthCounterCommand
Dieser Commit ist enthalten in:
Ursprung
6ea916bcb8
Commit
28fb3b7301
@ -147,10 +147,4 @@ public class DepthCounter {
|
|||||||
|
|
||||||
return result.toString();
|
return result.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void compute(Vector v1, Vector v2, DoubleBinaryOperator function) {
|
|
||||||
v1.setX(function.applyAsDouble(v1.getX(), v2.getX()));
|
|
||||||
v1.setY(function.applyAsDouble(v1.getY(), v2.getY()));
|
|
||||||
v1.setZ(function.applyAsDouble(v1.getZ(), v2.getZ()));
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -36,7 +36,10 @@ public class DepthCounterCommand extends SWCommand {
|
|||||||
|
|
||||||
@Register
|
@Register
|
||||||
public void genericHelp(Player p, String... args) {
|
public void genericHelp(Player p, String... args) {
|
||||||
//TODO
|
p.sendMessage(ColorConfig.OTHER + "/" + ColorConfig.HIGHLIGHT + "depthcounter enable" + ColorConfig.OTHER + " - " + ColorConfig.BASE + "Aktiviere den Tiefenzähler");
|
||||||
|
p.sendMessage(ColorConfig.OTHER + "/" + ColorConfig.HIGHLIGHT + "depthcounter disable" + ColorConfig.OTHER + " - " + ColorConfig.BASE + "Deaktiviere den Tiefenzähler");
|
||||||
|
p.sendMessage(ColorConfig.OTHER + "/" + ColorConfig.HIGHLIGHT + "depthcounter info" + ColorConfig.OTHER + " - " + ColorConfig.BASE + "Zähle aktive Zählmodi auf");
|
||||||
|
p.sendMessage(ColorConfig.OTHER + "/" + ColorConfig.HIGHLIGHT + "depthcounter toggle " + ColorConfig.OTHER + "<" + ColorConfig.BASE + "CountMode" + ColorConfig.OTHER + ">" + ColorConfig.OTHER + " - " + ColorConfig.BASE + "Stelle einzelne Zählmodi ein");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Register("toggle")
|
@Register("toggle")
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren