#How to make icon action bar
1 messages · Page 1 of 1 (latest)
start by creating a font in your resourcepack
then you can use "<unicode:whatever you used>" in your code
you don’t need one
pack -> assets -> namespace -> font -> default.json -> retexture your symbol
pack -> assets -> namespace -> textures -> custom -> texture.png
In newer versions, they allowed textures in text components known as “objects”:
Accidentally pinged you, sorry
I'm actually a little confused on how you'd still use it. Because my font is in an asset folder called icons -> font -> icons, than with the unicode being something like this 🪐.
How would I do that in skript?
you send the action bar of the emoji
I'm just doing something like this
trigger:
send "<font:icons>🪐" to player```
I found reference for the font: online, but haven't gotten it to work
it’s because your font is called icons.json
it’s supposed to be default.json
So can I not have it in a differently named json file?
dont see the reason why you’d need that
but no you can’t
Dam that genuinely sucks
how so?
u can, i can give example when im at home
you also didnt send it as a text component
Oh? Awesome
I just want files to be in order and not mixed up with other stuff
Why would I do that? How would that go into skript?
nvm u have set it up correctly,
you would just need to send it as component
currenly you sending it as pure string
or use minimessage w skbee, either way its almost the same
How would I do that?
im not sure for component, i always use mini message (using skbee)
its just like send mini message from "<font:myfont>"
did this send anything to you though? and how it look like?
would that only target the minecraft asset folder within my resource pack? Or could it target another asset folder?
lemme test again
trigger:
send "<font:padding>\uE030 Hi" to player```
I tried this, came out like this
okay, first of all, are you sure sending \uE030 as a string will automatically convert it to the correct char?
second of all, always do font:default right after using the custom font else it will try to use the font for all character after, or use <reset>
third of all, can you send your pack structure?
mainly the paths to your font, the texture, and the inside of your json (for the font)
because the format youre using is the text component format
you NEED to use text components since youre formatting it that way
yeh but see their screenshot, its being parsed
🤷♂️
it shouldn’t
well, what we know lol, they might using diff version or something
either way it works, i just need their pack structure
send whats in your default.json file
and you don’t have to use text components at all
you just have to send the unicode characters
and i also dont see why youre not using action bars
oh and also this is not your post
oh yea wtf
create a post in #1019709064621600808 and we can help you there