finished gravity gauntlet mechanic

This commit is contained in:
kai ohara 2025-02-07 12:36:17 -05:00
parent 660e131127
commit 57c141d8a1
21 changed files with 7 additions and 9 deletions

Binary file not shown.

View File

@ -13,7 +13,6 @@ commands:
description: Throws nearest player in a 10 block radius of you description: Throws nearest player in a 10 block radius of you
usage: "/throw" usage: "/throw"
permission: cosway.throw permission: cosway.throw
commands:
gravitygauntlet: gravitygauntlet:
description: "Gives the player a Gravity Gauntlet" description: "Gives the player a Gravity Gauntlet"
usage: "/gravitygauntlet" usage: "/gravitygauntlet"

View File

@ -18,7 +18,7 @@ import java.util.UUID;
public class GravityGauntlet implements Listener { public class GravityGauntlet implements Listener {
private final CoswayUtil plugin; // Reference to the main plugin private final CoswayUtil plugin; // Reference to the main plugin
private final Map<UUID, Long> cooldowns = new HashMap<>(); private final Map<UUID, Long> cooldowns = new HashMap<>();
private static final long COOLDOWN_TIME = 5 * 1000; // 5 seconds in milliseconds private static final long COOLDOWN_TIME = 10 * 1000; // 5 seconds in milliseconds
public GravityGauntlet(CoswayUtil plugin) { public GravityGauntlet(CoswayUtil plugin) {
this.plugin = plugin; this.plugin = plugin;

View File

@ -13,7 +13,6 @@ commands:
description: Throws nearest player in a 10 block radius of you description: Throws nearest player in a 10 block radius of you
usage: "/throw" usage: "/throw"
permission: cosway.throw permission: cosway.throw
commands:
gravitygauntlet: gravitygauntlet:
description: "Gives the player a Gravity Gauntlet" description: "Gives the player a Gravity Gauntlet"
usage: "/gravitygauntlet" usage: "/gravitygauntlet"