If anyone's wondering why the command at 7:58 doesn't also display TheGodOfPigs, as its scoreboard was also over 9000, it's because the selector @e only displays entities, and TheGodOfPigs is a "fake player". The command would only display TheGodOfPigs if a player with that exact username was on the world.
you're a lifesaver! I'm working on commands for an arena build and got stuck on how to show the scoreboard sidebar, but this video was exactly what I needed! Thank you!
instead of "dummy", use "deathCount", and display the scoreboard. It will automatically update from there, though you will need to add your manually counted deaths to be accurate.
It would be nice to keep the language consistent, i.e. call a scoreboard objective an "objective" and not a "scoreboard", since the scoreboard itself actually encompasses all objectives, and new people are frequently confused about which part someone actually means when you call an objective a "scoreboard". Edit: Something else that might have been nice to clarify is that selecting by score does not actually search through all entities on the objective, but instead searches through all loaded entities and tests for their scores. This may sound like it only makes a difference in advanced use cases, but many beginners try to target fake players through selectors, which ends up not working for the reason that I just explained.
So, by using a scoreboard selector on an entity, like an invisible marker armor stand, and having it be used to set if they use execute to, say, place a block, you could have something that only happens when a variable is at a certain value.
Yup! Although a more efficient way to do it would be to use a fake player instead of an entity. Lime hasn't covered this yet, but you could do "/execute if score TheGodOfPigs piggyness matches 9000.. run say It's over 9000!". The useful thing about "execute if score" is that you can check the scores of stuff without needing some entity to be loaded in the world. It's also more efficient to check a score using a name (TheGodOfPigs) than a selector (@e[tag=godAmongstPigs]) which would be important in a larger project where you need to worry about causing lag. I bring this up bc I wish I'd known about this when I started working with commands
This means "at least 9000", or "9000 or more" (the score has to be ≥ 9000 for an entity to be selected). It is not related to the comma, or the fact that there are multiple score criterion. Similarly, "..9000" means "at most 9000".
It doesn't, for some reason, let me add a custom villager to my scoreboard so he is shown new color. I did something similar with an allay and Iron golem on a server but for some reason It does not let me add a custom villager please help
Hey !!! I just found you yesterday and loving what you do ! I followed your ReplayMod tutorials but I just found out the Replay Mover doesn't works anymore... Is this just for me ? And if not are you gonna fix it ?
slicedlime runs his youtube channel as his personal project. You are not going to get answers about Mojang from him here, as they are not related to his youtube channel
I’m trying to get scoreboards to add a value, when players using a specific item. I’ve seen it done on Java, but those commands doesn’t seem to work on bedrock. "/scoreboard objetives add Click minecraft.custom:used_carrot_on _a_stick" bedrock seems to only allows the “dummy” attribute and would look like "/scoreboard objetives add Click dummy” but how do I get it to tally up, if a player uses a carrot on a stick, to update scoreboard?
If anyone's wondering why the command at 7:58 doesn't also display TheGodOfPigs, as its scoreboard was also over 9000, it's because the selector @e only displays entities, and TheGodOfPigs is a "fake player". The command would only display TheGodOfPigs if a player with that exact username was on the world.
I was very hopeful when piggo's piggyness was initially set to 9000. I was not disappointed.
Finally getting to the more advanced topics, can't wait for the next episodes
Join the discord and good luck.
the... next episode.
5:50 ah yes, the 32-bit integer range
Grate video - I was always a bit fuzzy about some of these terms, but this video cleared that up for me!
you're a lifesaver! I'm working on commands for an arena build and got stuck on how to show the scoreboard sidebar, but this video was exactly what I needed! Thank you!
Awesome! I will say that this one was definitely much easier to grasp! Can't wait to learn more about scoreboards!
Thank you very much for this information. It is something that will become very useful to me in my projects.
Awesome! Looking forward to the more advanced tutorials since this is all basic stuff I already know
Nice, using this to make a farming assistant that will plant seeds you give him, and i'm using this to keep score of the seed count. very helpful!
So, in my singleplayer world, I can count my Deaths using scoreboard! Need to manually edit deaths, until I realize how to do that automatically 😁
instead of "dummy", use "deathCount", and display the scoreboard. It will automatically update from there, though you will need to add your manually counted deaths to be accurate.
@@DeathByAutoscroll nah you dont need to add manually counted deaths, its already perfectly accurate
It would be nice to keep the language consistent, i.e. call a scoreboard objective an "objective" and not a "scoreboard", since the scoreboard itself actually encompasses all objectives, and new people are frequently confused about which part someone actually means when you call an objective a "scoreboard".
Edit: Something else that might have been nice to clarify is that selecting by score does not actually search through all entities on the objective, but instead searches through all loaded entities and tests for their scores. This may sound like it only makes a difference in advanced use cases, but many beginners try to target fake players through selectors, which ends up not working for the reason that I just explained.
So, by using a scoreboard selector on an entity, like an invisible marker armor stand, and having it be used to set if they use execute to, say, place a block, you could have something that only happens when a variable is at a certain value.
Yup! Although a more efficient way to do it would be to use a fake player instead of an entity. Lime hasn't covered this yet, but you could do "/execute if score TheGodOfPigs piggyness matches 9000.. run say It's over 9000!".
The useful thing about "execute if score" is that you can check the scores of stuff without needing some entity to be loaded in the world. It's also more efficient to check a score using a name (TheGodOfPigs) than a selector (@e[tag=godAmongstPigs]) which would be important in a larger project where you need to worry about causing lag.
I bring this up bc I wish I'd known about this when I started working with commands
@Flamingosaurus Well let’s be precise - yes, a fake player could store the value, but never execute or place a block like in this example.
This is very good, nice way to explain simple scoreboards without being confusing. ❤
Pretty cool!
Right?
awesome series!
:) Thanks
Thank you, slicedlime. Why the ".." after the 9000 and before the comma when separating the piggyness from the awesomeness?
This means "at least 9000", or "9000 or more" (the score has to be ≥ 9000 for an entity to be selected). It is not related to the comma, or the fact that there are multiple score criterion.
Similarly, "..9000" means "at most 9000".
Adding to what MALO said, you can even do something like 8000..9000 which means any number between 8000 and 9000 (including 8000 and 9000)
How do you combine two scoreboards? Like the two numbers? Like one has 2 and the other has 5, how do I make one that would add up those two to make 7
It doesn't, for some reason, let me add a custom villager to my scoreboard so he is shown new color. I did something similar with an allay and Iron golem on a server but for some reason It does not let me add a custom villager
please help
0:42 piggo agrees
Hey !!! I just found you yesterday and loving what you do ! I followed your ReplayMod tutorials but I just found out the Replay Mover doesn't works anymore... Is this just for me ? And if not are you gonna fix it ?
It broke when the server running my web site broke, sadly - I haven't had time to fix it.
@@slicedlime okay don't worry and keep doing awesome videos!
Can you adjust the limit on a scoreboard?
What is TheGodOfPigs piggyness level?
Over 9000!!!!
Yes but @e means entities in a world and TheGodOfPigs is a fake player therefore it does not show it in the command
how can i make it autoamtic
❤❤❤❤ I don’t know if I should go out and see you
thx man
Is this Java or Bedrock?
🧡💜💚🧡💚🧡
When is the first snapshot for 1.20?
slicedlime runs his youtube channel as his personal project. You are not going to get answers about Mojang from him here, as they are not related to his youtube channel
omg
I’m trying to get scoreboards to add a value, when players using a specific item. I’ve seen it done on Java, but those commands doesn’t seem to work on bedrock. "/scoreboard objetives add Click minecraft.custom:used_carrot_on _a_stick" bedrock seems to only allows the “dummy” attribute and would look like "/scoreboard objetives add Click dummy” but how do I get it to tally up, if a player uses a carrot on a stick, to update scoreboard?
That's correct - Bedrock only has dummy scoreboards. I have no idea if or how to implement a similar detection on Bedrock, I'm afraid.
@@slicedlime it’s cool, I’m sure it’ll come eventually, given the player base 🤞