Skip to content

Commit

Permalink
refactor: Rename KsyxisPlugin to KPlugin too
Browse files Browse the repository at this point in the history
  • Loading branch information
VidTu committed Mar 3, 2025
1 parent 32388fc commit e1c6f73
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
*/
@ApiStatus.Internal
@NullMarked
public final class KsyxisPlugin implements IMixinConfigPlugin {
public final class KPlugin implements IMixinConfigPlugin {
/**
* Mixin plugin error message. Shown in {@link #shouldApplyMixin(String, String)} when an error occurs.
*
Expand All @@ -63,7 +63,7 @@ public final class KsyxisPlugin implements IMixinConfigPlugin {
/**
* Logger for this class. Using Log4j2 logger, because SLF4J is not available in older versions.
*/
private static final Logger LOGGER = LogManager.getLogger("Ksyxis/KsyxisPlugin");
private static final Logger LOGGER = LogManager.getLogger("Ksyxis/KPlugin");

/**
* Current Mixin bytecode provider.
Expand All @@ -77,7 +77,7 @@ public final class KsyxisPlugin implements IMixinConfigPlugin {
*/
@ApiStatus.Internal
@Contract(pure = true)
public KsyxisPlugin() {
public KPlugin() {
// Empty
}

Expand Down Expand Up @@ -207,7 +207,7 @@ public void postApply(String targetClassName, ClassNode targetClass, String mixi
@Contract(pure = true)
@Override
public String toString() {
return "Ksyxis/KsyxisPlugin{" +
return "Ksyxis/KPlugin{" +
"provider=" + this.provider +
'}';
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ru/vidtu/ksyxis/mixins/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* Ksyxis package with mixins to inject.
*
* @author VidTu
* @see ru.vidtu.ksyxis.KsyxisPlugin
* @see ru.vidtu.ksyxis.KPlugin
*/
@NullMarked
package ru.vidtu.ksyxis.mixins;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ru/vidtu/ksyxis/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*
* @author VidTu
* @see ru.vidtu.ksyxis.Ksyxis
* @see ru.vidtu.ksyxis.KsyxisPlugin
* @see ru.vidtu.ksyxis.KPlugin
*/
@NullMarked
package ru.vidtu.ksyxis;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/ksyxis.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"minVersion": "0.8",
"compatibilityLevel": "JAVA_8",
"package": "ru.vidtu.ksyxis.mixins",
"plugin": "ru.vidtu.ksyxis.KsyxisPlugin",
"plugin": "ru.vidtu.ksyxis.KPlugin",
"mixins": [
"LevelMixin",
"MinecraftServerMixin",
Expand Down

0 comments on commit e1c6f73

Please sign in to comment.