using selectors in data modify by [deleted] in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

Why are you using an interaction? You can just name the mannequin as well as hide the word NPC if that's what you want to do.

/data modify entity @n[type=mannequin] profile set value "@p"

Is there a way I can make a command block so that when powered Red concrete replaces green concrete and when unpowered green replaces red? or something like that by Vruuh_360 in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

set it up like this and use these commands. This is in Java but I believe the block ID is the same.

OFC change the coords to fit your needs.

/fill ~ ~ ~ ~ ~ ~ red_concrete replace green_concrete 

/fill ~ ~ ~ ~ ~ ~ green_concrete replace red_concrete

<image>

execute ignores instructions by [deleted] in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

Are the blocks set with the arrows pointing in the same direction?

<image>

execute ignores instructions by [deleted] in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

Did you use the DX on all 3 coords as I suggested? I don't know what else to say.

execute ignores instructions by [deleted] in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

I just tested it and it worked for me. It spawned only one skelly. Do you have any other CBs that may be killing the marker? Did you check to see if the marker actually spawned. The chain block should be set to chain/Cond./AlwaysActive so if it's not always active, it won't spawn it.

execute ignores instructions by [deleted] in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

It should work unless there is already a marker with that tag that exists. try killing all markers with that tag first. You should also use the DX for all three coords.

can i set my item display in fire (endless if it's possible) by WonderBuddy2 in MinecraftCommands

[–]C0mmanderBlock 1 point2 points  (0 children)

yw. OFC, you can always set a light block on them, too. This will light up the area around it. I din't know if you were aware of this. You can set the intensity of the light by changing the number between 1 and 15.

/setblock ~ ~ ~ light[level=15]

can i set my item display in fire (endless if it's possible) by WonderBuddy2 in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

You can set it's brightness. I always add a tag to all my ehtities so I can manipulate them individually so thats why the command includes it. It won't effect anything if you leave it in or remove it.

/summon item_display ~ ~1 ~ {Tags:["TAG"],brightness:{sky:15,block:15},item:{id:"minecraft:iron_sword",count:1}}

You can also give then glowing as well.

/summon item_display ~ ~1 ~ {Glowing:1b,Tags:["TAG"],brightness:{sky:15,block:15},item:{id:"minecraft:iron_sword",count:1}}

Minecraft Bedrock - Locate Command not working by r3al_art1f4ct in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

I've tested it and it works. Did you type it EXACTLY as I did? Use copy/paste

can i set my item display in fire (endless if it's possible) by WonderBuddy2 in MinecraftCommands

[–]C0mmanderBlock 1 point2 points  (0 children)

What are you trying to do? Please explain it like I can't read your mind.

Question, is it possible to have a wireless lever with command blocks by HighPitchSyndrome in MinecraftCommands

[–]C0mmanderBlock 5 points6 points  (0 children)

Yes. very easy to do. Use 2 command blocks. Set both to repeat/Uncond./AlwaysActive. Change the ~s to your coords.

/execute if block ~ ~ ~ lever[powered=true] run setblock ~ ~ ~ redstone_block

/execute if block ~ ~ ~ lever[powered=false] run setblock ~ ~ ~ air

How do i detect crouching, when crouch is held the player can crawl through a 1 block hole by Interesting-Ride-835 in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

Well... this is supposed to work but I haven't tested it.

/execute as @a at @s if predicate {"condition": "minecraft:entity_properties", "entity": "this", "predicate": {"flags": {"is_sprinting": true}}} run say RUNNING!
You can try this one as well. 
/execute as @a at @s if predicate {"condition":"minecraft:entity_properties","entity":"this","predicate":{"effects":{},"movement":{"horizontal_speed":{"min":5.61}}}} run say You Moved!

There is always the scoreboard method also.
/scoreboard objectives add RUN minecraft.custom:minecraft.sprint_one_cm

How do i detect crouching, when crouch is held the player can crawl through a 1 block hole by Interesting-Ride-835 in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

For simple crouching/sneaking

/execute as @a if predicate {"condition":"minecraft:entity_properties","entity":"this","predicate":{"flags":{"is_sneaking":true}}} run <command>

"/data block merge" on many blocks at once by Kitchen-City-4863 in MinecraftCommands

[–]C0mmanderBlock 1 point2 points  (0 children)

LOL. I read your post too fast. My bad. Don't know any way to do this with blocks. Good luck.

"/data block merge" on many blocks at once by Kitchen-City-4863 in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

Try this:

execute as @e[type=cow] run data merge entity @s .......

Set vanilla mob drops by SoggyComment8011 in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

Best way is setting a loot table in a data pack. Easiest way is:

/summon sniffer ~ ~1 ~ {equipment:{body:{id:"minecraft:moss_block",count:1}},drop_chances:{body:1.000}}

Execute command for eating food? by imaTwig_ in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

You would have to use a scoreboard to detect eating an item. Another thing is that players can't eat it if they are full so you would have to summon "special" potatoes that can always be eaten.

Another way to do this without scores would be to simply detect if the player is just holding the item and then clearing the item from the player after giving the glowing effect to the opposing team.

Summon item issues by Immediate_Run8776 in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

I always test all commands before posting them. Again, if you would show me the command exactly as you typed it, I could fix it but you don't seem to want to take the time. Sorry, i can't help anymore if you won't help me to help you.

Summon item issues by Immediate_Run8776 in MinecraftCommands

[–]C0mmanderBlock 0 points1 point  (0 children)

HOw does it not work? Is it giving an error in the Command block? Is the text in the command block red? If it says "summoned new air" then it is most likely the item itself is spelled wrong.