Commit Graph

178 Commits

Author SHA1 Message Date
Christian Koop
8d360eb886 Fix AutoCrafting in Spigot 1.12.2
Back in the ol' days... There were no such thing as `Material.BIRCH_PLANKS`. And that caused a NoSuchMethodError. As simple as that ^^
2020-05-23 15:54:18 -04:00
Brianna
c8cec714b7 Fix issue with saving. 2020-05-21 17:48:43 -04:00
Brianna
6b6ed7a403 Fix saving auto crafting on back button. 2020-05-12 17:48:31 -04:00
Brianna
0e546f9894 Remove SyncTouch. 2020-05-06 08:57:28 -04:00
Brianna
3b24a9227c Implement NBT tags rather than invisible strings. 2020-04-22 10:33:59 -04:00
Brianna
c120b57866 Move comparator system to SongodaCore. 2020-04-22 10:32:23 -04:00
Brianna
ee9aa64197 Fix issue with WorldGuard. 2020-04-22 10:10:26 -04:00
Brianna
7215cea363 Total typo. 2020-04-21 06:31:11 -04:00
Brianna
ad250acd1b Don't process less than 0 for auto sell. 2020-04-20 09:10:58 -04:00
Christian Koop
f37b03bf14 Fix AutoCrafter only requiring one ingredient
When reformatting the code one closing bracked was moved to the end where it did not belong. Resulting in not even continuing the right loop ,_,
2020-04-19 07:19:19 -04:00
Brianna
b4256c49cf Add queued async threading. 2020-04-18 09:35:25 -04:00
Christian Koop
0afc6dc38e Improve AutoCrafter-Ejection to use items not used for crafting
I wrote some fallback code to eject an item used for crafting (use the ingredient and then eject) but it looks like it is not playing nice with the cachedInventory, so it is commented out.
Looks like the old ejection did have the same problems as mine but I don't use Streams in mine witch may have quit an over-head in this case.
2020-04-18 09:23:11 -04:00
Christian Koop
c65ac98f71 Rename allTypes to make it more intuitive 2020-04-18 09:23:07 -04:00
Christian Koop
e77d89173f Fix hacky fix of 2cf3c6
Only modify inventory array when it's changes will be applied (The cachedInventory is not a deep clone and should not be modified as I did expect because of Player#getInventory()#getContents()
2020-04-18 09:23:02 -04:00
Brianna
58fa0cbe61 Code cleanup
Code cleanup
2020-04-18 09:22:57 -04:00
Christian Koop
96076eb0e4 Hacky fix for disappearing items because of AutoCrafter
Should only be temporarily. Check if a slot is free or would be free after removing used ingredients and only then apply changes to the array
2020-04-17 09:25:50 -04:00
Christian Koop
b6926b931f AutoCrafter: Cache ingredients as ItemStack
Instead of cloning and changing it'S type for every ingredient on every hopper, just keep an ItemStack that can has been created already and can be used instead.
2020-04-17 09:25:45 -04:00
Christian Koop
124a796546 More detailed comments/TODOs and code cleanup 2020-04-17 09:25:41 -04:00
Christian Koop
df40a6323e Remove unneeded hacky fix for log recipes from e927aa69 2020-04-17 09:25:38 -04:00
Christian Koop
6c6af33eaf Fix my JavaDoc comment 2020-04-17 09:25:35 -04:00
Christian Koop
e10daf1362 Recoded AutoCrafting logic
These changes reintroduce crafting with alternative ingredients. Example: Instead of crafting a `Material.CHEST` only using `Material.SPRUCE_LOGS` you can now use any other wooden logs.
2020-04-17 09:25:29 -04:00
Brianna
94ac11fa7f Add FabledSkyBlock as a dependency. 2020-04-17 09:25:24 -04:00
Brianna
9b30bae3a2 Forgot an s xD 2020-04-17 09:25:04 -04:00
Brianna
d73ad85008 Added long overdue back buttons to GUI's. 2020-04-10 05:40:27 -04:00
Brianna
7730f40ade Convert to SQLite.
s
2020-04-10 05:40:23 -04:00
Brianna
91189c9e5b Fix for WorldGuard related issues. 2020-04-10 05:24:08 -04:00
Brianna
728f5c721d Added support for newer versions of FabledSkyBlock. 2020-04-10 05:24:04 -04:00
Brianna
b2d0495dc8 Fix for new sync touch limitation. 2020-04-08 15:24:24 -04:00
Brianna
13edb5ad40 Updated fabledskyblock dependency and fixed an issue with stackable blocks. 2020-03-19 19:52:44 -04:00
Wertík
fab8fc5a2c Hooked BlockBreakBlackList and AutoSellPrices to Settings 2020-03-19 18:39:48 -04:00
Wertík
cd601a8b7f Added AutoSell filter 2020-03-19 18:39:43 -04:00
Brianna
9c2867e9d3 Don't test against nulled hoppers. 2020-02-11 06:34:48 -05:00
Brianna
89797380cb Don't compact when distinction is enabled. 2020-02-11 06:04:32 -05:00
Brianna
0070c049f6 Added a blacklist for SyncTouch items. 2020-01-24 15:44:54 -05:00
Brianna
addc99e966 Added the ability for a distinction between epic and normal hoppers. 2020-01-17 15:47:28 -05:00
Brianna
26d9dbcbd3 Added config blacklist for auto crafting. 2020-01-17 15:18:24 -05:00
Brianna
5d98dea24b Improved on last saving upgrade. 2020-01-17 12:53:49 -05:00
Brianna
b6bde40ce7 Don't save the lowest level to file. 2020-01-16 17:21:27 -05:00
Brianna
9962c91efc FIx for a weird storage issue. 2019-12-04 16:44:29 -05:00
Brianna
109fd75dbd Wait for other plugins to load before loading levels. 2019-12-04 16:44:13 -05:00
Brianna
f4492b0620 Fixed issue with synctouch when not attached to a chest. 2019-11-27 20:01:23 -05:00
Brianna
e5f645ba6b Fixed issue with autocrafting and named items. 2019-11-16 13:21:15 -05:00
Brianna
b9ace79052 Fixed an issue with rail naming. 2019-11-08 21:56:47 -05:00
Brianna
2147b4f02b Don't fetch from de side. 2019-11-08 17:43:37 -05:00
Brianna
96beab7b43 Language reformat. 2019-11-04 16:13:32 -05:00
Brianna
e74edb8027 Added an event fired on hopper access. 2019-10-27 11:20:01 -04:00
Brianna
0d01990eef Fixed fortune issue with sync touch. 2019-10-18 19:16:12 -04:00
Brianna
ca54c708f4 Fixed hopper GUI closing issue. 2019-10-15 13:49:44 -04:00
Brianna
5f8392945b Improved hopper unlink behavior. 2019-10-15 12:36:57 -04:00
Brianna
3fe81601f1 Make the time to link multiply by the amount of links you have available 2019-10-15 12:10:35 -04:00