#(LG_Legacy) Using font characters as elements.

1 messages · Page 1 of 1 (latest)

gray yacht
#

At the moment I use a custom resource pack and while I've been using basic characters for my font to display images and inventories, I realize I will eventually run out of characters to use and I'm now wondering how to use special utf characters as elements.

Take example that the space font uses the following:

        {
            "type": "bitmap",
            "file": "space:font/space_split.png",
            "ascent": -32768,
            "height": -3,
            "chars": [
                "\uF801"
            ]
        },

At the moment I have no idea how to properly pull the character \uF801 and use it as an element.

loud edgeBOT
#

(LG_Legacy) Using font elements as elements.

loud edgeBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

gray yacht
#

(LG_Legacy) Using font characters as elements.

sand cliff
#

paste 🠁 into chat?

gray yacht
#

After taking a look I've found the answer myself actually, I missed the part in the resource pack guide for denizen that states you should be using the &chr tag to construct unicode characters.

olive cosmosBOT
#
Resolved

Thread closed as resolved.

limber moss
#

you can also make different fonts

#

and then select them with

#

!t element.font

versed cragBOT
# limber moss !t element.font

Makes the input text display with the input font name. Equivalent to "<&font[new-font]><ELEMENT_HERE><&font[new-font].end_format>"
The default font is "minecraft:default".
Note that this is a magic Denizen tool - refer to !language Denizen Text Formatting.

Group

text manipulation

Returns

ElementTag

limber moss
#

this allows you to use 1 char for multiple fonts

olive cosmosBOT
#
Changed to Help/Support

Thread is now a Help/Support thread. A helper will check your thread when available.

limber moss
#

@gray yacht fyi ^, reopened the thread

gray yacht
#

Yes, I've been using this because I separate my custom icons from the default minecraft folder in my resource pack./

limber moss
#

ya, that's an answer to your

I realize I will eventually run out of characters to use

gray yacht
#

Ah. Of course.

limber moss
#

can have 3 different fonts but still using the same character for all 3 fonts

#

so running out of characters is hard

gray yacht
#

Load of numbers to choose from and such, very handy.