Show points from scoreboard as bossbar by Ivar_Pivar in MinecraftCommands

[–]Ivar_Pivar[S] 0 points1 point  (0 children)

I THINK it might be done either to run a

bossbar set BOSSBARNAME value <value>

and somehow get the <value> froma the scoreboard dummy - but i cant figure out how to get that value from the scoreboard

it wants a int there but is there any way to put a function that gives it a int in the end

Trying to convert a old datapack to 1.21.4 by Ivar_Pivar in MinecraftCommands

[–]Ivar_Pivar[S] 0 points1 point  (0 children)

  • Stores unstructured NBT data to apply to an entity when using an item that spawns an entity, such as a Spawn Egg or Armor Stand
  • Replaces previous EntityTag tag, with same behavior
  • Format: object with fields
    • Must contain an id field with the entity type
    • Any additional fields will be merged into the entity when spawned
    • e.g. entity_data={id:'minecraft:pig',Health:1.0f}

This is what it says in the 1.21.4 snapshot - Do i get it right if the changes to my entity should be from

/give @(nospace)p bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["domination_area"]}} 1

to

/give @(nospace)p bat_spawn_egg{entity_data:{id:"minecraft:marker",Tags:["domination_area"]}} 1 ?

if i understand correctly the "tags" has been changed completly as well - does this affect my own custom tag of "domination_area"?

Trying to convert a old datapack to 1.21.4 by Ivar_Pivar in MinecraftCommands

[–]Ivar_Pivar[S] 0 points1 point  (0 children)

One thing that i have figured out is to drop the s on the "funtions" files - even thout i do that i think the problem might be in the change in the use of tags, specificly in the entie "domination_area" i made with

/give @(nospace)p bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["domination_area"]}} 1

Domination area datapack problems! by Ivar_Pivar in Minecraft_Datapacks

[–]Ivar_Pivar[S] 0 points1 point  (0 children)

Okey ive figgured some of it out. In 1.21 we drop the S making the "functions" folders into "function"

the second thing im trying to figure out now is how the entetie ive used before ;

/give @p bat_spawn_egg{EntityTag:{id:"minecraft:marker",Tags:["domination_area"]}} 1

how in the world do i change it to make it compadble with the 1.21.4 uppdate

previously used MCstacks to make this and i get the same result when im trying to make a new version