Skip to content

Commit

Permalink
dedocument old radius/height/depth modifyblock args
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Dec 28, 2019
1 parent fcaa08e commit 351ac1e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
Expand Up @@ -149,7 +149,7 @@ public void registerCommands() {
registerCoreMember(MidiCommand.class, "MIDI", "midi (cancel) [<file>] (<location>/<entity>|...) (tempo:<#.#>) (volume:<#.#>)", 1);
registerCoreMember(MoneyCommand.class, "MONEY", "money [give/take/set] (quantity:<#.#>) (players:<player>|...)", 1);
registerCoreMember(MountCommand.class, "MOUNT", "mount (cancel) [<entity>|...] (<location>)", 0);
registerCoreMember(ModifyBlockCommand.class, "MODIFYBLOCK", "modifyblock [<location>|.../<ellipsoid>/<cuboid>] [<material>|...] (radius:<#>) (height:<#>) (depth:<#>) (no_physics/naturally) (delayed) (<script>) (<percent chance>|...)", 2);
registerCoreMember(ModifyBlockCommand.class, "MODIFYBLOCK", "modifyblock [<location>|.../<ellipsoid>/<cuboid>] [<material>|...] (no_physics/naturally) (delayed) (<script>) (<percent chance>|...)", 2);
registerCoreMember(NarrateCommand.class, "NARRATE", "narrate [<text>] (targets:<player>|...) (format:<name>) (per_player)", 1);
registerCoreMember(NBTCommand.class, "NBT", "nbt [<item>] [<key>:<value>]", 2);
registerCoreMember(NoteCommand.class, "NOTE", "note [<Notable ObjectTag>/remove] [as:<name>]", 2);
Expand Down
Expand Up @@ -37,14 +37,14 @@ public class ModifyBlockCommand extends AbstractCommand implements Listener, Hol

// <--[command]
// @Name ModifyBlock
// @Syntax modifyblock [<location>|.../<ellipsoid>/<cuboid>] [<material>|...] (radius:<#>) (height:<#>) (depth:<#>) (no_physics/naturally) (delayed) (<script>) (<percent chance>|...)
// @Syntax modifyblock [<location>|.../<ellipsoid>/<cuboid>] [<material>|...] (no_physics/naturally) (delayed) (<script>) (<percent chance>|...)
// @Required 2
// @Short Modifies blocks.
// @Group world
//
// @Description
// Changes blocks in the world based on the criteria given. Specifying no radius/height/depth will result
// in only the specified blocks being changed. Use 'no_physics' to place the blocks without
// Changes blocks in the world based on the criteria given.
// Use 'no_physics' to place the blocks without
// physics taking over the modified blocks. This is useful for block types such as portals. This does NOT
// control physics for an extended period of time.
// Specify (<percent chance>|...) to give a chance of each material being placed (in any material at all).
Expand All @@ -71,10 +71,6 @@ public class ModifyBlockCommand extends AbstractCommand implements Listener, Hol
// - modifyblock cu@<player.location>|<player.cursor_on> li@stone|dirt li@25|25
//
// @Usage
// Use to clear the area around the player and drop their respective items.
// - modifyblock <player.location> air radius:5 naturally delayed
//
// @Usage
// Use to modify the ground beneath the player's feet.
// - modifyblock cu@<player.location.add[2,-1,2]>|<player.location.add[-2,-1,-2]> WOOL,14
// -->
Expand Down
Expand Up @@ -40,13 +40,13 @@ public class ItemScriptContainer extends ScriptContainer {
//
// <code>
// # The name of the item script is the same name that you can use to construct a new
// # ItemTag based on this item script. For example, an item script named 'sword of swiftness'
// # can be referred to as 'sword of swiftness'.
// # ItemTag based on this item script. For example, an item script named 'sword_of_swiftness'
// # can be referred to as simply 'sword_of_swiftness'.
// Item_Script_Name:
//
// type: item
//
// # Must be a valid ItemTag (EG red_wool or potion,8226) See 'ItemTag' for more information.
// # Must be a valid ItemTag. See 'ItemTag' for more information.
// # | All item scripts MUST have this key!
// material: base_material
//
Expand Down

0 comments on commit 351ac1e

Please sign in to comment.