Commit 08cd98f158b7070777b5a66fe18262cbb78609ef

Authored by Mumfrey
1 parent ad484f3c

Remove PreRenderListener cruft

src/main/java/com/examplemod/LiteModExample.java
@@ -3,14 +3,12 @@ package com.examplemod; @@ -3,14 +3,12 @@ package com.examplemod;
3 import com.google.gson.annotations.Expose; 3 import com.google.gson.annotations.Expose;
4 import com.google.gson.annotations.SerializedName; 4 import com.google.gson.annotations.SerializedName;
5 import com.mumfrey.liteloader.Configurable; 5 import com.mumfrey.liteloader.Configurable;
6 -import com.mumfrey.liteloader.PreRenderListener;  
7 import com.mumfrey.liteloader.Tickable; 6 import com.mumfrey.liteloader.Tickable;
8 import com.mumfrey.liteloader.core.LiteLoader; 7 import com.mumfrey.liteloader.core.LiteLoader;
9 import com.mumfrey.liteloader.modconfig.ConfigPanel; 8 import com.mumfrey.liteloader.modconfig.ConfigPanel;
10 import com.mumfrey.liteloader.modconfig.ConfigStrategy; 9 import com.mumfrey.liteloader.modconfig.ConfigStrategy;
11 import com.mumfrey.liteloader.modconfig.ExposableOptions; 10 import com.mumfrey.liteloader.modconfig.ExposableOptions;
12 import net.minecraft.client.Minecraft; 11 import net.minecraft.client.Minecraft;
13 -import net.minecraft.client.renderer.RenderGlobal;  
14 import net.minecraft.client.settings.KeyBinding; 12 import net.minecraft.client.settings.KeyBinding;
15 import org.lwjgl.input.Keyboard; 13 import org.lwjgl.input.Keyboard;
16 14
@@ -24,7 +22,7 @@ import java.io.File; @@ -24,7 +22,7 @@ import java.io.File;
24 * @author Adam Mummery-Smith 22 * @author Adam Mummery-Smith
25 */ 23 */
26 @ExposableOptions(strategy = ConfigStrategy.Versioned, filename="examplemod.json") 24 @ExposableOptions(strategy = ConfigStrategy.Versioned, filename="examplemod.json")
27 -public class LiteModExample implements Tickable, PreRenderListener, Configurable 25 +public class LiteModExample implements Tickable, Configurable
28 { 26 {
29 /** 27 /**
30 * This is our instance of Clock which we will draw every tick 28 * This is our instance of Clock which we will draw every tick
@@ -159,34 +157,4 @@ public class LiteModExample implements Tickable, PreRenderListener, Configurable @@ -159,34 +157,4 @@ public class LiteModExample implements Tickable, PreRenderListener, Configurable
159 { 157 {
160 this.clock.setVisible(this.clockVisible = visible); 158 this.clock.setVisible(this.clockVisible = visible);
161 } 159 }
162 -  
163 - @Override  
164 - public void onRenderWorld(float partialTicks)  
165 - {  
166 -// System.err.printf(">> onRenderWorld!\n");  
167 - }  
168 -  
169 - @Override  
170 - public void onSetupCameraTransform(float partialTicks, int pass, long timeSlice)  
171 - {  
172 -// System.err.printf(">> onSetupCameraTransform %s, %d, %d!\n", partialTicks, pass, timeSlice);  
173 - }  
174 -  
175 - @Override  
176 - public void onRenderSky(float partialTicks, int pass)  
177 - {  
178 -// System.err.printf(">> onRenderSky %s, %d!\n", partialTicks, pass);  
179 - }  
180 -  
181 - @Override  
182 - public void onRenderClouds(float partialTicks, int pass, RenderGlobal renderGlobal)  
183 - {  
184 -// System.err.printf(">> onRenderClouds %s, %d!\n", partialTicks, pass);  
185 - }  
186 -  
187 - @Override  
188 - public void onRenderTerrain(float partialTicks, int pass)  
189 - {  
190 -// System.err.printf(">> onRenderTerrain %s, %d!\n", partialTicks, pass);  
191 - }  
192 } 160 }