#Texture not showing up on custom item

23 messages · Page 1 of 1 (latest)

weary herald
#

Just as the title says The texture exists and it's 16x16 before it was just the standard purple black texture but now there is just nothing

vital vineBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

dire hound
#

Try writing mush in the event create part instead of iron_mush

#

(just a guess im not that good in kube js yet)

gaunt hill
#

what mc version is this, its not in the tags

weary herald
#

Yeah cause the bot is buggy it's 1.18.2

gaunt hill
#

its not the bot that puts the tags :p

#

so for the item, just delete the texture function all together

#

and delete the display name too

#

then restart the game

weary herald
#

yeah Iknow but when I have certain tags the bot just doesn't open a ticket

weary herald
gaunt hill
#

youre also using the texture function wrong

#

but its also not needed

weary herald
#

okay lol

gaunt hill
weary herald
#

oh huh

gaunt hill
#

heres the texture functions

public ItemBuilder texture(String tex) {
    textureJson.addProperty("layer0", tex);
    return this;
}
public ItemBuilder texture(String key, String tex) {
    textureJson.addProperty(key, tex);
    return this;
}
#

the first one is just the layer, if you use 2 args

weary herald
#

ah okay gonna try to do it differently next time

#

That worked Thank you!

gaunt hill
#

^^