Skip to content

Instantly share code, notes, and snippets.

@tryashtar
Last active October 9, 2017 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tryashtar/7a5d41d8660dfbafef805c24982ec620 to your computer and use it in GitHub Desktop.
Save tryashtar/7a5d41d8660dfbafef805c24982ec620 to your computer and use it in GitHub Desktop.
execute @ ~ ~ ~ detect ~ ~ ~ *BLOCK* *STATE* *COMMAND*
execute @ ~ ~ ~ *COMMAND*
scoreboard players set|add|remove @ *OBJECTIVE* *CUSTOM*:0 *ENTITYNBT*
scoreboard players reset @ *OBJECTIVE*
scoreboard players enable @ *TRIGGER*
scoreboard players tag @ add|remove *TAG* *ENTITYNBT*
scoreboard players test @ *OBJECTIVE* *CUSTOM*:0 *CUSTOM*:100
scoreboard players operation @ *OBJECTIVE* +=|-=|*=|/=|%=|=|<|>|>< @ *OBJECTIVE*
scoreboard objectives add *OBJECTIVE* dummy|trigger|deathCount|playerKillCount|totalKillCount|health|xp|level|food|air|armor *CUSTOM*:display
scoreboard objectives remove *OBJECTIVE*
scoreboard objectives setdisplay list|sidebar|belowName
scoreboard teams add *TEAM* *CUSTOM*:display
scoreboard teams remove *TEAM*
scoreboard teams empty *TEAM*
scoreboard teams join|leave *TEAM* @
scoreboard teams option *TEAM* color *COLOR*
scoreboard teams option *TEAM* friendlyfire|seeFriendlyInvisibles true|false
scoreboard teams option *TEAM* nametagVisibility|deathMessageVisibility never|hideForOtherTeams|hideForOwnTeam|always
scoreboard teams option *TEAM* collisionRule always|never|pushOwnTeam|pushOtherTeams
advancement grant|revoke @ only *ADVANCEMENT* *CRITERION*
advancement test @ *ADVANCEMENT* *CRITERION*
advancement grant|revoke @ everything
advancement grant|revoke @ from|through|until *ADVANCEMENT*
blockdata ~ ~ ~ *BLOCKNBT*
clear @ *ITEM* *CUSTOM*:0 *CUSTOM*:-1 *ITEMNBT*
clone ~ ~ ~ ~ ~ ~ ~ ~ ~ filtered force|move|normal *BLOCK* *STATE*
clone ~ ~ ~ ~ ~ ~ ~ ~ ~ masked|replace force|move|normal
defaultgamemode survival|creative|adventure|spectator
difficulty peaceful|easy|normal|hard
effect @ clear
effect @ *EFFECT* *CUSTOM*:10 *CUSTOM*:0 true|false
enchant @ *ENCHANT* *CUSTOM*:1
entitydata @ *ENTITYNBT*
fill ~ ~ ~ ~ ~ ~ *BLOCK* *STATE* replace *BLOCK* *STATE*
fill ~ ~ ~ ~ ~ ~ *BLOCK* *STATE* destroy|keep|hollow|outline *BLOCKNBT*
gamemode survival|creative|adventure|spectator
gamerule *GAMERULE* true|false
give @ *ITEM* *CUSTOM*:1 *CUSTOM*:0 *ITEMNBT*
help
kill @
locate EndCity|Fortress|Mansion|Mineshaft|Monument|Stronghold|Temple|Village
particle *PARTICLE* ~ ~ ~ *CUSTOM*:.1 *CUSTOM*:.1 *CUSTOM*:.1 *CUSTOM*:.05 *CUSTOM*:10 force|normal @
playsound *SOUND* master|music|record|weather|block|hostile|neutral|player|ambient|voice @ ~ ~ ~ *CUSTOM*:1 *CUSTOM*:1 *CUSTOM*:1
recipe give|take @ *ITEM*
replaceitem entity @ *ENTITYSLOT* *ITEM* *CUSTOM*:1 *CUSTOM*:0 *ITEMNBT*
replaceitem block ~ ~ ~ *BLOCKSLOT* *ITEM* *CUSTOM*:1 *CUSTOM*:0 *ITEMNBT*
say
setblock ~ ~ ~ *BLOCK* *STATE* replace|destroy|keep *BLOCKNBT*
setworldspawn ~ ~ ~
spawnpoint @ ~ ~ ~
spreadplayers ~ ~ *CUSTOM*:1 *CUSTOM*:20 false|true @
stats entity @ set AffectedBlocks|AffectedEntities|AffectedItems|QueryResult|SuccessCount @ *OBJECTIVE*
stats entity @ clear AffectedBlocks|AffectedEntities|AffectedItems|QueryResult|SuccessCount
stats block ~ ~ ~ set AffectedBlocks|AffectedEntities|AffectedItems|QueryResult|SuccessCount @ *OBJECTIVE*
stats block ~ ~ ~ clear AffectedBlocks|AffectedEntities|AffectedItems|QueryResult|SuccessCount
stopsound @ master|music|record|weather|block|hostile|neutral|player|ambient|voice *SOUND*
summon *ENTITY* ~ ~ ~ *ENTITYNBT*
tell @
testfor @ *ENTITYNBT*
testforblock ~ ~ ~ *BLOCK* *STATE* *BLOCKNBT*
testforblocks ~ ~ ~ ~ ~ ~ ~ ~ ~ all|masked
time add|set *CUSTOM*:6000
time query daytime|gametime|day
title @ title|subtitle|actionbar {}
title @ times *CUSTOM*:10 *CUSTOM*:40 *CUSTOM*10
title @ clear|reset
toggledownfall
tp @
teleport @ ~ ~ ~ ~ ~
trigger *OBJECTIVE* add|set *CUSTOM*1
weather clear|rain|thunder *CUSTOM*:1000000
worldborder add|set *CUSTOM*:10 *CUSTOM*:3
worldborder warning distance|time *CUSTOM*:5
worldborder damage amount|buffer *CUSTOM*:1
worldborder center ~ ~
worldborder get
xp *CUSTOM*:10L @
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment