Skip to content

Commit

Permalink
meta fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Dec 30, 2019
1 parent cf7ff75 commit 7ca0e4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Expand Up @@ -66,9 +66,10 @@ public <T extends AbstractCommand> T get(Class<T> clazz) {
// Anything outside of <> is literal... you must put it exactly as-is.
// <#> represents a number without a decimal, and <#.#> represents a number with a decimal
// Lastly, input that ends with "|..." (EG, [<entity>|...] ) can take a list of the input indicated before it (In that example, a list of entities)
// An argument that contains a ":" (like "duration:<value>") is a prefix:value pair. The prefix is usually literal and the value dynamic. The prefix and the colon should be kept directly in the final command.
//
// A few examples:
// [<location>] is required and non-literal... you might fill it with 'l@1,2,3,world' which is a valid location object.
// [<location>] is required and non-literal... you might fill it with a notable location, or a tag that returns one like '<player.location>'.
// (sound:{true}/false) is optional and has a default value of true... you can put sound:false to prevent sound, or leave it blank to allow sound.
// (repeats:<#>) is optional, has no clear default, and is a number. You can put repeats:3 to repeat three times, or leave it blank to not repeat.
// Note: Optional arguments without a default usually have a secret default... EG, the (repeats:<#>) above has a secret default of '0'.
Expand Down
Expand Up @@ -39,7 +39,7 @@ public class AdjustCommand extends AbstractCommand {
//
// @Usage
// Use to set a custom display name on an entity.
// - adjust e@1000 custom_name:ANGRY!
// - adjust <[some_entity]> custom_name:ANGRY!
//
// @Usage
// Use to set the skin of every online player.
Expand Down
Expand Up @@ -36,7 +36,7 @@ public class ForeachCommand extends BracedCommand {
//
// @Usage
// Use to run commands 'for each entry' in a list of objects/elements.
// - foreach li@e@123|n@424|p@bob:
// - foreach li@<[some_entity]>|<[some_npc]>|<[player]>:
// - announce "There's something at <[value].location>!"
//
// @Usage
Expand Down

0 comments on commit 7ca0e4a

Please sign in to comment.