Skip to content

Commit

Permalink
Hide class not found errors for compat with radium/lithium and more c…
Browse files Browse the repository at this point in the history
…ulling
  • Loading branch information
hlysine committed Feb 4, 2025
1 parent 96ed263 commit 410357d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ public enum Mods {
RUBIDIUM("rubidium"),
ATHENA("athena"),
INDIUM("indium"),
LITHIUM("lithium"),
RADIUM("radium"),
STARLIGHT("starlight"),
MORE_CULLING("moreculling"),
DOUBLE_SLABS("doubleslabs"),
VERTICAL_SLAB_COMPAT("v_slab_compat");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Make sure Radium's pathfinding algorithm considers slabs properly, since they do not extend from {@link net.minecraft.world.level.block.SlabBlock}.
*/
@ModMixin(requiredMods = Mods.INDIUM)
@ModMixin(requiredMods = {Mods.LITHIUM, Mods.RADIUM})
@Mixin(targets = "me.jellysquid.mods.lithium.common.ai.pathing.PathNodeDefaults")
@Pseudo
public class PathNodeDefaultsMixin {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.copycatsplus.copycats.fabric.mixin.compat.moreculling;

import com.copycatsplus.copycats.Copycats;
import com.copycatsplus.copycats.compat.Mods;
import com.copycatsplus.copycats.foundation.annotation.ModMixin;
import it.unimi.dsi.fastutil.objects.Object2BooleanOpenHashMap;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Pseudo;
Expand All @@ -12,6 +14,7 @@
/**
* Disable MoreCulling for copycat blocks to avoid overzealous culling.
*/
@ModMixin(requiredMods = Mods.MORE_CULLING)
@Mixin(targets = {"ca.fxco.moreculling.config.MoreCullingConfig"})
@Pseudo
public class MoreCullingConfigMixin {
Expand Down

0 comments on commit 410357d

Please sign in to comment.