Commit Graph

666 Commits

Author SHA1 Message Date
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
a729496af1 Remove trailing white space 2020-04-17 09:25:32 -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
6913989656 Merge branch 'development' 2020-03-19 19:53:11 -04:00
Brianna
7808a388fe version 4.4.5 2020-03-19 19:52:50 -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
23ccce1bc4 Added public repo. 2020-03-16 13:11:48 -04:00
Brianna
905554fbc1 Merge branch 'development' 2020-02-11 06:35:19 -05:00
Brianna
827c907ada version 4.4.4 2020-02-11 06:35:13 -05: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
fdc91246f5 Merge branch 'development' 2020-01-24 18:04:28 -05:00
Brianna
19f4324e36 version 4.4.3 2020-01-24 18:04:23 -05:00
Brianna
0070c049f6 Added a blacklist for SyncTouch items. 2020-01-24 15:44:54 -05:00
Brianna
b6570ce41e Merge branch 'development' 2020-01-17 15:54:37 -05:00
Brianna
e00599c422 version 4.4.2 2020-01-17 15:54:30 -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
33de0be79e Merge branch 'development' 2020-01-16 17:32:34 -05:00
Brianna
de7747b8c1 version 4.4.1 2020-01-16 17:32:28 -05:00
Brianna
b6bde40ce7 Don't save the lowest level to file. 2020-01-16 17:21:27 -05:00
Brianna
5666ef6942 Fixed versioning issue. 2019-12-21 15:09:29 -05:00
Brianna
607265f3d2 Merge branch 'development' 2019-12-11 16:20:30 -05:00
Brianna
64b36c0502 version 4.4 2019-12-11 16:20:20 -05:00
Brianna
e7f872ed85 Removed CI 2019-12-11 16:20:11 -05:00
Brianna
870e8e1da1 Added 1.15 Support. 2019-12-11 16:20:02 -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
f751ff4a27 Merge branch 'development' 2019-11-27 20:32:37 -05:00
Brianna
5554ce2091 version 4.3.11 2019-11-27 20:31:57 -05:00