#Commands General

1 messages · Page 4 of 1

devout marlin
#

does /camera support alpha for fading?

fallen steppe
#

No, unfortunately not @devout marlin

open quiver
ocean finch
#

Can I execute a console command on a player which is offline will the command work?

meager dune
#

Is there a command that when you interact with a Block your hunger will be satisfied, like Cakes

#

You eat it piece by piece, this is done with run_command, right?

thick rampart
#

just give yourself the saturation potion effect lmao.

gritty musk
dark bison
#

Where can I get information on the /camera command

thick rampart
#

and in-game autocompletes

jolly mesa
#

Or just use google

dark bison
thick rampart
#

I mean the command suggestion when typing things.

when you type /give @s you should see a variety of item IDs you can type in as a guide

dark bison
#

Oh ok

dark bison
#

I need help

thick rampart
#

someone help him

karmic yoke
#

Has he been helped

dark bison
#

Yh

dark bison
#

How many letters are allowed in a scoreboard objective?

gritty musk
#

iirc 32.

#

But that is just in the name. If you do something like;
/scoreboard objectives add “32_limit” dummy “there is no limit at all”
The text after dummy does not has a limit. I don’t think this has changed.

thick rampart
#

So the display name for the scoreboard objective has no limits? Can we read that with scripts?

gritty musk
thick rampart
#

( can't change the displayName through scripts tho... sad. )

gritty musk
#

Oh cool

elder flume
#

What's the id sound of when an axe stripped log?

And an id sound of when a tools break?

#

As I researched, I've seen this:
item.axe.strip

But it doesn't work in /playsound

wintry heart
#
"run_command":{ "command": [ "summon artillery:mortar_ball_shooter ~~~ 0 0 minecraft:on_degree_80" ] }

[json][error]-Sintax error: "0": unexpected in "oter ~~2~ »0« 0 minecra"

[Commands][error]-Command response could not compile commands

open quiver
#

missing ""

wintry heart
wraith magnet
#

i can't work this command in my minecraft its /execute @e[type=snowball] ~ ~ ~summon lightning_bolt

spare veldt
#

try /execute as @e[type=snowball] at @s run summon lightning_bolt ~~~

willow mesa
#

is the run command event response still experimental?

open quiver
#

set a property and check for it in an animation controller

quaint comet
#

hello everyone!
Is it possible to make it happen?
/tp @... moves me between dimensions without needing an object?

That is, I move from one dimension to another by writing the coordinates I want to move to and writing the dimension.

is that possible?

quaint comet
next nebula
#

how dose the structure load command work exactly
structure save test x1 y1 z1 x2 y2 z2
structure load test x3 y3 z3
how dose the game decide what corner to use in x3 y3 z3
the smallest coordinate or what

barren gulch
#

least is a better word but ya

next nebula
#

yep

gritty canyon
#

can you open npc dialogues without having npcs in the world?

gritty musk
#

You can’t, no

#

You can put the minecraft:npc component in the player though

upper swift
#

How do I make it so that last command block activates with how many ticks is set instead of ignoring it when I'm using a repeat always active as the first command block and the rest is chain conditional always active

#

the second chain command block is making it so that the repeat command block isn't activating anymore

thick rampart
#

bao_cmd_repeat_unc (no delay)
bao_cmd_chain_unc (delay)

The chain command block activates every tick regardless of the delay set. bao_cmd_chain_unc

#

because it follows the activation behind it. bao_cmd_repeat_unc

at the same time, if bao_cmd_repeat_unc stopped activating, bao_cmd_chain_unc will keep activating according to the amount of tick delay it has, before it actually stops.

spiral parcel
#

Hi all, is it possible to use a custom food item to spawn loot when consumed? Having trouble building the event part.

spare veldt
#
"minecraft:food": {
  "nutrition": 5,
  "saturation_modifier": "good",
  "can_always_eat": true,
  "using_converts_to": "minecraft:glass_bottle",
  "on_consume": {
    "event": "loot"
  }
}
{
  "loot": {
    "target": "player",
    "run_command": {
      "command": [
        "loot spawn ~~~ loot \"my_loot/loot\""
      ]
    }
  }
}
spare veldt
spiral parcel
#

I reworked my item to place a block, and the loot table gets pulled when you break it. It works, but will definitely be going back to this method, just feels so much more genuine.

formal glade
#

Could someone help me convert these to the new executes please

execute @p[rym=135,ry=180,r=5] ~~~ execute @e[tag=moveable,r=4] ~~~ tp @s ~ ~0.25 ~0.5
execute @p[rym=-45,ry=45,r=5] ~~~ execute @e[tag=moveable,r=4] ~~~ tp @s ~ ~0.25 ~-0.5
execute @p[rym=45,ry=135,r=5] ~~~ execute @e[tag=moveable,r=4] ~~~ tp @s ~0.5 ~0.25 ~
execute @p[rym=-135,ry=-45,r=5] ~~~ execute @e[tag=moveable,r=4] ~~~ tp @s ~-0.5 ~0.25 ~```
spare veldt
# formal glade Could someone help me convert these to the new executes please ```execute @p[rym...
execute as @p[rym=-180,ry=-135,r=5] at @s run tp @e[tag=moveable,r=4] ~ ~0.25 ~0.5
execute as @p[rym=135,ry=180,r=5] at @s run tp @e[tag=moveable,r=4] ~ ~0.25 ~0.5
execute as @p[rym=-45,ry=45,r=5] at @s run tp @e[tag=moveable,r=4] ~ ~0.25 ~-0.5
execute as @p[rym=45,ry=135,r=5] at @s run tp @e[tag=moveable,r=4] ~0.5 ~0.25 ~
execute as @p[rym=-135,ry=-45,r=5] at @s run tp @e[tag=moveable,r=4] ~-0.5 ~0.25 ~
#

I don't know exactly what this command has to do but I think it would be this

formal glade
#

great. So ~~~ is replace by at. ok

formal glade
spare veldt
formal glade
spare veldt
#

No, this command does not do that.

#

Do you place the block, and the entity that is placed along with it rotates to the player's side?

formal glade
#

It does work I've use it in 4+ marketplace maps. No blocks. just entities. I've got 1 for right click/left click movement. forward back/up down/rotation and many others

spare veldt
#

Ok

#

Couldn't you use facing @p?

formal glade
#

This was dev before that. But that wont give you a 45 degree placement.

#

your furn wont ever be even

#

You also thinking rotation not movement

#

This read the players facing direction then moves the entity they interacted with forward or away from them based on left/right click

spare veldt
#

So you shouldn't use as and at

formal glade
#

what should I use

spare veldt
#
execute as @e[tag=moveable,r=4] at @s if entity @p[rym=-180,ry=-135,r=5] run tp @s ~ ~0.25 ~0.5
execute as @e[tag=moveable,r=4] at @s if entity @p[rym=135,ry=180,r=5] run tp @s ~ ~0.25 ~0.5
execute as @e[tag=moveable,r=4] at @s if entity @p[rym=-45,ry=45,r=5] run tp @s ~ ~0.25 ~-0.5
execute as @e[tag=moveable,r=4] at @s if entity @p[rym=45,ry=135,r=5] run tp @s ~0.5 ~0.25 ~
execute as @e[tag=moveable,r=4] at @s if entity @p[rym=-135,ry=-45,r=5] run tp @s ~-0.5 ~0.25 ~
#

This command will be executed on the movable entity if the player @p meets the specified conditions, and based on this it will teleport to the coordinates specified at the end of the command

#

Is correct?

verbal oak
#

Does it affect performance alot to have alot of ticking scoreboards? say I want to create a bunch of abilities in a game, each ability having 2 scores:

  • 1 For the ability in general
  • 2 for the ability's cooldown (the one that will always be ticking downwards when the score is above 1)

Would this lag the game or affect performance at all if I were to have alot of these? (Im thinking like 100+ depends on how many abilities)

Also, would it lag to say, have 100+ inactive/non ticking scores on several players set to '0'

(btw if u reply to this please ping me, i dont check this server often, also only respond if you know what you're talking about, I'd appreciate if anyone could help 🙏 )

verbal oak
#

..

#

can nobody help me out here?

formal glade
#

question: Is there a way to get ^^^ to use the entity direction not the player rider's? Even when I use a execute at the entity it picks up the players directions

spare veldt
thick rampart
#

execute rotated as @e[]

meager dune
#

/execute as @s[lm=10] run summon hiro:mini_jewel_zombie_hr ~ ~ ~

Because it doesn't work on the item

#

I've already tried with what if / in the code

#

Why is this not working?

#

"summon_a_minions": {
        "sequence": [
          {
            "run_command": {
              "command": [
                "/execute as @s[lm=10] run summon hiro:mini_jewel_zombie_hr ~ ~ ~",
                "/execute as @s[lm=10] run summon hiro:mini_jewel_zombie_hr ~ ~ ~",
                "/execute as @s[lm=10] run summon hiro:mini_jewel_zombie_hr ~ ~ ~",
                "/execute as @s[lm=10] run summon hiro:mini_jewel_zombie_hr ~ ~ ~",
                "/execute as @s[lm=10] ~ ~ ~ xp -2L @s",
"playanimation @s animation.staff_attack",
"playsound mob.staff.attack"
              ]
            }
          },
#

What's the error?

spare veldt
#

@s[lm=10,l=1000]

#

You also used @s, this command would only work if used by a player. If it is used by a block or entity, use @p

#

And in the last command you forgot run

meager dune
#

It's an item that you use, that's why @s

spare veldt
#

The last command execute is missing run and also those ~ ~ ~ do not exist there

meager dune
#

Well I just found out, because that's exactly what's bugged now

meager dune
#

So there is no ~~~ after the run

#

How should my command be done then?

spare veldt
#

It depends, in this command removing xp is not necessary. But if so, use positioned ~~~ run ...

meager dune
#

The event of summoning the mob can only occur if the player has 10 xp levels

spare veldt
#

The xp command is already being executed in @s, it is not necessary to specify a position

meager dune
#

XP is required

#

So just remove the position?

spare veldt
#

But in that command you can do
execute as @s[lm=10,l=1000] run ...

meager dune
#

What does l=1000 do?

spare veldt
#

lm and l work similar to a range, so lm=10 and l=1000 is something between 10 and 1000

#

I'm not sure if l is necessary, but if it doesn't work then put

meager dune
#

I understand you say things that may not be necessary

#

I'll just add it to increase the line of code, good idea

meager dune
#

Now XP is giving an error

#

Oh my god in heaven

#

It used to work so well, now it doesn't work anymore

spare veldt
#

Didn't you put run?

#

Before xp put run

#

... @s[lm=10] run xp ...

meager dune
#

Finally

#

Is work

#

Thanks for Helping!!!!

spare veldt
#

No problem

lone abyss
#

how do i tp a entity 102 blocks front where ever im looking

spare veldt
lone abyss
#

kk

upper swift
#

Or just do
execute at @s run tp @e[name=""] ^^^102

potent pine
upper swift
# upper swift

feel free to change the selectors to just @e[type=""] i just did items and the distance of 10 just to show it works

#

and its a very simple command

mystic apex
upper swift
#

102 blocks infront of wherever they are looking

upper swift
potent pine
# upper swift you sure?

Certain. Commands written in chat already use your position and rotation, so there isnt a need for that

#

Unless you're changing it to something else

weak cargo
#

When i tp someone on the y command for example: tp @a ~ ~-79 ~, they get tped but they float a little before landing on the tped area, but ~~-80~ puts them stuck inside the floor block, -79.5 seems to be the best value but is this actually thr case when wanting to tp someone below but wanting them to be on the block properly?

upper swift
thick rampart
weak cargo
quartz dawn
sonic breach
#

is there a way I could test for the player leaving the game in a one player map?

upper swift
#

Can somebody save me? 🦸‍♂️ I'm trying to build a world where there's only zombies.
When using command blocks, I attempt to use a command block to summon a zombie at any monster location, and then a chain block to kill the monster.
Here an example:
/execute @e[type=creeper] ~~~ summon zombie
/kill @e[type=creeper]

#

The problem is that is not killing the mob or summoning the zonbie

#

Can you see the error?

quartz dawn
dark bison
#

I'm trying to make a double sneak system

Like have 1 point added to the scoreboard each Time a player double sneaks

Been on it for days and my brain is dead
Could someone lend me a hand

#

When you sneak you get the tag dash_ready

And it has a coold down of 1 second

So if you sneak again when you have this tag it will give you another tag called dash

thick rampart
#

green.

upper swift
dark bison
#

Does effect @s slow_falling 0 0 negate fall damage?

#

@trail glade

#

Your name says ping me, sorry if I disturbed you in anyway

trail glade
dark bison
#

Nvm found a way to do it with slown falling that works ok

#

Thanks for the suggestion tho

thick rampart
upper swift
#

How

formal glade
#

Question: I have a set of commands that run on a block with a function.

I need to run that function on a whole bunch of blocks in front of me. However, when I have execute position run the function it still runs the commands in the functions as from the players point of view.

How can I run a function in front of me 20 blocks but have all the commands in that function run as if at that locations not player locations who issued the command...

#

execute if block ~~-1~5 grass positioned ~~-1~5 run function block_checker_connected

For example.

I want this to check the block at ~~-1~5 is grass then as if at that position run the function.

But the function commands run as if they are at player.

mystic apex
#

Run the function through tick.json

spare veldt
exotic apex
#

so 5 blocks infront of u and not the players location

formal glade
meager dune
#

There is /tell raw command for loaded data version 1.16.100

#

Because I'm trying to use this command in a block in this version of that block

#

But command is buggy

#

It's not working on the block

radiant spoke
#

Anybody here playing on bedrock that would want to join a creative building realm?

elder flume
#

How /clear an item in player's mainhand? I just want to clear one item.

jolly mesa
#

/replaceitem

upper swift
elder flume
#

It will clear the entire stack

#

I only want to clear 1 item. If I have 64 stacks of item in my main hand, it will clear 1 item only, so there will be 63 left.

That command will replace mainhand with air, so the entire stack is gone.

quartz dawn
#

Unfortunately, you do need to specify the item.

elder flume
#

Finally, the real answer

#

Thank you

tidal oar
#

Any way to give player an item without they getting 'You have been given...' in chat? I don't want to use gamerule sendcommandfeedback.

tidal oar
#

Thanks

upper swift
#

should be in there

#

id imagine you can delete the entire line

elder flume
#

Who summon me?

#

I see in my notification history that you mentioned me Clockwork.

radiant spoke
#

execute at @a[hasitem={item=egg,location=slot.weapon.mainhand},tag=plotmaster,scores={plot=5}] run title @p[r=1] actionbar §4☢ §6Throw To Select §4☢ §3❄ §1Plot 5 §3❄ §4☢ §6Drop To Teleport §4☢

#

This is a part of a custom tp ui I am creating for my admins on my bedrock realm. For some reason the 5 keeps censoring. I have this same command for 100 plots in this custom ui that I made and for some reason only plot 5 is censoring. Anybody have any ideas?

#

So the 5 becomes uncensored when adding number or alphabetical character in front of and directly after but I not symbols and I cannot find any combinations that look good. Also have sourced some custom fives off the web which are also censored. SMH 🤔 I'm stumped on this 🙁

lean canyon
#

Mojang censors really random stuff sometimes. No really good way of getting around it

trail glade
#

any idea why this isnt working as expected?

scoreboard players add initialised world 0


#Your Commands Here (example)
execute if score initialised world matches 0 run say New world created!


scoreboard players set initialised world 1```
#

literally took it from the wiki

#

it does run the scoreboard command tho

mystic apex
#

What about it isn't workong?

trail glade
mystic apex
safe maple
#

How do I get a baby zombie to ride a chicken?

shut crater
safe maple
upper swift
undone acorn
#

guys, do you have a unique command particle here?

trail glade
#

And it doesn't do that

trail glade
mystic apex
trail glade
#

1- I've put the name of the file on the ticks.json values array

#

Then I copied what was on the Wiki and pasted it in the file

upper swift
trail glade
#

Ye

upper swift
#

can we see your ticks.json

trail glade
#

I'm not a beginner I've been coding add-ons for years😂

upper swift
#

also its tick.json

#

no s

trail glade
upper swift
undone acorn
# upper swift ?

command particles but more unique and cool, like rain particles with clouds

#

I hope you understand

upper swift
upper swift
trail glade
upper swift
#

huh

#

weird

trail glade
#

Yeah and as you can see in the screenshot I sent, the Initialize fake player is also being set to 1

upper swift
#

right

#

but it should still run

trail glade
#

So the tick.json and mcfunction are working as expected

#

Exactly that what's bothering me

upper swift
#

is weird

#

uh

#

if you check scoreboard can you see a scoreboard was made @trail glade

#

in the world you made run /scoreboard objectives setDisplay sidebar world

#

theoretically if it can you would see it with the initialised "player" having a score of 1

#

i know that running tellraw as soon as you join the game sometimes you won't see it, at least in my experience

mystic apex
shut crater
trail glade
upper swift
upper swift
#

my assumption is that your game is not fully loaded in when the message is sent

#

try something else like summoning an entity

trail glade
upper swift
#

weirdd

quartz dawn
#

I don't really see an issue.

trail glade
mystic apex
#

You should just use scripting

quartz dawn
#

As I always say, it's a very silly mistake somewhere we can't see.

mystic apex
trail glade
trail glade
trail glade
trail glade
mystic apex
#

You can still use scripting but okay

trail glade
#

No lol

#

Scripts are experimental

mystic apex
#

Not everything

quartz dawn
strong oxide
#

how do i remove one item for a sell command block/

/replaceitem entity @p slot.inventory

this is what im trying and can't seem to figure out how to deduct 1

#

from the itemstack etc.

mystic apex
#

Use clear

strong oxide
#

alr

dark bison
#

Anyone know why I get this content log error?
[Commands][warning]-Couldn't load file functions/menu/controls/ingame_menu/choose/m1_customization/slot3/3.mcfunction in functions directory.

native mantle
#

not sure if this been talked about before, but how do i make a command that detects whenever i move forward so that it will run a separate command? i am trying to make a charge ability for my addon that gives you speed, breaks blocks in front of you, and knockback entities in front of you.

#

(ping to respond too please)

glossy zephyr
#

/execute unless entity @a[hasitem={item=minecraft:gold_ingot,quantity=1}] run say hi

how can i make when it's <=1 like mroe than 1 it turn command

spare veldt
glossy zephyr
#

thank you sir

#

i just want to know how to make the score been stored and can convert it into items

#

like when i have the item for example coin when i use it it convert into +1 point

#

and i just want to know how to convert the same amount of the score comes item

spare veldt
glossy zephyr
#

ok sure

#

let me try

#

what about this
/execute if score @s Money >= @s Money run scoreboard players add @s Money -1

spare veldt
glossy zephyr
#

i want when i use it

#

it gives me the same score amount as an item

#

like 1 coin = 1 score

spare veldt
glossy zephyr
#

i did it for the item when i use it it's convert into score

#

but exporter item shouldn't

spare veldt
# glossy zephyr but exporter item shouldn't

With this sequence, every time the item is used it will add 1 to the coin score if the player has at least 1 coin in the inventory, and then it will consume 1 coin from the inventory.
bao_cmd_chain_unc

execute as @a[hasitem={item=coin,quantity=1..}] run scoreboard players add @s coin 1

bao_cmd_chain_unc

execute as @a[hasitem={item=coin,quantity=1..}] run clear @s coin 0 1
#

In your item add an event that will be triggered every time the item is used, use run_command to use these 2 commands

glossy zephyr
#

i will try

#

like that

#

@spare veldt

spare veldt
glossy zephyr
#

it's

#

1.20.40

spare veldt
glossy zephyr
spare veldt
#

Strange, there is no syntax error in as @a, could you send me the item file?

glossy zephyr
#

maybe should be @s ?

spare veldt
#

It must be @s because with @a it will be used in all players, but this does not cause a syntax error

glossy zephyr
#

so what could be

spare veldt
#

Send me the item file so I can see it

glossy zephyr
#

i sent u

torpid urchin
#

I have this problem when someone test my map. I want to reset his scoreboard but he is offline, more specificly not currently in the world. Is there any way to reset scores of offline players? If not can i somehow delete the scoreboard data of the map?

glossy zephyr
#

how can i put two commands in npc command

lean canyon
lean canyon
bitter dome
#

How do I run a command on a certain hp of Player?

mystic apex
#

Behavior pack

fallow cliff
fallow cliff
#

All that you need and then some more

bitter dome
dark bison
#

Any idea why this command isn't working when I sneak

execute as @a[scores={sneak=0}] at @s unless entity @s[x=~-1,y=~1.5,z=~-1,dx=0,dy=0,dz=0] run execute at @s[hasitem={item=ronin:katana_unsheathed,location=slot.weapon.mainhand}] run tag @s add sheathe

dark bison
dark bison
spare veldt
dark bison
spare veldt
#

Was the sneak objective created?

dark bison
#

Yh ofc

spare veldt
#

strange, if it worked in a repeat command block it should work in a tick.json function

spare veldt
#

Are there any errors in the logs?

dark bison
#

None

spare veldt
#

I have no idea either, maybe the sneak score is different from 0

dark bison
#

Nah I'll keep digging tho

quartz dawn
# dark bison Nah I'll keep digging tho

Try:-

execute as @a[scores={sneak=0}] at @s unless entity @s[x=~-1,y=~1.5,z=~-1,dx=0,dy=0,dz=0] run tag @s[hasitem={item=ronin:katana_unsheathed,location=slot.weapon.mainhand}] add sheathe
quartz dawn
dark bison
spare veldt
quartz dawn
#

Are you holding the item ?

#

The command makes sense to me.

dark bison
#

Ofc

spare veldt
#

Are you sure you are using the function correctly? Was it placed in the "functions" folder in BP?

dark bison
#

Really ticks me off lmao

quartz dawn
#

Check the content logs.

#

Sure

dark bison
dark bison
spare veldt
#

What may be happening is that when the function changes the player's score to 1, the other function that needs the score to be 0 happens later

dark bison
#

So?

#

I gotta find an alternative?

spare veldt
dark bison
#

Ait imma test it

dark bison
spare veldt
#

I reversed the order in which the commands happen but you can try to combine the 2 functions in the same file, they happen in order from top to bottom, if the score changes to 1 before the other function happens it will fail

dark bison
#

Oh ok

dark bison
dull grail
#

How do I make it so my function file doesn't continuously run if there's not an item on a wooden_conveyor

execute at @e[c=1,type=item] if block ~~-0.4~ ind:wooden_conveyor ["minecraft:cardinal_direction"="north"] run tp @e[r=0.01] ~~~0.1

execute at @e[c=1,type=item] if block ~~-0.4~ ind:wooden_conveyor ["minecraft:cardinal_direction"="east"] run tp @e[r=0.01] ~~~0.1

execute at @e[c=1,type=item] if block ~~-0.4~ ind:wooden_conveyor ["minecraft:cardinal_direction"="south"] run tp @e[r=0.01] ~~~0.1

execute at @e[c=1,type=item] if block ~~-0.4~ ind:wooden_conveyor ["minecraft:cardinal_direction"="west"] run tp @e[r=0.01] ~~~0.1```
quartz dawn
dull grail
#

yes

#

It's for the rotation of the block

quartz dawn
# dull grail yes

I mean is it necessary to detect if the item is on a wooden conveyor?

dull grail
#

yes

quartz dawn
#

I don't think so!

dull grail
#

How else would it work?

#

I need to know the direction which the conveyor is facing so the item can also move that way on it

quartz dawn
quartz dawn
dull grail
#

yep

#

I've just attached the conveyor.mcfunction file into the tick file, but that would just make the game laggier if there's a lot of conveyors around

quartz dawn
dull grail
#

ahh

#

Thank you very much

#

I appreciate it a lot :¬)

quartz dawn
#

Discord's New UI is crap!

dull grail
#

on phone ye

quartz dawn
#

isn't letting me add a super reaction 🥲

dull grail
#

rip

dull grail
quartz dawn
#

No, you create another one like this for it.

dull grail
#

Conveyor walls in my add-on are for centering items so they don't fall off the sides

regal flame
#

Can I be honest

#

I'm genuinely starting to get a little pissed off now

#

I've started a project and it's been ongoing for 3 days and there has been this major problem that I've been trying to solve for two days now

#

I've made so many posts

#

And it just seems like nobody would bother to help me

#

Except for amman works

#

He has been helping me but he's also been so busy so I don't want to bother him

#

It sucks dude

#

I need to get this update out to my players

#

It's a crucial part of our server

#

If you're wondering why this is so crucial to our server it's because you see I own a Kit PVP server and in the giant PVP Arena these PVP Bots spawn naturally around the arena it's a great way of making money besides killing other players and going to the generators around the map and not only that but a lot of people enjoy having the PVP box it's funner it makes the game funner especially when there's nobody else in the server

#

Is there anybody that's willing to help me out if you are just know that this is a very complicated and complex command system

lean canyon
#

You’ve made 6 posts in this discord and ~8 posts on Reddit. In most cases (ignoring Reddit) you’ve had at least one person respond and try to help, but typically you do not answer.

People help if they know how, but with something like this, there’s half a million different possible issues. We need responses and testing to actually solve the issue.

native mantle
#

Brother i made a post here a few days ago asking how to make a walk detection using commands (not scripts) and did i get help? No, am i complaining about? Not really. I also searched on this server using the “rm” and “r” selectors, i scrolled down just to find out that it doesn’t work anymore. Too bad google didn’t help either.

wicked forge
#

Can I set unless execute command more than 1 block? If i can, how? Is it only add more line?

lean canyon
lean canyon
quartz dawn
#

I think that's the case with most of the people, hence you don't even get a reply.

spare veldt
native mantle
#

Oof

formal glade
#

Question: How do I skip flags I don't want to use.

For example I want to use nameTag but I can't seem to get to it

#

Could you give me an example please

quartz dawn
#

It should.

formal glade
#

But yes it works thank you

quartz dawn
dark bison
#

What's the command to make the players camera flash white for 1 second?

spare veldt
woven aspen
#

how to avoid the smooth TP using /tp command?

#

The teleportation is not instantaneous, but rather it makes a transition between its previous position and the new position. This hurts me a lot when doing a cinematic and I want the change of position to be instantaneous.

dark bison
woven aspen
#

I forgot to clarify that

dark bison
#

You can still make it invisible 1 tick before it tp

woven aspen
dark bison
woven aspen
dark bison
#

Ohhhh

#

Rii

#

Sorry my bad

woven aspen
#

np

lean canyon
meager dune
#

Is there any way to activate the armor when it's night, using mcfuction?

#

Any if

#

Anybody know

dark bison
quartz dawn
gritty musk
#

You can sort of detect wether is night or not with daylight sensors or by detecting phantoms spawning

green nymph
rancid dock
#

is there a way to only replace certain array of light block? In my exemple, i have 0..1, like in scoreboard, but is there a way to make i'm looking for in a fill command?
/fill ~10 ~10 ~10 ~-10 ~-10 ~-10 emerald_block replace light_block ["block_light_level"=0..1]

rancid dock
#

yeah I can just run multiple command line in one function, but I was just wondering if making it only one command is something possible or not^^

lean canyon
#

Anyone know the max length for the name and display name of a scoreboard?

green nymph
formal glade
#

Question: What does this mean/do?

lean canyon
#

It’s where it actually displays

formal glade
#

Can you add your own TitleRawSets?

#

For example could I have 2 action bars

mystic apex
#

No

upper swift
upper swift
quartz dawn
spare veldt
# upper swift

The last number appears to be missing in the particle coordinates
~1 ~0.1 ?

upper swift
upper swift
wanton oxide
#

is there a way to check if there are certain blocks in a radius?

#

like check for a spawner in a 25 block radius

gritty musk
#

From where is the radius?

wanton oxide
gritty musk
#

You can use minecraft:queued_ticking to run an event, which will run either an execute if blocks or a /testforblock command(s).

wanton oxide
#

or am i wrong

gritty musk
#

Correct. If you compare it to the block you want to look for, it will act as a search for block.

wanton oxide
#

so if my block wanted to test for a spawner would i have to have the spawner below it for it to test?

gritty musk
#

Not neccesarily below, but yes. You will have to have it in an area. That's if using testforblocks

wanton oxide
#

or would it be the same

gritty musk
#

It would directly search for the block

wanton oxide
#

is it possible to have items be scattered around in a chest when using /loot insert?

#

im using my own custom loot table

merry solstice
#

Yooo so ahhh.

#

I would like to make a better mute system and I need some help with doing that.

sterile finch
#

Wdym

merry solstice
#

So my first one was alright that I made.

sterile finch
#

More detail

merry solstice
#

It was a repeating command block with the following command.

sterile finch
#

Oh

#

Well yeah

#

Ok using ability to mute someone is pretty easy,
If you wanna do something fancy you can also implement a msg telling them they're muted

merry solstice
#

/ability @a[tag=mute] mute true

sterile finch
#

Yea

merry solstice
#

Then with a bunch of chain command blocks.

#

With the unmute.

#

But I want to give people a message telling them that they have been muted once.

#

In chat.

#

Very sorry about the Grammer man currently typing on my phone not my PC.

sterile finch
#

rather you could do
/tellraw @a[tag=mute] {"rawtext":[{"text":"§8§l>> §r§7You have been §cMUTED"}]}
/ability @a[tag=mute] mute true
/tag @a remove mute

sterile finch
merry solstice
sterile finch
#

Just with a unmute tag

sterile finch
#

It doesnt

#

It sends it once

merry solstice
#

I just want it to say it once to the person that is muted.

sterile finch
#

Thats what it does

#

You could make a double tag system

merry solstice
#

Then when I add it to another person that is also spamming I don't want it to say it to say it to the person that is already muted and the other person.

sterile finch
#

That would remove the 2nd tag and would allow you to just use /tag ... add/remove mute

sterile finch
merry solstice
#

like alreadymuted

sterile finch
#

Wait a sec ill be right back on pc

#

Hi

dark bison
#

What's the command to effect a mob within 10 blocks in a straight line infront of me with wither

I know it uses dx dy dz

But I need and example

sterile finch
#
/tellraw @a[tag=mute,tag=!muted] {"rawtext":[{"text":"§8§l>> §r§7You have been §cMUTED"}]}
/ability @a[tag=mute] mute true
/tag @a[tag=mute] add muted

/tellraw @a[tag=!mute,tag=muted] {"rawtext":[{"text":"§8§l>> §r§7You have been §aUNMUTED"}]}
/ability @a[tag=!mute,tag=muted] mute false
/tag @a[tag=!mute,tag=muted] remove muted
#

@merry solstice

#

here

#

You will need these commands
edit: btw this is with /tag ... add/remove mute

sterile finch
#

you will need loads

dark bison
#

Someone mentioned it somewhere in this server but I didn't pay attention cuz I didn't need it then

#

Can't find it anymore

sterile finch
#

/execute positioned ^ ^ ^1 run effect @e[r=1] witther 10 255 true
/execute positioned ^ ^ ^2 run effect @e[r=1] witther 10 255 true
/execute positioned ^ ^ ^3 run effect @e[r=1] witther 10 255 true

#

like that

#

maybe not 255

#

whatever u want

dark bison
#

I used that and it effected multiple mobs

I set c=1

sterile finch
#

this is the only way you can detect it in a straight line

dark bison
#

Damn

sterile finch
#

xyz + dx dy dz detect in a box, in the same way /fill fills blocks

dark bison
#

Yh that should work tho

If I detect in a box of like 2 by 10

And I use execute at @s positioned ^^^

sterile finch
#

dx etc. are always relative to the xyz arguments and cannot be absolute (using ~ fails), xyz are absolute or relative (you can use ~)

sterile finch
dark bison
sterile finch
#

Ok

#

but radius is easier to do

#

and just as accurate

shut crater
#

You could use armor stands, but I always make a dummy entity

safe lintel
#

Theoretically you could avoid brute forcing or raycasting for that but it’d take quite a bit of setup and would definitely need a ticking area, likely not worth it since it’d take more time than just using 10 command blocks and plus I’d have trouble explaining it

safe lintel
# dark bison I used that and it effected multiple mobs I set c=1

What you could do with that method is run each command only if the previous fails, or more likely add a tag to the first one and test for that tag to not exist within a ten block radius and apply the effect to the tag (that specific strat wouldn’t work with multiplayer when people are next to each other though, you would either need to just use a bunch of different tags or the aforementioned failing method)

merry solstice
dark bison
merry solstice
#

Sorry I was doing json UI.

safe lintel
#

That would only affect entities within a 7-13 block space in front of you though and no it would affect all entities in that radius

safe lintel
#

in the second one

safe lintel
#

if it works for you it works though alr

merry solstice
native mantle
dark bison
#

scoreboard players add @e[type=armor_stand,tag=destroy] destroy 1
scoreboard players set @e[type=armor_stand,tag=!destroy,scores={destroy=!0}] destroy 0
tag @e[scores={destroy=21..}] remove destroy
sterile finch
sterile finch
#

That should do

#

And Ig a command that kills all of 'em after a certain amount of time

native mantle
#

Did it! Now what can i use to tp armor stands in a mushroom cloud shape? I know what particle to execute on those armor stand too. To make things easier, i don’t need the cloud to rise up, just need that folding animation! Another thing is what sound should i use that is long lasting for the nuclear explosion sound?

dark bison
native mantle
native mantle
elder flume
#

How to make a fill command outline, but will replace only the air. Is this possible?

thick rampart
elder flume
#

Nice tricks, thanks.

upper swift
#

does anyone got one of those actionbar scoreboard packs

thick rampart
#

you mean the scoreboard sidebar?

merry solstice
#

So I found out if you want to set a light block at a light level of your choosing just put this in.

#

minecraft:light_block["block_light_level"=15]

green nymph
#

I’m v glad u found that out

#

Those are called block states; most blocks have a couple different categories of block states - for instance levers have one for orientation and if they are on or off

native mantle
#

is it possible to make a psi system for a nuke without the need of custom tnt?

#

(instead of using just a bunch of execute unless block)

thick rampart
native mantle
#

are there alternatives to the tickingarea command?

#

because the limit of 10 areas is too low in my opinion

green nymph
native mantle
green nymph
native mantle
#

i honestly do not know. i've been doing a lot of optimizations lately

shut crater
#

Is there a size limit for each individual ticking area? As you could just make a massive one

trim zenith
#

Iirc 64x312x64, but idk much

#

attempting to add a ticking area larger than 100 chunks or a circular ticking area with a radius less than 0 or greater than 4 chunks: FAILED
https://minecraft.wiki/w/Commands/tickingarea

I guess less than 100 chunks area (rectangle) or 4 chunks radius (circle)

Minecraft Wiki

Add, remove, or list ticking areas.

shut crater
#

Ah, ok

quartz dawn
vast spindle
#

How would one call a scoreboard value into a /msg command?

For example I need a repeating command block to announce each teams score every so often something like “Your team has 1000 points”

My first assumption was to try something like “/msg @a[tag=a] Your team has [scores{aPoint}] points!”

But that doesn’t seem to work at all and I can’t find much on wikis or YouTube about this topic.

quartz dawn
thick rampart
vast spindle
green nymph
native mantle
hoary burrow
#

Is it possible to make the add-on execute a command when there is a specific number on the map?

#

for example there are 2 people in the game, he will execute the command once

thick rampart
#

use player counter

gritty musk
#

Please don’t cross post. Be patient and wait for a response 🙂

hoary burrow
#

Unfortunately, realms don't save some gamerules, so I wanted to use one to activate a command only when there is 1 person in the realm, so as not to cause unnecessary lag.

merry solstice
green nymph
merry solstice
green nymph
#

I mean, I’d argue a word format is a lot easier than data values
Data values only are understandable if yk what the value means, tho in a word format, it’s definitely a lot easier to understand what ”block_light_level” or ”direction” might entail in comparison

merry solstice
#

Well not that I know of.

green nymph
merry solstice
#

But if you could give me like a wiki linking to the new properties of the new /setblock and /fill command that would be at most appreciated!

#

Yet again there is always some pretty decent information on the minecraft wiki.

#

I guess google was the problem.

#

I guess I was the problem not being able to find it threw googles search engine.

green nymph
# merry solstice But if you could give me like a wiki linking to the new properties of the new /s...

https://wiki.bedrock.dev/commands/block-states.html
The bedrock wiki does a pretty good job at going over it I’d imagine

It’s not super complicated imo
The format always remains the same as such: [“type”=“state”]
The “type” component features examples such as ”block_light_level”, ”direction”, etc.; essentially asking what state of the block ud like to modify
The ”state” on the other hand is specifying what u want the outcome for the ”type” to be, for instance ”block_light_level”=15 - this may be a numerical value, or a string which may or may not be embedded in quotations

merry solstice
#

herd of it.

merry solstice
#

Also, the /replaceitem command.

green nymph
#

U mean if they added NBT modification to those commands?

#

It’d be pretty useful yeah

#

There are some creative work around u can typically do tho in order to replicate that if u need to give an item w enchantments, or a name, etc.

merry solstice
green nymph
merry solstice
#

Yet again I have not played Minecraft vanilla in a really long time until quiet recently so I wouldn't really know all the new stuff.

green nymph
#

All good

#

U can give items w data via commands using a workaround w /structure, however the item must be created then saved prior via a structure block or the /structure command

merry solstice
#

That has come ages ago.

#

I don't know the extent of the things that have been improved.

thick rampart
green nymph
merry solstice
merry solstice
#

But the basics but if you could help me improve that would be greatly appreciated!

thick rampart
#

I have no idea what I'm doing with json ui honestly.

merry solstice
merry solstice
#

I am trying to find secret items hidden in the source code of Minecraft.

#

I found one that has caught my eye that has been on java.

#

I am going to be quiet impresed with mojang in they added it to bedrock edition.

green nymph
# hoary burrow What does "rm" mean?

Radius Minimum - or in other words: anything outside of a radius
In this case, we’re saying:
At all players locations, only run the following command if there IS NOT another player outside a radius of 0.001 blocks from oneself

U can make the radius even smaller if u want, but 0.001 should suffice

merry solstice
#

Weird it didn't appear in the inventory.

#

After I edited it.

#

Well all the item was that I found was the identifier value name minecraft:debug_stick

#

I am sure it is unused.

#

minecraft:end_gateway
minecraft:end_portal
minecraft:info_update
minecraft:info_update2
minecraft:invisible_bedrock
minecraft:netherreactor
minecraft:mysterious_frame
minecraft:mysterious_frame_slot
minecraft:reserved6
minecraft:portal
minecraft:powder_snow

#

Here is some of the other things I found in the source code of minecraft bedrock edition.

#

These are all well known.

#

Meh, nothing useful.

balmy stratus
#

Hi Scoreboard I don't want it to go down to negative numbers, how do I do that?

thick rampart
#

check if the current score is higher than zero

#

and then decrement it.

balmy stratus
quartz dawn
#

To be honest, I don't really understand what you exactly want.

gritty musk
#

Is there any way I can /setblock a water source that starts moving without the need of neighboring blocks to receive an update?

mystic apex
#
/setblock ~ ~ ~ flowing_water
gritty musk
#

Oh, thanks!

balmy stratus
thick rampart
tribal jasper
#

How do I type this to get teleported into the bowels

trim zenith
#

I'm pretty sure that's command for Wither Storm mod things

thick rampart
merry solstice
#

Hey guys, I need some help!

#

The player counter that I use for my SkyGen that a very friendly person that I met here helped me make is now broken and failing to work automatically!

#

Sorry for my grammer just woke up!

#

So this helps me keep track of how many people are on my SkyGen at once.

#

If anyone can help let me know what commands or redstone I have to do to fix it after I show you how mine works.

#

**```
/testfor @a
/scoreboard objectives remove PlayerCount
/scoreboard objectives add PlayerCount dummy
/scoreboard players add @a PlayerCount 0
/scoreboard objectives setdisplay list PlayerCount

#

Here is how mine worked.

#

Now the feature that allowed you to detect when players left and join is now broken!

#

So I really badly need some help making a fixed version!

merry solstice
#

NVM it works

#

:/

#

Why didn't it work in the skygen

#

:/

#

curruption

merry solstice
merry solstice
#

and could I have both in the same back?

#

If so that would be so useful!

#

As then it would only execute if I play leaves or joins!

fallow cliff
merry solstice
#

in the tick.json

fallow cliff
#

If you're triggering something that takes 20-30 commands, then it would be advisable to use on-leave + on-join

fallow cliff
merry solstice
#

Alright man.

merry solstice
#

In the mc function?

fallow cliff
#

Yes

merry solstice
fallow cliff
#

The wiki page shows where to put the commands you need

merry solstice
merry solstice
#

I thought that it is anything?

fallow cliff
merry solstice
#

Like is that a example or do you exactly need those commands?

fallow cliff
#

Glad to assist ^^

merry solstice
#

As I am trying to make a player counter!

#

I am excited now as I didn't know this about commands despite it being around since the very early days of mcbe.

#

/scoreboard objectives remove PlayerCount
/scoreboard objectives add PlayerCount dummy
/scoreboard players add @a PlayerCount 0
/scoreboard objectives setdisplay list PlayerCount

fallow cliff
merry solstice
merry solstice
fallow cliff
merry solstice
fallow cliff
#

Exact same thing

merry solstice
#

If you don't mine me asking like listen the players

#

on the side?

fallow cliff
#

Yeah

#

I don't understand why you need that though

#

Since the game already does it

merry solstice
#

Not as a score board but near the settings tab.

fallow cliff
#

Menu, yes

merry solstice
#

Like this :3

fallow cliff
#

Yes

#

That will be there as long as you don't remove it or delete the obj

merry solstice
fallow cliff
merry solstice
fallow cliff
#

You're a beginner level commander it seems
You're expert with add-ons? 👀

merry solstice
#

as the original method used command blocks.

merry solstice
fallow cliff
#

If so, it's better to use command blocks for it. Because you need some delay. Otherwise, it can get glitchy

#

Because it's happening so fast

merry solstice
#

I found out that it caps out at 15 players.

fallow cliff
#

Yeah, that one uses observers, it was designed for realms

#

Also old school

merry solstice
fallow cliff
#

Yes

#

But how do you plan on doing that?

merry solstice
#

and placing it with the commands of my choosing.

merry solstice
#

is that bad

fallow cliff
#

6 commands for 2

#

That's counterintuitive

#

Should at least be 6 for 7

merry solstice
#

Wait do we have to keep: execute if score new total matches ..-1 run say a player has left the world

#

execute if score new total matches ..-1 run say a player has left the world

fallow cliff
#

yes

merry solstice
fallow cliff
#

But the say command can be changed

#

Everything after ..-1 is up to you

#

Do the same for any more commands you add in that list

merry solstice
#

Idk how the improved version works!

#

If it allows this then I am happy but if not idk man

#

like oh no man

#

:-:

#

Wait do we need the: tp @a[scores={joined=0}] 0 65 0

fallow cliff
#

@a[scores={joined=0}] you only need this part for your commands

merry solstice
#

Like for the player join?

fallow cliff
merry solstice
#

😅

fallow cliff
#

Yes 🥹

merry solstice
#

So you do need the tp command!

#

Alright good to know!

#

0 213 0 0 0

fallow cliff
#

Everything is there!

merry solstice
#

I replaced it with that.

fallow cliff
merry solstice
#

Wait we don't need the /tp command

#

As it is an example

#

On Player Join:

**```
scoreboard players add @a joined 0
scoreboard objectives remove PlayerCount
scoreboard objectives add PlayerCount dummy
scoreboard players add @a PlayerCount 0
scoreboard objectives setdisplay list PlayerCount
tp @a[scores={joined=0}]
scoreboard players reset * joined
scoreboard players set @a joined 1

#

On Player Leave:

**```
scoreboard players reset new total
execute as @a run scoreboard players add new total 1
scoreboard players operation new total -= old total
scoreboard objectives remove PlayerCount
scoreboard objectives add PlayerCount dummy
scoreboard players add @a PlayerCount 0
scoreboard objectives setdisplay list PlayerCount
execute if score new total matches ..-1 run say a player has left the world
scoreboard players reset old total
execute as @a run scoreboard players add old total 1

#

I am so confused man!

#

Here we have used a tp command as an example but you can use any command you prefer and as many as you require.

merry solstice
fallow cliff
#

Aegument selectors

#

@_[Whatever goes in here]

merry solstice
fallow cliff
#

And cover the basics

merry solstice
#

_<

fallow cliff
#

I thought you were an intermediate

merry solstice
#

Ok so do we just need the @a[scores={joined=0}]

fallow cliff
#

Or near average

merry solstice
#

So we don't /tp

#

I want to die

merry solstice
#

willl it be functionable

#

or do I have to replace my commands

#

with the @a[scores={joined=0}]

fallow cliff
#
/scoreboard players add @a joined 0


/execute if entity @a[scores={joined=0}, c=1] run scoreboard players reset * playerCount
/execute if entity @a[scores={joined=0}, c=1] run scoreboard players add @a playerCount 0

/scoreboard players reset * joined
/scoreboard players set @a joined 1
fallow cliff
merry solstice
#

But as well as making the game functional.

fallow cliff
#

Np, no need to thank so much lol

#

Also I'm a girl in case you were confused 😆

merry solstice
#

That is good to know!

merry solstice
#

in voice call!

fallow cliff
#

And I am kinda tired :S
So yeh lol

#

If I wasn't being very detailed in response or sounded blank

merry solstice
#

So umm,

#

**```
scoreboard players reset new total
execute as @a run scoreboard players add new total 1
scoreboard players operation new total -= old total

execute if entity @a[scores={joined=0},c=1] run scoreboard players reset * playerCount
execute if entity @a[scores={joined=0},c=1] run scoreboard players add @a playerCount 0
execute if score new total matches ..-1 run say a player has left the world

scoreboard players reset old total
execute as @a run scoreboard players add old total 1

#

this good

#

?

#

imma gie you a thank you!

#

in the credits

merry solstice
#

:3

#

I am so fliping tired I just need an example of both

#

so I can understand it forever

#

bro this harder then java user interface

#

wait for

#

the leave we don't need [scores={joined=0},c=1]

#

this right?

#

Meow

#

me a cat

#

I don't understand

#

When did these commands ever exist on the scoreboard what happened to the basic stuff man.

#

I give up!

#

THE COMMAND IS RIGHT THERE WHAT DO U MEAN

#

imma wait for

#

she the more smarter one

#

Zhea Evyline

#

like score board set display

#

I know

#

belowname

#

I know

#

but this idk man

#

yeah idk man

#

idk

jolly mesa
#

Just turn on content logging and see what are the function errors...

merry solstice
#

I really don't understand man I really don't

#

😭

#

yeah idk man

#

this is bugged

jolly mesa
#

In minecraft. go into Settings > Creator > Enable Content Log GUI and file. reload the world and press ctrl+h and see if there are function errors

merry solstice
#

everything seems to be fine

jolly mesa
#

Actually. Why are you not using development bev packs folder

merry solstice
#

perhaps I did the files the wrong way

jolly mesa
#

It's needed for live reload changes without having to restart mc

#

There is a pretty massive difference

merry solstice
jolly mesa
#

The function is fine. You just didn't put it in the appropriate folder to make mc detect those changes

#

Also every time you add a new function. You need to reload the world

merry solstice
#

I need help man like this is advanced score board

jolly mesa
#

You could just use script api and completely wipe the scoreboard

merry solstice
merry solstice
#

I just need help man please

#

; (

#

my brain is hurting

jolly mesa
#

If you're using redstone. That's why

merry solstice
#

add new stuff

#

in the cmd

#

but she left

#

D:

fallow cliff
#

You just need to take a break, calm your mind, and work on it later. And when you do, please make sure to fully read the documents. Or otherwise, you will keep asking things that are already answered there.

fallow cliff
# merry solstice **``` scoreboard players reset new total execute as @a run scoreboard players ad...

Fixed code:

/scoreboard players reset new total
/execute as @a run scoreboard players add new total 1
/scoreboard players operation new total -= old total


/execute if score new total matches ..-1 run scoreboard players reset * playerCount
/execute if score new total matches ..-1 run scoreboard players add @a playerCount 0


/scoreboard players reset old total
/execute as @a run scoreboard players add old total 1
fallow cliff
merry solstice
#

I AM NOT USE TO THIS STUFF

#

We hit a new time high!

fallow cliff
#

Is that your server

#

So active

merry solstice
#

I know 😄

#

I really want to make a better automated player counter

fallow cliff
#

What is called

merry solstice
fallow cliff
#

Ah ok

merry solstice
#

It has been reset and exported new other worlds multiple times.

#

Here is how I did it

#

Last time I did it was 1.17

#

But now I have new modern tools to get the job done

merry solstice
#

TO SAVE YOU TIME IN THE FUTURE

fallow cliff
fallow cliff
#

Very few people have had doubts on those pages anyway

merry solstice
merry solstice
dire marsh
#

Can I detect the absence of a block at a position?
For example, we can detect a block using execute when it is in a position (~~~), but can I detect when it's not there? And what is the command if possible?

gritty musk
#

You could use /testforblocks for that

fallow cliff
quartz dawn
#

This is why @dire marsh cross-posting is not recommended and allowed as it can lead to people wasting their time helping you when you have already found a solution. Please don't cross-post 🙏

dire marsh
quartz dawn
#

No no no, please don't! I was just letting you know 😄

merry solstice
#

Hey ummm, guys I am trying to make it so it teleports me and makes me skip when I am afk.

#

So ummm, one of the old commands that I know of back it the day no longer weridly works.

#

/tp @a[tag=OPAFK] ~ ~0.5 ~ ~2

#

Could someone give me a updated version perhaps?

quartz dawn
turbid plaza
#

Hey guys! Can I /setblock a beehive full of honey?

merry solstice
quartz dawn
woeful swan
merry solstice
#

that is why I jut explained that.

shut crater
#

What is it doing exactly?

merry solstice
#

:/

#

I honestly don't know why man.

green nymph
# merry solstice /tp @a[tag=OPAFK] ~ ~0.5 ~ ~2

This command rotates u 2 degrees based off of the rotation of the target entity
If ur running this in a command block, that just means ur setting their rotation to 0 degrees (command block’s rot.) + 2 degrees

dull grail
#

^ is used for facing. So maybe you do do ^2?

topaz venture
topaz venture
bleak mason
#

dont know if this counts

#

but, what would the best way of breaking up a long line of chain command blocks to be shorter?

dull grail
#

but

#

Well

#

it really depends on what type of chain command block link it is

#

You could also do a command block on conditional that places a redstone block down next to a impulse, needs redstone

bleak mason
#

Thank you, I got a line of like… 80 command blocks…

dull grail
#

ye, that's a lot

bleak mason
#

So being able to break into more normal sized chunks helps a lot

dull grail
#

Also, before you shorten

#

make sure to make a backup of the world

#

just incase

bleak mason
#

Alright, will do.

dull grail
#

And try to keep the command blocks in 1 chunk

#

because like redstone, it can cut off if the adjacent chunk isn't loaded, and also can have an extra tick of delay when moving through a chunk

topaz venture
dull grail
#

It's a reason why it's recommended for command block chains to stay in 1 chunk other than sim distance

green nymph
green nymph
shut crater
#

Are behavior packs an option for you? As if they are you could use a function

turbid plaza
#

Guys, is there a way to test if is there ANY grass block within certain coordinates? I mean, I don't want to compare two areas with /testforblocks or/execute if blocks...

quartz dawn
#

You can only test for a single block using it though!

turbid plaza
#

Yeah, I thought that'll be the case. Nevermind, I'll have to find another way of doing that. Thanks!

shut crater
#

You could auto-generated a command for it with a python script, as regardless of what you do(whether it be scripting or something else), mc will be checking every block in the area

topaz venture
topaz venture
# dull grail

huh, you know you could just have a chain command block thats pointing up?

#

works perfectly fine

gritty musk
#

I didn’t know that was possible

#

Kinda late though since I use command blocks no more but oh well

topaz venture
#

yeah its quite suprising how many people dont know how chains actually work, i wrote this some time back on how command executions actually works if anyones interested:

lets go step by step
once a command block gets activated what happens?
1. it checks if the command block is currently getting a redstone signal, if its on always active, its always getting one.
   if its not getting a redstone signal skip to step 4.
    2. if its unconditional execute the command.
    3. if its conditonal, then check the last output of the command block behind it, if that output was true then execute the command.
4. the command block sends a signal to the command block infront of it, if the command block which received the signal is chain,
   that chain command block will get activated. now you can return to step 1 with this new command block (the one which just got activated) in mind.
dull grail
#

I tried it yesterday

topaz venture
topaz venture
# dull grail I tried it yesterday

and thats because conditonals check behind them and not at who activated them so when you rotate them you usually shouldnt conditonals unless you know what you're doing

merry solstice
balmy stratus
#

execute as @e[distance=..3,tag=!Immune] run damage @s entity_attack @p 15
Is this command correct?

mystic apex
#

No

#

execute as @e[r=3,tag=!Immune] run damage @s 15 entity_attack entity @p

ebon cipher
#

Need a help plz

#

@turbid plaza

#

There is an addon named spawn chunks it s makes add tickarea when u place a block or make a farm like java edition spawn chunk but when u enter the nether it stops adding new ticks area ,
This is its code (plz fix it) :

#bridge-file-version: #0
execute @a[tag=spawn] ~ ~ ~ tag @a add spawn
execute @a[tag=!spawn] ~ ~ ~ tickingarea add circle ~ ~ ~ 4
tag @a add spawn

ebon cipher
#

@dull grail

dull grail
#

?

ebon cipher
#

Can u help me plz

dull grail
#

Do you get any content log errors?

ebon cipher
#

No

#

Even i tried to write
/Say something

#

And it do it

#

And the ticksarea are not 10/10

#

And there is
Tick.json also in the functions file

#

But when i enter the nether exactly it stops adding new ticks areas

dull grail
#

lets open a new post in #1067869288859447416 and we'll figure it out there

ebon cipher
#

Ok

merry solstice
#

command: /teleport {player} X Y Z ^2 0

ebon cipher
#

._.

merry solstice
#

could I have some help please.

#

I knew it was something like that