Skip to main content

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 IDNode typePurpose
timeTimeSupplies animation time.
character_indexCharacter IndexSupplies the current character position.
character_phaseMultiplyMultiplies character index by 0.55.
combined_phaseAddAdds time and character phase.
waveSineConverts the phase into a smooth wave.
strengthMultiplyMultiplies the wave by 1.25.
output_yPosition Y OutputApplies 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