Commit Graph

143 Commits

Author SHA1 Message Date
Christian Koop
a7f7bdfc2b
feat: Add Spigot 1.20.6 support 2024-05-01 23:09:10 +02:00
Christian Koop
06bd403670
feat: add support for spigot 1.20.5 / v1_20_R4 2024-05-01 23:01:22 +02:00
ceze88
af61d7646f Add support for bamboo 2024-04-22 12:44:20 +02:00
ceze88
4b2c65fe62 Fix 1.8 compatibility 2024-04-22 11:35:46 +02:00
ceze88
4301ec5487 Release v3.0.6-SNAPSHOT 2024-04-15 14:09:48 +02:00
Christian Koop
6abaeb4cf8
chore(deps): Updates XSeries to v9.10.0 2024-04-06 19:32:27 +02:00
Brianna O'Keefe
60e7e57cdb version 3.0.5 2024-04-05 22:39:49 -05:00
Christian Koop
d3f9f4c226
feat:Some compatibility with paper builds without CraftBukkit relocation
To be fully compatible, the `ClassMapping` and `MethodMapping` classes should finally be removed
and their usages updated.

Announced in https://forums.papermc.io/threads/important-dev-psa-future-removal-of-cb-package-relocation.1106/
2024-03-29 15:32:39 +01:00
Brianna O'Keefe
5379537f7c version 3.0.4 2024-03-27 13:13:01 -05:00
Christian Koop
e4b5464130
chore: Delete deprecated CompatibleSound class
This class apparently also triggers some virus scanners (false positives obviously):
https://www.virustotal.com/gui/file/d4a32b05727863aaf87da3b0e70a2760031385f68f15fdb1246738898e468926
2024-03-27 09:34:46 +01:00
Brianna OKeefe
e7340bbc89 version 3.0.3 2024-03-21 17:09:19 -05:00
Brianna O'Keefe
9f6f8fb660 version 3.0.1 2024-03-12 14:19:08 -05:00
Christian Koop
796d71fb9c
perf: Lazily pre-populates cache for CompatibleMaterial#getFurnaceResult
The previous implementation would not cache the result for Materials without a furnace result.
So it would always check all recepies before return null.

We now just populate the whole cache instead of populating each Material<->Result combination one-by-one.
We are already iterating all the recepies anyways and EpicFurnaces should be the only plugin to use this method.
So there's actually not even a memory-consumtion trade-off right now because over time it would be
like this anyway – Just with worse performance
2024-02-25 18:01:29 +01:00
Christian Koop
56d46f4de0
chore: Updates XSeries to v9.8.0 for Spigot 1.20.4 compatibility 2023-12-12 14:27:33 +01:00
ceze88
e642980c2c Update XSeries 2023-11-06 14:21:29 +01:00
Christian Koop
e6b2e12eb3
chore: Updates XSeries to support Spigot 1.20.2 2023-10-19 17:14:08 +02:00
Christian Koop
e3d7b0d5af
refactor: CompatibleMaterial#getFurnaceResult(XMaterial) 2023-10-17 17:25:12 +02:00
ceze88
fc4c915791 FIx caching wrong item 2023-10-17 14:22:21 +02:00
ceze88
40992836b2 Add caching for recipes to improve performance 2023-10-05 11:11:41 +02:00
Christian Koop
8c22f5d141
Make CompatibleMaterial#getMaterial(String) with null and empty values
XMaterial throws an Exception if provided with `null` or `""`.
We make sure that an empty Optional is returned instead. Mainly for backwards compatibility reasons.
2023-08-16 17:54:37 +02:00
Christian Koop
d28a961216
Re-implement CompatibleMaterial#getEggType 2023-07-01 13:51:24 +02:00
Christian Koop
0d1bd6075d
Re-implement CompatibleMaterial#isBrewingStandIngredient 2023-06-29 09:22:59 +02:00
Christian Koop
132ea8d871
Re-code CompatibleMaterial#getBurnResult to be version-independant
It now is version, server-implementation independant and supports recipes from other plugins ^^
2023-06-29 09:20:34 +02:00
Christian Koop
2935009634
Implement getYieldForCrop and getSeedForCrop in CompatibleMaterial
Similar methods with different names existed before and are used in EpicFarming.
I decided on keeping them in here instead of moving them to the plugin.
2023-06-25 16:12:12 +02:00
Christian Koop
b7e64d17e6
Updates CompatibleHand to accept LivingEntity instead of Player
Needed in EpicEnchants plugin
2023-06-25 12:40:14 +02:00
Christian Koop
7ce74de993
Deprecates CompatibleSound in favor of XSound from the XSeries library 2023-06-24 15:58:38 +02:00
Christian Koop
f2c204ae89
Restore CompatibleMaterial#getGlassPaneColor(int)
Needed in default configuration of plugins using the Core's GUI APIs
2023-06-21 16:06:55 +02:00
Christian Koop
bac3c1b16e
Re-implemented CompatibleMaterial + changed usages to XMaterial 2023-06-20 20:22:29 +02:00
Christian Koop
d4fe43fd35
Adds XSeries's XMaterial class to the shaded dependencies 2023-06-18 01:01:28 +02:00
Christian Koop
2a7e5ceb34
Updates dependency com.viaversion:viaversion-api to v4.7.0 2023-06-18 00:42:18 +02:00
Christian Koop
82e8dd03c0
Extends ClientVersion mapping for 1.18, 1.19 and 1.20 2023-06-18 00:33:07 +02:00
Christian Koop
b00660942b
Adds some more server versions to Compatibility ServerVersion class 2023-06-18 00:33:07 +02:00
Christian Koop
3afc2aa6a4
Fixes some code style issues in Compatibility module 2023-06-18 00:33:07 +02:00
Christian Koop
421e515d85
Bump CraftaroCore version to v3.0.0-SNAPSHOT 2023-06-11 00:37:11 +02:00
Christian Koop
636775bbef
Rename Maven modules from SongodaCore to CraftaroCore 2023-06-11 00:37:11 +02:00
Christian Koop
e8639f3540
Fix forgotten package name changes
Forgotten in a33da058e29e4ed1ee018b8d51f503e07547d18a
2023-06-11 00:37:11 +02:00
Christian Koop
5da3769a47
Move every class from com.songoda package to com.craftaro 2023-06-11 00:37:11 +02:00
Christian Koop
9c4923cd42
Release v2.6.22
I'm creating this release to push the GitHub Actions and Dependabot changes to the main branch.
Dependabot should find at least 2 outdated actions dependencies and create a PR for them.


Please check #47 for a list of *most* changes.
2023-05-07 15:19:04 +02:00
Christian Koop
3e233cf021
Revert the project's version back to '2.6.21' 2023-05-06 22:54:50 +02:00
Christian Koop
b6a4198a60
Revert "Version v3.0.0-SNAPSHOT"
This reverts commit a06d27ab90.
2023-05-06 22:44:38 +02:00
Christian Koop
748f10b77b
Merge branch 'development' into development-v3 2023-05-06 20:17:35 +02:00
Christian Koop
0a0848c857
Release v2.6.21 2023-04-29 12:37:40 +02:00
Christian Koop
7a7d2e8b97
Release v2.6.20 2023-04-22 16:13:07 +02:00
Christian Koop
8d95084137
Adds missing Spawn Eggs to CompatibleMaterial, added in Minecraft 1.19.3
fixes #46
2023-04-22 16:13:07 +02:00
Christian Koop
eb76ba47ee
Deprecate the ClassMapping and MethodMapping classes
They are a huge pain to maintain... I should have put a stronger word against this when it got added...
2023-04-19 21:59:13 +02:00
Christian Koop
177ecb36e5
Release v2.6.19 2023-04-13 11:48:55 +02:00
Christian Koop
e33848adc5
Release v2.6.19-DEV 2023-03-29 21:16:28 +02:00
ceze88
386ff209a7 Release v2.6.18 2023-01-25 16:02:44 +01:00
Christian Koop
c29c4a5b09
Release v2.6.18-DEV 2023-01-11 22:00:36 +01:00
Christian Koop
396f3aefb8
Merge branch 'development' into development-v3 2022-12-26 21:03:31 +01:00