Module:Command/Syntax

return { command = , commandexecute = , executealign = {' ', redirect='commandexecute'}, executeanchored = {' ', redirect='commandexecute'}, executeas = {' ', redirect='commandexecute'}, executeat = {' ', redirect='commandexecute'}, executefacing = { {executesub = {"",'entity'}},redirect='commandexecute'}, executesubentity = {' ',' '}, ["executesub"] = {"",""}, executein = {' ', redirect='commandexecute'}, executepositioned = { {executesub = {"",'as'}},redirect='commandexecute'}, executesubas = {' '}, executerotated = { {executesub = {"",'as'}},redirect='commandexecute'}, ["executesub"] = {""}, executestore = {'(result|success)',{executestore = {'block','bossbar','entity','score','storage'}},redirect='commandexecute'}, executestoreblock={"","","",' ',' ',' ' }, executestorebossbar={'','(max|value)'}, executestoreentity={" ",' ',' ',' ' }, executestorescore={' ',' '}, executestorestorage={" ",' ',' ',' ' }, executeif = {{executeif={'block','blocks','data','entity','predicate','score'}},redirect='commandexecute'}, executeunless = {{executeif={'block','blocks','data','entity','predicate','score'}},redirect='commandexecute'}, executeifblock = {"","","",' '}, executeifblocks = {"","<y1>","<z1>","<x2>","<y2>","<z2>","<x3>","<y3>","<z3>", '(all|masked)'}, executeifdata = {{executeifdata = {'block','entity','storage'}},' '}, executeifdatablock={"<x>","<y>","<z>"}, executeifdataentity={' '}, executeifdatastorage={' '}, executeifentity = {' '}, executeifpredicate = {' '}, executeifscore = {' ','<targetObjective>',{executeifscore={'matches','(<|<=|=|>|>=)'}}}, ['executeifscore(<|<=|=|>|>=)']={' ','<sourceObjective>'}, executeifscorematches = {' '}, executerun = {redirect='command'}, commandhelp = {'[ ]'}, commandadvancement = { '(grant|revoke)', ' ', {advancement= { 'everything', 'from', 'through', 'until', 'only' }} }, advancementfrom = {' '}, advancementthrough = {' '}, advancementuntil = {' '}, advancementonly = {' ', '[ ]'}, commandattribute = {' ', ' ', {attribute={'get', 'base', 'modifier'}}}, attributeget = {'[ ]'}, attributebase = , attributebaseget = {'[ ]'}, attributebaseset = {' '}, attributemodifier = , attributemodifieradd = {' ',' ',' ','(add|multiply|multiply_base)'}, attributemodifierremove = {' '}, attributemodifiervalue = {'get',' ','[ ]'}, ['commandban-ip'] = {" ", "[ ]"}, commandkick = { " ", "[ ]" }, commandban = { " ", "[ ]" }, commandbanlist = { "[ips|players]" }, commandbossbar = , bossbaradd = {'<id>',' '}, bossbarget = {'<id>','(max|players|value|visible)'}, bossbarremove = {'<id>'}, bossbarset = {'<id>',{bossbarset={'color','max','name','players','style','value','visible'}}}, bossbarsetcolor = {'(blue|green|pink|purple|red|white|yellow)'}, bossbarsetmax = {' '}, bossbarsetname = {' '}, bossbarsetplayers = {'[ ]'}, bossbarsetstyle = {'(notched_6|notched_10|notched_12|notched_20|progress)'}, bossbarsetvalue = {' '}, bossbarsetvisible = {' '}, commandclear = { "[ ]", "[ ]", "[<maxCount>]" }, commandclone = { "<x1>", "<y1>", "<z1>", "<x2>", "<y2>", "<z2>", "<x3>", "<y3>", "<z3>", {clone={ 'replace','masked','filtered' }}, '[force|move|normal]' }, clonefiltered = {' '}, commanddata = , dataget = {{data={'block','entity','storage'}},'[ ]','[ ]'}, datamerge = {{data={'block','entity','storage'}},' '}, dataremove = {{data={'block','entity','storage'}},' '}, datamodify = {{data={'block','entity','storage'}},'<targetPath>',{datamodify={'append','insert','merge','prepend','set'}},{datasrc={'from','value'}}}, datamodifyinsert = {' '}, datasrcfrom = {{data={'block','entity','storage'}},'[<sourcePath>]'}, datasrcvalue = {' '}, datablock = {"<x>","<y>","<z>"}, dataentity = {' '}, datastorage = {' '}, commanddatapack = , datapackdisable = {' '}, datapackenable = {' ',{datapackenable={'first','last','before','after'}}}, datapacklist = {'[available|enabled]'}, datapackenablebefore = {' '}, datapackenableafter = {' '}, commanddebug = { {debug={'start','stop','function'}} }, debugfunction = {' '}, commandperf = { '(start|stop)' }, commanddefaultgamemode = { '(survival|creative|adventure|spectator)' }, commanddeop = {" "}, commandop = {" "}, commandpardon = { " " }, ['commandpardon-ip'] = { " " }, commanddifficulty = { '[easy|hard|normal|peaceful]' }, commandeffect = { {effect={'clear','give'}} }, effectclear = {'[ ]','[ ]'}, effectgive = { ' ',' ','[ ]','[ ]','[<hideParticles>]' }, commandenchant = { " ", " ", "[ ]" }, commandexperience = { {xp = {'add','set','query'}} }, commandxp = { redirect='commandexperience' }, xpadd = {' ',' ','[levels|points]'}, xpset = {' ',' ','[levels|points]'}, xpquery = {' ','(levels|points)'}, commandfill = { "<x1>", "<y1>", "<z1>", "<x2>", "<y2>", "<z2>", " ",{ fill = { 'destroy','hollow','keep','outline','replace'} }}, fillreplace = { '[ ]' }, commandforceload = , forceloadadd = {"<x1>","<z1>","[<x2>]","[<z2>]"}, forceloadremove = , ["forceloadremove<x1>"] = {"<z1>","[<x2>]","[<z2>]"}, forceloadquery = {"[<x>]","[<z>]"}, commandfunction = { " " }, commandgamemode = { '(adventure|creative|spectator|survival)','[ ]' }, commandgamerule = { "<rule name>", "[ ]" }, commandgive = { " ", " ", "[ ]" }, commandkill = { "[ ]" }, commandlist = {'[uuid]'}, commandlocate = {"<StructureType>"}, commandlocatebiome = {"<biome ID>"}, commandloot = {{loottarget = {'spawn','replace','insert','give'}}, {lootsrc = {'fish','loot','kill','mine'}}}, loottargetspawn = {"<x>","<y>","<z>"}, loottargetreplace = {{loottarget = {'entity','block'}}, ' ','[ ]'}, loottargetentity = {' '}, loottargetblock = {"<x>","<y>","<z>"}, loottargetinsert = {"<x>","<y>","<z>"}, loottargetgive = {' '}, lootsrcfish = {'<loot_table>',"<x>","<y>","<z>",'[ |mainhand|offhand]'}, lootsrcloot = {'<loot_table>'}, lootsrckill = {' '}, lootsrcmine = {"<x>","<y>","<z>",'[ |mainhand|offhand]'}, commandme = { " " }, commandmsg = { " ", " " }, commandtell = { redirect = 'commandmsg' }, commandw = { redirect = 'commandmsg' }, commandparticle = { {particle={'dust','dust_color_transition','block','falling_dust','item','vibration',' '}}, "[<x>]", "[<y>]", "[<z>]", "[<xd>]", "[<yd>]", "[<zd>]", " ", " ", '[force|normal]', '[ ]' }, particledust = {"<r>","<g>","<b>","<size>"}, particledust_color_transition = {"<r1>","<g1>","<b1>","<size>","<r2>","<g2>","<b2>"}, particleblock = {"<block>"}, particlefalling_dust = {"<block>"}, particleitem = {"<item>"}, particlevibration = {"<x1>","<y1>","<z1>","<x2>","<y2>","<z2>","<duration>"}, commandplaysound = { " ", "<source>", " ", "[<x>]", "[<y>]", "[<z>]", "[ ]", "[ ]", "[<minVolume>]" }, commandpublish = {'[ ]'}, commandrecipe = {'(give|take)', ' ', }, ['commandsave-all'] = {'[flush]'}, --commandreplaceitem = { "[block|entity]", "[<x> <y> <z>|<selector>]", "<slot>", "<item>", { "<amount>", "<data>", "<dataTag>" } }, commanditem = { {item={'modify','replace'}} }, itemmodify = { {itemtarget={'block','entity'}}, ' ', ' '}, itemreplace = { {itemtarget={'block','entity'}}, ' ', {itemreplace={'with','from'}} }, itemreplacewith = {' ', '[ ]'}, itemreplacefrom = {{itemsource={'block','entity'}}, '<sourceSlot>', '[ ]'}, itemtargetblock = { ' ' }, itemtargetentity = { ' ' }, itemsourceblock = { '<sourcePos>' }, itemsourceentity = { '<sourceTarget>' }, commandsay = { " " }, commandschedule = { {schedule={'function','clear'}} }, schedulefunction = { ' ', ' ', '[append|replace]'}, scheduleclear = { ' ' }, commandscoreboard = , scoreboardobjectives = , scoreboardobjectivesadd = { ' ',' ','[<displayName>]'}, scoreboardobjectivesmodify = {' ',{scoreboardobjectivesmodify={'displayname','rendertype'}}}, scoreboardobjectivesmodifydisplayname = {'<displayName>'}, scoreboardobjectivesmodifyrendertype = {'(hearts|integer)'}, scoreboardobjectivesremove = {' '}, scoreboardobjectivessetdisplay = {' ','[ ]'}, scoreboardplayers = , scoreboardplayersadd = {' ', ' ', ' '}, scoreboardplayersenable = {' ',' '}, scoreboardplayersget = {' ', ' '}, scoreboardplayerslist = {'[ ]'}, scoreboardplayersoperation = {' ', '<targetObjective>', ' ', ' ', '<sourceObjective>'}, scoreboardplayersremove = {' ', ' ', ' '}, scoreboardplayersreset = { ' ', '[ ]'}, scoreboardplayersset = { ' ', ' ', ' '}, commandsetblock = { "<x>", "<y>", "<z>", " ", '[destroy|keep|replace]' }, commandsetidletimeout = { " " }, commandsetworldspawn = { "<x>", "<y>", "<z>", ' ' }, commandspawnpoint = { "[ ]", "[<x>]", "[<y>]", "[<z>]", '[ ]' }, commandspectate = {' ', '[ ]'}, commandspreadplayers = { "<x>", "<z>", "<spreadDistance>", "<maxRange>", {spreadplayers={'under','<respectTeams>'}}, ' '}, spreadplayersunder = {'<maxHeight>','<respectTeams>'}, commandstopsound = {" ", "[<source>]", " "}, commandsummon = { " ", "[<x>]", "[<y>]", "[<z>]", "[ ]" }, commandtag = {' ',{tag = {'add','list','remove'}}}, tagadd = {' '}, tagremove = {' '}, commandteam = , teamadd = {' ','[<displayName>]'}, teamempty = {' '}, teamjoin = {' ','[ ]'}, teamleave = {' '}, teamlist = {'[ ]'}, teammodify = {' ',' ',' '}, teamremove = {' '}, commandteammsg = {' '}, commandtm = {redirect = 'commandteammsg'}, commandtellraw = { " ", " " }, commandtime = , timeadd = {' '}, timequery = {'(daytime|gametime|day)'}, timeset = {"(<TimeSpec>| )"}, commandtitle = { " ", {title = { 'clear','reset','title','subtitle','actionbar','times'}}}, titletitle = {' '}, titlesubtitle = {' '}, titleactionbar = {' '}, titletimes = {'<fadeIn>',' ','<fadeOut>'}, commandteleport = , ['tp2 '] = , ["tp<x>"] = {"<y>","<z>",{tp={'facing',"<yRot>"}}}, tpfacing = , tp2entity = {'<facingEntity>','[<facingAnchor>]'}, ["tp2<x>"] = {"<y>","<z>"}, ["tp<yRot>"] = {"<xRot>"}, commandtp = {redirect='commandteleport'}, commandtrigger = { " ", "[add|set]", "[ ]" }, commandweather = { "[clear|rain|thunder]", "[ ]" }, commandwhitelist = { {whitelist = {'add','list','off','on','reload','remove'} }}, whitelistadd = {' '}, whitelistremove = {' '}, commandworldborder = { {worldborder = {'add','center','damage','get','set','warning',''}}}, worldborderadd = {' ','[ ]'}, worldbordercenter = {"<x>", "<z>"}, worldborderdamage = , worldborderdamage = {'<damagePerBlock>'}, worldborderdamage = {' '}, worldborderset = {' ','[ ]'}, worldborderwarning = , worldborderwarningdistance = { ' ' }, worldborderwarningtime = { ' ' } }