-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
I would like to use custom fonts in titles. Either by adding direct support of mini message, or hooking into SkBee's text component system, I could use these in titles.
I played around with Skript Reflect, and I got this working in a vanilla inventory:
`command /testfontgui3:
trigger:
set {_mm} to MiniMessage.miniMessage()
set {_component} to {_mm}.deserialize("font:minecraft:row_6Abc")
send serialized json string of {_component} to player
# Create inventory directly with Bukkit
set {_inv} to Bukkit.createInventory(null, 54, {_component})
# Add a test item
set slot 0 of {_inv} to diamond named "Test Item"
# Open to player
player.openInventory({_inv})
`
Unfortunately setting the name with this method breaks all functionality of skript-gui. Fonts would allow me to move text vertically, which allows for some very robust creations. I thank you for your time in reading this ^.^
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request