You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor, Removed cardinal Directions as Options, Updated Tests, Added Orientation Provider for mod specific behavior overrides, Consolidated Parameters, Moved Parsing to API level.
@@ -221,15 +223,19 @@ public final MethodResult digDown(Optional<TurtleSide> side) {
221
223
* @param args Arguments to place.
222
224
* @return The turtle command result.
223
225
* @cc.tparam [opt] string text When placing a sign, set its contents to this text.
224
-
* @cc.tparam [opt] string ... Multiple orientation parameters: "north", "south", "east", "west" for absolute direction, "left", "right", "back" for relative direction, "up"/"down" for face clicking, "face_up"/"face_down" for vertical facing, "top"/"bottom" for slabs, "upside_down" for stairs, "ground" for torches on floor. Can combine multiple parameters.
226
+
* @cc.tparam [opt] table options Table with placement options: { facing = "left", position = "top", text = "Hello" }.
227
+
* The "facing" field can be a string of a relative direction left, right, up, down, forward, backward.
228
+
* The "position" field sets slab/stair positioning/upside down with top ("upsidedown"), bottom as well as ground for torch like items that shouldnt be placed on a wall.
229
+
* The "text" field sets sign text.
230
+
* if you just pass a string it is passed like it normally would be to a sign.
225
231
* @cc.treturn boolean Whether the block could be placed.
226
232
* @cc.treturn string|nil The reason the block was not placed.
227
233
* @cc.since 1.4
228
-
* @cc.changed 1.116.1 Added optional orientation parameters for controlling block rotation and positioning. Multiple parameters can be combined.
234
+
* @cc.changed 1.116.1 Added table-based placement options for cleaner API usage.
0 commit comments