Video není dostupné.
Omlouváme se.
How to create custom bossbars in Minecraft! (100% Vanilla commands)
Vložit
- čas přidán 5. 06. 2021
- Okay, I really need an upload schedule
Although bossbars are a really good way to show health for custom bosses, they do have limitations such as
1. One boss can use it at a time
2. Either everyone sees the boss or not
Commands:
Setup:
bossbar add zombie "Zombie"
scoreboard objectives add health
Summon:
summon zombie ~ ~ ~1 {Tags:[boss]}
execute store result bossbar minecraft:zombie max run data get entity @e[tag=boss,limit=1] Health
Loop:
execute store result bossbar minecraft:zombie value run data get entity @e[tag=boss,limit=1] Health
execute if entity @e[tag=boss] run bossbar set minecraft:zombie players @a
execute unless entity @e[tag=boss] run bossbar set minecraft:zombie players
execute as @e[tag=boss] store result score @s health run data get entity @s Health
bossbar set minecraft:zombie name [{"text":"Zombie: "},{"score":{"name":"@e[tag=boss,limit=1]","objective":"health"}},{"text":" HP"}]
Discord Server: / discord
I had trouble with one of the commands so I messaged him on the discord surver and he immediately responded. He was able to help me with my priblem and the support was great. This guy definitely needs more subscribers.
yes
What is your spelling.
@@aylexgaming2048 priblem 😂
Great Spelling XD
problem*@@Allways-Randomized
3:20
I didn't know that you could get the coordinates like that, that's super helpful.
The text, "Omg im sorry about that" with the voice crack was so funny, you earned a new sub, and i learned a new skill!
Thanks man. I was searching for a video to help me like this for HOURS. This has helped me so much, I'm making a new Minecraft map and this has helped a lot.
This is the best tutorial made by a kid ever. no cap mad respect brother
Can’t wait to make a “John pork” boss
*If you have having trouble with your bossbar, please read this first*
I've noticed that many people have been having trouble with their bossbars. I apologize for not including as much information as I have usually done in my other tutorials. Because of that, I have written down some tips for you to troubleshoot your bossbar:
1. *Make sure all chain command blocks and repeating command blocks are always active.*
This is so the command block chain runs smoothly without missing a command. *DO NOT* set the impulse command block to always active. (This is the summon command block so it needs to be activated manually)
2. *Make sure all command blocks are facing up.*
Because the command blocks are stacked on top of each other, all command blocks must face up. You can tell if a command block is facing up by looking at the sides of it and seeing if the arrow is pointed up.
3. *Commands need to be case-sensitive.*
Upper case and lower case characters are really important for commands. Things such as nbt tags (Data inside {}) need to be case sensitive, such as Tags:[] or else they won't work. (Another Ex. The summon command block summons the boss with the tag: 'boss' and the bossbar updater command block updates the bossbar health based on the health of the boss with the tag: 'Boss'. This will not work as the 'boss' tag is not the same as 'Boss')
4. *Make sure that other entities do not have the tag 'boss'.*
In some cases, non boss entities can have the tag 'boss', which can mess up bossbar. You can check for this by doing /execute if entity @e[tag=boss] (make sure you don't have a boss already summoned). If you get a result of one or higher, do /tag @e remove boss and summon your boss again.
*If none of these help you at all, you can contact me on discord by opening a support ticket in my server: **www.discord.gg/KBRNNrceVP*
How can i equip that boss a set of armor?
You can add an nbt tag to the zombie summon command.
ArmorItems:[{id:(Boots id),Count:1b},{id:(Leggings id),Count:1b},{id:(Chestplate id),Count:1b},{id:(Helmet id),Count:1b}]
let me know if it doesn't work
When i summon wither skeleton as boss the bossbar isnt full.(only a quarter)
@Justin Ignatius alright, there is probably something wrong with the chain command block that is attached to the summon command block.
(you've probably done this part):
make sure that the chain command block is always active and that the summon command block connected to it is facing it (arrow pointed to it).
if it still doesn't work, copy paste the command in the chain command block and send it to me
It still the same. Do I have to kill him first?
This has save me SO many headaches
You can change the color for the text above the boss bar useing /bossbar set boss bar id name {"text":"name above the boss bar","color":"pick the color you want"}
Your a legend. Thank you sooooooooo much. Without you I could'nt understand the bossbar Command
This video is really good! This helps me so much! Thanks 👏
This was **close ** to exactly what i was looking for. (I was just looking for a bedrock version tutorial) you earned a sub!
This is genius. Thanks you. defeneatly simple, entertaining and informative all in one. Looking foward for more videos like this if you are up for making them. Also will you be making videos on effects and how to make bosses more customizable having like regen and oher stuff?
That sounds like a good idea, I have a few videos planned so maybe sometime in the future.
This is a good plan.
Make 1 playlist over this short "boss" series. U got a new subcriber now!
Thanks for video. It helps a lot but i did it on java and i dont know why but it doesn't works
@@mateuszsuek2277 it's the same for me cuz I got working until the part where it disappears when the the boss dies and that it didn't work
Thanks for the video! This helped me a ton! :)
I was trying to make a Minecraft boss and this really help
I have been trying to figure out what I did wrong, watching this video over and over for the past hour.
what exactly isn't working with your bossbar?
very cool, simple, to the point and nice editing definitely a masterpiece for me
I can't get the sidebar to work. When I run the /scoreboard command, it says "Unknown scoreboard objective 'health'
do /scoreboard objective list
and tell me what the command returns in chat
Thank you! You need more subscribers, this helped me out so much
I'm glad it helped
If anyone has trouble detecting if the zombie is dead to remove the boss bar set the chain command blocks to repeat for these commands: execute if entity @e[tag=boss] run bossbar set minecraft:zombie players @a execute unless entity @e[tag=boss] run bossbar set minecraft:zombie players
Thank you
execute if entity @e[tag=boss]run bossbar set minecraft:warden players@a execute unless entity @e[tag=boss]
bossbar set minecraft:warden
I tried to add it to a enderman but it won't add the tag to it.
You need a lot more subs. This video was informative and helped me a lot. Thanks
Thanks man
I really appreciate this guide
It still isn't working for me sadly, I tried for awhile yet it still does not update the health
you have an amazing outro :)
That was the best thing i have ever seen... PLUSE how did you make it one shot u aka have effects i NEED that pls i know this is 2 years old but STILL PLS
Omg you are so genius, this tutorial was clear and understandable. U deserve way more subscribers than one thousand and somethink. So glad i find you.
Hey, i was wondering how you could give the mob custom health? Have you done a tutorial on that yet?
It doesn't work
Whenever I summon the warden it instantly goes back into the ground
whats the summon command? i'm guessing you're setting the y coordinate in the summon command too low
@@Quengis I don’t think it has something to do with that, but it’s kinda a common glitch anyways, but thanks for the thought
I tested it on bedrock and it works!
Excellent tutorial. Very concise
YOU inspired me to make my own videos thanks!!!!!
this man is a genius
a different told me this wasnt possible, thanks! :)
hey little note, there is a type of scoreboard called "health" which does what you think. i would say use that instead of the command block that updates the dummy value, but if you have a specific reason you did this please reply, or maybe you just didn't know this existed.
yeah the scoreboard objective health only deals with player health and doesn't record any non player entity's health. That why I have to use the dummy scoreboard and use a command block to actually store the health value into that scoreboard.
however i might be wrong and there is a way to use the health objective for mobs. just lmk im curious.
execute as @e[tag=boss] store result score @s health run data get entity @s Health
One of the commands are incorrect specifically Players commands and i solved this is what i provided, If outdated this works in 1.20.6 LR
Impulse, Needs Redstone: summon zombie ~ ~ ~1 {Tags:[boss]}
Repeat, Always Active: execute store result bossbar minecraft:zombie value run data get entity @e[tag=boss,limit=1] Health
Repeat, Always Active: execute unless entity @e[tag=boss] run bossbar set minecraft:zombie visible false
Repeat, Always Active: execute if entity @e[tag=boss] run bossbar set minecraft:zombie visible true
I changed from *Players to *Visiblee
You're a real one bro thank you!
This is really helpful!
Thanks man you a real G 🔥🔥🔥
You diserve more subscribers and likes, your channel is underrated. This video is PERFECT, and I have now the healthbar of my Death Star. THANK YOU!
EDIT: sorry but I tried it in other thing and, why doesn’t it go up when I summon the zombie? Can somebody help me???
did you make two bossbars? if so, you need to change the boss tag of the second boss. sorry it's kinda hard to explain
U deserve 1 million subs
OMGGG THSNK YOU SO MUCH ❤
i like this /bossbar :D
i got a problem and i dont know how to fix it, i made a boss with 500 health but the bossbar only says that the boss has 20 hp and when i hit the boss the bossbar dont lower but when the boss hp get to 20 the bossbar starts to lower pls help me
edit: the maximum value of the bossbar the commands let me load is 20
it seems that your bossbar max is only 20 if it doesn't go down after you damage the boss.
have you tried setting that maximum value of the bossbar?
/bossbar set max 500
i don't understand what you mean when you say the commands let you only load 20 for the max
I had a problem but as soon as i asked him on the discord server he replied within 20 secs and helped me fix my bossbar.
Finally a tutorial easy to understand
lol how many tutorials did you watch
@@Quengis 15 videos wich none of worked
damn
Very cool :)
Thank Bro I Was working on my minecraft Tower Defense Game For my friend ANd This really Help Me Out
And Next time Slow down A bit You Explain a bit too fast
Also U can Add The Tag Without Command Blocks By Looking At The Mob And Typing In /tag @e[type=minecraft:(any entity)] add (anything)
what?
I tried using the warden as the entity and whenever i spawned it as a boss, it just does its digging animation and burrows down. What happened?
that has nothing to do with the bossbar. it's some entity behavior that i can't explain
I think when you add tags that happens, I've had it happen to me as well
I tried this with warden and when i clicked to spawn it it went it ground can u respound pls and help me?
when i tried it only showed 1/4 of the health but it had the same amount
That's because the max value of the hossbar is still set to 20. If there's a chain command block connected to the summon command block, make sure it is set to always active. Otherwise you can manually set the bossbar's max value /bossbar set max
the command setting the max value does not work
if i type /scoreboard objectives add health i get an error that the command is incomplete
You need to put dummy at the end (dummy is the scoreboard objective and health is just the name of the scoreboard)
i had troubles that the boss bar wasn't filling after i spawn the boss so i message him on the discord server and he immediately replied! he helping me now and the support is great. this guy deserve way much subscribers ( i subbed)
Super cool cool video
I like it
How to add more health to the zombie? and the bar
ty! Now i can do amazing things!
tip: you can make a thirst bar by making a villager with health boost 255 (max lvl) constantly suffer with magma and the only way to regenerate is when you go in water (seperate command block that regenerates the villager when you are standing in water). It must outheal the damage tho or else the plan doesnt makes sense
the scoreboard objectives add health command not working, it is scoreboard objectives add health
dummy or scoreboard objectives add health
health ? ? ?
dummy not health
@@Quengis I need to make 1 scoreboard per bosses ? or just 1 ?
Just one
@@Quengis oh ok...
@@Quengis I can use 3 tags for 3 Bosses ?
How do you get that intermediate thing up there in the top right corner
the magic of editing
Thank you, i was tryna make a pokemon type game in vanilla minecraft and wanted to add hp in but couldnt figue out how
if you want to spawn a mob with more hp, then put this at the end of your NBT summon tag:
,Health:40f,Attributes:[{Name:generic.max_health,Base:40}]
This makes the mob have 40 health (20 hearts). To change the health, just change the "Health:40f" and the "Base:40"
I hope this helps
@@Quengis ok
thx
It doesn't remove the bossbar at the end
This is amazing how easy he tells about that is so cool
It doesnt remove the bossbar at the end
i wish you the best
i now understand how much hard a tutorial is
You are a legend
Amazing video
Thanks,m8.
I was trying To make an ultra instinct enderman lol
why dose my boss not link to bossbar and have right ammount of health ive copied all the commands to see if they work
Did you remember to add the "boss" tag to the summoning command? Or did you have multiple bosses at the same time?
good vid!
quengis-chan :)
The /bossbar command didn't work
When i kill the zombie, i got message:
[@:custom bossbar [Zombie: 1 Hp] no longer has any players]
Its why?
isn't that normal?
if you're wondering why it says that i already explained in the video
it just hides the bossbar from players when the boss dies
@@Quengis Ouh thanks. Sorry long respond!
I put one of the commands in a command block and it didn't work
can you elaborate a little more? I need to know what command you used and what command block you were putting it in
I have a question. If i do all that and spawn the zombie. It will put the bossbar on top? What if i spawn 2 zombies (spawnegg) will there be 2 bossbars?
Yes the bossbar will be on top. But no, if two mobs are tied to the same boss bar, only one will show and will only show one of the mobs's health
how do i get it to have custom healthhh
I like it
has anyone else had a problem with the bossbar not filling up with the boss's health?
/bossbar set max
Problem #1, Bossbar does not go down after attacking my creeper. I tried doing everything you did in everyone's comments but no actual luck.
hmm does your creeper have the boss tag in the summoning command? are all your command blocks except for the regular command block that summons the mob always active
It didn't work for me. I am making a little Minecraft game, and the boss bar is stuck at zero!
did you make sure the repeating command block is set to always active?
Can anybody find the error in this command I wrote and reply the fixed command back to me?
This one /tellraw @a [{"text":"R","color":"dark_purple","clickEvent":{"action":"run_command","value":"/give MasterofTNT1 minecraft:stick{display:{Name:'[{\"text\":\"R \",\"color\":\"dark_purple\",\"italic\":false},{\"text\":\"a\",\"color\":\"red\",\"italic\":false},{\"text\":\"i\",\"color\":\"blue\",\"italic\":false},{\"text\":\"n\",\"color\":\"dark_aqua\",\"italic\":false},{\"text\":\"b\",\"color\":\"gold\",\"italic\":false},{\"text\":\"o\",\"color\":\"green\",\"italic\":false},{\"text\":\"w\",\"color\":\"light_purple\",\"italic\":false},{\"text\":\"\"},{\"text\":\"S\",\"color\":\"dark_purple\",\"italic\":false},{\"text\":\"t\",\"color\":\"red\",\"italic\":false},{\"text\":\"a\",\"color\":\"blue\",\"italic\":false},{\"text\":\"f\",\"color\":\"dark_aqua\",\"italic\":false},{\"text\":\"f\",\"color\":\"gold\",\"italic\":false}]'}}"}},{"text":"a","color":"red"},{"text":"i","color":"blue"},{"text":"n","color":"dark_aqua"},{"text":"b","color":"gold"},{"text":"o","color":"green"},{"text":"w","color":"light_purple"}]
Thank You So Much!!!!
helppp for me the boss bar doesn't go away
do you have this command in a chain command block attached to the repeating command block?
execute unless entity @e[tag=boss] run bossbar set (your bossbar id) players
if you do, make sure all of the chain command blocks connected to the repeating command block are always active
and also every command block in that chain should be facing up (their arrows pointing up)
how do i do it if i'm trying to put a mob with active effects? (it's not working when i try it)
what is your summon command and what active effects do you want it to have?
@@Quengis so basically i just wanna make a buffed wither skeleton and the command is quite long because of the effect duration being forever
/summon minecraft:wither_skeleton ~ ~2 ~10 {CustomName:'[{"text":"Fallen Guard"}]',Health:500,Glowing:1b,Tags:{Tags:[boss]},ActiveEffects:[{Id:22,Duration:999999,Amplifier:10,ShowParticles:0b},{Id:21,Duration:999999,Amplifier:10,ShowParticles:0b},{Id:1,Duration:9999999,Amplifier:7,ShowParticles:0b},{Id:5,Duration:9999999,Amplifier:10,ShowParticles:0b},{Id:12,Duration:999999,Amplifier:999999999,ShowParticles:0b},{Id:11,Duration:99999,Amplifier:50,ShowParticles:0b},{Id:10,Duration:999999,Amplifier:1,ShowParticles:0b}],Attributes:[{Name:"generic.max_health",Base:500f}]}
oh also the problem is it says "no entity was found"
@@1Spud hey sorry for not responding
for the summon command, you nested the nbt tag inside another tag
instead of Tags:{Tags:[boss]} just do Tags:[boss]
Could you connect a boss bar to a player?
Yes you can, just give a player the tag 'boss'
/tag add boss
I followed the entire video, but the bossbar still wont go down, also checked comments, any help?
Did you make sure the repeating command block was set to always active?
Can you also send me the summon command for the boss?
@@Quengis it only goes down after 6hp
and the command is a full netherite zombie
does not work only goes down when it's at 0,5 health
Make sure the chain command block connected to the summon command block is set to always active. Also make sure the summon command block has its arrows pointed to that chain command block.
subbed
How do I make multiple Boss bar with the same mob? like 2 Bosses but they are the same mob Plaes give me advice or the Command to make another boss bar that is the same mob
you need two bossbars for the same exact mob? or two bossbars for two mobs?
How do I add armor to my zombie?
Just throw the items at them sometimes they don’t put them on.
You sound like a friend of mine called nick
bro, why i follow it but it says "no entity was found", i need an explanation now
Tell me the command you put for your summon command and the command you put in your repeating block
command block: summon zombie ~ ~1 ~ {Tags:[boss]}
chain block: execute store result bossbar minecraft:zombie max run data get entity @e[tag=boss,limit=1] Health
repeating block: execute store result bossbar minecraft:zombie value run data get entity @e[tag=boss,limit=1] Health
If you test it right and it doesn't have any errors, could you please send me the commands you wrote to me to see if it works?
my boss has far too much health and the bar won't go down untill it reaches below 101 hp,
how do i fix this, or is it not possible?
I think its because your bossbar's max display value is capped at 100. You should check to see if the chain command block attached to your summon command block is always active, and if your summon command block's arrows are facing the chain command block
I got the same problem but it's 20 instead of 101 and it's myself not an entity
hey man if i want to attach th e bossbar to my character so it will tells how much hp do i have, how do i do it? plssssss
Just do a command block that does
tag [your name] add boss
and a chain command block (always active) after it that does
execute store bossbar [bossbar name] max run data get entity @a[tag=boss,limit=1] Health
and add a button to the command block
I hope it works
tysm
The chains command blocks aint working?!?!?!?
make sure all the command blocks are facing upwards so the chains actually get activated
and of course check if all chain command blocks are set to always active
This is fucking my brain dude😂😂 i used to be a command block engineer, only on bedrock tho since java has all these things bedrock doesnt, like /execute, java has align, run and everything else, in bedrock its just execute, nothing else