4

A space for a name is now included in the /summon command. Let's look at the documentation for the command, specifically the syntax. summon <entityType: EntityType> [spawnPos: x y z] [spawnEvent: string] [nameTag: string] summon <entityType: EntityType> <nameTag: string> [spawnPos: x y z] So looks like we can type an entity name right into ...


4

You are not using the target selector incorrectly. It's because the sound from /playsound is being played cannot be heard from locations outside the 14-block dome you have found. Using a target selector allows the selected players to hear the sound only if they're within range. The range is 16 blocks, but because your command blocks are slightly farther out, ...


4

You can do this with the minecraft:become_charged spawn event: /summon creeper ~ ~ ~ minecraft:become_charged If you want to also give it a custom name, put the name after the spawn event: /summon creeper ~ ~ ~ minecraft:become_charged "Charged Creeper" Note: Only one spawn event can be used when summoning a mob, so you cannot use other spawn ...


3

On a computer, you can do this with the “pick block” control, which defaults to the middle mouse button. Put your crosshair over the block you want to get and then press Ctrl + pick block, which will put that block with its data into your inventory. Of course, this will only work in creative mode. Unfortunately, this cannot be done on touch devices without “...


3

Your dreams aren't crushed quite yet. Although it may be true that NBT doesn't exist, that doesn't mean there's no workarounds to what you want to do! Here's a handy workaround that lets you give items with custom names and enchantments. My plan is: Place the item you want to give in a chest. On command, clone the chest to the player's location. Use /...


3

Bedrock Edition uses data values to store the potion effect used by a potion or Tipped Arrow. To give a potion of tipped arrow with the specified effect, you use the command: /give <player> potion <data value> where the data value is looked up from this table: Tipped arrows use a similar syntax: /give <player> arrow <data value> (...


3

What is the problem with your trials? The only reason your old command works is because the chest shares slot numbers with your inventory's hotbar and top two rows. So, with your command, the item in inventory slot 0 (first hotbar) goes to chest slot 0, inventory slot 1 to chest slot 1, and so on. A single chest uses slot numbers from 0–26, numbered in ...


2

I tested this by placing a command block with the /effect command with a pressure plate on top. I would look up, place a sand block next to a fixed block, and exit fly mode so that I would land on the pressure plate while it is falling. Result in Bedrock Edition: Falling Block cannot have effects Block of TNT cannot have effects Result in Java Edition ...


2

On bedrock, you can still achieve a slightly sloppier version: execute @a[tag=!assassin] ^^^1 detect ~~~ air 0 execute @a[tag=assassin,r=2] ~~~ tp @s @s Unfortunately, you'll have to copy and paste this command into chain conditional always active blocks attached to the original repeat always active command block, changing ^^^1 to ^^^2, ^^^3 etc. for each ...


2

The BE equivalents of these tags are can_place_on and can_destroy respectively. You can use these in the /give and /replaceitem commands using the final [components: json] argument. For example, the syntax of /give is: give <player: target> <itemName: Item> [amount: int] [data: int] [components: json] The BE equivalents of the JE commands in the ...


2

/execute @a x y z /fill x y z x y z redstone_block Here was your old trials. I'm assuming you were testing for players on coordinates (1, 2, 3) by doing: /execute @a 1 2 3 But no. What exactly are the coordinates after @a doing? Let's take a look. From the Minecraft Wiki: Syntax execute <origin: target> <position: x y z> <command: command&...


2

You can make a baby mob by applying the appropriate spawn event in the /summon command. For drowned and zombies, it is minecraft:as_baby, and for other mobs, it is minecraft:entity_born. To summon a baby zombie or drowned: /summon <zombie/drowned> X Y Z minecraft:as_baby And to summon a baby villager or animal: /summon <entity type> X Y Z ...


2

You can't do this in Bedrock Edition, only in Java Edition. Raw JSON text is much more limited in Bedrock Edition, so much so that you can't even change the color or other formatting using JSON tags (you should still be able to use formatting codes), much less use the interactive features that make tellraw so powerful in Java Edition.


1

There might be a simple way I haven't tested this out but it is an idea you can look into. If you place a sign down, type whatever you like with whatever color tags, then behind it, have a comparator facing outward behind the block holding the sign. Then have a commandblock on the output side of that comparator. You right-click on the sign as if you wanted ...


1

This can be accomplished in Bedrock Edition using spawn events. For example, you use the minecraft:spawn_librarian spawn event to summon a librarian villager: /summon villager X Y Z minecraft:spawn_librarian Spawn events also exist for farmers (minecraft:spawn_farmer), clerics (minecraft:spawn_cleric), armorers (minecraft:spawn_armorer), and butchers (...


1

It's actually quite simple to do. The solution I present works in Bedrock and Java edition, and could actually be simpler if you're setting a block with lots of items! Place the block you want to set in a template location. Use /clone to copy it to the target location. Example command: /clone Tx Ty Tz Tx Ty Tz Rx Ry Rz T: Template location. R: Target ...


1

I actually posted an incorrect answer on your previous solution. It would have worked, but there was a much more sinister problem that is halting your operation. Look on the Minecraft Wiki on Scoreboards. In Bedrock Edition Currently, dummy is the only criterion supported. As such, score can only be changed by commands.


1

In fact, there is no need for an NBT here to give a potion. You just need the data value for the item: /give @a potion 1 7 Here is a table of data values for the potions.


1

Unfortunately, in Bedrock Edition, this is not possible, as complex NBT tags don't exist. Even if it would be possible, then you would need command blocks for every player in the server. But in Java Edition, this is possible: Repeat command block, always active /execute at @a[nbt={SelectedItem:{id:"minecraft:nether_star"}}] run tp @s 0 64 0 ...


1

Structure blocks are how you can save a certain region of blocks to a file or load from files into your world. A GUI is a graphical user interface, sort of like the thing that opens when you open a chest. When the wiki says: When placed, use the structure block to open the structure block GUI. The GUI opens only if the player is in Creative mode, and has ...


1

1.13+ Update Data values have been abolished in favour of separate item IDs. So now instead of dye with the data value for a colour, they now go by the item name. Lapis Lazuli's item name is minecraft:lapis_lazuli /give @s minecraft:lapis_lazuli


1

It is impossible to specify data values in can_place_on or can_destroy. Cracked stone bricks are just the stonebrick block ID with the data value 2. You can try using the infested stone bricks, they are actually different blocks under the ID monster_egg. These use the same data values, but they're able to be differentiated with block ID. Just remember, don't ...


1

I ended up using /testfor @a[rm=10] to check if there were any players outside the range, then inverting the comparator output from that. The other answers here were a bit complicated, but they got me pointed in the right direction - I had completely forgotten that rm was a thing.


Only top voted, non community-wiki answers of a minimum length are eligible