Minecraft Blogs / Other

Wink's Commands 1.8 - 1.12

  • 970 views, 1 today
  • 3
  • 1
  • 1
WinkemBlinkem's Avatar WinkemBlinkem
Level 19 : Journeyman Miner
2
Commands used to make my adventure maps possible- A LOT OF THESE COMMANDS WILL NOT WORK WITH 1.13

Works with versions - 1.8 - 1.9 - 1.10 - 1.11 - 1.12

Preset: (skyblock)
3;minecraft:air;1;village

Platform: F3
/setblock ~ ~ ~ bedrock



Give Command Block:
/give @p command_block 1

Command Output:
/gamerule commandBlockOutput false

Gamerule Keep Inventory on Death:
/gamerule keepInventory true



Test for Specific Item In Chest:
/testforblock -78 87 -137 minecraft:trapped_chest -1 {Items:[{id:"minecraft:wool"}]}

Test for Named Item In Chest:
/testforblock 47 90 -61 minecraft:chest 5 {Items:[{id:minecraft:paper,tag:{display:{Name:"Oath Wand"}}}]}

Test for Certain Amount of Specific Item/block in Chest:
/testforblock -78 87 -137 minecraft:trapped_chest -1 {Items:[{id:"minecraft:wool",Count:15b}]}

Test for Certain block at certain coordinate:
/testforblock ~ ~ ~ red_flower 4

Test for Named Item in players inventory:
/testfor @p {Inventory:[{id:"minecraft:red_flower",Damage:4s,tag:{display:{Name:"Magic Red Gem"}}}]}

Test for certain amount of specific item in players inventory:
/testfor @p {Inventory:[{id:minecraft:dye,Damage:9s,Count:3b}]}

Test for Certain Amount of Specific Named Item in Players Inventory;
/testfor @p {Inventory:[{id:"minecraft:red_flower",Damage:4s,Count:1b,tag:{display:{Name:"Magic Red Gem"}}}]}

Test for item on ground:
/testfor @e[type=Item] {Item:{id:minecraft:sapling}}

Test for holding named item in First Inventory Slot:
/testfor @p {SelectedItemSlot:0,Inventory:[{Slot:0b,­tag:{display:{Name:"Magic Amulet"}}}]}

Test for Named Entity:
/testfor @e[name=WhiteStallion]


---
Test for direction the player is facing:

NORTH -
/testfor @p[rym=135,ry=-135]

SOUTH -
/testfor @p[rym=-45,ry=45]

EAST -
/testfor @p[rym=-135,ry=-45]

WEST -
/testfor @p[rym=46,ry=135]
---



Setblock:
/setblock ~ ~ ~ air 0 replace

Fill Command:
/fill ~~~ ~~~ air 0 replace

Fill Clock: (Face South)
/fill ~1 ~ ~ ~1 ~ ~4 stone
/fill ~-1 ~ ~ ~-1 ~ ~4 redstone_block

Playsound:
/playsound random.pop @p

Tellraw:
/tellraw @p ["",{"text":"The Wall Has Opened!","color":"light_purple"}]

Paritcle:
/particle spell ~ ~ ~ 0 1 1 0.5 500

Effect: (nightvision)
/effect @p 16 120 0 false

Clone:
/clone 1 1 1 2 2 2 3 3 3 replace
(1 1 1 and 2 2 2 is the source block/s coordinates)
(3 3 3 is the coordinates of where you want to clone to)



Teleport Player:
/tp @p 100 79 28

Teleport Player a short distance from where they are (no matter where they are)
(3 blocks up, 9 blocks forward)

/tp @p ~ ~3 ~-9

Teleport Named Villager:
/tp @e[type=Villager,name=Gilbert] -224 4 210




Kill named villager:
/kill @e[type=villager,name=Henry]

Clear Items On Ground Within A Radius:
/kill @e[type=Item,r=10]

Clear Specific amount of items from players inventory:
/clear @p minecraft:dye 9 3

Clear Named Item from players inventory:
/clear @p dye 0 1 {display:{Name:"Gem Dust"}}

Clear Inventory from a Certain Chest:
/blockdata -69 87 -140 {Items:[]}

Clear Certain Status Effect:
/effect @p slowness 0



Summon Backpack Mule:
/summon EntityHorse ~0 ~1 ~0 {ChestedHorse:1,CustomName:Magic Mule,Invulnerable:1,Tame:1,Type:1,ActiveEffects:[{Id:2,Amplifier:127,Duration:999999}]}

Summon Backpack Mule To You:
/tp @e[type=EntityHorse] @p

Teleport Backpack Mule to its Pen:
/tp @e[type=EntityHorse] ~ ~1 ~



----
Scoreboard Damage Dealt:
Add Objective:
/scoreboard objectives add damage stat.damageDealt

Test for certain amount of damage score:
/testfor @p[score_damage_min=1]

Set damage score to certain amount:
/scoreboard players set @p[score_damage_min=1] damage 0

Particle at player if certain damage score:
/execute @p[score_damage_min=1] ~ ~ ~ particle lava ~ ~1 ~ 1 1 3 0.03 300 @e[type=!Player,r=6]

Status Effect on all entities in player radius if player has certain damage score:
/execute @p[score_damage_min=1] ~ ~ ~ effect @e[r=6] 20 4 3

Status Effect on Player if certain damage score:
/effect @p[score_damage_min=1] 20 0 0/effect @p[score_damage_min=1] 20 0 0

Show Scoreboard Results: (must have a minimum score of 1 in order to show up)
/scoreboard objectives setdisplay sidebar damage
---
---

Scoreboard Use Item:
Add Objective:
/scoreboard objectives add register stat.useItem.minecraft.carrot_on_a_stick

Named Item With Lore and Custom Tag:
/give @p carrot_on_a_stick 1 0 {register:1b,display:{Name:"Oath Wand",Lore:["Use this to become a member of the guild."]}}

Test if player has certain click score:
/scoreboard players test @p resgister 1

Set score to certain amount:
/scoreboard players set @a register 0
---
---

Scoreboard item tag (test if player is holding a certain named item with custom tag)
Add Objective:
/scoreboard players tag @a add RH1 {SelectedItem:{tag:{register:1b}}}

Remove Objective:
/scoreboard players tag @a remove RH1
---
Scoreboard track placed blocks
/scoreboard objectives add senalter stat.useItem.minecraft.quartz_block senalter


Summon Zombie with Custom Head, Golden Axe and Speed:
/summon Zombie ~0 ~1 ~0 {Equipment:[{id:golden_axe,tag:{ench:{id:16,lvl:2}]}},{id:leather_boots},{id:leather_leggings},{id:leather_chestplate},{id:skull,Damage:3,tag:{SkullOwner:MHF_Blaze}}],ActiveEffects:[{Id:1,Amplifier:1,Duration:999999}],PersistenceRequired:1}

Summon Undead w/ Enchanted Armor and Bow:
/summon Skeleton ~0 ~1 ~0 {Equipment:[{id:bow,tag:{ench:{id:48,lvl:2}]}},{id:chainmail_boots,tag:{ench:[{id:3,lvl:1}]}},{id:chainmail_leggings,tag:{ench:[{id:1,lvl:1}]}},{id:chainmail_chestplate,tag:{ench:[{id:7,lvl:1}]}},{id:chainmail_helmet,tag:{ench:[{id:0,lvl:2}]}}],CustomName:Undead,CustomNameVisible:1,ActiveEffects:[{Id:10,Amplifier:1,Duration:999999}],PersistenceRequired:1}



Named Firework:
/give @p fireworks 1 0 {display:{Name:"Celebration Rocket"},Fireworks:{Flight:2,Explosions:[{Type:1,Flicker:0,Trail:1,Colors:[2437522,6719955],FadeColors:[2651799,15790320]}]}}

Named Item/Block With Lore:
/give @p paper 1 0 {display:{Name:"House Deed",Lore:["Put This Into The","Deed Taker To Unlock Your Manor"]}}

Helmet Of The Mighty: Diamond Enchanted Helmet with Lore:
/give @p diamond_helmet 1 0 {ench:[{id:0,lvl:2},{id:7,lvl:1}],display:{Name:"Helmet Of The Mighty",Lore:["A Helemt Made For","A Mighty Hero!"]},HideFlags:1}

Enchanted Leather Boots with Color, Custom Name and Lore:
/give @p leather_boots 1 0 {ench:[{id:0,lvl:1}],display:{Name:"Apprentice Boots",Lore:["Enchanted Boots made by the Mage Guild"],color:255},HideFlags:2}

Custom Book With Text:
/give @p minecraft:written_book 1 0 {author:" Tid",title:"A Reward From Tid",pages:["{text:\"Oh thanks so much! I have been looking for this forever. Craft a lever and place it on my pillow to gain access to my tresure room. Take what you like. \"}"]}
Tags

1 Update Logs

Update #1 : by WinkemBlinkem 04/10/2019 12:46:06 pmApr 10th, 2019

Added a bunch of commands and a few scoreboards and organized everything a little.

Create an account or sign in to comment.

1
09/09/2017 10:29 am
Level 60 : High Grandmaster Cowboy
BlocklyCow
BlocklyCow's Avatar
Thanks!! This helped me SO much!! :D
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome