Skip to content

Commit

Permalink
Merge pull request Ghoulboy78#56 from Ghoulboy78/hollow-outline
Browse files Browse the repository at this point in the history
Hollow outline
  • Loading branch information
Ghoulboy78 authored Mar 22, 2021
2 parents 973ef2c + 4b02142 commit 8e9eb9b
Show file tree
Hide file tree
Showing 3 changed files with 199 additions and 22 deletions.
6 changes: 5 additions & 1 deletion docs/Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ Left clicking again will reselect the whole box.
the given axis, or `none` to perform a 3D flood fill (default behaviour). Use this with `<block>` set to air to delete stuff.
- `/world-edit drain [radius]` -> Drains the liquid the player is standing on. By default, it does so on a given radius, but you can set that with the optional parameter. If
you don't specify a radius and are standing in a seleciton, it will drain within the selection only. It supports the `-g` flag, try it!
- `/world-edit hollow [block]` -> Hollows out all shapes within the selection. If optional `[block]` argument is given, only hollows out shapes made of that block.
- `/world-edit outline <block> [block_to_outline] [force]` -> Outlines the selection with `<block>`. It only affects blocks matching `[block_to_outline]`, if given. If `force` is not true, it will only place blocks replacing air.
- `/world-edit walls <block> [sides] [replacement]` -> Creates walls on the sides specified around the selection, defalts to ony vertical walls (`xz`).
- `/world-edit outline <block> [replacement]` -> Outlines the selection with `<block>`.
- `/world-edit outline_selection <block> [replacement]` -> Outlines the selection with `<block>`.
- `/world-edit shape ...` -> Generates a shape centered arround the palyer. See brushes for all options and parameters.
- `/world-edit angel [new|clear]` -> Angel block: click in mid air to place a (stone) block you can the build off. Without arguments, it gives the player the item registered
as angel block. With `new`, it will register the currently held item as angel block item. With `clear` clears the current angel block item; you will have to register a new one
Expand Down Expand Up @@ -110,6 +112,8 @@ The available actions for brushes are:
and it only uses the clicked block to get the direction of the line.
- `flood <block> <radius> [axis]` -> creates a flood fill starting in the target block and modifying all the connex blocks to become `block`, always staying within `radius` blocks of the starting point. The flood happens in the plane perpendicular to `axis`, if given.
- `drain <radius>` -> Drains the liquids connected to the liquid block you click, up to `<radius>` blocks away.
- `hollow [radius]` -> hollows out the continuos blob of blocks starting in the clicked block, going no further from the starting point than `[radius]` (defaults to 50).
- `outline <block> [radius]` -> outlines the continuos blob of blocks startig in the clicked block with `[block]`, going no further from the starting point than `[radius]` (defaults to 50). If `force` is not true, it will only place blocks replacing air.
- `paste` -> pastes the current clipboard, using the targeted block as origin.
- `feature <fearure>` -> places a feature (decoration) in the targeted location. Can fail, if natural feature would fail. DOES NOT SUPPORT `undo` functionality.
- `spray <block> [size] [count] [replacement]` -> creates a spray paint effect: projects `[count]` (100 by default) random rays around the volume the player is looking at in a cone with `[size]` (12 degrees, by default) angle aperture and places `<block>` in a random patter.
Expand Down
9 changes: 9 additions & 0 deletions world-edit.data/langs/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"help_cmd_brush_pyramid": "l Register brush to create a pyramid with [radius] and [height] along [axis] in the direciton given by the sign",
"langs_completeness": "gi Note: %s translation is only %s%% translated: %s missing strings",
"no_undo": "r No actions to undo for player %s",
"help_cmd_brush_outline": "l Register brush to outline shapes",
"help_cmd_rotate_tooltip": "g Axis must be x, y or z",
"angel_block_none_error": "r There's no angel block defined! Use 'angel new' to register one",
"help_cmd_move": "l Moves selection to <pos>",
Expand Down Expand Up @@ -98,7 +99,9 @@
"help_cmd_brush_sphere": "l Register brush to create a sphere of radius [size] out of [block]",
"help_cmd_angel_give": "l Gives player the current angel block item",
"help_cmd_brush_polygon": "l Register brush to create a polygon prism with [vertices] ammount of sides",
"action_outline_sel": "outline selection",
"help_cmd_brush_cone": "l Register brush to create a cone with [radius] and [height] along [axis] in the direciton given by the sign",
"help_cmd_brush_hollow": "l Register brush to hollow out shapes",
"brush_replaced": "w Replacing previous action for brush in %s",
"help_header_suffix": "c ] -----------------",
"help_pagination_suffix": "c ---------------",
Expand All @@ -107,6 +110,7 @@
"help_pagination_last": "g Go to last page (%d)",
"help_cmd_set": "l Set selection to block, filterable",
"langs_add_more_tip": "y Add more languages to the %s folder to use them! Get them from our repo!",
"help_cmd_hollow_tooltip": "g Specify [block] to hollow out only shapes of that material",
"help_cmd_redo": "l Redoes last n undoes, one by default",
"help_cmd_brush_cube": "l Register brush to create a cube of side length [size] out of [block]",
"action_set": "set",
Expand All @@ -118,7 +122,9 @@
"help_app_lang_tooltip": "g Use the lang command to change it",
"help_cmd_brush_ellipsoid": "l Register brush to create a ellipsoid with radii [x_radius], [y_radius] and [z_radius] out of [block]",
"help_pagination_page": "y Page %d ",
"help_cmd_brush_outline_force": "l Register brush to outline replacing non air too",
"help_cmd_brush_star": "l Register brush to create a star prism with [vertices] ammount of points",
"help_cmd_hollow": "l Hollows out all connex shapes inside selection",
"action_item_not_existing_error": "r %s is not registered as %s",
"action_paste": "paste",
"action_item_existing_error": "r %s is already registered as %s. Unregister it first, or choose another item.",
Expand All @@ -135,12 +141,14 @@
"action_flood": "flood",
"brush_new": "w Registerd new %s brush to %s",
"angel_block_new": "w Clicking with %s will now palce an angel block",
"action_hollow": "hollow",
"help_cmd_walls_tooltip": "l Use [sides] to choose which sides to generate",
"help_cmd_drain": "l Drains liquid you are standing on",
"help_cmd_drain_tooltip": "g Acts in a radius or withing the selection",
"filled": "gi Filled %d blocks",
"help_cmd_walls": "l Set walls of the selection",
"existing_structure": "r Existing file %s.nbt, use 'force' to overwrite",
"help_cmd_outline_tooltip": "g Specify [outline_block] to only outline shapes of that material",
"langs_not_found": "r Language file for %s not found",
"language_code": "en_us",
"help_cmd_stack_tooltip": "g If not provided, direction is players view direction by default",
Expand All @@ -152,6 +160,7 @@
"help_cmd_redo_all": "l Redoes the entire undo history",
"angel_block_given": "w Gave yourself angel block item: %s",
"help_cmd_set_tooltip": "g You can use a tag in the replacement argument",
"help_cmd_outline_force": "l Replaces non air blocks too",
"clear_clipboard": "wi Cleared player %s's clipboard",
"help_pagination_first": "g Go to first page",
"action_drain": "drain",
Expand Down
Loading

0 comments on commit 8e9eb9b

Please sign in to comment.