Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 188492

Anything related to the usage of commands, command blocks, and functions in the Minecraft game series. Always use this tag together with the [minecraft-java-edition], [minecraft-bedrock-edition], or [minecraft-education-edition] tag. Include details about the issue you're having (e.g. commands, error messages, screenshots, etc) and what you've tried so far to solve it. If you're building a redstone device without commands, use [minecraft-redstone] instead.

0 votes

How to /give a named item in Minecraft PE

As of Version 1.1.3, using the /give command to give named items doesn't work. You can't customise NBT tags yet. If you wanted to, you could give the player xp so that they could name it themselves o …
cherryblossom's user avatar
0 votes
1 answer
999 views

How do you use the JSON "can_place_on" tag to specify what kind of blocks (same name, differ... [duplicate]

How would you use the can_place_on or can_destroy tags to specify which data values are valid for the blocks? Example: I want a diamond block that can be placed on magenta wool only, not any other typ …
cherryblossom's user avatar
0 votes
1 answer
762 views

How do you use /testfor to test for players at specific coordinates?

How do you use the /testfor command to test for players at specific coordinates? I've seen this question but it doesn't work in PE. So far I have /testfor @a[x=X, y=Y, z=Z] but that acts like @a and i …
cherryblossom's user avatar
1 vote
1 answer
2k views

How do you teleport players at specific coordinates?

I saw this question asking for the same thing and tried it on PE, but it didn't work. I put execute @a[x=11, y=4, z=0, r=1] ~ ~ ~ tp @p 11 4 -2 in a repeating command block, but it ignored the x=11, y …
cherryblossom's user avatar
0 votes

Minecraft Command block /testfor with delta coordinates not working

This answer says that dx, dy and dz are not available in PE yet. It will just ignore those parameters. You could use r instead but it would be a spherical area.
cherryblossom's user avatar
1 vote

A Redstone Torch That Can Only Be Placed On Green Wool In Minecraft PE

Currently, adding the data value to the "can_place_on" tag is not possible.
cherryblossom's user avatar
1 vote

How do I make an unbreaking Diamond Pickaxe that can only break Obsidian in MCPE?

For the breaking obsidian part, use this command: /give @s diamond_pickaxe 1 0 {"can_destroy":{"blocks":["obsidian"]}} If that doesn’t work, try using @p instead of @s. Unfortunately in PE, giving …
cherryblossom's user avatar
2 votes

Using /setblock to get a command block with a command inside?

Unfortunately, this is not possible. It is only possible on Java Edition where there are NBT tags and it would be like this: /setblock <x> <y> <z> command_block 0 replace {Command:"<command>"}
cherryblossom's user avatar
2 votes
Accepted

How to kill a player when they touch a block?

Put this command in a repeating, always active, unconditional command block: execute @a ~ ~ ~ detect ~ ~-1 ~ grass 0 kill This will execute the command kill at all players (@a ~ ~ ~) that have a gr …
cherryblossom's user avatar
0 votes

How To Tp Players When They Touch A Certain Block In Multiplayer

Put this command in a repeating, always active, unconditional command block: execute @a ~ ~ ~ detect ~ ~-1 ~ magma 0 kill This will execute the command kill at all players (@a ~ ~ ~) that have a ma …
cherryblossom's user avatar
2 votes

(Java Minecraft 1.15) Tellraw incremental death messages

You can use the deathCount scoreboard criterion. Create a tempDeaths objective which will increment automatically when a player dies: /scoreboard objectives add tempDeaths deathCount Then create an …
cherryblossom's user avatar
0 votes

Can blocks in Minecraft have right-click actions, such as tossing an ender pearl?

There is a way to have custom right-click actions. The following is taken from that answer (see that for info on how it works), except edited to be relevant to this answer and updated for 1.13: Fi …
cherryblossom's user avatar
2 votes
Accepted

How can I teleport every entity below Y=0 to Y=255 in Minecraft?

This is taken from this post (archive). You can store all the player's y-level in a scoreboard: /scorebaord objectives add dummy y Then set the scoreboard values to the players' y-level (put this …
cherryblossom's user avatar
2 votes

Would someone give an explanation of how to modify the data of a fox?

The Age tag represents how many ticks the mob has until it grows up (if it's a baby) or how many ticks until it can breed (if it's an adult). Therefore, baby foxes can have any less than 0, not just - …
cherryblossom's user avatar
0 votes

How to summon an item frame with a custom name item in it? [1.14]

Use this command: /summon item_frame ~ ~ ~ {Facing:1,Item:{id:"minecraft:melon_seeds",Count:1,tag:{display:{Name:Bullets}}}}
cherryblossom's user avatar

1
2 3 4 5
15 30 50 per page