Skip to content

Commit

Permalink
feat: add jetbrains annotations, remove engine annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mouse0w0 committed Dec 8, 2023
1 parent c9095c5 commit 0956b96
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 50 deletions.
1 change: 1 addition & 0 deletions base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
}

dependencies {
api 'org.jetbrains:annotations:24.0.1'
api 'com.google.guava:guava:31.1-jre'
api 'org.apache.commons:commons-lang3:3.12.0'
api 'it.unimi.dsi:fastutil:8.5.12'
Expand Down
13 changes: 0 additions & 13 deletions base/src/main/java/engine/annotation/Beta.java

This file was deleted.

13 changes: 0 additions & 13 deletions base/src/main/java/engine/annotation/Experimental.java

This file was deleted.

13 changes: 0 additions & 13 deletions base/src/main/java/engine/annotation/Internal.java

This file was deleted.

9 changes: 0 additions & 9 deletions game-engine/src/main/java/engine/annotation/Debug.java

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package engine.registry;

import engine.annotation.Internal;
import org.jetbrains.annotations.ApiStatus;

import java.util.Collection;
import java.util.Optional;
Expand All @@ -21,7 +21,7 @@ public interface RegistryManager {
* @deprecated Provide for {@link engine.event.mod.ModRegistrationEvent.Construction}. Waiting to remove.
*/
@Deprecated
@Internal
@ApiStatus.Internal
<T extends Registrable<T>> void addRegistry(Class<T> type, Supplier<Registry<T>> supplier);

/**
Expand Down

0 comments on commit 0956b96

Please sign in to comment.