Christian Koop
d28a961216
Re-implement CompatibleMaterial#getEggType
2023-07-01 13:51:24 +02:00
Christian Koop
3575bd25b9
Use non-shaded class name when loading the H2 driver
2023-07-01 13:39:44 +02:00
Christian Koop
199840f845
Minor code style fixes/refactoring in H2Connector
2023-07-01 13:39:44 +02:00
Christian Koop
fafc4baaa3
Fixes username and password in H2Connector being mixed up
2023-07-01 13:39:44 +02:00
ceze88
2962a5cef8
Improve data loading to make it easier for plugins to create new data instances when deserialized
2023-07-01 09:54:09 +02:00
Christian Koop
1b2b2a41a3
Updates UltimateStacker-API dependency to use the new name+version
2023-06-30 22:53:43 +02:00
Christian Koop
8c80d86cc5
pom.xml: Adds some empty lines for clarification/grouping of shade arti.
2023-06-30 16:38:40 +02:00
Christian Koop
77f1e54479
pom.xml: Re-add legacy/outdated songoda public repository mirror
...
Introduced in d6f2daaeb6
The ID matched maven mirror configurations on my machine and GitHub Actions.
2023-06-30 16:37:57 +02:00
Christian Koop
d6f2daaeb6
pom.xml: Fixes Songoda/Craftaro repository ID and URL
2023-06-30 16:19:22 +02:00
Christian Koop
f8ffd4b7cb
pom.xml: Removes PaperMC repository
2023-06-30 16:18:58 +02:00
Christian Koop
b8c14253ad
Fix version for UltimateStackerAPI dependency from 1.0
to 1.0.0
2023-06-30 16:17:56 +02:00
Christian Koop
2aa367c8e3
Merge branch 'feature/new-improved-database-system' into development
2023-06-29 17:14:28 +02:00
ceze88
84c7d1da4b
Fix database converter, fix uuid data support. Adds test for database
2023-06-29 16:04:12 +02:00
Christian Koop
9ac1da984d
Renamed method argument l
to location
in LocationUtils#isInArea
2023-06-29 09:37:42 +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
ceze88
5d0b0409da
Updates jooq to latest java 8 and hikaricp
2023-06-28 12:13:39 +02:00
ceze88
5d9cab5613
Merge branch 'development' into feature/new-improved-database-system
...
# Conflicts:
# Core/pom.xml
# Core/src/main/java/com/craftaro/core/SongodaPlugin.java
2023-06-28 11:58:09 +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
2becc27bda
Include all of XSeries in the core instead of specific classes
2023-06-25 12:09:27 +02:00
Christian Koop
572cf3d805
Adds a lot of this.
in GUI releated classes
2023-06-24 16:00:57 +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
b09338f78f
Adds a lot of this.
in some files
2023-06-24 12:57:57 +02:00
Christian Koop
49eb5437e9
Updates item-nbt-api
dependency to v2.11.3
2023-06-24 12:55:15 +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
fbf6531f08
Updates maven-shade-plugin
from v3.3.0 to v3.5.0
2023-06-18 01:00:48 +02:00
Christian Koop
b6e1d0afca
Exclude license files etc. when shading third-party libraries
2023-06-18 01:00:23 +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
9e73e2a87d
Fixes some code style issues
2023-06-18 00:33:07 +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
3b92b69cc6
Fixes some code style issues
2023-06-17 16:34:50 +02:00
Christian Koop
3203e4b799
Deprecate some utility classes that still need some additional work
2023-06-17 16:31:13 +02:00
Christian Koop
f1fa34f891
Deprecates most parts of NumberUtils and refactors #isInt(String)
...
Trying to parse an empty or null String throws an `NumberFormatException` so we don't need that check.
2023-06-17 16:30:27 +02:00
Christian Koop
24007b5d17
Slight refactor of PlayerUtils and marking some methods as Deprecated
...
The Deprecations need to be taken care of at a later point in time.
Most methods do have a strong use-case in relation to commands and should be placed
in a more appropriate class.
2023-06-17 16:30:27 +02:00
Christian Koop
f348ddef45
Deprecate some unused or no-longer-needed utility classes
2023-06-17 16:30:27 +02:00
Christian Koop
c43bc093cc
Replace EntityUtils with new NmsEntity implementation and deprecate it
2023-06-17 15:45:23 +02:00
Christian Koop
a11c6aa691
GitHub Actions: Don't increment snapshot versions on dev branch
2023-06-17 14:37:53 +02:00
Christian Koop
4c32936367
Fix package path used in SongodaCore#hasShading
2023-06-17 13:35:19 +02:00
Christian Koop
bba24097fd
Rename SongodaCoreConstants into CraftaroCoreConstants and update them
2023-06-17 13:06:57 +02:00
Christian Koop
2c6273c1b5
Compile v1_20_R1 nms module with Spigot 1.20.1 instead of 1.20
2023-06-14 21:34:05 +02:00
ceze88
ee9d6016bf
Big changes to the database system
...
This a modified version of the original commit b2180b0c73
.
I changed/removed:
* project version bump (a lot of unrealated file changes, wrong version in regards to breaking changes)
* Hacky changes to the NMS class
* Reverted changes to SSpawner (We want to keep the class variables final
and there doesn't seem to be a big advantage in overwriting basically the whole classe's content
when you could just create a new instance instead, as intended)
* Commit name (old name was `(changes will be in next commit)`)
2023-06-11 12:55:04 +02:00
Christian Koop
61205da3b4
GitHub Actions: Updates some mentions of Songoda to represent rename
2023-06-11 00:41:05 +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