1111import org .bukkit .entity .Player ;
1212import org .bukkit .plugin .java .JavaPlugin ;
1313import org .bukkit .util .Vector ;
14+ import top .zoyn .particlelib .pobject .Arc ;
15+ import top .zoyn .particlelib .pobject .Astroid ;
1416import top .zoyn .particlelib .pobject .Circle ;
1517import top .zoyn .particlelib .pobject .Grid ;
1618import top .zoyn .particlelib .utils .projector .ThreeDProjector ;
@@ -67,10 +69,10 @@ public static void showBorderAndGridAboutBlock(Block block, Particle particle) {
6769 high .clone ().add (0 , 0 , 5 ));
6870
6971 Grid grid = new Grid (low , lowers .get (2 ), 1.4D );
70- grid .setParticle (Particle .FLAME );
72+ grid .setParticle (Particle .FIREWORKS_SPARK );
7173 grid .show ();
7274 Grid grid2 = new Grid (high , highers .get (2 ), 1.4D );
73- grid2 .setParticle (Particle .FLAME );
75+ grid2 .setParticle (Particle .FIREWORKS_SPARK );
7476 grid2 .show ();
7577 for (int i = 0 ; i < lowers .size (); i ++) {
7678 Location origin = lowers .get (i );
@@ -97,7 +99,7 @@ public static void showBorderAndGridAboutBlock(Block block, Particle particle) {
9799 }
98100 // 绘制网格面
99101 Grid grid3 = new Grid (origin , topNext , 1.4D );
100- grid3 .setParticle (Particle .FLAME );
102+ grid3 .setParticle (Particle .FIREWORKS_SPARK );
101103 grid3 .show ();
102104 }
103105 }
@@ -117,8 +119,29 @@ public void onDisable() {
117119 public boolean onCommand (CommandSender sender , Command cmd , String label , String [] args ) {
118120 Player player = (Player ) sender ;
119121
120- Location location = player .getLocation ().clone ();
121- Bukkit .getScheduler ().runTaskTimer (this , () -> showBorderAndGridAboutBlock (location .getBlock (), Particle .VILLAGER_HAPPY ), 0L , 10L );
122+ // Location location = player.getLocation().clone();
123+ // Bukkit.getScheduler().runTaskTimer(this, () -> showBorderAndGridAboutBlock(location.getBlock(), Particle.FIREWORKS_SPARK), 0L, 10L);
124+
125+
126+ // Circle circle = new Circle(player.getLocation());
127+ // circle.setStep(10D);
128+ // circle.setRadius(3D);
129+ // circle.setPeriod(2);
130+ // circle.play();
131+ // circle.alwaysPlayAsync();
132+
133+ // Astroid astroid = new Astroid(player.getLocation());
134+ // astroid.setParticle(Particle.FIREWORKS_SPARK);
135+ // astroid.setRadius(1.3D);
136+ // astroid.setStep(10D);
137+ // astroid.setPeriod(1L);
138+ // astroid.alwaysPlayAsync();
139+
140+ // Arc arc = new Arc(player.getLocation());
141+ // arc.setAngle(360D);
142+ // arc.setStep(15D);
143+ // arc.setPeriod(2L);
144+ // arc.alwaysPlayAsync();
122145
123146// Grid grid = new Grid(player.getLocation(), player.getLocation().add(5, 0, 5), 1.2D);
124147//
0 commit comments