Add render pass game event

This commit is contained in:
Howard Stark
2018-08-04 21:55:38 -04:00
parent 89a64a375e
commit 9bda792a3e
5 changed files with 15 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
package baritone.launch.mixins;
import baritone.bot.Baritone;
import net.minecraft.client.renderer.EntityRenderer;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
@@ -17,7 +18,7 @@ public class MixinEntityRenderer {
)
)
private void renderWorldPass(CallbackInfo ci) {
Baritone.INSTANCE.getGameEventHandler().onRenderPass();
}