Commit Graph

7 Commits

Author SHA1 Message Date
Jikoo
fcc9a4c0cb Almost entirely functional silent shulker boxes
For whatever reason, the shulker box EnumDirection isn't being retrieved properly, so AnyChest will only trigger on shulker boxes that would not be able to open if placed downwards (opening upwards). Silentchest and anychest will work, though.
Suppressed a few deprecation warnings that don't make sense to keep.
If you do use my fork of OpenInv's API, it's not yet stable (specifically, IAnySilentContainer), and will change a little more as I polish things up.
2016-11-23 21:57:05 -05:00
Jikoo
454467c20e Fix SPIGOT-2806 for silent chests, various other issues
* Fixed anychest message spam
* Changed AnySilentContainer again to reduce duplicate checks
 * #isAnyContainerNeeded should be checked before calling #activateContainer
 * reorganized ifs for doublechest creation into reverse-order if elses to prevent creating extras when someone's broken Minecraft and put 3+ adjacent to each other
* Fixed incorrect block being checked for anychest in 1.11
* Progress on SilentContainerShulkerBox (we're getting there!)

anychest and silentchest aren't quite at 100% after all these changes, but it won't be a priority to revisit logic until shulker boxes are done
2016-11-22 03:30:34 -05:00
Jikoo
476171911a Silences shulker boxes but breaks sound/animation till tile is reloaded
Time for relaxation and sleep, too much actual effort expended today
2016-11-19 02:01:52 -05:00
Jikoo
9501d1c571 AnyChest supports Shulker Boxes, silent makes sound but doesn't animate.
I'm done for the day, got a lot of stuff to do tomorrow. Hopefully I'll iron out all of the wrinkles by the end of the day.
2016-11-18 01:51:11 -05:00
Jikoo
ff683d65d1 Prep for silent shulker boxes, backport ocelot fix to all versions
No clue why I didn't port it to all versions, seems like I stopped after 1.8 or something. Ocelots have been around since 1.2.
2016-11-17 20:06:10 -05:00
Jikoo
2e41b4bd45 Fix potentially server-crashing NPE
Whoops.
2016-11-17 03:22:24 -05:00
Jikoo
e100dff6ab Update for 1.11 2016-11-17 02:34:52 -05:00