Skip to content

Commit

Permalink
Remove ScheduledForRemoval from legacy Component interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Oct 19, 2020
1 parent 787a09a commit db276fa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

import nerdhub.cardinal.components.api.util.NbtSerializable;
import net.minecraft.nbt.CompoundTag;
import org.jetbrains.annotations.ApiStatus;

/**
* base class for components.<br/>
Expand All @@ -35,7 +34,8 @@
* @deprecated implement {@link dev.onyxstudios.cca.api.v3.component.Component} instead
*/
@Deprecated
@ApiStatus.ScheduledForRemoval(inVersion = "3.0.0")
// Not marked ScheduledForRemoval to avoid transitive deprecation warnings
// @ApiStatus.ScheduledForRemoval(inVersion = "3.0.0")
public interface Component extends NbtSerializable {

/**
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
------------------------------------------------------
Version 2.7.1
------------------------------------------------------
- Remove the `ScheduledForRemoval` annotation from the legacy `Component` interface
- Should fix unstable API warnings in IDEA

------------------------------------------------------
Version 2.7.0
------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ org.gradle.jvmargs = -Xmx3G

#see https://modmuss50.me/fabric.html
minecraft_version=1.16.3
yarn_mappings=12
loader_version=0.9.3+build.207
yarn_mappings=47
loader_version=0.10.2+build.210

#Fabric api
fabric_api_version=0.21.0+build.407-1.16

#Publishing
mod_version = 2.7.0
mod_version = 2.7.1
curseforge_id = 318449
curseforge_versions = 1.16.2; 1.16.3
changelog_url = https://github.com/OnyxStudios/Cardinal-Components-API/blob/master/changelog.md
Expand Down

0 comments on commit db276fa

Please sign in to comment.