Перейти к содержимому
Mineforgian

Text Effects

Wonky text effects integrated into vanilla components

860 загрузок7 подписчиковLGPL-3.0-or-laterfabricneoforgeornithe

Обновлён 16 июня 2026 г. · опубликован 8 мая 2026 г.

  • Text Effects banner, slower animation version
  • Text Effect Showcase
  • Text Effects banner

Text Effects


This library adds text effects which can be used by servers and mods to add unique effects to component-based text.

Integrated effects:

  • Wobble

  • Shake

  • Marquee

    ... and more

Usage

Add Dependency

build.gradle.kts:

repositories {
  // ...
  maven("https://maven.axolotlclient.com/releases")
}

dependencies {
  // ...
  
  // use modImplementation for versions <26.1 if on fabric
  implementation("io.github.moehreag:text-effects:<VERSION>")
}

Apply Effects

// A few other pre-made effects are available in the `TextEffects` class.
// Usage may differ slightly depending on game version.
var text = Component.literal("This is a text with effect!").withStyle(Style.EMPTY.text_effects$withEffect(TextEffects.WOBBLE));

Create your own effects

A few factory methods for common operations are provided in the TextEffect class. Some pre-made effects are provided in the TextEffects class, with a few additional helper methods as well as registration handling. If you'd like to build on top of another effect you can use TextEffect#combine.

public static TextEffect CUSTOM_EFFECT = TextEffects.register(Identifier.fromNamespaceAndPath("modid", "custom_effect"), TextEffect.constantYOffset(-2));

Effects are automatically able to be de/serialized in components using their id provided at registration.

{
  text: "text with a nice effect",
  text-effects: "text-effects:wobble"
}

This component works for 26.1, you will need to change it accordingly for minecraft versions using json components instead of snbt.

This format can also be used in commands, for example /tellraw.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
0.0.4+26.2-neoforgeРелиз26.2neoforge16 июня 2026 г..jar (43 КБ)
0.0.4+26.2Релиз26.2-rc-2, 26.2fabric13 июня 2026 г..jar (44 КБ)
0.0.4+26.1Релиз26.1, 26.1.1, 26.1.2fabric5 июня 2026 г..jar (44 КБ)
0.0.4+26.1-neoforgeРелиз26.1, 26.1.1, 26.1.2neoforge5 июня 2026 г..jar (43 КБ)
0.0.4+1.21.11-neoforgeРелиз1.21.11neoforge5 июня 2026 г..jar (43 КБ)
0.0.4+1.21.10-neoforgeРелиз1.21.9, 1.21.10neoforge5 июня 2026 г..jar (43 КБ)
0.0.4+1.21.8-neoforgeРелиз1.21.5, 1.21.6, 1.21.7, 1.21.8neoforge5 июня 2026 г..jar (45 КБ)
0.0.4+1.21.3-neoforgeРелиз1.21.2, 1.21.3neoforge5 июня 2026 г..jar (44 КБ)
0.0.4+1.21.1-neoforgeРелиз1.21, 1.21.1neoforge5 июня 2026 г..jar (42 КБ)
0.0.4+1.21.11Релиз1.21.11fabric5 июня 2026 г..jar (44 КБ)
0.0.4+1.21.10Релиз1.21.9, 1.21.10fabric5 июня 2026 г..jar (44 КБ)
0.0.4+1.21.8Релиз1.21.5, 1.21.6, 1.21.7, 1.21.8fabric5 июня 2026 г..jar (46 КБ)
0.0.4+1.21.3Релиз1.21.2, 1.21.3fabric5 июня 2026 г..jar (46 КБ)
0.0.4+1.21.1Релиз1.21, 1.21.1fabric5 июня 2026 г..jar (44 КБ)
0.0.4+1.20.6Релиз1.20.5, 1.20.6fabric5 июня 2026 г..jar (44 КБ)

Показаны последние 15 из 108 версий. Все версии — на Modrinth.

Ченджлог

0.0.4+26.2-neoforgeРелиз26.2 · 16 июня 2026 г.
  • add swing effect
  • add typewriter_spiral effect
0.0.4+26.2Релиз26.2-rc-2, 26.2 · 13 июня 2026 г.
  • add swing effect
  • add typewriter_spiral effect
0.0.4+26.1Релиз26.1, 26.1.1, 26.1.2 · 5 июня 2026 г.
  • add swing effect
  • add typewriter_spiral effect
0.0.4+26.1-neoforgeРелиз26.1, 26.1.1, 26.1.2 · 5 июня 2026 г.
  • add swing effect
  • add typewriter_spiral effect
0.0.4+1.21.11-neoforgeРелиз1.21.11 · 5 июня 2026 г.
  • add swing effect
  • add typewriter_spiral effect
0.0.4+1.21.10-neoforgeРелиз1.21.9, 1.21.10 · 5 июня 2026 г.
  • add swing effect
  • add typewriter_spiral effect
0.0.4+1.21.8-neoforgeРелиз1.21.6, 1.21.7, 1.21.8 · 5 июня 2026 г.
  • add swing effect
  • add typewriter_spiral effect
0.0.4+1.21.3-neoforgeРелиз1.21.2, 1.21.3 · 5 июня 2026 г.
  • add swing effect
  • add typewriter_spiral effect

Полная история изменений — на Modrinth.

Комментарии

Загружаем…