Commit Graph

235 Commits

Author SHA1 Message Date
Fabrizio La Rosa
f71705f3d7 Hotfix for EH loading before FSB 2020-07-11 09:03:32 -05:00
Brianna
c4cbc3f8fa Added support for 1.16. 2020-06-28 18:16:26 -05:00
Brianna
6e98af1ae3 Added ability to disable block breaking of containers. 2020-06-09 09:19:56 -05:00
Brianna
b79c33590d Typo 2020-06-06 14:30:58 -05:00
Brianna
6582b364b2 Fixed FabledSkyBlock integration (beta) 2020-05-31 10:40:39 -05:00
Brianna
6684beff9e FabledSkyBlock compatibility (beta) 2020-05-30 09:01:50 -05:00
Brianna
6cf11be83f Added in a null check when loading hoppers. 2020-05-30 08:51:32 -05:00
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
Brianna
239b0f967c Fix Link canceling issues. 2019-10-15 10:23:06 -04:00
Brianna
045aec1adb Added the ability to toggle suction on and modify the range.. 2019-10-13 18:50:33 -04:00
Brianna
b2247ec8a8 Redid linking system to be more intuitive. 2019-10-13 17:26:42 -04:00
Brianna
f5ac521ede Fixed saving issue. 2019-10-12 17:06:28 -04:00
Brianna
881d444a36 Incorrect plugin id. 2019-10-06 17:43:43 -04:00
Brianna
70faf51a98 SongodaCore update. 2019-10-05 16:02:37 -04:00
Brianna
921e7937bf Redid boosting command. 2019-10-03 10:49:36 -04:00
Brianna
baf59ebcf9 Fixed issue causing multiple module instances to overwrite eachother. 2019-10-03 10:33:56 -04:00
Brianna
acfb49146f Added support for full chests with sync touch. 2019-10-03 10:11:39 -04:00
Brianna
36bdd3b519 Updated support for EpicFarming. 2019-10-03 09:59:00 -04:00
Lilac
af4f4b493b Fixed issues with sync touch 2019-09-20 16:47:46 +01:00
jascotty2
35fcd8fabd fix mysql syntax error 2019-09-16 14:30:01 -05:00
jascotty2
b4b20e5549 prevent other hopper link timeout from canceling current 2019-09-16 11:13:39 -05:00
jascotty2
9d50fd2242 add compatibility with old skyblock 2019-09-16 10:53:12 -05:00
Brianna
bb0bee2bbf The highest hopper limit will now be chosen. 2019-09-10 16:24:38 -04:00
Brianna
eb58f31de9 Fix for FSB package change. 2019-09-10 16:21:52 -04:00
jascotty2
a5cadc5e5a fix brewing stand slot check 2019-09-02 16:36:56 -05:00
jascotty2
a0afec2afa version 4.2.8 - fix double-write issue 2019-08-31 16:46:59 -05:00
jascotty2
8fa7d03549 fix SD-3691 2019-08-30 16:36:34 -05:00
jascotty2
0a01b9d350 fix SD-3587 2019-08-30 16:23:52 -05:00
jascotty2
ae25f4d99e fix SD-3663 2019-08-30 16:19:54 -05:00
jascotty2
c2743b5d8e organize imports 2019-08-25 16:45:07 -05:00
jascotty2
c04b6b261b update US API 2019-08-25 16:42:06 -05:00
Taylor Rhys Brennan
c25c377f6e Autosell fix
Fixed last slot in hopper not autoselling.
2019-08-24 21:05:21 +01:00
Taylor Rhys Brennan
ee0c981f3f Fix for incorrect slot
Added case statement to fix coal etc going into wrong furnace slot via hopper.
2019-08-24 20:05:09 +01:00
jascotty2
1c8665c5c9 Merge branch 'development' of gitlab.com:Songoda/epichoppers into development 2019-08-16 11:37:46 -05:00
jascotty2
30e7b03aee fixes for missing 1.8 inventory function, optimizations for hopper listener. 2019-08-16 10:05:26 -05:00
Brianna
ffacd9869b Fix for world serialization. 2019-08-15 13:34:09 -04:00
jascotty2
8f5bf426ca limit gui title to 32 characters 2019-08-12 22:12:39 -05:00
jascotty2
4e8c805481 fix 1.8 compatibility with hopper check 2019-08-12 22:08:30 -05:00
jascotty2
0309fcff5e fix cache material check 2019-08-12 21:28:23 -05:00
jascotty2
88f8d96b78 fix rare double-crash + dead items 2019-08-12 09:22:24 -05:00
jascotty2
623c048f9c don't break blocks if hopper doesn't have an open slot 2019-08-12 09:07:56 -05:00
jascotty2
cd0ff337cd add option to eject last hopper slot in crafter hoppers 2019-08-11 19:48:19 -05:00
jascotty2
613d269335 fix for erroneous recipies 2019-08-11 05:20:22 -05:00
jascotty2
95027a9219 respect filter in suction module 2019-08-10 16:44:05 -05:00
jascotty2
953cc14d65 Don't try to load furnace recipes, fix gui conflict with some plugins 2019-08-10 16:21:23 -05:00
jascotty2
b43be883e2 fix log recipe in 1.14, only partial ignore added item slots 2019-08-09 15:41:06 -05:00
jascotty2
e927aa69cb Update changed cells only 2019-08-09 07:56:34 -05:00
jascotty2
e3bfa587e7 merge with head 2019-08-09 06:49:41 -05:00
jascotty2
63ff910229 Don't grab items on a filter without an endpoint, Don't try to push items if nothing to push, cache block inventories to read/write only once per tick, other general optimizations 2019-08-09 06:48:24 -05:00
Esophose
e3f5e62c74 Cache isPluginEnabled 2019-08-08 21:44:27 +00:00
Brianna
cd8a53416c Support for world deletion. 2019-08-08 09:28:47 -04:00