Commit Graph

39 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 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
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
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 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 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 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 45aa82bd8b New weapons 2018-11-24 22:30:00 +02:00
mathias 655ce7cf19 Latest changes 2018-09-06 15:25:25 +03:00
mathias 227ada0bcc Rollback to 1.12.2 for now 2018-08-06 04:15:16 +03:00
mathias 1e116190b2 Clean up pom 2018-08-02 13:44:33 +03:00
mathias 53b715562b Fix errors, target 1.13 2018-08-02 13:23:33 +03:00
mathias be755ef2f2 First version 2018-07-11 18:29:59 +03:00