Package moe.caramel.daydream.brigadier
Class Arguments
java.lang.Object
moe.caramel.daydream.brigadier.Arguments
Brigadier Vanilla Arguments
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SimpleArgument
<Float> Example: "0", "~", "~-5"static final BlockPosArgument
Example: "0 0 0", "~ ~ ~", "^ ^ ^", "^1 ^ ^-5", "~0.5 ~1 ~-5"static final SimpleArgument
<Predicate<Block>> Example: "stone", "minecraft:stone", "stone[foo=bar]", "#stone", "#stone[foo=bar]{baz=nbt}"static final BlockStateArgument
Example: "stone", "minecraft:stone", "stone[foo=bar]", "foo{bar=baz}"static final SimpleArgument
<TextColor> Example: "red", "green"static final SimpleArgument
<Position<CommandSourceStack>> Example: "0 0", "~ ~", "~1 ~-2", "^ ^", "^-1 ^0"static final SimpleArgument
<Component> Example: "\"hello world\"", "\"\"", "\"{\"text\":\"hello world\"}", "[\"\"]"static final SimpleArgument
<BinaryTagHolder> Example: "{}", "{foo=bar}"static final SimpleArgumentSuggestion
<World> Example: "minecraft:overworld", "minecraft:the_nether" Please use this API's suggestion.static final EntityArgument
Example: "Player", "0123", "@e", "@e[type=foo]", "dd12be42-52a9-4a91-a8a1-11c01849e498"static final SimpleArgument
<EntityAnchorArgument> Example: "eyes", "feet"static final SimpleArgument
<Collection<com.mojang.authlib.GameProfile>> Example: "Player", "0123", "dd12be42-52a9-4a91-a8a1-11c01849e498", "@e"static final SimpleArgument
<GameMode> Example: "survival", "creative", "adventure", "spectator"static final SimpleArgument
<HeightMap> Example: "world_surface", "ocean_floor", "motion_blocking", "motion_blocking_no_leaves"static final ItemArgument
Example: "stick", "minecraft:stick", "stick{foo=bar}"static final SimpleArgument
<Predicate<ItemStack>> Example: "stick", "minecraft:stick", "#stick", "#stick{foo=bar}"static final MessageArgument
Example: "Hello world!", "foo", "@e", "Hello @p :)"static final SimpleArgument
<Objective> Example: "foo", "*", "012"static final SimpleArgument
<String> Example: "foo", "foo.bar.baz", "minecraft:foo"static final SimpleArgument
<Particle> Example: "foo", "foo:bar", "particle with options"static final SimpleArgument
<NumberRange<Double>> Example: "0..5.2", "0", "-5.4", "-100.76..", "..100"static final SimpleArgument
<NumberRange<Integer>> Example: "0..5", "0", "-5", "-100..", "..100"static final SimpleArgument
<NamespacedKey> Example: "foo", "foo:bar", "012"static final SimpleArgument
<Position<CommandSourceStack>> Example: "0 0", "~ ~", "~-5 ~5"static final ScoreHolderArgument
Example: "Player", "0123", "*", "@e"static final SimpleArgument
<DisplaySlot> Example: "sidebar", "sidebar.team.light_purple"static final SimpleArgument
<Integer> Example: "container.5", "12", "weapon"static final SimpleArgument
<it.unimi.dsi.fastutil.ints.IntList> Example: "container.*", "container.5", "weapon"static final SimpleArgument
<Style> Example: {"bold": true}static final SimpleArgument
<EnumSet<Axis>> Example: "xyz", "x"static final SimpleArgument
<Team> Example: "foo", "123"static final SimpleArgument
<Mirror> Example: "template_mirror", "left_right", "none"static final SimpleArgument
<StructureRotation> Example: "180", "clockwise_90", "counterclockwise_90", "none"static final TimeArgument
Example: "0d", "0s", "0t", "0"static final SimpleArgument
<UUID> Example: "dd12be42-52a9-4a91-a8a1-11c01849e498"static final VecArgument
Example: "0 0", "~ ~", "0.1 -0.5", "~1 ~-2"static final VecArgument
Example: "0 0 0", "~ ~ ~", "^ ^ ^", "^1 ^ ^-5", "0.1 -0.5 .9", "~0.5 ~1 ~-5" -
Method Summary
-
Field Details
-
ENTITY
Example: "Player", "0123", "@e", "@e[type=foo]", "dd12be42-52a9-4a91-a8a1-11c01849e498" -
GAME_PROFILES
Example: "Player", "0123", "dd12be42-52a9-4a91-a8a1-11c01849e498", "@e" -
BLOCK_POS
Example: "0 0 0", "~ ~ ~", "^ ^ ^", "^1 ^ ^-5", "~0.5 ~1 ~-5" -
COLUMN_POS
Example: "0 0", "~ ~", "~1 ~-2", "^ ^", "^-1 ^0" -
VEC3
Example: "0 0 0", "~ ~ ~", "^ ^ ^", "^1 ^ ^-5", "0.1 -0.5 .9", "~0.5 ~1 ~-5" -
VEC2
Example: "0 0", "~ ~", "0.1 -0.5", "~1 ~-2" -
BLOCK_STATE
Example: "stone", "minecraft:stone", "stone[foo=bar]", "foo{bar=baz}" -
BLOCK_PREDICATE
Example: "stone", "minecraft:stone", "stone[foo=bar]", "#stone", "#stone[foo=bar]{baz=nbt}" -
ITEM
Example: "stick", "minecraft:stick", "stick{foo=bar}" -
ITEM_PREDICATE
Example: "stick", "minecraft:stick", "#stick", "#stick{foo=bar}" -
COLOR
Example: "red", "green" -
COMPONENT
Example: "\"hello world\"", "\"\"", "\"{\"text\":\"hello world\"}", "[\"\"]" -
STYLE
Example: {"bold": true}- Since:
- Minecraft 1.20.3
-
MESSAGE
Example: "Hello world!", "foo", "@e", "Hello @p :)" -
COMPOUND_TAG
Example: "{}", "{foo=bar}" -
OBJECTIVE
Example: "foo", "*", "012" -
OBJECTIVE_CRITERIA
Example: "foo", "foo.bar.baz", "minecraft:foo" -
PARTICLE
Example: "foo", "foo:bar", "particle with options" -
ANGLE
Example: "0", "~", "~-5" -
ROTATION
Example: "0 0", "~ ~", "~-5 ~5" -
SCOREBOARD_SLOT
Example: "sidebar", "sidebar.team.light_purple" -
SCORE_HOLDER
Example: "Player", "0123", "*", "@e" -
SWIZZLE
Example: "xyz", "x" -
TEAM
Example: "foo", "123" -
SLOT
Example: "container.5", "12", "weapon" -
SLOTS
Example: "container.*", "container.5", "weapon"- Since:
- Minecraft 1.20.5
-
RESOURCE_LOCATION
Example: "foo", "foo:bar", "012" -
ENTITY_ANCHOR
Example: "eyes", "feet" -
RANGE_INTEGER
Example: "0..5", "0", "-5", "-100..", "..100" -
RANGE_FLOATS
Example: "0..5.2", "0", "-5.4", "-100.76..", "..100" -
DIMENSION
Example: "minecraft:overworld", "minecraft:the_nether" Please use this API's suggestion. -
GAMEMODE
Example: "survival", "creative", "adventure", "spectator" -
TIME
Example: "0d", "0s", "0t", "0" -
TEMPLATE_MIRROR
Example: "template_mirror", "left_right", "none"- Since:
- Minecraft 1.19
-
TEMPLATE_ROTATION
Example: "180", "clockwise_90", "counterclockwise_90", "none"- Since:
- Minecraft 1.19
-
HEIGHT_MAP
Example: "world_surface", "ocean_floor", "motion_blocking", "motion_blocking_no_leaves"- Since:
- Minecraft 1.19.4
-
UUID
Example: "dd12be42-52a9-4a91-a8a1-11c01849e498"
-