Class Arguments

java.lang.Object
moe.caramel.daydream.brigadier.Arguments

@NullMarked public final class Arguments extends Object
Brigadier Vanilla Arguments
  • Field Details

    • ENTITY

      public static final EntityArgument ENTITY
      Example: "Player", "0123", "@e", "@e[type=foo]", "dd12be42-52a9-4a91-a8a1-11c01849e498"
    • GAME_PROFILES

      public static final SimpleArgument<Collection<com.mojang.authlib.GameProfile>> GAME_PROFILES
      Example: "Player", "0123", "dd12be42-52a9-4a91-a8a1-11c01849e498", "@e"
    • BLOCK_POS

      public static final BlockPosArgument BLOCK_POS
      Example: "0 0 0", "~ ~ ~", "^ ^ ^", "^1 ^ ^-5", "~0.5 ~1 ~-5"
    • COLUMN_POS

      public static final SimpleArgument<Position<CommandSourceStack>> COLUMN_POS
      Example: "0 0", "~ ~", "~1 ~-2", "^ ^", "^-1 ^0"
    • VEC3

      public static final VecArgument VEC3
      Example: "0 0 0", "~ ~ ~", "^ ^ ^", "^1 ^ ^-5", "0.1 -0.5 .9", "~0.5 ~1 ~-5"
    • VEC2

      public static final VecArgument VEC2
      Example: "0 0", "~ ~", "0.1 -0.5", "~1 ~-2"
    • BLOCK_STATE

      public static final BlockStateArgument BLOCK_STATE
      Example: "stone", "minecraft:stone", "stone[foo=bar]", "foo{bar=baz}"
    • BLOCK_PREDICATE

      public static final SimpleArgument<Predicate<Block>> BLOCK_PREDICATE
      Example: "stone", "minecraft:stone", "stone[foo=bar]", "#stone", "#stone[foo=bar]{baz=nbt}"
    • ITEM

      public static final ItemArgument ITEM
      Example: "stick", "minecraft:stick", "stick{foo=bar}"
    • ITEM_PREDICATE

      public static final SimpleArgument<Predicate<ItemStack>> ITEM_PREDICATE
      Example: "stick", "minecraft:stick", "#stick", "#stick{foo=bar}"
    • COLOR

      public static final SimpleArgument<TextColor> COLOR
      Example: "red", "green"
    • COMPONENT

      public static final SimpleArgument<Component> COMPONENT
      Example: "\"hello world\"", "\"\"", "\"{\"text\":\"hello world\"}", "[\"\"]"
    • STYLE

      public static final SimpleArgument<Style> STYLE
      Example: {"bold": true}
      Since:
      Minecraft 1.20.3
    • MESSAGE

      public static final MessageArgument MESSAGE
      Example: "Hello world!", "foo", "@e", "Hello @p :)"
    • COMPOUND_TAG

      public static final SimpleArgument<BinaryTagHolder> COMPOUND_TAG
      Example: "{}", "{foo=bar}"
    • OBJECTIVE

      public static final SimpleArgument<Objective> OBJECTIVE
      Example: "foo", "*", "012"
    • OBJECTIVE_CRITERIA

      public static final SimpleArgument<String> OBJECTIVE_CRITERIA
      Example: "foo", "foo.bar.baz", "minecraft:foo"
    • OPERATION

      public static final SimpleArgument<Operation> OPERATION
      Example: "=", ">", "<"
    • PARTICLE

      public static final SimpleArgument<Particle> PARTICLE
      Example: "foo", "foo:bar", "particle with options"
    • ANGLE

      public static final SimpleArgument<Float> ANGLE
      Example: "0", "~", "~-5"
    • ROTATION

      public static final SimpleArgument<Position<CommandSourceStack>> ROTATION
      Example: "0 0", "~ ~", "~-5 ~5"
    • SCOREBOARD_SLOT

      public static final SimpleArgument<DisplaySlot> SCOREBOARD_SLOT
      Example: "sidebar", "sidebar.team.light_purple"
    • SCORE_HOLDER

      public static final ScoreHolderArgument SCORE_HOLDER
      Example: "Player", "0123", "*", "@e"
    • SWIZZLE

      public static final SimpleArgument<EnumSet<Axis>> SWIZZLE
      Example: "xyz", "x"
    • TEAM

      public static final SimpleArgument<Team> TEAM
      Example: "foo", "123"
    • SLOT

      public static final SimpleArgument<Integer> SLOT
      Example: "container.5", "12", "weapon"
    • SLOTS

      public static final SimpleArgument<it.unimi.dsi.fastutil.ints.IntList> SLOTS
      Example: "container.*", "container.5", "weapon"
      Since:
      Minecraft 1.20.5
    • RESOURCE_LOCATION

      public static final ResourceLocationArgument<NamespacedKey> RESOURCE_LOCATION
      Example: "foo", "foo:bar", "012"
    • ENTITY_ANCHOR

      public static final SimpleArgument<EntityAnchorArgument> ENTITY_ANCHOR
      Example: "eyes", "feet"
    • RANGE_INTEGER

      public static final SimpleArgument<NumberRange<Integer>> RANGE_INTEGER
      Example: "0..5", "0", "-5", "-100..", "..100"
    • RANGE_FLOATS

      public static final SimpleArgument<NumberRange<Double>> RANGE_FLOATS
      Example: "0..5.2", "0", "-5.4", "-100.76..", "..100"
    • DIMENSION

      public static final SimpleArgumentSuggestion<World> DIMENSION
      Example: "minecraft:overworld", "minecraft:the_nether" Please use this API's suggestion.
    • GAMEMODE

      public static final SimpleArgument<GameMode> GAMEMODE
      Example: "survival", "creative", "adventure", "spectator"
    • TIME

      public static final TimeArgument TIME
      Example: "0d", "0s", "0t", "0"
    • TEMPLATE_MIRROR

      public static final SimpleArgument<Mirror> TEMPLATE_MIRROR
      Example: "template_mirror", "left_right", "none"
      Since:
      Minecraft 1.19
    • TEMPLATE_ROTATION

      public static final SimpleArgument<StructureRotation> TEMPLATE_ROTATION
      Example: "180", "clockwise_90", "counterclockwise_90", "none"
      Since:
      Minecraft 1.19
    • HEIGHT_MAP

      public static final SimpleArgument<HeightMap> HEIGHT_MAP
      Example: "world_surface", "ocean_floor", "motion_blocking", "motion_blocking_no_leaves"
      Since:
      Minecraft 1.19.4
    • UUID

      public static final SimpleArgument<UUID> UUID
      Example: "dd12be42-52a9-4a91-a8a1-11c01849e498"