Replace all ATs with Mixin on 1.13+ in preparation for Fabric
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
//#if MC>=11300
|
||||
package com.replaymod.render.mixin;
|
||||
|
||||
import net.minecraft.client.MainWindow;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.gen.Accessor;
|
||||
|
||||
@Mixin(MainWindow.class)
|
||||
public interface MainWindowAccessor {
|
||||
@Accessor
|
||||
void setFramebufferWidth(int value);
|
||||
@Accessor
|
||||
void setFramebufferHeight(int value);
|
||||
}
|
||||
//#endif
|
||||
Reference in New Issue
Block a user