#model data working one day but not the next
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1738011754: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
For more context:
I was making a custom block and I was like.. oh I must've done smth wrong the texture and model aren't loading, then I was like lets see if voidsteel (the model I made yesterday works) low and behold its not working either
all I did was move the resource pack to a different minecraft installation
and I used the exact same command to give myself the item
and both the new custom block and the item i made yesterday aren't loading
i've checked the texture locations, item/model definition file, and the actual model file itself
nothing...
OOH UPDATE: I just checked a custom item which uses a texture as a model (still [item_model=...] just a png instead of a blockbench model
and it loaded fine
so its just .json models that aren't loading
Show your work
idk why in my brain i thought i could avoid this
du need the files in a code block or are you ok with ss
Code blocks, please
Ok, and what's the item_model component on the item look like?
...i fixed one of them `
i'm listing the custom block
brace yourself
Veil Hunters\Datapacks\veilitems\data\minecraft\tags\function
load.json
{
"values": [
"veilitem:void_forge/load"
]
}
tick.json
{
"values": [
"veilitem:void_forge/main"
]
}
Veil Hunters\Datapacks\veilitems\data\veilitem\function\void_forge
load.mcfunction
give @p item_frame[item_model="veilhunter:void_forge/void_forge",entity_data={id:"minecraft:item_frame",Item:{id:"minecraft:glow_item_frame",count:1},Fixed:1b,Invisible:1b,Silent:1b,Invulnerable:1b,Tags:["void_forge"]}] 1
main.mcfunction
execute as @e[type=minecraft:glow_item_frame,tag=void_forge,tag=!placed] at @s run function veilitem:void_forge/mechanics/place
execute as @e[type=minecraft:glow_item_frame,tag=void_forge,tag=placed] at @s unless block ~ ~ ~ minecraft:dropper run function veilitem:void_forge/mechanics/remove
Veil Hunters\Datapacks\veilitems\data\veilitem\function\veil_forge\mechanics
place.mcfunction
setblock ~ ~ ~ minecraft:dropper
playsound veilhunter:block.void_forge.place block @a[distance=0..3] ~ ~ ~
particle minecraft:soul_fire_flame ~ ~ ~ 0 0 0 1 10
tag @s add placed
remove.mcfunction
summon item ~ ~0.5 ~ {CustomNameVisible:1b,CustomName:'"Void Forge"',Item:{id:"minecraft:glow_item_frame",count:1,components:{"minecraft:entity_data":{id:"minecraft:glow_item_frame",Fixed:1b,Invisible:1b,Silent:1b,Invulnerable:1b,Tags:["void_forge"]},"minecraft:item_model":"veilhunter:void_forge/void_forge"}}}
kill @e[type=item,nbt={Item:{id:"minecraft:dropper"}},distance=0..2,sort=nearest,limit=1]
kill @s
@sly raptor sorry for ping... solved the model issue it was incorrect naming of a file, however could you help with the custom block
as i've done something wrong/I incorrectly ported something from 1.16
What in the world is all this for now?
...
soz
Open a new help thread, and when you do, please more clearly explain the problem.
This current issue is resolved. Please /resolve it
no offence that took like 15 mins to paste it all in there
bc my keyboard doesnt have a code block key
I didn't ask for it though, you just decided to drop a bunch of stuff on me
so i have to copy the key each time
That's absurd
not on you necessarily
It shouldn't take 15 minutes to do that. Here, copy this into a notepad ```
No, this is something new. I'm not arguing with you here
Resolve this thread, open a new one if you have another issue.
the issue was with the custom bllock model not showing
hence why i pasted the code for the custom block
because thats where the model is called in the component item _model
If your question is resolved, that's great to hear! Make sure to run /resolve or click the Resolve Question button. Otherwise, feel free to continue asking for help! :D
but then as mentioned i solved it
I am not arguing with you here. This is a new issue
Exactly, you solved it
New issue, new thread
Your question, #1333535139212558456 (model data working one day but not the next), was resolved!
#1333535139212558456 message
1h4m
my point was there is nothing helpful in this thread so i might as well just rename it and add details of my issue here
to avoid me spending ages copying it over
but luckily it allowed me to copy with the code blocks
But the thread has gone on long enough that there is extraneous detail here that makes it harder to help, so as to determine it isn't important to the problem at hand
and im not overexaggerating on how long it takes because right at the start of the thread i sent this
i wouldn't have said that
Additionally, starting a new thread has the benefit of pinging helpers again, which is especially useful as this is data pack related now, rather than purely a resource pack issue
if it wasn't painful
I do not care
ok ima resolve it and delete it
If you need help, ask for it
yup done