Replace reflection in ChunkLoadingRenderGlobal with mixin
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//#if MC>=10800
|
||||
package com.replaymod.render.hooks;
|
||||
|
||||
import net.minecraft.client.render.WorldRenderer;
|
||||
|
||||
public interface IForceChunkLoading {
|
||||
void replayModRender_setHook(ChunkLoadingRenderGlobal hook);
|
||||
|
||||
static IForceChunkLoading from(WorldRenderer worldRenderer) {
|
||||
return (IForceChunkLoading) worldRenderer;
|
||||
}
|
||||
}
|
||||
//#endif
|
||||
Reference in New Issue
Block a user