Commit Graph

1379 Commits

Author SHA1 Message Date
Christian Koop
e9f84d3393
Release v3.6.0-SNAPSHOT 2024-10-02 20:55:51 +02:00
Christian Koop
380835a4cb
feat!: delete BlockUtils class
FabledSkyBlock is the last plugin to rely on it and should
be easy to migrate.

We can finally delete it \o/
2024-10-02 20:54:53 +02:00
Christian Koop
bdcc9bb0b9
feat: Introduce CompatibleCrop class
At least EpicFarming and EpicAutomators can make good
use of this class and get rid of code that relies on
magic numbers and needs cross-version support.
2024-10-02 20:20:24 +02:00
Christian Koop
b25dc736ce
refactor: remove unused import 2024-10-02 19:21:14 +02:00
Christian Koop
570db7b455
feat: implement nms method WorldCore#pressButton to replace BlockUtils
This method uses vanilla functionality to press a button
'the vanilla way'.
This differs a bit from the original implementation,
but I think this is the more desired one.
2024-10-02 19:19:22 +02:00
Christian Koop
9c3d6e5339
feat: implement nms method WorldCore#toggleLever to replace BlockUtils
This method uses vanilla functionality to toggle a lever
'the vanilla way'.
This differs a bit from the original implementation,
but I think this is the more desired one.
2024-10-02 18:54:40 +02:00
Christian Koop
f7c9dfe1c5
feat: Add Message#getMessageLines(char) which EpicAutomators needs
EpicAutomators just needs the method. It never existed in the core,
it has been used in the plugin since for ever essentially...
Somebody just never comitted it and published local builds I guess...

I'm annoyed
2024-10-02 14:41:46 +02:00
Christian Koop
8799a6fefc
Merge branch 'development' 2024-09-23 09:49:51 +02:00
Christian Koop
124a6aa9c3
Release v3.5.0-SNAPSHOT 2024-09-23 09:49:31 +02:00
Christian Koop
791b03778a
feat: add SkullItemCreator#byUuid to create skulls for offline players 2024-09-22 16:15:26 +02:00
Christian Koop
80061597d7
feat: add MinecraftApiClient to fetch a profile from an UUID 2024-09-22 16:07:47 +02:00
Christian Koop
f3d230cc90
feat!: support creating a wrapped GameProfile with textureSignature 2024-09-22 16:07:02 +02:00
Christian Koop
2f2979c6aa
fix: Core's GameProfile class extracting the texture value correctly 2024-09-20 10:35:05 +02:00
Christian Koop
656d3b9775
feat!: Recode SkullItemCreator to not use XSeries's XSkull class
XSkull is having a couple of issues and just throwing exceptions for a couple of people.
No fix in sight etc. so let's get rid of it and have our own implementation.
2024-09-20 10:25:48 +02:00
Christian Koop
6483e0d8b2
chore: add missing @Override annotations to NmsPlayer#getProfile 2024-09-20 09:04:25 +02:00
Christian Koop
874ecf63b2
feat!: delete v1_21_0 sub module
Spigot 1.21.0 can no longer be built and points to 1.21.1
1.21.0 should not be used anyways, as 1.21.1 contains a security fix.

This workaround is no longer supported and needed in my eyes.
2024-09-06 11:37:21 +02:00
Christian Koop
597796b3fd
reafactor: delete unnecessary class files from NMS/NMS-v1_21_0 submodule 2024-09-06 11:28:19 +02:00
Christian Koop
fb1b3197a2
build: fix misconfigured submodule NMS/NMS-v1_21_0 2024-09-06 11:27:37 +02:00
Christian Koop
cb25ddd7a1
Release v3.4.0-SNAPSHOT 2024-09-06 11:01:20 +02:00
Christian Koop
549f625509
Merge branch 'master' into development 2024-09-06 10:59:35 +02:00
Christian Koop
897e76771e
refactor: Replace reflections for GameProfile in ItemUtils with Nms 2024-09-06 10:59:05 +02:00
Christian Koop
704059d817
feat!: Remove ItemUtils#applyRandomEnchants method
Use `NmsItem#copyAndApplyRandomEnchantment` instead
2024-09-06 10:59:05 +02:00
Christian Koop
488490de18
feat: re-implement ItemUtils#applyRandomEnchants in NMS submodules
With this the implementation is more stable between version
and easier to maintain.
2024-09-06 10:59:04 +02:00
Christian Koop
9d7abf77c0
Delete .github/dependabot.yml 2024-09-01 14:17:36 +02:00
ceze88
265e5864c9 Add method to allow Number and Boolean types for placeholders 2024-08-26 19:53:41 +02:00
ceze88
0f2aff788f Only accept Strings for placeholder replacement to prevent toString issues on non convertable objects 2024-08-26 19:46:11 +02:00
ceze88
e4d46d1a4b Revert "Make legacz placeholders optional"
This reverts commit f100e3cd20.
2024-08-21 13:30:02 +02:00
ceze88
f100e3cd20 Make legacz placeholders optional 2024-08-21 13:21:23 +02:00
ceze88
3fc3c74d30 Fix AnvilGui support on 1.21 2024-08-21 12:54:34 +02:00
ceze88
2fbdf10627 Add option to set placeholder prefix and suffix 2024-08-21 11:28:19 +02:00
ceze88
d2766ca7c7 Add appendItemLore to AdventureUtils 2024-08-21 11:26:47 +02:00
Christian Koop
bbeb958931
fix: IllegalArgumentExepction in v1_21_R1's AnvilView in MC 1.21.1
The variable type got more specific it seems
2024-08-17 16:59:08 +02:00
Christian Koop
3dcf402269
chore(deps): Upgrade XSeries dependency for better MC 1.21.1 support 2024-08-17 16:53:23 +02:00
Christian Koop
2a8d30aefa
Release v3.3.0-SNAPSHOT 2024-08-11 10:45:11 +02:00
Christian Koop
bcc35c7f64
chore(deps): update item-nbt-api to v2.13.2 for Spigot 1.21.1 support 2024-08-11 10:45:11 +02:00
Christian Koop
97a9e5f6e8
feat: Compile v1_21_R1 nms module with Spigot 1.21.1 for compatibility 2024-08-11 10:39:45 +02:00
ceze88
91a92bc10b Merge branch 'development' of https://github.com/craftaro/SongodaCore into development 2024-07-22 15:33:59 +02:00
Christian Koop
4cd0c02aea
Release v3.2.0-SNAPSHOT 2024-07-19 19:36:57 +02:00
Christian Koop
d91c675bb7
feat: introduce new SkullItemCreator class for use instead of XSkull
If the XSkull class changes again, we only have to update the Core's implementation.
The #byPlayer method also handles offline mode servers
better than XSkull which essentially just fails right now
2024-07-19 19:15:19 +02:00
Christian Koop
9aad7f63f3
feat: Add NMSPlayer#getProfile(Player) method to get the GameProfile 2024-07-19 19:14:07 +02:00
Christian Koop
157150a2f1
feat: introduce MajorServerVersion class based on old ServerVersion class
FSB has too many usages of the ServerVersion class and
I don't feel like updating 50+ or 100+ or whatever uses of it.
It takes too much brain time for me to re-think the version constraints
2024-07-19 19:12:35 +02:00
Christian Koop
54494c8ad9
fix!: remove dependance on update.songoda.com which is not available
This also gets rid of auto-download of different locale files
as the services providing them finally stopped working.
2024-07-19 17:35:36 +02:00
Christian Koop
27115b20e8
fix: Fix NullpointerException when MarketplaceUrl is null in OverviewGUI 2024-07-19 17:34:23 +02:00
ceze88
4e4b1529ab Fix placeholder value is not parsed for colors 2024-07-16 17:29:36 +02:00
ceze88
9b7e65992a Add generic return type methods 2024-07-13 14:22:35 +02:00
ceze88
c3cd6baf49 Merge branch 'development' of https://github.com/craftaro/SongodaCore into development 2024-07-10 19:05:48 +02:00
ceze88
2fda84aad9 Add Adventure Component support for GUIs 2024-07-10 19:05:46 +02:00
Christian Koop
127a50ca83
Merge pull request #110 from TeamHRLive/development
Replacing server version checks for 1.8
2024-07-10 14:22:03 +02:00
TeamHRLive
926b5cbcf7 [Fixed] Error due to Particles in 1.8.8 2024-07-09 18:42:46 +05:30
ceze88
363ff47b34 Add placeholder prefix and suffix 2024-07-08 18:54:47 +02:00