Topic category: Help with Minecraft modding (Java Edition)
I've finally made a way where we can make trails in the game its free to use ofcourse just credit me that's all i'll give you step by step guide if you have any questions please just ask and shoutout to FoilyBoi for helping me test it.
How to create a custom trail using Particles -- By Oisann & Foily
Create a new Procedure
Name it anything you like "Lightning Trail" as a Example
Get a "If" block from Flow Control
Get a "Is Event/Target Entity Sprinting" block from Entity Data
Get a "Execute Command in the name of Event/Target Entity" block from Entoty Management
Insert your desired particle
Dust Particle Example
particle [minecraft:dust]--Your Particle [1 0.75 0]--Colour [1]--Size [^ ^1 ^]--Position [0.2 0.4 0.2]--Area of Spread/Delta [0.5]--Speed [5]--Count.
TYSM!