finished gravity gauntlet mechanic
This commit is contained in:
parent
660e131127
commit
57c141d8a1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
build/classes/java/main/CoswayUtil/GravityGauntlet.class
Normal file
BIN
build/classes/java/main/CoswayUtil/GravityGauntlet.class
Normal file
Binary file not shown.
BIN
build/classes/java/main/CoswayUtil/GravityGauntletCommand.class
Normal file
BIN
build/classes/java/main/CoswayUtil/GravityGauntletCommand.class
Normal file
Binary file not shown.
BIN
build/libs/CoswayUtil-1.9-RELEASE.jar
Normal file
BIN
build/libs/CoswayUtil-1.9-RELEASE.jar
Normal file
Binary file not shown.
@ -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"
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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;
|
||||||
|
@ -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"
|
|
Loading…
Reference in New Issue
Block a user