Commit Graph
930 Commits
Author SHA1 Message Date
garbagemule 8705b5c9f7 Add support for off-hand items. 2016-12-29 17:56:32 +01:00
garbagemule 558681a2f2 Remove redundant setContents() calls from class chest handlers.
Before, these redundant calls didn't really do anything. Now they mess everything up, because setContents() doesn't set inventory contents only, but the entire inventory instead, because that's so super useful. Well done, boys!

#notsalty
2016-12-29 17:55:46 +01:00
garbagemule 93ce8b9667 Fix Spigot's semi-breaking inventory change.
Because it is clearly impossible to change JavaDocs to correctly describe what a method does, the method setContents() has now been changed to a useless, over-aggressive, inventory-wiping piece of junk that must be invoked before anything else. This commit ensures that armor contents are set after the setContents() method is called, overwriting the nulls that the setContents() method creates.
2016-12-29 17:55:30 +01:00
Andreas Troelsen 847726a29a Bump version to 0.97.4. 2016-12-17 02:39:15 +01:00
Andreas Troelsen 11fb0ed573 Give strays a bow just like their normal skeleton friends. 2016-12-17 01:58:46 +01:00
garbagemule 60a173d447 Merge pull request #327 from slipcor/offhand-2
Ignore off-hand interact events in Setup Mode (since Minecraft/Spigot 1.9). Fixes #299
2016-12-17 01:44:43 +01:00
garbagemule 65f33ae1a4 Merge pull request #328 from slipcor/empty-inventory
Always check for both null stacks and "air stacks" (ItemStack ID 0) when checking for empty inventories. Fixes #302
2016-12-17 01:43:46 +01:00
garbagemule bc7c321d28 Merge pull request #329 from slipcor/pets-2
Make pets (ocelots included) sit before teleporting players to the lobby. Fixes #247
2016-12-17 01:41:55 +01:00
garbagemule 50a14a68a1 Merge pull request #331 from slipcor/skeleton
Explicitly give skeletons a brand new bow to prevent them from running around punching with the bow they already have.
2016-12-17 01:40:10 +01:00
slipcor 333a23ecdd fix skeletons only punching with the bow they already have by giving them a new one 2016-12-16 20:36:57 +01:00
slipcor f81921efcd address github issue #247 (sit pets before teleporting) and include cats/ocelots as pets 2016-12-15 22:32:55 +01:00
Andreas Troelsen 98e4c03085 Bump version to 0.97.3. 2016-12-15 21:36:32 +01:00
slipcor cbac56e199 address github issue #302 (joining with empty inventory) 2016-12-15 20:08:00 +01:00
slipcor e6e4782de8 address github issue #299 (ignore offhand interact events thrown since Spigot 1.9) 2016-12-15 18:49:30 +01:00
garbagemule cad2b668d0 Merge pull request #325 from slipcor/master
update to Spigot 1.11, fix entity spawning errors, remove redundant d…
2016-12-15 13:32:40 +01:00
slipcor 3b88b889d6 update to Spigot 1.11, fix entity spawning errors, remove redundant definitions 2016-12-15 13:13:21 +01:00
garbagemule dbff678660 Add support for killer bunnies. 2015-09-16 18:51:43 +02:00
garbagemule 23eeff69a3 Update pom.xml towards next release. 2015-08-23 15:35:49 +02:00
garbagemule e4ddc653b6 Version 0.97.1 2015-08-23 15:35:16 +02:00
garbagemule 4d2b6927d4 Add support for elder guardians. 2015-08-23 15:34:22 +02:00
garbagemule 6d29f265a1 Update pom.xml towards next release. 2015-08-19 15:56:30 +02:00
garbagemule f83e1b20fb Version 0.97 2015-08-19 15:54:24 +02:00
garbagemule 3a20be3db9 Make root-target find the nearest ground block to root to. 2015-07-28 20:25:08 +02:00
garbagemule f49fe0e33b Add Mockito to POM. 2015-07-27 22:23:32 +02:00
garbagemule 119d92686a Add JUnit and Hamcrest to POM, add linebreaks. 2015-07-21 15:55:02 +02:00
garbagemule 39196c7b61 Unwrap potential Player proxies in commands. 2015-07-17 17:50:51 +02:00
garbagemule 79ca18aa41 Fix default boss health value. 2015-07-17 16:41:58 +02:00
garbagemule 3e01070e9a Use Spigot's Bukkit API instead of the Spigot API. 2015-07-17 16:28:44 +02:00
garbagemule d32cd22a98 Make monster types case-insensitive. 2015-07-17 16:12:23 +02:00
garbagemule a9eab13842 Fix Spigot block explosion issue. 2015-07-17 16:11:00 +02:00
garbagemule 95aebcf333 Merge branch 'ma-creature' 2015-07-17 04:45:57 +02:00
garbagemule d3c5535f61 Cast null instead of creating a new set. 2015-07-17 04:45:48 +02:00
garbagemule eda6e6e1f3 Static map initializer before constants. 2015-07-17 04:44:59 +02:00
garbagemule 0e814b9c0f Convert MACreature to class. 2015-07-17 04:25:24 +02:00
garbagemule aafeb93d38 Update for Spigot and mavenize. 2015-07-17 03:38:41 +02:00
garbagemule 91d426a74b Update plugin.yml towards next release. 2014-12-13 20:43:53 +01:00
garbagemule a9bf65c780 Version 0.96.9 2014-12-13 20:43:35 +01:00
garbagemule e663a10a2a Fix Spigot issue with skeleton/wolf targetting. 2014-12-13 20:29:02 +01:00
garbagemule 2e397fd123 Really fix the Spigot health issue (with a twist). 2014-12-13 20:28:14 +01:00
garbagemule 4f46064bcf Update plugin.yml towards next release. 2014-12-08 20:18:49 +01:00
garbagemule c7f71b7c59 Version 0.96.8 2014-12-08 20:18:20 +01:00
garbagemule a8755ea496 Add a guard for ridiculous Spigot health issue. 2014-12-08 19:37:11 +01:00
garbagemule 246c05e7a9 Initial work on fix for water not removing properly. NOT ACTIVATED. 2014-12-08 19:23:21 +01:00
garbagemule 03fad84ece Merge branch 'graywolf336-bleeding' into bleeding 2014-12-08 17:03:54 +01:00
garbagemule bca1d387a4 Allow for spaces between comma-separated potion effects. 2014-12-08 16:48:53 +01:00
garbagemule 243c5ea6ea Make numeric regexes require at least one number to match. 2014-12-08 16:45:05 +01:00
garbagemule 55e0500bae Allow for lower case potion effect names. 2014-12-08 16:43:15 +01:00
garbagemule 409c3f6c14 Swap amplifier and duration parameters in effect parser.
This changes the format from:

  <effect>:<duration>:<amplifier>

to a (pressumably) more user-friendly format of:

  <effect>:<amplifier>:<duration>

The reason for this swap is that the duration is more likely to be
wanted left at default than the amplifier. From previous user input
on the matter, it sounds like users generally want the bosses to have
"permanent" or "infinite duration" effects, and this change makes it
a little easier on them, not having to specify a duration.
2014-12-08 16:38:33 +01:00
graywolf336 47f22f75ab If no duration provided, potion effects on bosses will last forever. 2014-11-27 22:05:38 -06:00
graywolf336 1090550a3b Add potion effects to bosses when they spawn.
With this feature you can add potions to the bosses when they spawn,
adding the ability to add strength to the boss for the first 30 seconds
making it harder for the first few seconds and once the effect wears
goes away the boss becomes easier. The syntax is in the same style as
potion items, except it uses either the potion effect enum name or the
potion effect id.

POTION_EFFECT:duration in seconds:amplifer

SLOW:360:4;INVISIBILITY:36000:0

If no duration is given, the plugin will default to sixty seconds. If
the amplifer was not provided, the plugin will default to zero. The
potion effect amplifcation starts at 0 being level 1.
2014-11-27 03:37:14 -06:00