88import org .bukkit .entity .Player ;
99import org .bukkit .plugin .java .JavaPlugin ;
1010import top .zoyn .particlelib .pobject .Arc ;
11+ import top .zoyn .particlelib .pobject .Astroid ;
1112import top .zoyn .particlelib .pobject .Circle ;
13+ import top .zoyn .particlelib .pobject .Heart ;
1214import top .zoyn .particlelib .utils .matrix .Matrixs ;
1315
1416import java .util .concurrent .atomic .AtomicInteger ;
@@ -53,26 +55,13 @@ public void onDisable() {
5355 @ Override
5456 public boolean onCommand (CommandSender sender , Command cmd , String label , String [] args ) {
5557 Player player = (Player ) sender ;
56- if (args .length != 0 ) {
57- if (args [0 ].equalsIgnoreCase ("loc1" )) {
58- loc1 = player .getLocation ();
59- return true ;
60- }
61- if (args [0 ].equalsIgnoreCase ("loc2" )) {
62- loc2 = player .getLocation ();
63- return true ;
64- }
65-
66- if (args [0 ].equalsIgnoreCase ("circle" )) {
67- circle .setOrigin (player .getLocation ());
68- return true ;
69- }
70-
71- if (args [0 ].equalsIgnoreCase ("cancel" )) {
72- circle .turnOffTask ();
73- return true ;
74- }
75- }
58+ //
59+ // Astroid astroid = new Astroid(player.getLocation());
60+ // astroid.setParticle(Particle.FIREWORKS_SPARK);
61+ // astroid.show();
62+ //
63+ // Heart heart = new Heart(player.getLocation());
64+ // heart.alwaysShowAsync();
7665
7766// Polygon polygon = new Polygon(3, player.getLocation());
7867// polygon.setParticle(Particle.VILLAGER_HAPPY);
@@ -85,10 +74,10 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String
8574// polygon.setStep(0.5);
8675// polygon.alwaysShowAsync();
8776
88- Arc arc = new Arc (player .getLocation (), 90D );
89- arc .setMatrix (Matrixs .eyes (2 , 2 ).multiply (2 ));
90- arc .setStep (10 );
91- arc .alwaysShowAsync ();
77+ // Arc arc = new Arc(player.getLocation(), 90D);
78+ // arc.setMatrix(Matrixs.eyes(2, 2).multiply(2));
79+ // arc.setStep(10);
80+ // arc.alwaysShowAsync();
9281
9382// Bukkit.getScheduler().runTaskTimerAsynchronously(this, () -> {
9483// if (angle.get() == 360) {
0 commit comments