mirror of
https://github.com/ColdeZhang/Dominion.git
synced 2024-10-19 00:36:40 +08:00
新增Y轴坐标高度显示
This commit is contained in:
parent
3de81817fa
commit
002304884a
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>cn.lunadeer</groupId>
|
||||
<artifactId>Dominion</artifactId>
|
||||
<version>1.17.1-beta</version>
|
||||
<version>1.17.2-beta</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Dominion</name>
|
||||
|
@ -35,6 +35,7 @@ public class DominionSizeInfo {
|
||||
.addLine(Line.create().append("领地大小:").append((x2 - x1) + " x" + (y2 - y1) + " x" + (z2 - z1)))
|
||||
.addLine(Line.create().append("中心坐标:").append((x1 + (x2 - x1) / 2) + " " + (y1 + (y2 - y1) / 2) + " " + (z1 + (z2 - z1) / 2)))
|
||||
.addLine(Line.create().append("垂直高度:").append(String.valueOf(y2 - y1)))
|
||||
.addLine(Line.create().append("Y轴坐标:").append(y1 + " ~ " + y2))
|
||||
.addLine(Line.create().append("水平面积:").append(String.valueOf((x2 - x1) * (z2 - z1))))
|
||||
.addLine(Line.create().append("领地体积:").append(String.valueOf((x2 - x1) * (y2 - y1) * (z2 - z1))))
|
||||
.actionBar(Line.create()
|
||||
|
Loading…
Reference in New Issue
Block a user