-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
public/wiki/cardinal-components-api/upgrade-instructions/CCA-6-changes.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: Upgrading from CCA 5.x to 6.0 | ||
breadcrumb: 6.x upgrade | ||
layout: cca_wiki | ||
--- | ||
|
||
Minecraft 1.20.5 brought some rather large changes impacting Cardinal Components API, prompting a few breaking changes. | ||
|
||
## Package migration | ||
|
||
The root package has changed from `dev.onyxstudios` to `org.ladysnake`. | ||
You can migrate quickly by using your IDE's global search feature - here are the instructions for Intellij Idea: | ||
|
||
1. press <kbd><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>R</kbd></kbd> (or <kbd><kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>R</kbd></kbd> on MacOS) to open the global replace window | ||
2. type `import dev.onyxstudios.cca` in the first line ("Search") | ||
3. type `import org.ladysnake.cca` in the second line ("Replace") | ||
4. Click on <samp>Replace All</samp> to perform the replacement | ||
5. You're done! | ||
|
||
## Changes to the Base module | ||
|
||
- AutoSyncedComponent | ||
|
||
## Changes to the Entity module | ||
|
||
- Removal of `PlayerCopyCallback` | ||
|
||
## Removal of the Item module | ||
|