Requires PlaceholderAPI and the Player and Math Expansion
Basically creates a chain/connector out of particles. the length of the chain can expand/contract so basically it's flexible and the distance between each particle point heavily depends on the distance of the 2 player targets. can also be done with entities.
Basically creates a chain/connector out of particles. the length of the chain can expand/contract so basically it's flexible and the distance between each particle point heavily depends on the distance of the 2 player targets. can also be done with entities.
YAML:
commands:
- AROUND 10 false execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x}))*-0.1)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.1))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.1)% 0
0 0 0 1
- AROUND 10 false execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.2)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.2))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.2)% 0
0 0 0 1
- AROUND 10 false execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.30000000000000004)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.30000000000000004))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.30000000000000004)%
0 0 0 0 1
- AROUND 10 false execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.4)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.4))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.4)% 0
0 0 0 1
- AROUND 10 false execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.5)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.5))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.5)% 0
0 0 0 1
- AROUND 10 false execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.6)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.6))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.6)% 0
0 0 0 1
- AROUND 10 false execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.7)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.7))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.7)% 0
0 0 0 1
- AROUND 10 false execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.7999999999999999)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.7999999999999999))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.7999999999999999)%
0 0 0 0 1
- AROUND 10 false execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.8999999999999999)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.8999999999999999))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.8999999999999999)%
0 0 0 0 1
- AROUND 10 false execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.9999999999999999)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.9999999999999999))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.9999999999999999)%
0 0 0 0 1
- MOB_AROUND 10 true execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x}))*-0.1)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.1))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.1)% 0
0 0 0 1
- MOB_AROUND 10 true execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.2)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.2))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.2)% 0
0 0 0 1
- MOB_AROUND 10 true execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.30000000000000004)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.30000000000000004))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.30000000000000004)%
0 0 0 0 1
- MOB_AROUND 10 true execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.4)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.4))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.4)% 0
0 0 0 1
- MOB_AROUND 10 true execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.5)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.5))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.5)% 0
0 0 0 1
- MOB_AROUND 10 true execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.6)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.6))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.6)% 0
0 0 0 1
- MOB_AROUND 10 true execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.7)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.7))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.7)% 0
0 0 0 1
- MOB_AROUND 10 true execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.7999999999999999)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.7999999999999999))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.7999999999999999)%
0 0 0 0 1
- MOB_AROUND 10 true execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.8999999999999999)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.8999999999999999))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.8999999999999999)%
0 0 0 0 1
- MOB_AROUND 10 true execute at %around_target_uuid% run particle flame %math_(%around_target_x%)+(((%around_target_x%)-({player_x_long}))*-0.9999999999999999)%
%math_((%around_target_y%)+(((%around_target_y%)-({player_y_long}))*-0.9999999999999999))+1%
%math_(%around_target_z%)+(((%around_target_z%)-({player_z_long}))*-0.9999999999999999)%
0 0 0 0 1