ParticleAnimationLib Guides
SoruceModritnh page
  • Welcome
  • Getting Started
    • Quickstart
  • Commands
    • General Information
    • AnimatedBall command
    • AnimatedCircle command
    • Arc command
    • Cone command
    • Cuboid command
    • Donut command
    • Image command
    • Line command
    • Sphere command
    • Text command
    • Vortex command
  • Devolopment Guide
    • Coming soon!
Powered by GitBook
On this page
  • Description
  • Demo effect
  • Command Structure
  1. Commands

Text command

Oriented Effect

PreviousSphere commandNextVortex command

Last updated 2 months ago

Description

This effect will spawn a custom text with a custom font!

To use this command you will need to type:

/pal text <paramters...>

Demo effect

To display the demo effect use:

/pal text demo <particle> <text> <posX> <posY> <posZ> <duration>

This will spawn an "Hello world" facing the positive Z direction, using Arial plain, size 15! (About 1x5 blocks)

Command Structure

The basic command structure for this effect is:

/pal text <particle> <originPos> <text_to_display> <invert> <stepX> <setpY> <size> <font_name> <font_style> <font_size> <duration>

  • text_to_display is the text that will be dispalyed. You should input it like "Hello world!" (Note: some unicode characters are not supported and will display as rectangles)

  • invert makes the text dispaly as it has been hollowed out of a rectangle

  • stepX and stepY define how many particles/pixels to skip to save up on memory. To have a good result, keep them between 0 and 5.

  • size is a float value used to scale up or down the displayed text, and works on top the font size

  • font_name is the name of the font you want to use, like "Calibri". You can use /pal fontlist to get a list of all the supported fonts

  • font_style is the style to apply to the font. Valid values are plain , bold and italic (without "")

  • font_size is the size of the font. Higher values will produce a better quality result (around 15 is my suggestion, with a size of 0.1)

originPos , particle and durationhave already been explained in the .

General Information page
Page cover image
Cover

The standard halfsphere

/pal sphere minecraft:egg_crack ~ ~ ~ 200 2 0 1 true false 5

Cover

The inverted halfsphere

/pal sphere minecraft:egg_crack ~ ~ ~ 200 2 0 1 true false 5

Cover

The sphere growing really fast and nicely

/pal sphere minecraft:witch ~6 ~2 ~ 200 2 0.1 1 false false 5

/pal text minecraft:dolphin ~ 1 ~ "Particle Animation Library!" true 1 1 0.1 "Comic Sans" plain 15 3