#i dont want the red errors

1 messages · Page 1 of 1 (latest)

static python
#

i dont want the red errors is there a way to make them not happen it works and theres no problems

quartz surgeBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1722313570:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

distant stratus
#

Besides fixing the things that are causing the warnings? Don't think so, but you could ask the Datapack Helper Plus developers

static python
#

can u help me find out whats making the red gunk appear ik what command it is

#

execute as @a if items entity @s weapon.mainhand slime_spawn_egg[minecraft:custom_model_data=66] run give @s slime_spawn_egg[custom_name='[{"text":"g","italic":false,"color":"dark_green","obfuscated":true},{"text":"Slime Overlord","obfuscated":false},{"text":"g"}]',entity_data={id:slime,Size:10,CustomName:'[{"text":"g","color":"dark_green","obfuscated":true},{"text":"Slime Overlord","obfuscated":false},{"text":"g"}]',CustomNameVisible:1b,Health:500,PersistenceRequired:1b,ArmorItems:[{id:diamond_sword,components:{custom_name:'["",{"text":"Slime Sword","italic":false,"color":"dark_green"}]',repair_cost:0,custom_model_data:1,attribute_modifiers:{modifiers:[{type:"generic.attack_damage",amount:10,slot:mainhand,operation:add_value,id:1722299832136},{type:"generic.jump_strength",amount:0.2,operation:add_value,id:1722299832136},{type:"generic.attack_speed",amount:-2.1,operation:add_value,id:1722299832136},{type:"generic.safe_fall_distance",amount:3,operation:add_value,id:1722299832136}]}},count:1}],ArmorDropChances:[1f],attributes:[{id:"generic.follow_range",base:2048f},{id:"generic.step_height",base:1000f},{id:"generic.max_health",base:500f}]}] 1

#

i have no clue whats makeing it yap all that

distant stratus
#

Are you not able to see the yellow and red underlines?

distant stratus
#

Yep

#

So it's telling you what's wrong

static python
#

but it still works

distant stratus
#

Great

#

But you wanted to know how to get rid of the warning, and that is how.

#

Minecraft is smart, so it'll try to fill in information if it thinks it knows how. But for maximum accuracy, you should fix those errors and warnings.

warm whale
distant stratus
#

Not helpful, Antoha

warm whale
#

?

distant stratus
#

They need to learn what the error means, not just be told what to put instead

warm whale
#

ok

static python
#

oh i get it , it wants more slots listed

distant stratus
#

Mhm

static python
#

also is yellow bad

distant stratus
#

Indeed

static python
#

like i have tons of yellow lines in my datapack

distant stratus
#

Yellow generally means "this will probably still work, but there's a better way to do this"

static python
#

like how would i even fix that

distant stratus
#

That's probably an issue relating to your pack format not being correct for the Minecraft version you're developing for

#

DPH detects your pack format and provides feedback and such based on that version, so if you're making something for 1.21 but it thinks you're in 1.16, it'll give the wrong information

static python
#

do you know 1.21 pack format off the top of your head

#

im running 41 rn

distant stratus
#

48

static python
#

48

#

lmao

#

u just got it

#

thanks tho

distant stratus
#

You'll need to restart VSCode after you change that

static python
#

thanks for letting me know

#

still yellow but thats fine