Module:Command/Syntax

return { command = , commandexecute = , exealign = {' ', redirect='commandexecute'}, exeanchored = {' ', redirect='commandexecute'}, exeas = {' ', redirect='commandexecute'}, exeat = {' ', redirect='commandexecute'}, exefacing = { {exefac = {"",'entity'}},redirect='commandexecute'}, exefacentity = {' ',' '}, ["exefac"] = {"",""}, exein = {' ', redirect='commandexecute'}, exepositionef = { {exefac = {"",'as'}},redirect='commandexecute'}, exefacas = {' '}, exerotated = { {exefac = {"",'as'}},redirect='commandexecute'}, ["exefac"] = {""}, exestore = {'(result|success)',{exestr = {'block','bossbar','entity','score','storage'}},redirect='commandexecute'}, exestrblock={"","","",' ',' ',' ' }, exestrbossbar={'','(max|value)'}, exestrentity={" ",' ',' ',' ' }, exestrscore={' ',' '}, exestrstorage={" ",' ',' ',' ' }, exeif = {{exeif={'block','blocks','data','entity','predicate','score'}},redirect='commandexecute'}, exeunless = {{exeif={'block','blocks','data','entity','predicate','score'}},redirect='commandexecute'}, exeifblock = {"","","",' '}, exeifblocks = {"","<y1>","<z1>","<x2>","<y2>","<z2>","<x3>","<y3>","<z3>", '(all|masked)'}, exeifdata = {{exeifdata = {'block','entity','storage'}},' '}, exeifdatablock={"<x>","<y>","<z>"}, exeifdataentity={' '}, exeifdatastorage={' '}, exeifentity = {' '}, exeifpredicate = {' '}, exeifscore = {' ','<targetObjective>',{exeifscore={'matches','(<|<=|=|>|>=)'}}}, ['exeifscore(<|<=|=|>|>=)']={' ','<sourceObjective>'}, exeifscorematches = {' '}, exerun = {redirect='command'}, commandhelp = {'[ ]'}, commandadvancement = { '(grant|revoke)', ' ', {adv= { 'everything', 'from', 'through', 'until', 'only' }} }, advfrom = {' '}, advthrough = {' '}, advuntil = {' '}, advonly = {' ', '[ ]'}, commandattribute = {' ', ' ', {attr={'get', 'base', 'modifier'}}}, attrget = {'[ ]'}, attrbase = , attrbaseget = {'[ ]'}, attrbaseset = {' '}, attrmodifier = , attrmodadd = {' ',' ',' ','(add|multiply|multiply_base)'}, attrmodremove = {' '}, attrmodvalue = {'get',' ','[ ]'}, ['commandban-ip'] = {" ", "[ ]"}, commandkick = { " ", "[ ]" }, commandban = { " ", "[ ]" }, commandbanlist = { "[ips|players]" }, commandbossbar = , bossadd = {'<id>',' '}, bossget = {'<id>','(max|players|value|visible)'}, bossremove = {'<id>'}, bossset = {'<id>',{bossset={'color','max','name','players','style','value','visible'}}}, bosssetcolor = {'(blue|green|pink|purple|red|white|yellow)'}, bosssetmax = {' '}, bosssetname = {' '}, bosssetplayers = {'[ ]'}, bosssetstyle = {'(notched_6|notched_10|notched_12|notched_20|progress)'}, bosssetvalue = {' '}, bosssetvisible = {' '}, 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>',{datamod={'append','insert','merge','prepend','set'}},{datasrc={'from','value'}}}, datamodinsert = {' '}, datasrcfrom = {{data={'block','entity','storage'}},'[<sourcePath>]'}, datasrcvalue = {' '}, datablock = {"<x>","<y>","<z>"}, dataentity = {' '}, datastorage = {' '}, commanddatapack = , dpdisable = {' '}, dpenable = {' ',{dpen={'first','last','before','after'}}}, dplist = {'[available|enabled]'}, dpenbefore = {' '}, dpenafter = {' '}, commanddebug = { "(start|stop|report)" }, 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 = , fcadd = {"<x1>","<z1>","[<x2>]","[<z2>]"}, fcremove = , ["fcrmv<x1>"] = {"<z1>","[<x2>]","[<z2>]"}, fcquery = {"[<x>]","[<z>]"}, commandfunction = { " " }, commandgamemode = { '(adventure|creative|spectator|survival)','[ ]' }, commandgamerule = { "<rule name>", "[ ]" }, commandgive = { " ", " ", "[ ]" }, commandkill = { "[ ]" }, commandlist = {'[uuid]'}, commandlocate = {"<StructureType>"}, commandlocatebiome = {"<biome ID>"}, commandloot = {{loottar = {'spawn','replace','insert','give'}}, {lootsrc = {'fish','loot','kill','mine'}}}, loottarspawn = {"<x>","<y>","<z>"}, loottarreplace = {{loottar = {'entity','block'}}, ' ','[ ]'}, loottarentity = {' '}, loottarblock = {"<x>","<y>","<z>"}, loottarinsert = {"<x>","<y>","<z>"}, loottargive = {' '}, 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 = { {prtcl={'dust','block','falling_dust','item',' '}}, "[<x>]", "[<y>]", "[<z>]", "[<xd>]", "[<yd>]", "[<zd>]", " ", " ", '[force|normal]', '[ ]' }, prtcldust = {"<r>","<g>","<b>","<size>"}, prtclblock = {"<block>"}, prtclfalling_dust = {"<block>"}, prtclitem = {"<item>"}, commandplaysound = { " ", "<source>", " ", "[<x>]", "[<y>]", "[<z>]", "[ ]", "[ ]", "[<minVolume>]" }, commandpublish = {'[ ]'}, commandrecipe = {'(give|take)', ' ', }, ['commandsave-all'] = {'[flush]'}, --replaceitem = { "[block|entity]", "[<x> <y> <z>|<selector>]", "<slot>", "<item>", { "<amount>", "<data>", "<dataTag>" } }, commandsay = { " " }, commandschedule = { {sch={'function','clear'}} }, schfunction = { " ", " ", "[append|replace]"}, schclear = { ' ' }, commandscoreboard = , scbobjectives = , scboadd = { ' ',' ','[<displayName>]'}, scbomodify = {' ',{scbom={'displayname','rendertype'}}}, scbomdisplayname = {'<displayName>'}, scbomrendertype = {'(hearts|integer)'}, scboremove = {' '}, scbosetdisplay = {' ','[ ]'}, scbplayers = , scbpadd = {' ', ' ', ' '}, scbpenable = {' ',' '}, scbpget = {' ', ' '}, scbplist = {'[ ]'}, scbpoperation = {' ', '<targetObjective>', ' ', ' ', '<sourceObjective>'}, scbpremove = {' ', ' ', ' '}, scbpreset = { ' ', '[ ]'}, scbpset = { ' ', ' ', ' '}, commandsetblock = { "<x>", "<y>", "<z>", " ", '[destroy|keep|replace]' }, commandsetidletimeout = { " " }, commandsetworldspawn = { "<x>", "<y>", "<z>", ' ' }, commandspawnpoint = { "[ ]", "[<x>]", "[<y>]", "[<z>]", '[ ]' }, commandspectate = {' ', '[ ]'}, commandspreadplayers = { "<x>", "<z>", "<spreadDistance>", "<maxRange>", {sp={'under','<respectTeams>'}}, ' '}, spunder = {'<maxHeight>','<respectTeams>'}, commandstopsound = {" ", "[<source>]", " "}, commandsummon = { " ", "[<x>]", "[<y>]", "[<z>]", "[ ]" }, commandtag = {'targets',{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 = { {whtlst = {'add','list','off','on','reload','remove'} }}, whtlstadd = {' '}, whtlstremove = {' '}, commandworldborder = { {wb = {'add','center','damage','get','set','warning',''}}}, wbadd = {' ','[ ]'}, wbcenter = {"<x>", "<z>"}, wbdamage = , wbdamount = {'<damagePerBlock>'}, wbdbuffer = {' '}, wbset = {' ','[ ]'}, wbwarning = , wbwdistance = { ' ' }, wbwtime = { ' ' } }