Skip to content

Commit

Permalink
Fix Retro Command Support
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewperiut committed Oct 14, 2024
1 parent d6fd6f1 commit 25da8c9
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ dependencies {

implementation "org.slf4j:slf4j-api:1.8.0-beta4"
implementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.17.2"
implementation("io.github.llamalad7:mixinextras-fabric:${mixinextras_version}")
annotationProcessor("io.github.llamalad7:mixinextras-fabric:${mixinextras_version}")

// Add testing dependencies
testImplementation 'junit:junit:4.13.1'
Expand All @@ -94,7 +96,7 @@ dependencies {
transitive false
}*/

modImplementation("com.github.matthewperiut:spc-babric:${project.spc_version}") {
modImplementation("com.github.matthewperiut:retrocommands:${project.retrocommands_version}") {
transitive false
}
modRuntimeOnly ("com.github.matthewperiut:gambac:e2ded011b0") { transitive false }
Expand Down
9 changes: 5 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ org.gradle.parallel=true
loader_version=0.14.19-babric.1

# Mod Properties
mod_version = 0.6.3
mod_version = 0.7.0
maven_group = com.matthewperiut
archives_base_name = accessoryapi
stapi_version=2.0-alpha.1.1
stapi_version=2.0-alpha.2.4
mixinextras_version=0.2.2

# Test properties
# https://maven.glass-launcher.net/#/releases/net/glasslauncher/mods/GlassConfigAPI
Expand All @@ -22,5 +23,5 @@ org.gradle.parallel=true
# https://github.com/calmilamsy/ModMenu/
modmenu_version=v1.8.5-beta.3
jankson_version=1.2.1
# https://github.com/matthewperiut/spc-babric
spc_version=0.4.3
# https://github.com/matthewperiut/retrocommands
retrocommands_version=0.5.2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.matthewperiut.accessoryapi.command;

import com.matthewperiut.spc.api.CommandRegistry;
import com.matthewperiut.retrocommands.api.CommandRegistry;

public class AccessoryAPICommands {
public static void addCommands() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.matthewperiut.accessoryapi.command;

import com.matthewperiut.accessoryapi.api.BossLivingEntity;
import com.matthewperiut.spc.api.Command;
import com.matthewperiut.spc.util.SharedCommandSource;
import com.matthewperiut.retrocommands.api.Command;
import com.matthewperiut.retrocommands.util.SharedCommandSource;
import net.minecraft.entity.EntityBase;
import net.minecraft.entity.Living;
import net.minecraft.entity.player.PlayerBase;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.matthewperiut.accessoryapi.command;

import com.matthewperiut.accessoryapi.api.PlayerExtraHP;
import com.matthewperiut.spc.api.Command;
import com.matthewperiut.spc.util.SharedCommandSource;
import com.matthewperiut.retrocommands.api.Command;
import com.matthewperiut.retrocommands.util.SharedCommandSource;
import net.minecraft.entity.player.PlayerBase;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.matthewperiut.accessoryapi.command;

import com.matthewperiut.accessoryapi.api.PlayerVisibility;
import com.matthewperiut.spc.api.Command;
import com.matthewperiut.spc.util.SharedCommandSource;
import com.matthewperiut.retrocommands.api.Command;
import com.matthewperiut.retrocommands.util.SharedCommandSource;
import net.minecraft.entity.player.PlayerBase;

public class InvisibleCommand implements Command {
Expand Down

0 comments on commit 25da8c9

Please sign in to comment.