Advanced Studio Example
This example creates Custom Sine Wave. It uses Time and Character Index to move each character vertically with its own phase offset.
Download the finished Advanced Studio example
Effect details
ID: custom_sine_wave
Tag: customsinewave
Display name: Custom Sine Wave
Permission: texteffect.customsinewave
Nodes
Add these nodes:
| Node ID | Node type | Purpose |
|---|---|---|
time | Time | Supplies animation time. |
character_index | Character Index | Supplies the current character position. |
character_phase | Multiply | Multiplies character index by 0.55. |
combined_phase | Add | Adds time and character phase. |
wave | Sine | Converts the phase into a smooth wave. |
strength | Multiply | Multiplies the wave by 1.25. |
output_y | Position Y Output | Applies the value as vertical movement. |
Connections
Connect the nodes in this order:
Character Index → character_phase A
Time → combined_phase A
character_phase → combined_phase B
combined_phase → wave
wave → strength A
strength → Position Y Output
Set these literal values:
character_phase B: 0.55
strength B: 1.25
Keep the Position Y Output mode set to add.
Install and test
Download the example, place it in plugins/TextEffect/custom-effects/, then run:
/texteffect reload
/texteffect validate
/texteffect zip
After applying the rebuilt resource pack, test it with:
/texteffect test customsinewave Custom Sine Wave