Skip to content

Commit 741333f

Browse files
committed
docs: add missing docs
1 parent 192c0d9 commit 741333f

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

src/main/proto/clientbound_plot.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ message S2CPlotInfo {
5252
repeated PlotPlayer players = 16; // The players currently on the plot.
5353
}
5454

55+
// Send as a response to a C2SGetTemplate message.
5556
message S2CTemplate {
56-
string json = 1;
57+
string json = 1; // The template as a JSON string.
5758
}

src/main/proto/data_type.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ option java_multiple_files = true;
55

66
// Represents a location.
77
message Location {
8-
double x = 1;
9-
double y = 2;
10-
double z = 3;
11-
float pitch = 4;
12-
float yaw = 5;
8+
double x = 1; // The X coordinate.
9+
double y = 2; // The Y coordinate.
10+
double z = 3; // The Z coordinate.
11+
float pitch = 4; // The pitch.
12+
float yaw = 5; // The yaw.
1313
}
1414

1515
// Represents a player's mode.

src/main/proto/serverbound_player.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ option java_multiple_files = true;
77
// Teleports the player to the specified location,
88
// the player must be building or coding, and the location will be clamped to the plot boundaries.
99
message C2SPlayerTeleport {
10-
Location location = 1;
10+
Location location = 1; // The location to teleport to.
1111
}

src/main/proto/serverbound_plot.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ option java_multiple_files = true;
77
// Requests the template at the given location,
88
// a S2CTemplate packet will be sent as a response.
99
message C2SGetTemplate {
10-
Location location = 1;
10+
Location location = 1; // The location of the code block to get the template of.
1111
}

0 commit comments

Comments
 (0)