[1.14] Work around bug in mixin causing Accessors to not resolve

This intentionally breaks the mixin in a development environment but makes the
compiled jar work in a live environment (which is probably more useful given the
primary version is 1.15 now).
This commit is contained in:
Jonas Herzig
2020-04-15 19:47:12 +02:00
parent f96ed03f12
commit f8b22d449c

View File

@@ -10,7 +10,10 @@
//$$ import net.minecraft.client.render.chunk.ChunkRenderer;
//#endif
//$$
//$$ @Mixin(targets = "net.minecraft.client.render.WorldRenderer$ChunkInfo")
//$$ // If this mixin doesn't apply in a development environment, use the following target instead. This seems to be a
//$$ // (or multiple) bugs in mixin: https://github.com/SpongePowered/Mixin/issues/390
//$$ // @Mixin(targets = "net.minecraft.client.render.WorldRenderer$ChunkInfo")
//$$ @Mixin(targets = "net.minecraft.client.render.WorldRenderer.ChunkInfo")
//$$ public interface ContainerLocalRenderInformationAccessor {
//#if MC>=11500
//$$ @Accessor("chunk")