Advanced Commands Tutorial - Command News in Minecraft 1.13

Channel:
Subscribers:
107,000
Published on ● Video Link: https://www.youtube.com/watch?v=uO41sptfGt8



Minecraft
Game:
Minecraft (2011)
Duration: 43:01
102,581 views
1,713


Minecraft 1.13 came with an entirely new Commmand system - the biggest change to commands in Minecraft history. This video walks you through all of the changes to how commands work. #minecraftemployee

slicedlime works as a Tech Lead for Minecraft at Mojang, but the YouTube and Twitch channels are personal projects run entirely in his spare time.

Sections:
- Brigadier Parser: 1:06
- General: 1:45
- Functions: 3:40
- Coordinates: 5:59
- Selectors: 7:19
- Blocks: 11:55
- Items: 13:08
- /execute: 13:52
- Context Manipulation: 16:45
- Conditionals: 19:53
- Storing Results: 22:22
- Scoreboard: 25:59
- Teleports: 27:51
- XP: 30:30
- New Commands: 31:42
- Minor Changes: 36:11
- F3: 40:23
- NBT Format: 41:15

Non-command Minecraft 1.13 news: https://www.youtube.com/watch?v=6uWV1zEPml0

General:
- New command parser: Brigadier
- Now only have SuccessCount + Result, Command blocks output Result

Functions:
- Parsed on load, in data packs
- Can be grouped in tags
- /function #(namespace):tag runs all functions in a tag
- gameLoopFunction game rule removed
- #minecraft:tick runs every tick
- #minecraft:load runs on data pack (re-)load

Coordinates:
- Local coordinates specified as ^left ^up ^forwards

Selectors:
- Numeric matching ranges: min..max
- Decimal support
- Renames: c - limit, m - gamemode, lm & l - level, - r & rm -- distance, rx & rxm - x_rotation, ry & rym - y_rotation
- Can quote string arguments
- sort: nearest, furthest, random, arbitrary
- scores={obj=range,obj2=range2,...}
- advancements={foo=true,custom:something={criterion=true}}
- nbt={nbt}
- Can use multiple arguments where it makes sense
- @r is now only players
- @a, @e default sort now arbitrary

Blocks:
- Block specifiers can always include block states, nbt
- minecraft:block_name[state=true,another=2]{NbtField:{Blah:1s}}
- Can match block tag, #(namespace):(tag)

Items:
- Item specifiers can always include nbt
- minecraft:item_name{NbtField:1s}
- Can match item tag, #(namespace):(tag)

Contexts and /execute:
- /execute (specifier chain) run (command)
- Direct upgrade: /execute as (target) at @s positioned (x y z) run (command)

Context manipulation:
- as (target)
- at (target)
- positioned (xyz)
- positioned as (target)
- align (axes)
- rotated (y x)
- rotated as (target)
- facing (xyz)
- facing entity (target) (anchor)
- in (dimension)
- anchored (feet|eyes)

Conditionals:
- if|unless block (xyz) (block)
- if|unless blocks (begin) (end) (destination) (all|masked)
- if|unless entity (target)
- if|unless score (target) (targetObjective) (operator) (source) (sourceObjective)
- if|unless score (target) (objective) matches (range)
- Conditionals used without a run specifier acts as their own commands, return match number

Result management:
- store (result|success) score (name) (objective)
- store (result|success) block (xyz) (path) (type) (scale)
- store (result|success) entity (target) (path) (type) (scale)
- type: byte|double|float|int|long|short
- Paths: [] for array access, . for member access, "" to quote field names
- store (result|success) bossbar (id) (value|max)

Scoreboards:
- New subcommand: /scoreboard players get (target) (objective)
- Objective names are now text components
- /scoreboard objectives modify (objective) rendertype (integer|hearts)
- /tag, /team split out
- prefix, suffix fields are now text components

Teleportation:
- /tp & /teleport now aliases
- /teleport (entity)
- /teleport (xyz)
- /teleport (victim) (entity)
- /teleport (victim) (xyz) [yRot xRot]
- /teleport (victim) (xyz) facing [xyz]
- /teleport (victim) (xyz) facing entity (target) [feet|eyes]
- Teleporting to another dimension now allowed

XP:
- /xp & /experience now aliases
- /experience add (target) (amount) [points|levels] - default points
- /experience set (target) (amount) [points|levels]
- /experience query (target) (points|levels)

New commands:
- /data merge block (xyz) (nbt)
- /data merge entity (target) (nbt)
- /data get block (xyz) [path] [scale]
- /data get entity (target) [path] [scale]
- /data remove block (xyz) (path)
- /data remove entity (target) (path)

- /bossbar create (id) (name) - name is a text component
- /bossbar set (id) (option) (value) - name, color, style, value, max, visible, players
- /bossbar remove (id)
- /bossbar list
- /bossbar get (id) max|players|value|visible

- /datapack enable (name) [first|last|before (another)|after (another)]
- /datapack disable (name)
- /datapack list [available|enabled]


Music: "Little Heart", "Possession", "Lucid", "UltraViolet", "Fiery", "Breathe In", "The Antagonist", "Wrong", "Control", "The Manic" & "The Fire" by Amarante (http://amarante.bandcamp.com) licensed under CC-BY 3.0 (http://creativecommons.org/licenses/by/3.0/)

---

Second channel: https://youtube.com/limeuncut
Twitch: http://www.twitch.tv/slicedlime
Twitter: http://twitter.com/slicedlime
Facebook: https://www.facebook.com/SlicedlimeYT
Patreon: https://www.patreon.com/slicedlime
Discord: https://discord.gg/aFAnsdv







Tags:
Minecraft
Minecraft 1.13
Update Aquatic
Command Block
Command
NBT
Data Tag
Function Tag
Data Pack
Minecraft 1.13 Commands
Minecraft 1.13 Command Changes
Minecraft 1.13 Command Upgrade
Brigadier
Command Parser
Minecraft 1.13 Functions
Minecraft 1.13 Execute
Scoreboard
Scoreboards
Upgrade
slicedlime



Other Statistics

Minecraft Statistics For slicedlime

At present, slicedlime has 16,329,680 views spread across 1,627 videos for Minecraft, with His channel publishing over 18 days worth of content for the game. This makes up 80.75% of Minecraft content that slicedlime has uploaded to YouTube.