修复遥控器描述问题
This commit is contained in:
parent
b5b2ca6cae
commit
2ef46d5ce5
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ public class Monitor extends Item {
|
||||||
Vec3 droneVec = new Vec3(stack.getOrCreateTag().getDouble("PosX"), stack.getOrCreateTag().getDouble("PosY"), stack.getOrCreateTag().getDouble("PosZ"));
|
Vec3 droneVec = new Vec3(stack.getOrCreateTag().getDouble("PosX"), stack.getOrCreateTag().getDouble("PosY"), stack.getOrCreateTag().getDouble("PosZ"));
|
||||||
|
|
||||||
list.add(Component.translatable("des.superbwarfare.monitor",
|
list.add(Component.translatable("des.superbwarfare.monitor",
|
||||||
FormatTool.format1D(player.position().distanceTo(droneVec)), "m").withStyle(ChatFormatting.GRAY));
|
FormatTool.format1D(player.position().distanceTo(droneVec), "m")).withStyle(ChatFormatting.GRAY));
|
||||||
list.add(Component.literal("X: " + FormatTool.format1D(droneVec.x) +
|
list.add(Component.literal("X: " + FormatTool.format1D(droneVec.x) +
|
||||||
" Y: " + FormatTool.format1D(droneVec.y) +
|
" Y: " + FormatTool.format1D(droneVec.y) +
|
||||||
" Z: " + FormatTool.format1D(droneVec.z)
|
" Z: " + FormatTool.format1D(droneVec.z)
|
||||||
|
|
Loading…
Add table
Reference in a new issue