Commit Graph

57 Commits

Author SHA1 Message Date
Luna 8513443147
Fix deprecation warning (#11)
* Bump dependencies

* Fix deprecation warning

* Fix small issue
2023-07-07 23:49:32 +03:00
kaboom b665cbd192 Stop using deprecated API 2023-04-01 01:31:50 +03:00
Kaboom 2abd5d972e
main.yml: bump versions 2023-04-01 01:09:31 +03:00
kaboom 42df4d8795 Machine Gun: Avoid exception in Folia
Not a great solution, but it will do for now.
2023-03-31 22:28:11 +03:00
kaboom 7177cd1767 Stop using deprecated ProjectileCollideEvent 2023-03-31 21:32:51 +03:00
Allink a753380695
Add Folia support (#10)
* Set "folia-supported" to true in plugin.yml

* Remove redundant imports
2023-03-31 05:09:16 +03:00
kaboom b616612b07 WeaponMachineGun: Store updated numFiredBullets 2023-03-31 05:00:13 +03:00
kaboom 756f89b283 numShotBullets -> numFiredBullets 2023-03-31 04:44:55 +03:00
kaboom 27524ecc55 Stop using BukkitRunnable
In preparation for Folia support.
2023-03-31 04:42:19 +03:00
Allink 6b339700fe
Fix oversights in explosive crossbow weapon (#9)
* Finalize Explosive Crossbow class

* Unwrap ternary for better code readability

* Don't process cancelled projectile spawns

This fixes a bug caused by an edge-case in which an explosive arrow's particles lingered forever when an explosive crossbow was fired from a chunk that is at/exceeds the entity limit.

Extras cancels the EntitySpawnEvent to enforce its entity limit; which does not call EntityRemoveFromWorldEvent on cancellation, thus causing this issue.
2023-02-27 03:46:19 +02:00
Allink 17b34d3bdf
Add explosive bows & improve source code (#7)
* Add explosive bow item

* Fix buggy inventory management code

* Use crossbow instead of bow to support multishot

* Add weapon item builder

* Make the explosive crossbow shoot faster & more
2022-12-27 19:51:10 +02:00
Chip 440dc4091c
Use adventure components instead of legacy strings (#6)
* Update Paper API

* Replace legacy message strings with components

* Compile with Java 17

* Fix italic text
2022-11-05 00:10:41 +02:00
Allink 714f1b3cd8
Update the maven Paper repository URL (#5)
* Update the maven Paper repository URL

* Remove /repo
2022-05-20 22:22:58 +03:00
kaboom 56c520fb90 Set maximum line length to 100 characters 2022-05-20 05:05:54 +03:00
kaboom 844f6f26df Use spaces instead of tabs 2022-05-20 04:44:37 +03:00
kaboom 648a636acb Remove 'NewlineAtEndOfFile' checkstyle suppression 2022-05-20 04:36:45 +03:00
kaboom ecd5f10924 Use Java 8 in GitHub Actions workflow 2021-10-23 05:34:14 +03:00
kaboom d729ef9a1e Update maven-checkstyle-plugin to 3.1.2 2021-10-23 05:33:34 +03:00
Luna 5fe53a8b6b
Add GitHub Actions workflow (#3) 2021-09-03 17:53:02 +03:00
Kaboom 6ef8d1b4cd
Merge pull request #2 from business-goose/patch-1
Don't use ridiculously outdated language versions
2021-09-01 05:34:38 +03:00
Business Goose d18a0f37c8
Don't use ridiculously outdated language versions 2021-08-31 19:47:24 +01:00
mathiascode 9e2a6a2f6f Use more accurate way of checking if a weapon should be used 2021-01-07 14:16:56 +02:00
mathiascode 5980216b78 Don't use weapons is event is cancelled 2021-01-07 13:59:02 +02:00
mathiascode 305dcd12fd Add support for Minecraft 1.16
Closes #1
2021-01-07 13:23:07 +02:00
mathiascode 520669c26d Specify correct command in the README 2020-08-03 17:26:16 +03:00
mathiascode 99c92fae5c Workaround for buggy items 2020-08-02 14:38:15 +03:00
mathiascode 2738bc3647 Handle invalid translations 2020-01-04 23:18:18 +02:00
mathiascode 33f6f3cb28 Don't allow star imports 2019-12-21 15:02:41 +02:00
mathiascode 26111f462d Minor 2019-12-21 14:57:35 +02:00
mathiascode 671ac2798e Fix machine gun bug 2019-12-21 00:23:12 +02:00
mathiascode d7e59d5dc3 Fix weapon name issue 2019-12-17 19:46:33 +02:00
mathiascode c6bb24a243 Target Java 5 2019-12-17 19:23:53 +02:00
mathiascode 1c510a37f7 Target Java 5 2019-12-17 19:13:16 +02:00
mathiascode 799f756e0b Update README 2019-12-17 18:03:26 +02:00
mathiascode d8fc0aaeb6 Add proper readme 2019-12-17 17:41:00 +02:00
mathiascode c6374021b6 Update gitignore 2019-12-17 17:23:46 +02:00
mathiascode 6f38952054 Remove unneeded files 2019-12-17 17:23:10 +02:00
mathiascode 30d7cf1ae4 Minor 2019-12-17 17:20:48 +02:00
mathiascode cad1d6ab35 Final style changes, fix permissions 2019-12-17 17:16:46 +02:00
mathiascode ef230a47c4 Code formatting fixes 2019-12-17 17:12:51 +02:00
mathiascode 81240a1763 Make laser range longer. FPrevent bullets from hitting shooter. 2019-12-16 02:06:23 +02:00
mathiascode 3b62022f1b Import ConsoleCommandSender 2019-09-22 05:40:59 +03:00
mathiascode 660354e123 Better command handling in console 2019-09-22 05:39:45 +03:00
mathiascode 8ee75e8129 Separate plugin into modules 2019-09-19 18:33:22 +03:00
mathias 545790a598 Restore blobinator colors 2019-07-24 04:49:59 +03:00
mathias 68dbd1884d Minecraft 1.13.2 compatibility and optimizations 2019-07-24 02:03:55 +03:00
mathias b7c4d02f15 Add new weapons 2019-07-22 17:20:58 +03:00
mathias ed94468577 Bug fixes 2018-12-18 04:36:54 +02:00
mathias e35eecc482 Kaboom.pw to Kaboom 2018-11-29 15:44:34 +02:00
mathias 45aa82bd8b New weapons 2018-11-24 22:30:00 +02:00