Get rid of all the ATs in favor of Mixins

This commit is contained in:
Jonas Herzig
2019-05-06 16:53:39 +02:00
parent 2094c518a0
commit bd91d0d3bd
41 changed files with 302 additions and 778 deletions

View File

@@ -42,10 +42,11 @@ public class FullBrightness extends EventRegistrations implements Extra {
@Override
public void run() {
active = !active;
// need to tick once to update lightmap when replay is paused
//#if MC>=11300
mod.getMinecraft().entityRenderer.tick(); // need to tick once to update lightmap when replay is paused
mod.getMinecraft().entityRenderer.tick();
//#else
//$$ mod.getMinecraft().entityRenderer.lightmapUpdateNeeded = true;
//$$ mod.getMinecraft().entityRenderer.updateRenderer();
//#endif
ReplayHandler replayHandler = module.getReplayHandler();
if (replayHandler != null) {