Trajectory preview shows possible trajectory of shootable and throwable items.
If you want to make a plugin for Trajectory Preview, set up the API:
maven {
url 'https://mymavenrepo.com/repo/XXNTQu0VdMr93BjoOV1S/'
}
implementation('dev.buildtool:trajectory-preview:[version]:api')
runtimeOnly fg.deobf('dev.buildtool:trajectory-preview:[version]:unobf')
Read the Javadoc and source of the basic plugin on how to create your own previews