[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74FQJWE517P17J32XJV2CKG":3,"skill-same:01M74FQJWE517P17J32XJV2CKG":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M74FQJWE517P17J32XJV2CKG","minecraft-commands-scripting",null,"Write Minecraft vanilla commands, NBT scripts, scoreboards, and complex execute chains for use in command blocks, chat, or .mcfunction files. Covers full execute subcommand reference (as\u002Fat\u002Fin\u002Fpositioned\u002Frotated\u002Ffacing\u002Fanchored\u002Fif\u002Funless\u002Fstore\u002Frun), selector arguments with all filter options, scoreboard objectives and operations, NBT path syntax for entities\u002Fblocks\u002Fstorage, schedule and forceload commands, tellraw\u002Ftitle JSON text components, bossbar, team management, item modification commands, attribute commands, particle\u002Fplaysound effects, and RCON scripting. Targets Minecraft 1.21.x Java Edition. Use for command-only work; for full function\u002Fadvancement\u002Frecipe systems use the minecraft-datapack skill instead.","AIKUSAN\u002Fminecraft-agent-skills-bundle","AIKUSAN","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F54048610?v=4","01M74FG91YZ75JDYZ7PNHER2NJ","Lorenz Tazan","01M74FG931PS45HBP26RKEZQDT",12,"MIT","https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fminecraft-commands-scripting\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: minecraft-commands-scripting\ndescription: \"Write Minecraft vanilla commands, NBT scripts, scoreboards, and complex execute chains for use in command blocks, chat, or .mcfunction files. Covers full execute subcommand reference (as\u002Fat\u002Fin\u002Fpositioned\u002Frotated\u002Ffacing\u002Fanchored\u002Fif\u002Funless\u002Fstore\u002Frun), selector arguments with all filter options, scoreboard objectives and operations, NBT path syntax for entities\u002Fblocks\u002Fstorage, schedule and forceload commands, tellraw\u002Ftitle JSON text components, bossbar, team management, item modification commands, attribute commands, particle\u002Fplaysound effects, and RCON scripting. Targets Minecraft 1.21.x Java Edition. Use for command-only work; for full function\u002Fadvancement\u002Frecipe systems use the minecraft-datapack skill instead.\"\n---\n\n# Minecraft Commands & Scripting Skill\n\n## Command Syntax Conventions\n\n- `\u003Crequired>` — required argument\n- `[optional]` — optional argument\n- `(a|b|c)` — choose one\n- `...` — repeating \u002F multiple\n- Coordinates: `~` = relative offset, `^` = local (look-direction)\n\n### Routing Boundaries\n- `Use when`: the task is raw command chains, scoreboards, selector logic, or RCON command scripting.\n- `Do not use when`: creating or editing full datapack structures and registries (`minecraft-datapack`).\n- `Do not use when`: behavior depends on Java plugin or mod code (`minecraft-plugin-dev`\u002F`minecraft-modding`).\n\n## Bundled References And Examples\n\n- Execute cheat sheet: `references\u002Fexecute-cheat-sheet.md`\n- Selector cheat sheet: `references\u002Fselector-cheat-sheet.md`\n- Example scripts: `scripts\u002Fexamples\u002Farena-countdown.mcfunction`, `scripts\u002Fexamples\u002Fstopwatch-podium.mcfunction`, `scripts\u002Fexamples\u002Frcon-backup-warning.sh`\n\nUse the cheat sheets when you need fast command recall without scanning this whole\nskill file. The example scripts are meant to be copyable starting points, not toy snippets.\n\n---\n\n## Target Selectors\n\n### Base selectors\n| Selector | Targets |\n|----------|---------|\n| `@a` | All online players |\n| `@e` | All loaded entities |\n| `@p` | Nearest player to executor |\n| `@r` | Random online player |\n| `@s` | Executing entity |\n| `@n` | Nearest entity of any type (1.21+) |\n\n### Selector arguments (full reference)\n```\n@e[\n  type=minecraft:zombie,         # entity type (prefix ! to negate)\n  type=!minecraft:player,\n\n  name=Herobrine,                # custom name (exact)\n  name=!Bob,                     # not named Bob\n\n  distance=..10,                 # max 10 blocks away\n  distance=5..10,                # 5-10 blocks away\n\n  x=0,y=64,z=0,                  # origin for AABB\n  dx=15,dy=5,dz=15,              # AABB dimensions (x\u002Fdx\u002Fdy\u002Fdz required together)\n\n  scores={kills=1..,deaths=..5}, # score conditions (..N = max, N.. = min)\n\n  tag=vip,                       # has scoreboard tag\n  tag=!banned,                   # does NOT have tag\n\n  team=red,                      # on team \"red\"\n  team=!blue,                    # not on team \"blue\"\n  team=,                         # no team\n\n  gamemode=survival,             # (survival|creative|adventure|spectator)\n  gamemode=!spectator,\n\n  level=30..,                    # XP level range\n  x_rotation=-90..-45,          # pitch range (looking up = -90)\n  y_rotation=-45..45,            # yaw range (facing south = 0)\n\n  nbt={Inventory:[{id:\"minecraft:diamond\"}]},  # NBT match\n\n  predicate=mypack:my_predicate, # predicate match\n\n  sort=(nearest|furthest|random|arbitrary),\n  limit=1,\n]\n```\n\n---\n\n## The `execute` Command\n\nFull subcommand chain syntax — subcommands must come before `run`:\n\n```\nexecute\n  [as \u003Centity>]\n  [at \u003Centity>]\n  [in \u003Cdimension>]\n  [positioned (\u003Cxyz> | as \u003Centity> | over \u003Cheightmap>)]\n  [rotated (\u003Cyaw> \u003Cpitch> | as \u003Centity>)]\n  [facing (\u003Cxyz> | entity \u003Centity> (eyes|feet))]\n  [anchored (eyes|feet)]\n  [if|unless (block|blocks|biome|data|dimension|entity|loaded|predicate|score|items)]\n  [store (result|success) (score|storage|entity|block|bossbar) ...]\n  run \u003Ccommand>\n```\n\n### Context modifiers\n```mcfunction\n# Change executor\nexecute as @a run say I am @s\n\n# Change position and rotation to entity\nexecute at @e[type=minecraft:zombie] run particle minecraft:flame ~ ~ ~ 0.5 0.5 0.5 0.1 5\n\n# Change both executor and position\nexecute as @a at @s run particle minecraft:heart ~ ~1 ~ 0.3 0.3 0.3 0.01 3\n\n# Change dimension\nexecute in minecraft:the_end run say Running in The End\n\n# Absolute position\nexecute positioned 0.0 100.0 0.0 run setblock ~ ~ ~ minecraft:beacon\n\n# Relative to entity\nexecute as @a at @s positioned ~ ~2 ~ run setblock ~ ~ ~ minecraft:glass\n\n# Local coords (^ = forward\u002Fup\u002Fright relative to rotation)\nexecute as @a at @s anchored eyes run particle minecraft:end_rod ^ ^ ^1 0 0 0 0 1\n```\n\n### Conditional execution\n```mcfunction\n# if block\nexecute if block 0 64 0 minecraft:diamond_block run say Found diamond block\n\n# if blocks — compare two regions\nexecute if blocks 0 0 0 9 9 9 100 0 100 all run say Regions match\n\n# if entity (existence check)\nexecute if entity @a[tag=boss] run say Boss is online\nexecute unless entity @a[gamemode=creative] run say No creative players\n\n# if score\nexecute if score @s kills matches 10.. run say Ten or more kills\nexecute if score PlayerA points > PlayerB points run say A beats B\nexecute if score @s points = @s max_points run say Max score!\n\n# if data (NBT path existence\u002Fvalue)\nexecute if data entity @s SelectedItem.tag.custom run say Has custom tag\nexecute if data storage mypack:config active run say Config is active\nexecute if data block 0 64 0 Items run say Chest has items\n\n# if predicate\nexecute if predicate mypack:is_raining run say It is raining\n\n# if loaded (chunk loaded check)\nexecute if loaded 0 64 0 run say Chunk is loaded\n\n# if biome\nexecute if biome ~ ~ ~ minecraft:jungle run say You're in a jungle\n\n# if dimension\nexecute if dimension minecraft:overworld run say In overworld\n\n# if items (1.21+)\nexecute if items entity @s weapon.mainhand minecraft:diamond_sword run say Holding diamond sword\nexecute if items block 0 64 0 container.0 minecraft:diamond run say Diamond in container slot 0\n```\n\n### Storing results\n```mcfunction\n# Store arithmetic result into score\nexecute store result score @s my_score run data get entity @s Health\n\n# Store success (1 if command succeeded, 0 if not)\nexecute store success score @s result_flag run kill @e[type=minecraft:bat,limit=1]\n\n# Store into block entity NBT (example: command block SuccessCount)\nexecute store result block 0 64 0 SuccessCount int 1 run data get entity @a 1\n\n# Store into storage\nexecute store result storage mypack:data player_count int 1 run execute if entity @a\n\n# Store into entity NBT\nexecute store result entity @s Air short 1 run data get entity @s Air\n\n# Store into bossbar\nexecute store result bossbar minecraft:health value run data get entity @s Health\n```\n\n---\n\n## Scoreboards\n\n```mcfunction\n# Create objectives\nscoreboard objectives add kills playerKillCount              # player kill counter (kills BY players)\nscoreboard objectives add zombie_kills minecraft.killed:minecraft.zombie  # kills of a specific mob type\nscoreboard objectives add deaths deathCount\nscoreboard objectives add xp experienceLevel\nscoreboard objectives add jumps minecraft.custom:minecraft.jump          # 1.13+ stat format\nscoreboard objectives add playtime minecraft.custom:minecraft.play_one_minute  # 1.13+ stat format\nscoreboard objectives add points dummy                       # manual control only\nscoreboard objectives add health health\n\n# Display\nscoreboard objectives setdisplay sidebar points\nscoreboard objectives setdisplay list kills\nscoreboard objectives setdisplay belowname health\nscoreboard objectives setdisplay sidebar.team.red points   # team-specific sidebar\n\n# Remove \u002F rename objective\nscoreboard objectives remove points\nscoreboard objectives modify points displayname {\"text\":\"Score\",\"color\":\"gold\"}\nscoreboard objectives modify points rendertype (integer|hearts)\n\n# Player scores\nscoreboard players set @s points 0\nscoreboard players add @s points 10\nscoreboard players remove @s points 5\nscoreboard players reset @s points\nscoreboard players reset @s *           # reset all objectives\nscoreboard players enable @s ability    # for trigger objectives\n\n# Operations (both sides must have the score set)\nscoreboard players operation @s points += @s bonus       # add\nscoreboard players operation @s points -= @s penalty     # subtract\nscoreboard players operation @s points *= @s multiplier  # multiply\nscoreboard players operation @s points \u002F= @s divisor     # integer divide\nscoreboard players operation @s points %= @s modulus     # modulo\nscoreboard players operation @s points >\u003C @s temp        # swap\nscoreboard players operation @s max = @s temp            # set to max of both\nscoreboard players operation @s min = @s temp            # set to min of both\n\n# Special fake player names (start with # for hidden players)\nscoreboard players set #max points 100\nscoreboard players set #config.difficulty points 2\n```\n\n---\n\n## NBT Path Syntax\n\n```mcfunction\n# Entity root\ndata get entity @s\n\n# Compound key access\ndata get entity @s Health\ndata get entity @s Inventory\ndata get entity @s Pos[0]           # 1st element of Pos list\ndata get entity @s Inventory[0]     # 1st inventory slot\ndata get entity @s Inventory[{id:\"minecraft:diamond\"}]  # match compound\n\n# Nested path\ndata get entity @s Brain.memories.\"minecraft:home\".value.pos\ndata get entity @s ActiveEffects[0].Id\n\n# Block entity\ndata get block 0 64 0\ndata get block 0 64 0 Items\ndata get block 0 64 0 Items[{Slot:0b}].Count\n\n# Storage\ndata get storage mypack:data config.difficulty\ndata get storage mypack:data player_list\n\n# Modify operations\ndata modify entity @s Health set value 20.0f\ndata modify entity @s CustomName set value '{\"text\":\"Boss\"}'\ndata modify storage mypack:tmp result set from entity @s Health\ndata modify storage mypack:out names append from entity @e[type=!player] CustomName\n\n# Remove NBT\ndata remove entity @s ActiveEffects\ndata remove storage mypack:data temp\n```\n\n---\n\n## Item and Inventory Commands\n\n```mcfunction\n# Give items\ngive @s minecraft:diamond 5\ngive @s minecraft:diamond_sword[minecraft:enchantments={levels:{\"minecraft:sharpness\":5}}]\n\n# Clear items\nclear @s minecraft:dirt\nclear @a                            # clear entire inventory\nclear @s minecraft:diamond 3        # remove exactly 3 diamonds\n\n# Item (1.17+) — modify items in slots\nitem replace entity @s weapon.mainhand with minecraft:golden_sword[minecraft:custom_name='{\"text\":\"Divine Blade\"}']\nitem replace block 0 64 0 container.0 with minecraft:diamond 1\nitem replace entity @s hotbar.0 from entity @s hotbar.1   # copy slot\nitem modify entity @s weapon.mainhand mypack:add_lore      # apply item modifier\n\n# Slot identifiers for players:\n# weapon.mainhand, weapon.offhand\n# head, chest, legs, feet\n# hotbar.0 .. hotbar.8\n# inventory.0 .. inventory.26\n# container.0 .. container.N  (for block entities)\n```\n\n---\n\n## Bossbar\n\n```mcfunction\nbossbar add mypack:boss_hp {\"text\":\"Dragon HP\",\"color\":\"dark_purple\"}\nbossbar set mypack:boss_hp max 200\nbossbar set mypack:boss_hp value 150\nbossbar set mypack:boss_hp color (pink|blue|red|green|yellow|purple|white)\nbossbar set mypack:boss_hp style (progress|notched_6|notched_10|notched_12|notched_20)\nbossbar set mypack:boss_hp players @a\nbossbar set mypack:boss_hp visible true\nbossbar get mypack:boss_hp value\nbossbar remove mypack:boss_hp\n```\n\n---\n\n## Teams\n\n```mcfunction\nteam add redteam {\"text\":\"Red Team\",\"color\":\"red\"}\nteam join redteam Steve\nteam leave @a\nteam modify redteam friendlyFire false\nteam modify redteam color (aqua|black|blue|dark_aqua|dark_blue|dark_gray|dark_green|dark_purple|dark_red|gold|gray|green|light_purple|red|white|yellow)\nteam modify redteam prefix {\"text\":\"[RED] \",\"color\":\"red\"}\nteam modify redteam nametagVisibility (always|hideForOtherTeams|hideForOwnTeam|never)\nteam modify redteam collisionRule (always|never|pushOtherTeams|pushOwnTeam)\nteam list\nteam remove redteam\n```\n\n---\n\n## Text Components (tellraw \u002F title \u002F books)\n\n### `tellraw` JSON text\n```mcfunction\n# Plain text\ntellraw @a {\"text\":\"Hello World\",\"color\":\"green\"}\n\n# Multiple components (array)\ntellraw @a [{\"text\":\"Hello \",\"color\":\"white\"},{\"selector\":\"@s\",\"color\":\"gold\"},{\"text\":\"!\",\"color\":\"white\"}]\n\n# Translatable text\ntellraw @a {\"translate\":\"death.attack.mob\",\"with\":[{\"selector\":\"@p\"},{\"entity\":\"@p\",\"selector\":\"type\"}]}\n\n# Clickable \u002F hoverable\ntellraw @a {\"text\":\"Click here\",\"color\":\"aqua\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"\u002Fsay hi\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Run \u002Fsay hi\"}}\n\n# Keybind display\ntellraw @a {\"text\":\"Press \",\"extra\":[{\"keybind\":\"key.jump\",\"color\":\"yellow\"},{\"text\":\" to jump.\"}]}\n\n# NBT display\ntellraw @a {\"nbt\":\"Health\",\"entity\":\"@s\",\"interpret\":false}\n\n# Score display\ntellraw @a {\"score\":{\"name\":\"@s\",\"objective\":\"points\"}}\n```\n\n### Formatting codes (text component)\n| Field | Values |\n|-------|--------|\n| `color` | `black`, `dark_blue`, `dark_green`, `dark_aqua`, `dark_red`, `dark_purple`, `gold`, `gray`, `dark_gray`, `blue`, `green`, `aqua`, `red`, `light_purple`, `yellow`, `white`, `#RRGGBB` |\n| `bold` | `true`\u002F`false` |\n| `italic` | `true`\u002F`false` |\n| `underlined` | `true`\u002F`false` |\n| `strikethrough` | `true`\u002F`false` |\n| `obfuscated` | `true`\u002F`false` |\n| `font` | resource location (e.g., `minecraft:default`) |\n\n### Title commands\n```mcfunction\ntitle @a title {\"text\":\"ROUND START\",\"color\":\"gold\",\"bold\":true}\ntitle @a subtitle {\"text\":\"Fight!\",\"color\":\"red\"}\ntitle @a actionbar {\"text\":\"Time: 60s\",\"color\":\"yellow\"}\ntitle @a times 10 70 20    # fade-in, stay, fade-out ticks\ntitle @a clear\ntitle @a reset\n```\n\n---\n\n## Schedule\n\n```mcfunction\n# Schedule a function to run once after N ticks\nschedule function mypack:delayed_grant 100t\n\n# Schedule repeating (append = don't cancel existing)\nschedule function mypack:repeating 20t replace    # replace existing schedule\nschedule function mypack:repeating 20t append     # add alongside existing\n\n# Clear scheduled function\nschedule clear mypack:delayed_grant\n```\n\n---\n\n## Attribute Commands\n\n```mcfunction\n# Get base\u002Fcurrent value\nattribute @s minecraft:generic.max_health get\nattribute @s minecraft:generic.movement_speed get\n\n# Set base value\nattribute @s minecraft:generic.max_health base set 30.0\nattribute @s minecraft:generic.attack_damage base set 10.0\n\n# Add modifier\nattribute @s minecraft:generic.movement_speed modifier add 12345678-1234-1234-1234-123456789abc \"speed_boost\" 0.1 add_multiplied_total\n\n# Remove modifier\nattribute @s minecraft:generic.movement_speed modifier remove 12345678-1234-1234-1234-123456789abc\n\n# Get modifier value\nattribute @s minecraft:generic.movement_speed modifier value get 12345678-1234-1234-1234-123456789abc\n\n# Modifier operations: add_value, add_multiplied_base, add_multiplied_total\n```\n\n---\n\n## Effects, Particles, Sounds\n\n```mcfunction\n# Effects\neffect give @s minecraft:speed 60 2 true     # 60 seconds, level III, hide particles\neffect give @a minecraft:resistance 9999 4\neffect clear @s minecraft:speed\neffect clear @s                              # clear all effects\n\n# Particles\nparticle minecraft:flame 0.0 65.0 0.0 0.5 0.5 0.5 0.01 20\nparticle minecraft:block minecraft:stone 0.0 65.0 0.0 0 0 0 0 1\n\n# Sounds\nplaysound minecraft:entity.player.levelup master @s ~ ~ ~ 1.0 1.0\nplaysound minecraft:block.note_block.bell record @a ~ ~ ~ 1.0 0.5\n# playsound \u003Csound> \u003Csource> \u003Ctargets> [x] [y] [z] [volume] [pitch] [minVolume]\n# source: (master|music|record|weather|block|hostile|neutral|player|ambient|voice)\n\nstopsound @a * minecraft:music.game\nstopsound @s\n```\n\n---\n\n## World and Environment Commands\n\n```mcfunction\n# Time\ntime set day\ntime set noon      # 6000\ntime set night     # 13000\ntime set 0\ntime add 1000\ntime query daytime\n\n# Weather\nweather clear 6000\nweather rain 12000\nweather thunder 6000\n\n# Gamerules (1.21.x)\ngamerule doDaylightCycle false\ngamerule doMobSpawning false\ngamerule keepInventory true\ngamerule spawnRadius 0\ngamerule playersSleepingPercentage 0   # one player can skip night\ngamerule universalAnger true\n\n# Difficulty\ndifficulty peaceful\ndifficulty easy\ndifficulty normal\ndifficulty hard\n\n# Setworldspawn\nsetworldspawn 0 64 0 0.0   # x y z angle\n\n# Spawnpoint per player\nspawnpoint @s ~ ~ ~ 0.0\n\n# forceload\nforceload add 0 0 31 31     # keep chunks 0,0 to 31,31 loaded\nforceload remove 0 0 31 31\nforceload query 0 0\n```\n\n---\n\n## RCON Scripting\n\nConnect to a Minecraft server remotely using RCON (enable in `server.properties`):\n\n```properties\n# server.properties\nenable-rcon=true\nrcon.password=your_password\nrcon.port=25575\n```\n\n### Bash RCON script (using `mcrcon`)\n```bash\n#!\u002Fbin\u002Fbash\nRCON=\"mcrcon -H localhost -P 25575 -p your_password\"\n\n# Send command\n$RCON \"say Server backup starting in 5 minutes\"\nsleep 300\n$RCON \"save-off\"\n$RCON \"save-all\"\n\n# Backup world\nrsync -av \u002Fpath\u002Fto\u002Fserver\u002Fworld\u002F \u002Fbackups\u002Fworld_$(date +%Y%m%d_%H%M%S)\u002F\n\n$RCON \"save-on\"\n$RCON \"say Backup complete!\"\n```\n\n### Python RCON\n```python\nfrom mcrcon import MCRcon\n\nwith MCRcon(\"localhost\", \"your_password\", port=25575) as mcr:\n    response = mcr.command(\"list\")\n    print(response)\n    # \"There are 3 of a max of 20 players online: Steve, Alex, Notch\"\n    \n    players = response.split(\": \")[1].split(\", \") if \": \" in response else []\n    print(f\"Online players: {players}\")\n```\n\n---\n\n## Common Scripting Patterns\n\n### Player join setup (in `load.mcfunction` + tag listeners)\n```mcfunction\n# Give new players a starter kit tag\nscoreboard objectives add initialized dummy\nexecute as @a unless score @s initialized matches 1 run function mypack:on_first_join\n\n# on_first_join.mcfunction\nscoreboard players set @s initialized 1\ngive @s minecraft:stone_sword\ngive @s minecraft:bread 16\ntellraw @s {\"text\":\"Welcome! Here's a starter kit.\",\"color\":\"green\"}\n```\n\n### Death counter + respawn\n```mcfunction\n# tick.mcfunction — check deaths\nexecute as @a[scores={deaths=1..}] run function mypack:on_death\nfunction mypack:on_death\nscoreboard players reset @s deaths\nscoreboard players add @s total_deaths 1\n```\n\n### Proximity detection\n```mcfunction\n# Check if any player is within 5 blocks of a location\nexecute if entity @a[x=10,y=64,z=10,distance=..5] run function mypack:player_nearby\n```\n\n### Math tricks (no fractions in scoreboards)\n```mcfunction\n# Multiply @s.value by 1.5 using integer math (×3 then \u002F2)\nscoreboard players operation @s result = @s value\nscoreboard players operation @s result *= #three constants\nscoreboard players operation @s result \u002F= #two constants\n# Set #two and #three on load:\n# scoreboard players set #two constants 2\n# scoreboard players set #three constants 3\n```\n\n---\n\n## References\n\n- Minecraft Wiki — Commands: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FCommands\n- Minecraft Wiki — Target selectors: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FTarget_selectors\n- Minecraft Wiki — NBT format: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FNBT_format\n- Minecraft Wiki — Raw JSON text: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FRaw_JSON_text_format\n- Minecraft Wiki — Scoreboard: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FScoreboard\n- Execute command wiki: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FCommands\u002Fexecute\n","# Minecraft Commands & Scripting Skill\n\n## Command Syntax Conventions\n\n- `\u003Crequired>` — required argument\n- `[optional]` — optional argument\n- `(a|b|c)` — choose one\n- `...` — repeating \u002F multiple\n- Coordinates: `~` = relative offset, `^` = local (look-direction)\n\n### Routing Boundaries\n- `Use when`: the task is raw command chains, scoreboards, selector logic, or RCON command scripting.\n- `Do not use when`: creating or editing full datapack structures and registries (`minecraft-datapack`).\n- `Do not use when`: behavior depends on Java plugin or mod code (`minecraft-plugin-dev`\u002F`minecraft-modding`).\n\n## Bundled References And Examples\n\n- Execute cheat sheet: `references\u002Fexecute-cheat-sheet.md`\n- Selector cheat sheet: `references\u002Fselector-cheat-sheet.md`\n- Example scripts: `scripts\u002Fexamples\u002Farena-countdown.mcfunction`, `scripts\u002Fexamples\u002Fstopwatch-podium.mcfunction`, `scripts\u002Fexamples\u002Frcon-backup-warning.sh`\n\nUse the cheat sheets when you need fast command recall without scanning this whole\nskill file. The example scripts are meant to be copyable starting points, not toy snippets.\n\n---\n\n## Target Selectors\n\n### Base selectors\n| Selector | Targets |\n|----------|---------|\n| `@a` | All online players |\n| `@e` | All loaded entities |\n| `@p` | Nearest player to executor |\n| `@r` | Random online player |\n| `@s` | Executing entity |\n| `@n` | Nearest entity of any type (1.21+) |\n\n### Selector arguments (full reference)\n```\n@e[\n  type=minecraft:zombie,         # entity type (prefix ! to negate)\n  type=!minecraft:player,\n\n  name=Herobrine,                # custom name (exact)\n  name=!Bob,                     # not named Bob\n\n  distance=..10,                 # max 10 blocks away\n  distance=5..10,                # 5-10 blocks away\n\n  x=0,y=64,z=0,                  # origin for AABB\n  dx=15,dy=5,dz=15,              # AABB dimensions (x\u002Fdx\u002Fdy\u002Fdz required together)\n\n  scores={kills=1..,deaths=..5}, # score conditions (..N = max, N.. = min)\n\n  tag=vip,                       # has scoreboard tag\n  tag=!banned,                   # does NOT have tag\n\n  team=red,                      # on team \"red\"\n  team=!blue,                    # not on team \"blue\"\n  team=,                         # no team\n\n  gamemode=survival,             # (survival|creative|adventure|spectator)\n  gamemode=!spectator,\n\n  level=30..,                    # XP level range\n  x_rotation=-90..-45,          # pitch range (looking up = -90)\n  y_rotation=-45..45,            # yaw range (facing south = 0)\n\n  nbt={Inventory:[{id:\"minecraft:diamond\"}]},  # NBT match\n\n  predicate=mypack:my_predicate, # predicate match\n\n  sort=(nearest|furthest|random|arbitrary),\n  limit=1,\n]\n```\n\n---\n\n## The `execute` Command\n\nFull subcommand chain syntax — subcommands must come before `run`:\n\n```\nexecute\n  [as \u003Centity>]\n  [at \u003Centity>]\n  [in \u003Cdimension>]\n  [positioned (\u003Cxyz> | as \u003Centity> | over \u003Cheightmap>)]\n  [rotated (\u003Cyaw> \u003Cpitch> | as \u003Centity>)]\n  [facing (\u003Cxyz> | entity \u003Centity> (eyes|feet))]\n  [anchored (eyes|feet)]\n  [if|unless (block|blocks|biome|data|dimension|entity|loaded|predicate|score|items)]\n  [store (result|success) (score|storage|entity|block|bossbar) ...]\n  run \u003Ccommand>\n```\n\n### Context modifiers\n```mcfunction\n# Change executor\nexecute as @a run say I am @s\n\n# Change position and rotation to entity\nexecute at @e[type=minecraft:zombie] run particle minecraft:flame ~ ~ ~ 0.5 0.5 0.5 0.1 5\n\n# Change both executor and position\nexecute as @a at @s run particle minecraft:heart ~ ~1 ~ 0.3 0.3 0.3 0.01 3\n\n# Change dimension\nexecute in minecraft:the_end run say Running in The End\n\n# Absolute position\nexecute positioned 0.0 100.0 0.0 run setblock ~ ~ ~ minecraft:beacon\n\n# Relative to entity\nexecute as @a at @s positioned ~ ~2 ~ run setblock ~ ~ ~ minecraft:glass\n\n# Local coords (^ = forward\u002Fup\u002Fright relative to rotation)\nexecute as @a at @s anchored eyes run particle minecraft:end_rod ^ ^ ^1 0 0 0 0 1\n```\n\n### Conditional execution\n```mcfunction\n# if block\nexecute if block 0 64 0 minecraft:diamond_block run say Found diamond block\n\n# if blocks — compare two regions\nexecute if blocks 0 0 0 9 9 9 100 0 100 all run say Regions match\n\n# if entity (existence check)\nexecute if entity @a[tag=boss] run say Boss is online\nexecute unless entity @a[gamemode=creative] run say No creative players\n\n# if score\nexecute if score @s kills matches 10.. run say Ten or more kills\nexecute if score PlayerA points > PlayerB points run say A beats B\nexecute if score @s points = @s max_points run say Max score!\n\n# if data (NBT path existence\u002Fvalue)\nexecute if data entity @s SelectedItem.tag.custom run say Has custom tag\nexecute if data storage mypack:config active run say Config is active\nexecute if data block 0 64 0 Items run say Chest has items\n\n# if predicate\nexecute if predicate mypack:is_raining run say It is raining\n\n# if loaded (chunk loaded check)\nexecute if loaded 0 64 0 run say Chunk is loaded\n\n# if biome\nexecute if biome ~ ~ ~ minecraft:jungle run say You're in a jungle\n\n# if dimension\nexecute if dimension minecraft:overworld run say In overworld\n\n# if items (1.21+)\nexecute if items entity @s weapon.mainhand minecraft:diamond_sword run say Holding diamond sword\nexecute if items block 0 64 0 container.0 minecraft:diamond run say Diamond in container slot 0\n```\n\n### Storing results\n```mcfunction\n# Store arithmetic result into score\nexecute store result score @s my_score run data get entity @s Health\n\n# Store success (1 if command succeeded, 0 if not)\nexecute store success score @s result_flag run kill @e[type=minecraft:bat,limit=1]\n\n# Store into block entity NBT (example: command block SuccessCount)\nexecute store result block 0 64 0 SuccessCount int 1 run data get entity @a 1\n\n# Store into storage\nexecute store result storage mypack:data player_count int 1 run execute if entity @a\n\n# Store into entity NBT\nexecute store result entity @s Air short 1 run data get entity @s Air\n\n# Store into bossbar\nexecute store result bossbar minecraft:health value run data get entity @s Health\n```\n\n---\n\n## Scoreboards\n\n```mcfunction\n# Create objectives\nscoreboard objectives add kills playerKillCount              # player kill counter (kills BY players)\nscoreboard objectives add zombie_kills minecraft.killed:minecraft.zombie  # kills of a specific mob type\nscoreboard objectives add deaths deathCount\nscoreboard objectives add xp experienceLevel\nscoreboard objectives add jumps minecraft.custom:minecraft.jump          # 1.13+ stat format\nscoreboard objectives add playtime minecraft.custom:minecraft.play_one_minute  # 1.13+ stat format\nscoreboard objectives add points dummy                       # manual control only\nscoreboard objectives add health health\n\n# Display\nscoreboard objectives setdisplay sidebar points\nscoreboard objectives setdisplay list kills\nscoreboard objectives setdisplay belowname health\nscoreboard objectives setdisplay sidebar.team.red points   # team-specific sidebar\n\n# Remove \u002F rename objective\nscoreboard objectives remove points\nscoreboard objectives modify points displayname {\"text\":\"Score\",\"color\":\"gold\"}\nscoreboard objectives modify points rendertype (integer|hearts)\n\n# Player scores\nscoreboard players set @s points 0\nscoreboard players add @s points 10\nscoreboard players remove @s points 5\nscoreboard players reset @s points\nscoreboard players reset @s *           # reset all objectives\nscoreboard players enable @s ability    # for trigger objectives\n\n# Operations (both sides must have the score set)\nscoreboard players operation @s points += @s bonus       # add\nscoreboard players operation @s points -= @s penalty     # subtract\nscoreboard players operation @s points *= @s multiplier  # multiply\nscoreboard players operation @s points \u002F= @s divisor     # integer divide\nscoreboard players operation @s points %= @s modulus     # modulo\nscoreboard players operation @s points >\u003C @s temp        # swap\nscoreboard players operation @s max = @s temp            # set to max of both\nscoreboard players operation @s min = @s temp            # set to min of both\n\n# Special fake player names (start with # for hidden players)\nscoreboard players set #max points 100\nscoreboard players set #config.difficulty points 2\n```\n\n---\n\n## NBT Path Syntax\n\n```mcfunction\n# Entity root\ndata get entity @s\n\n# Compound key access\ndata get entity @s Health\ndata get entity @s Inventory\ndata get entity @s Pos[0]           # 1st element of Pos list\ndata get entity @s Inventory[0]     # 1st inventory slot\ndata get entity @s Inventory[{id:\"minecraft:diamond\"}]  # match compound\n\n# Nested path\ndata get entity @s Brain.memories.\"minecraft:home\".value.pos\ndata get entity @s ActiveEffects[0].Id\n\n# Block entity\ndata get block 0 64 0\ndata get block 0 64 0 Items\ndata get block 0 64 0 Items[{Slot:0b}].Count\n\n# Storage\ndata get storage mypack:data config.difficulty\ndata get storage mypack:data player_list\n\n# Modify operations\ndata modify entity @s Health set value 20.0f\ndata modify entity @s CustomName set value '{\"text\":\"Boss\"}'\ndata modify storage mypack:tmp result set from entity @s Health\ndata modify storage mypack:out names append from entity @e[type=!player] CustomName\n\n# Remove NBT\ndata remove entity @s ActiveEffects\ndata remove storage mypack:data temp\n```\n\n---\n\n## Item and Inventory Commands\n\n```mcfunction\n# Give items\ngive @s minecraft:diamond 5\ngive @s minecraft:diamond_sword[minecraft:enchantments={levels:{\"minecraft:sharpness\":5}}]\n\n# Clear items\nclear @s minecraft:dirt\nclear @a                            # clear entire inventory\nclear @s minecraft:diamond 3        # remove exactly 3 diamonds\n\n# Item (1.17+) — modify items in slots\nitem replace entity @s weapon.mainhand with minecraft:golden_sword[minecraft:custom_name='{\"text\":\"Divine Blade\"}']\nitem replace block 0 64 0 container.0 with minecraft:diamond 1\nitem replace entity @s hotbar.0 from entity @s hotbar.1   # copy slot\nitem modify entity @s weapon.mainhand mypack:add_lore      # apply item modifier\n\n# Slot identifiers for players:\n# weapon.mainhand, weapon.offhand\n# head, chest, legs, feet\n# hotbar.0 .. hotbar.8\n# inventory.0 .. inventory.26\n# container.0 .. container.N  (for block entities)\n```\n\n---\n\n## Bossbar\n\n```mcfunction\nbossbar add mypack:boss_hp {\"text\":\"Dragon HP\",\"color\":\"dark_purple\"}\nbossbar set mypack:boss_hp max 200\nbossbar set mypack:boss_hp value 150\nbossbar set mypack:boss_hp color (pink|blue|red|green|yellow|purple|white)\nbossbar set mypack:boss_hp style (progress|notched_6|notched_10|notched_12|notched_20)\nbossbar set mypack:boss_hp players @a\nbossbar set mypack:boss_hp visible true\nbossbar get mypack:boss_hp value\nbossbar remove mypack:boss_hp\n```\n\n---\n\n## Teams\n\n```mcfunction\nteam add redteam {\"text\":\"Red Team\",\"color\":\"red\"}\nteam join redteam Steve\nteam leave @a\nteam modify redteam friendlyFire false\nteam modify redteam color (aqua|black|blue|dark_aqua|dark_blue|dark_gray|dark_green|dark_purple|dark_red|gold|gray|green|light_purple|red|white|yellow)\nteam modify redteam prefix {\"text\":\"[RED] \",\"color\":\"red\"}\nteam modify redteam nametagVisibility (always|hideForOtherTeams|hideForOwnTeam|never)\nteam modify redteam collisionRule (always|never|pushOtherTeams|pushOwnTeam)\nteam list\nteam remove redteam\n```\n\n---\n\n## Text Components (tellraw \u002F title \u002F books)\n\n### `tellraw` JSON text\n```mcfunction\n# Plain text\ntellraw @a {\"text\":\"Hello World\",\"color\":\"green\"}\n\n# Multiple components (array)\ntellraw @a [{\"text\":\"Hello \",\"color\":\"white\"},{\"selector\":\"@s\",\"color\":\"gold\"},{\"text\":\"!\",\"color\":\"white\"}]\n\n# Translatable text\ntellraw @a {\"translate\":\"death.attack.mob\",\"with\":[{\"selector\":\"@p\"},{\"entity\":\"@p\",\"selector\":\"type\"}]}\n\n# Clickable \u002F hoverable\ntellraw @a {\"text\":\"Click here\",\"color\":\"aqua\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"\u002Fsay hi\"},\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"Run \u002Fsay hi\"}}\n\n# Keybind display\ntellraw @a {\"text\":\"Press \",\"extra\":[{\"keybind\":\"key.jump\",\"color\":\"yellow\"},{\"text\":\" to jump.\"}]}\n\n# NBT display\ntellraw @a {\"nbt\":\"Health\",\"entity\":\"@s\",\"interpret\":false}\n\n# Score display\ntellraw @a {\"score\":{\"name\":\"@s\",\"objective\":\"points\"}}\n```\n\n### Formatting codes (text component)\n| Field | Values |\n|-------|--------|\n| `color` | `black`, `dark_blue`, `dark_green`, `dark_aqua`, `dark_red`, `dark_purple`, `gold`, `gray`, `dark_gray`, `blue`, `green`, `aqua`, `red`, `light_purple`, `yellow`, `white`, `#RRGGBB` |\n| `bold` | `true`\u002F`false` |\n| `italic` | `true`\u002F`false` |\n| `underlined` | `true`\u002F`false` |\n| `strikethrough` | `true`\u002F`false` |\n| `obfuscated` | `true`\u002F`false` |\n| `font` | resource location (e.g., `minecraft:default`) |\n\n### Title commands\n```mcfunction\ntitle @a title {\"text\":\"ROUND START\",\"color\":\"gold\",\"bold\":true}\ntitle @a subtitle {\"text\":\"Fight!\",\"color\":\"red\"}\ntitle @a actionbar {\"text\":\"Time: 60s\",\"color\":\"yellow\"}\ntitle @a times 10 70 20    # fade-in, stay, fade-out ticks\ntitle @a clear\ntitle @a reset\n```\n\n---\n\n## Schedule\n\n```mcfunction\n# Schedule a function to run once after N ticks\nschedule function mypack:delayed_grant 100t\n\n# Schedule repeating (append = don't cancel existing)\nschedule function mypack:repeating 20t replace    # replace existing schedule\nschedule function mypack:repeating 20t append     # add alongside existing\n\n# Clear scheduled function\nschedule clear mypack:delayed_grant\n```\n\n---\n\n## Attribute Commands\n\n```mcfunction\n# Get base\u002Fcurrent value\nattribute @s minecraft:generic.max_health get\nattribute @s minecraft:generic.movement_speed get\n\n# Set base value\nattribute @s minecraft:generic.max_health base set 30.0\nattribute @s minecraft:generic.attack_damage base set 10.0\n\n# Add modifier\nattribute @s minecraft:generic.movement_speed modifier add 12345678-1234-1234-1234-123456789abc \"speed_boost\" 0.1 add_multiplied_total\n\n# Remove modifier\nattribute @s minecraft:generic.movement_speed modifier remove 12345678-1234-1234-1234-123456789abc\n\n# Get modifier value\nattribute @s minecraft:generic.movement_speed modifier value get 12345678-1234-1234-1234-123456789abc\n\n# Modifier operations: add_value, add_multiplied_base, add_multiplied_total\n```\n\n---\n\n## Effects, Particles, Sounds\n\n```mcfunction\n# Effects\neffect give @s minecraft:speed 60 2 true     # 60 seconds, level III, hide particles\neffect give @a minecraft:resistance 9999 4\neffect clear @s minecraft:speed\neffect clear @s                              # clear all effects\n\n# Particles\nparticle minecraft:flame 0.0 65.0 0.0 0.5 0.5 0.5 0.01 20\nparticle minecraft:block minecraft:stone 0.0 65.0 0.0 0 0 0 0 1\n\n# Sounds\nplaysound minecraft:entity.player.levelup master @s ~ ~ ~ 1.0 1.0\nplaysound minecraft:block.note_block.bell record @a ~ ~ ~ 1.0 0.5\n# playsound \u003Csound> \u003Csource> \u003Ctargets> [x] [y] [z] [volume] [pitch] [minVolume]\n# source: (master|music|record|weather|block|hostile|neutral|player|ambient|voice)\n\nstopsound @a * minecraft:music.game\nstopsound @s\n```\n\n---\n\n## World and Environment Commands\n\n```mcfunction\n# Time\ntime set day\ntime set noon      # 6000\ntime set night     # 13000\ntime set 0\ntime add 1000\ntime query daytime\n\n# Weather\nweather clear 6000\nweather rain 12000\nweather thunder 6000\n\n# Gamerules (1.21.x)\ngamerule doDaylightCycle false\ngamerule doMobSpawning false\ngamerule keepInventory true\ngamerule spawnRadius 0\ngamerule playersSleepingPercentage 0   # one player can skip night\ngamerule universalAnger true\n\n# Difficulty\ndifficulty peaceful\ndifficulty easy\ndifficulty normal\ndifficulty hard\n\n# Setworldspawn\nsetworldspawn 0 64 0 0.0   # x y z angle\n\n# Spawnpoint per player\nspawnpoint @s ~ ~ ~ 0.0\n\n# forceload\nforceload add 0 0 31 31     # keep chunks 0,0 to 31,31 loaded\nforceload remove 0 0 31 31\nforceload query 0 0\n```\n\n---\n\n## RCON Scripting\n\nConnect to a Minecraft server remotely using RCON (enable in `server.properties`):\n\n```properties\n# server.properties\nenable-rcon=true\nrcon.password=your_password\nrcon.port=25575\n```\n\n### Bash RCON script (using `mcrcon`)\n```bash\n#!\u002Fbin\u002Fbash\nRCON=\"mcrcon -H localhost -P 25575 -p your_password\"\n\n# Send command\n$RCON \"say Server backup starting in 5 minutes\"\nsleep 300\n$RCON \"save-off\"\n$RCON \"save-all\"\n\n# Backup world\nrsync -av \u002Fpath\u002Fto\u002Fserver\u002Fworld\u002F \u002Fbackups\u002Fworld_$(date +%Y%m%d_%H%M%S)\u002F\n\n$RCON \"save-on\"\n$RCON \"say Backup complete!\"\n```\n\n### Python RCON\n```python\nfrom mcrcon import MCRcon\n\nwith MCRcon(\"localhost\", \"your_password\", port=25575) as mcr:\n    response = mcr.command(\"list\")\n    print(response)\n    # \"There are 3 of a max of 20 players online: Steve, Alex, Notch\"\n    \n    players = response.split(\": \")[1].split(\", \") if \": \" in response else []\n    print(f\"Online players: {players}\")\n```\n\n---\n\n## Common Scripting Patterns\n\n### Player join setup (in `load.mcfunction` + tag listeners)\n```mcfunction\n# Give new players a starter kit tag\nscoreboard objectives add initialized dummy\nexecute as @a unless score @s initialized matches 1 run function mypack:on_first_join\n\n# on_first_join.mcfunction\nscoreboard players set @s initialized 1\ngive @s minecraft:stone_sword\ngive @s minecraft:bread 16\ntellraw @s {\"text\":\"Welcome! Here's a starter kit.\",\"color\":\"green\"}\n```\n\n### Death counter + respawn\n```mcfunction\n# tick.mcfunction — check deaths\nexecute as @a[scores={deaths=1..}] run function mypack:on_death\nfunction mypack:on_death\nscoreboard players reset @s deaths\nscoreboard players add @s total_deaths 1\n```\n\n### Proximity detection\n```mcfunction\n# Check if any player is within 5 blocks of a location\nexecute if entity @a[x=10,y=64,z=10,distance=..5] run function mypack:player_nearby\n```\n\n### Math tricks (no fractions in scoreboards)\n```mcfunction\n# Multiply @s.value by 1.5 using integer math (×3 then \u002F2)\nscoreboard players operation @s result = @s value\nscoreboard players operation @s result *= #three constants\nscoreboard players operation @s result \u002F= #two constants\n# Set #two and #three on load:\n# scoreboard players set #two constants 2\n# scoreboard players set #three constants 3\n```\n\n---\n\n## References\n\n- Minecraft Wiki — Commands: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FCommands\n- Minecraft Wiki — Target selectors: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FTarget_selectors\n- Minecraft Wiki — NBT format: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FNBT_format\n- Minecraft Wiki — Raw JSON text: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FRaw_JSON_text_format\n- Minecraft Wiki — Scoreboard: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FScoreboard\n- Execute command wiki: https:\u002F\u002Fminecraft.wiki\u002Fw\u002FCommands\u002Fexecute\n",{"name":5,"description":7},"main","6fdc6b3043932f6cec4d0a2d51630b19d220dc0d",".codex\u002Fskills\u002Fminecraft-commands-scripting",1,"https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle","https:\u002F\u002Fgithub.com\u002FAIKUSAN","Creating virtual worlds, one line of code at a time.","2026-10-03 22:21:47",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add AIKUSAN\u002Fminecraft-agent-skills-bundle --skill minecraft-commands-scripting",{"tool":38,"command":39},"bunx","bunx skills add AIKUSAN\u002Fminecraft-agent-skills-bundle --skill minecraft-commands-scripting",{"tool":41,"command":42},"pnpm","pnpm dlx skills add AIKUSAN\u002Fminecraft-agent-skills-bundle --skill minecraft-commands-scripting","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fminecraft-commands-scripting\u002FSKILL.md",true,[46,52,56,62,66],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fexecute-cheat-sheet.md","REFERENCE","参考文档",1047,"https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fminecraft-commands-scripting\u002Freferences\u002Fexecute-cheat-sheet.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fselector-cheat-sheet.md",766,"https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fminecraft-commands-scripting\u002Freferences\u002Fselector-cheat-sheet.md",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"scripts\u002Fexamples\u002Farena-countdown.mcfunction","SCRIPT","脚本",521,"https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fminecraft-commands-scripting\u002Fscripts\u002Fexamples\u002Farena-countdown.mcfunction",{"path":63,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Fexamples\u002Frcon-backup-warning.sh",377,"https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fminecraft-commands-scripting\u002Fscripts\u002Fexamples\u002Frcon-backup-warning.sh",{"path":67,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Fexamples\u002Fstopwatch-podium.mcfunction",657,"https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fminecraft-commands-scripting\u002Fscripts\u002Fexamples\u002Fstopwatch-podium.mcfunction",[71,78,84,90,96,102],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M74FXYYEC9NE1YFJC891WFT2","minecraft-ci-release","Fixture with valid workflow YAML but a warning-only secrets section.","https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Fwarn-only\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M74FXXD5F0J0VA58R53Z8CA3","valid","https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Fvalid\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M74FXVT401WRMHEMCPJKA89X","non-workflow-yaml","https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Fnon-workflow-yaml\u002FSKILL.md",[],[],{"skillNo":91,"name":73,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M74FXTBGQGEPGMX81DFY7FY9","Fixture with valid multiline flow collections in workflow YAML.","https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Fmultiline-flow\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M74FXSAW6GDZ3J3S9FBGC1D6","invalid","https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Finvalid\u002FSKILL.md",[],[],{"skillNo":103,"name":73,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M74FXQRKYD2DDQDN0HR1TE10","Fixture with malformed workflow YAML.","https:\u002F\u002Fgithub.com\u002FAIKUSAN\u002Fminecraft-agent-skills-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalidators\u002Fci-release\u002Finvalid-yaml\u002FSKILL.md",[],[]]