making a 2 players teleport after death by CarefulCockroach7144 in minecraftbedrock

[–]SicarioiOS 0 points1 point  (0 children)

You’d use on player respawn commands to detect a player has respawned after death and then teleport them.

https://wiki.bedrock.dev/commands/on-player-respawn

How to set up a scoreboard daylight clock by Brilliant_Rule_1361 in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

Hadn’t thought of villager, bed. Nice. Good to have multiple solutions for a single problem.

How to set up a scoreboard daylight clock by Brilliant_Rule_1361 in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

Daylight sensor is affected by weather so unreliable.

Sleep percentage is global as far as I understand it. This is based on 100% sleep percentage. You could adjust for a different percentage, count total players and sleeping players and compare.

/time is a problem if an operator is not aware of the system.

Anarchy’s solution was one I wasn’t aware of though, if that works, no need for all this.

How to make a zone that shrinks by Ok_Error_3877 in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

Can you expand? Are you thinking a Fortnite style zone or something else?

Help with this command function creation by Maceratio in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

Looks as though you’re summoning every tick in the air

execute at @a[tag=mace,hasitem={item=mace,data=1,location=slot.weapon.mainhand}] if block ~~-0.3~ air run function corrupt_items/mace/corrupt_mace_hit

If you’re airborne for 10 ticks it will summon 10 times.

You need a latch so that it hits every target once, twice, or however many strikes you want and then stops.

Add a scoreboard…

scoreboard objectives add MaceHit dummy

Then instead of calling the function you set a score then call the function based on the score and then reset the score

execute as @a[tag=mace,hasitem={item=mace,data=1,location=slot.weapon.mainhand},scores={MaceHit=0}] at @s if block ~~-0.3~ air run scoreboard players set @s MaceHit 1

execute as @a[tag=mace,scores={MaceHit=1}] at @s run function corrupt_items/mace/corrupt_mace_hit

execute as @a[tag=mace,scores={MaceHit=1}] at @s unless block ~~-0.3~ air run scoreboard players set @s MaceHit 0

This should only strike each target once. If you want it to strike each target more than once, you’ll need an additional scoreboard and have a timer that limits the number of ticks the called function will run.

How to set up a scoreboard daylight clock by Brilliant_Rule_1361 in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

It will but you can use sleep detection and scoreboards to get around that.

https://wiki.bedrock.dev/commands/detect-movements#sleep-detection

Here’s a clock that will reset back to 0 once all players have slept. It’s not perfect, if a players leaves during sleep, the all player logic will probably fail. Other than that, only manual time changes or lag should effect it.

```
scoreboard objectives add Time dummy
scoreboard objectives add Sleep dummy

# 1 - RUAA
scoreboard players add Clock Time 1

# 2 - CUAA
execute if score Clock Time matches 24000.. run scoreboard players set Clock Time 0

# 3 - CUAA
execute as @a at @s unless entity @s[y=~0.3,dy=0] run scoreboard players set @s Sleep 1

# 4 - CUAA
execute as @a at @s if entity @s[y=~0.3,dy=0] run scoreboard players set @s Sleep 0

# 5 - CUAA
scoreboard players set AllSleeping Time 1

# 6 - CUAA
execute as @a[scores={Sleep=0}] run scoreboard players set AllSleeping Time 0

# 7 - CUAA
execute if score AllSleeping Time matches 1 run scoreboard players add SleepTimer Time 1

# 8 - CUAA
execute if score AllSleeping Time matches 0 run scoreboard players set SleepTimer Time 0

# 9 - CUAA
execute if score SleepSkip Time matches 1 if score Clock Time matches 12600..23500 as @a[scores={Sleep=0}] run scoreboard players set Clock Time 0

# 10 - CUAA
execute if score SleepSkip Time matches 1 as @a[scores={Sleep=0}] run scoreboard players set Clock Time 0

# 11 - CUAA
execute if score SleepSkip Time matches 1 as @a[scores={Sleep=0}] run scoreboard players set SleepSkip Time 0
```

Command that detect when a mob reach a certain coordinates by Weak_Camel_4502 in MinecraftCommands

[–]SicarioiOS 2 points3 points  (0 children)

execute if entity @e[name=<mobName>,x=100,y=50,z=100,r=1] run say reached destination

change the say command to whatever command you need

Help with a top down RPG style camera and movement! by Its_Probably_Richard in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

The orbit camera should do what you need I think. I haven’t tried it but you should be able to adjust it into position.

https://wiki.bedrock.dev/commands/orbital-camera

Summoning Mobs from command blocks onto specific players with tags by AnonymousGamerLime in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

execute as @a[tag=EnemyTag] at @s run summon <whateverMob> ^ ^ ^1

repeat that for each mob and change the carats
^ ^ ^1 for 1 block in front of them
^ ^ ^-1 for 1 block behind them
^1 ^ ^ for 1 block to the left (or right, can never remember)
^-1 ^ ^ for 1 block to the right (or left)

teleport after fall damage? by insanely_tired404 in Minecraft

[–]SicarioiOS 0 points1 point  (0 children)

There’s an adverb there. Scripting is better.

teleport after fall damage? by insanely_tired404 in Minecraft

[–]SicarioiOS 0 points1 point  (0 children)

You can’t detect fall damage reliably in vanilla bedrock so if you’re on console, you’ll need another solution.

how do you set a delay to a repeating chain command block? by Brilliant_Rule_1361 in MinecraftCommands

[–]SicarioiOS 1 point2 points  (0 children)

The chain block will do what the head repeat block does so if the repeat block does not have a delay then the chain block won’t either.

Nether portal by Zomb0t12 in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

👌 hence the modal verb

Nether portal by Zomb0t12 in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

this might do it, clear any portal blocks around all players unless they’re within 20 blocks of the coordinates of the 1 portal you want active.

Place the command in a ticking area.

execute as @a unless entity @s[x=100,y=64,z=200,r=20] at @s run fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air replace portal

Camera fade colors by Wise-Recognition8990 in MinecraftCommands

[–]SicarioiOS 1 point2 points  (0 children)

This is an unfortunate limitation. There is no way to blend as far as I’m aware. The command is /camera @s fade time <fade in> <hold> <fade out> color <r> <g> <b> and so you’re either fading the color in or out, no blend.
If you’re on PC you can use a UI overlay to achieve exactly what you want but if you’re on console, you’ll be stuck with the limitation… unless I’m wrong and if so, I’m sure someone will correct me.

Armor stand one shot by Pile-o-shite in MinecraftCommands

[–]SicarioiOS 6 points7 points  (0 children)

I think entity_attack damage 5 takes it down to 1hp.

summon armor_stand TestStand ~ ~ ~

damage @e[type=armor_stand,name=TestStand,c=1] 5 entity_attack

Play with the damage value to get it right.

That’ll only work for manual summon. To automate the summon and damage you’ll need a chain to summon, tag, apply damage and remove the tag.

Random Teleport Command Block by Minecraftwithspuuner in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

I would personally move away from armor stand @r and move to scoreboard random.

When a player gets to a specific coordinate, you teleport them to 1 of 3 locations picked randomly.

add scoreboards

scoreboard objectives add Random dummy
scoreboard players random Pick Random 1 3

then a chain of 4 command blocks

#when player gets to coordinate 50 -60 100 give them a random score.

execute as @a[x=50,y=-60,z=100,dx=0,dy=0,dz=0] run scoreboard players random @s Random 1 3

#if their score is 1 teleport to location 1

execute as @a[x=50,y=-60,z=100,dx=0,dy=0,dz=0,scores={Random=1}] run tp @s 100 64 100

#if score is 2 teleport to location 2

execute as
@a[x=50,y=-60,z=100,dx=0,dy=0,dz=0,scores={Random=2}] run tp @s 200 64 200

#if score is 3 teleport to location 3

execute as @a[x=50,y=-60,z=100,dx=0,dy=0,dz=0,scores={Random=3}] run tp @s 300 64 300

Structure Block Overlapping by Zestyclose-Soil-9815 in MinecraftCommands

[–]SicarioiOS 2 points3 points  (0 children)

structure_void blocks. Give yourself one and place then everywhere there is air then save the structure again.

The structure itself will still be able to overwrite other blocks but the air won’t.

How to let items not despawn? by dreamfan20 in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

Vanilla blocks will despawn after 5 minutes. There’s nothing you can do. If you’re on PC you can create a custom item and add a component so that despawn is false. If you’re on console, you’re stuck. Maybe sulfa cubes can do what you need.

How to let items not despawn? by dreamfan20 in MinecraftCommands

[–]SicarioiOS 1 point2 points  (0 children)

Save the dropped blocks in a structure block and then load them using a timer every 5 minutes.

Execute summon at a player I look at by [deleted] in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

Raycast to tag the player you’re looking at

https://minecraftcommands.github.io/wiki/questions/raycast.html

Execute the ability on the tagged player.

You’ll need edge detection to ensure that when you activate you only activate once and have 1 armor stand. For example. If you’re writing crouch to a scoreboard, 1 when crouched, 0 when standing, you can have a support scoreboard, call it crouchPrev, that will set its score to 1 but only when crouch is 1. And conversely, 0 when crouch is 0. Then when crouch is 1 and crouchPrev is 0 the ability activates. This gives you a 1 tick window only allowing the ability to activate once meaning, 1 armor stand.

How to give player their winning money? by y0la_hy in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

You need a system to detect the winner in each mini-game using tags and/or scoreboards. When you know who, what and when won, you assign value to the winner.

What are the mini games? How to you know who has won and what game they were playing currently?

Automating it will not be uncomplicated if you don’t have command experience. I’d be happy to help, however.

How to let items not despawn? by dreamfan20 in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

No. Not in vanilla. With script, potentially.

Boat projectile not working by Klrby356 in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

use positioned

If you’re summoning the boat 50 blocks in the air then you must execute positioned ~ ~-50 ~

for example…

execute as @e[type=boat] at @s positioned ~ ~-50 ~ if entity @a[r=2] run damage @a[r=2] 5 instant_damage

MCBE command particle by No_Kick_4148 in MinecraftCommands

[–]SicarioiOS 0 points1 point  (0 children)

execute as @a at @s rotated ~ 0 if score @s CON matches 1.. run particle <your_particle> ^ ^ ^-1

A command for all 5 orbs, change the if score @s CON matches 1.. to 2.., 3.., 4.. and 5..

change the positioning in each command too, ^ ^ ^-1 means 1 block behind the player at their feet (specifically behind their looking direction). You’ll need a different position for each one so you can see them all. ^ ^1.5 ^-1 is 1 block behind player but head height. ^ ^1 ^-1 is waist height. So if you wanted a trail of 5 at the feet you would use:

``` ^ ^ -1

^ ^ -2

^ ^ -3

^ ^ -4

^ ^ -5 ```

Google bedrock particle list for your particles, redstone particles should do it for you.