Ember's Text API Unofficial KubeJS Forge Backport
No reviews yet
Backports Ember's Text API KubeJS support for Forge 1.20.1.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
This is an addon to Ember's Text API which ports KubeJS integration from the Neoforge 1.21.1 version to Forge 1.20.1. This is helpful for servers/modpacks in displaying text to players with custom animation and effects.
- Creating and styling messages
- Sending messages to players
- Custom item tooltips
In this example, a text is displayed the moment a player has respawned. I used EmbersText.markup(duration, text) to create an ImmersiveMessage object then send it to the player via EmberText.send(player, message).
PlayerEvents.respawned(event => {const {player} = eventlet message = EmbersText.markup(60, "You've met with a terrible fate, haven't you?").anchor("bottom_center").fadeOutTicks(10).scale(1).offset(0, -75).align("center")EmberText.send(player, message)})
See Ember's Text API wiki for all possible methods.
I recommend using ProbeJS Legacy to get typings in 1.20.1 for VSCode.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers