Disable optional deps and fix mixin
This commit is contained in:
parent
1541ca38d4
commit
aca7b942df
2 changed files with 9 additions and 9 deletions
16
build.gradle
16
build.gradle
|
@ -122,18 +122,18 @@ dependencies {
|
|||
modCompileOnly("com.terraformersmc:modmenu:3.0.1") {
|
||||
exclude module: "fabric-api"
|
||||
}
|
||||
modRuntimeOnly("com.terraformersmc:modmenu:3.0.1") {
|
||||
exclude module: "fabric-api"
|
||||
}
|
||||
// modRuntimeOnly("com.terraformersmc:modmenu:3.0.1") {
|
||||
// exclude module: "fabric-api"
|
||||
// }
|
||||
|
||||
modCompileOnly("mcp.mobius.waila:wthit:fabric-4.4.1") {
|
||||
exclude module: "modmenu"
|
||||
exclude module: "fabric-api"
|
||||
}
|
||||
modRuntimeOnly("mcp.mobius.waila:wthit:fabric-4.4.1") {
|
||||
exclude module: "modmenu"
|
||||
exclude module: "fabric-api"
|
||||
}
|
||||
// modRuntimeOnly("mcp.mobius.waila:wthit:fabric-4.4.1") {
|
||||
// exclude module: "modmenu"
|
||||
// exclude module: "fabric-api"
|
||||
// }
|
||||
// modCompileOnly("me.shedaniel.cloth.api:cloth-datagen-api-v1:3.0.55") {
|
||||
// exclude module: "fabric-api"
|
||||
// }
|
||||
|
@ -141,7 +141,7 @@ dependencies {
|
|||
// exclude module: "fabric-api"
|
||||
// }
|
||||
modCompileOnly "curse.maven:worldedit-225608:3559499"
|
||||
modRuntimeOnly "curse.maven:worldedit-225608:3559499"
|
||||
// modRuntimeOnly "curse.maven:worldedit-225608:3559499"
|
||||
|
||||
// modImplementation "software.bernie.geckolib:geckolib-fabric-1.17:3.0.13:dev"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import java.util.function.BooleanSupplier;
|
|||
@Mixin(ServerWorld.class)
|
||||
public abstract class ServerWorldMixin {
|
||||
|
||||
@Inject(method = "tick(Ljava/util/function/BooleanSupplier;)V", at = @At(target = "Lnet/minecraft/server/world/ServerWorld;fluidTickScheduler:Lnet/minecraft/server/world/ServerTickScheduler;", value = "FIELD", ordinal = 0, shift = At.Shift.AFTER))
|
||||
@Inject(method = "tick(Ljava/util/function/BooleanSupplier;)V", at = @At(target = "Lnet/minecraft/server/world/ServerWorld;fluidTickScheduler:Lnet/minecraft/world/tick/WorldTickScheduler;", value = "FIELD", ordinal = 0, shift = At.Shift.AFTER))
|
||||
public void afterScheduledTick(BooleanSupplier shouldKeepTicking, CallbackInfo ci) {
|
||||
LimboDecay.tick((ServerWorld) (Object) this);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue