diff --git a/src/main/java/ca/spottedleaf/moonrise/mixin/fast_palette/PalettedContainerMixin.java b/src/main/java/ca/spottedleaf/moonrise/mixin/fast_palette/PalettedContainerMixin.java index b2913bed..d889d96b 100644 --- a/src/main/java/ca/spottedleaf/moonrise/mixin/fast_palette/PalettedContainerMixin.java +++ b/src/main/java/ca/spottedleaf/moonrise/mixin/fast_palette/PalettedContainerMixin.java @@ -35,7 +35,12 @@ private void updateData(final PalettedContainer.Data data) { * @author Spottedleaf */ @Inject( - method = "*", + // cannot use `*` due to https://github.com/FabricMC/tiny-remapper/issues/137 + method = { + "(Lnet/minecraft/core/IdMap;Lnet/minecraft/world/level/chunk/PalettedContainer$Strategy;Lnet/minecraft/world/level/chunk/PalettedContainer$Configuration;Lnet/minecraft/util/BitStorage;Ljava/util/List;)V", + "(Lnet/minecraft/core/IdMap;Lnet/minecraft/world/level/chunk/PalettedContainer$Strategy;Lnet/minecraft/world/level/chunk/PalettedContainer$Data;)V", + "(Lnet/minecraft/core/IdMap;Ljava/lang/Object;Lnet/minecraft/world/level/chunk/PalettedContainer$Strategy;)V" + }, at = @At( value = "RETURN" ), diff --git a/src/main/java/ca/spottedleaf/moonrise/mixin/util_threading_detector/PalettedContainerMixin.java b/src/main/java/ca/spottedleaf/moonrise/mixin/util_threading_detector/PalettedContainerMixin.java index 53735929..1d195020 100644 --- a/src/main/java/ca/spottedleaf/moonrise/mixin/util_threading_detector/PalettedContainerMixin.java +++ b/src/main/java/ca/spottedleaf/moonrise/mixin/util_threading_detector/PalettedContainerMixin.java @@ -17,7 +17,12 @@ abstract class PalettedContainerMixin { * @author jpenilla */ @Redirect( - method = "*", + // cannot use `*` due to https://github.com/FabricMC/tiny-remapper/issues/137 + method = { + "(Lnet/minecraft/core/IdMap;Lnet/minecraft/world/level/chunk/PalettedContainer$Strategy;Lnet/minecraft/world/level/chunk/PalettedContainer$Configuration;Lnet/minecraft/util/BitStorage;Ljava/util/List;)V", + "(Lnet/minecraft/core/IdMap;Lnet/minecraft/world/level/chunk/PalettedContainer$Strategy;Lnet/minecraft/world/level/chunk/PalettedContainer$Data;)V", + "(Lnet/minecraft/core/IdMap;Ljava/lang/Object;Lnet/minecraft/world/level/chunk/PalettedContainer$Strategy;)V" + }, at = @At( value = "NEW", target = "Lnet/minecraft/util/ThreadingDetector;"