Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Inline

Inline

A mod for inline text rendering

42.3k
37
Library
Social

Compatibility

Minecraft: Java Edition

1.21.1
1.20.1

Platforms

Fabric
Forge
NeoForge
Quilt

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Donate on Ko-fi

Creators

SamsTheNerd
SamsTheNerd Member

Details

Licensed LGPL-3.0-or-later
Published 11 months ago
Updated yesterday
DescriptionGalleryChangelogVersions

Inline

Inline is a minecraft library for rendering in-line with text. It has some player facing features, mostly for fun, but also to serve as examples and helpers for future devs.

Check out the gallery for some examples !

Player Facing Features

Clientside

Inline comes with a couple of built-in matchers:

  • Items -- ex: [item:diamond_sword] -- supports any item id
  • Entity -- ex: [entity:pig] -- supports any entity type id
  • Player heads -- ex: [face:samsthenerd] -- supports player name
  • Mod Icon -- ex: [mod:inline]

You can use various characters in place of the :, some of which modify the size of the render, good for sign labels!

  • ; and : are normal size
  • , is x0.75 scale
  • ! is x1.5 scale
  • + is x2 scale

There's a clientside config for upper size limit of in-chat messages to prevent spam from blocking other messages.

You can also prefix any of these with \ to prevent it from matching.

Some other mods, such as emi, rei, and probably others, add the name of the mod that an item comes from to its tooltip. Inline will look for this and attach the mod's icon to it.

All of these are configurable from the in-game config screen.

Create Interop

Inline renders can be used on the create display boards. Due to some limitations, it can be a bit iffy with display links where you need a wider display board than you'd think, otherwise it gets cut off and won't match/render properly.

Serverside

Server-side matchers match against [show:hand] or [show:offhand] to show off your currently held item in chat.

Known Mod Conflicts

  • Emojiful - due to them replacing the text renderer, preventing inline's mixins from applying.

If you find any others, please open an issue about it !

Devs

A flowchart visualizing inline's core process

Check out the readme for more information on developing with Inline !

Modrinth is open source.

main@bd61f5d

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.