Skip to content

Commit 115606b

Browse files
committed
feat: line starters message
1 parent 22679ad commit 115606b

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

src/main/proto/clientbound_plot.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,14 @@ message S2CCodeOperationResult {
6767
message S2CMultiCodeOperationsResult {
6868
repeated S2CCodeOperationResult results = 1; // The results of all operations requested.
6969
}
70+
71+
// Sent when the player joins a plot or when the line starters change,
72+
// requires the player to have developer permissions on the plot.
73+
message S2CPlotLineStarters {
74+
message CodeLineStarter {
75+
Location location = 1;
76+
optional S2CChestReference chest = 2;
77+
}
78+
79+
repeated CodeLineStarter line_starter = 1;
80+
}

src/main/proto/serverbound_plot.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ message ReplaceByBlockOperation {
6262
Template template = 3; // The template to replace the code block with.
6363
}
6464

65-
// Requests a code operation.
66-
// An S2CCodeOperationResult packet will be sent as a response, the relevant field will be set depending on the operation requested.
65+
// Requests to execute a code operation.
66+
// An S2CCodeOperationResult message will be sent as a response, the relevant field will be set depending on the operation requested.
6767
message C2SCodeOperation {
6868
oneof operation {
6969
GetByLocationOperation get_by_location = 1; // The operation to get the template for the code block at the given location.
@@ -76,8 +76,8 @@ message C2SCodeOperation {
7676
}
7777
}
7878

79-
// Requests multiple code operations in one packet.
80-
// An S2CMultiCodeOperationResult packet will be sent as a response, containing the results of all operations requested.
79+
// Requests to execute multiple code operations in one message.
80+
// An S2CMultiCodeOperationResult message will be sent as a response, containing the results of all operations requested.
8181
message C2SMultiCodeOperations {
8282
repeated C2SCodeOperation operations = 1; // The operations to perform.
8383
}

0 commit comments

Comments
 (0)