Bugfix for pre1c, new version pre1d

This commit is contained in:
pahimar 2012-11-26 09:31:47 -05:00
parent 1c7ef909e6
commit 0b8413ec67
7 changed files with 12 additions and 5 deletions

View file

@ -8,7 +8,9 @@ import cpw.mods.fml.client.FMLClientHandler;
import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.client.registry.KeyBindingRegistry; import cpw.mods.fml.client.registry.KeyBindingRegistry;
import cpw.mods.fml.client.registry.RenderingRegistry; import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.Side;
import cpw.mods.fml.common.registry.LanguageRegistry; import cpw.mods.fml.common.registry.LanguageRegistry;
import cpw.mods.fml.common.registry.TickRegistry;
import ee3.client.core.handlers.DrawBlockHighlightHandler; import ee3.client.core.handlers.DrawBlockHighlightHandler;
import ee3.client.core.handlers.KeyBindingHandler; import ee3.client.core.handlers.KeyBindingHandler;
import ee3.client.core.handlers.SoundHandler; import ee3.client.core.handlers.SoundHandler;
@ -18,6 +20,7 @@ import ee3.client.render.RenderItemCalcinator;
import ee3.client.render.TextureRedWaterFX; import ee3.client.render.TextureRedWaterFX;
import ee3.client.render.TextureRedWaterFlowFX; import ee3.client.render.TextureRedWaterFlowFX;
import ee3.common.core.CommonProxy; import ee3.common.core.CommonProxy;
import ee3.common.core.handlers.RenderTickHandler;
import ee3.common.lib.BlockIds; import ee3.common.lib.BlockIds;
import ee3.common.lib.Reference; import ee3.common.lib.Reference;
import ee3.common.lib.RenderIds; import ee3.common.lib.RenderIds;
@ -40,6 +43,11 @@ public class ClientProxy extends CommonProxy {
KeyBindingRegistry.registerKeyBinding(new KeyBindingHandler()); KeyBindingRegistry.registerKeyBinding(new KeyBindingHandler());
} }
@Override
public void registerRenderTickHandler() {
TickRegistry.registerTickHandler(new RenderTickHandler(), Side.CLIENT);
}
@Override @Override
public void registerDrawBlockHighlightHandler() { public void registerDrawBlockHighlightHandler() {
MinecraftForge.EVENT_BUS.register(new DrawBlockHighlightHandler()); MinecraftForge.EVENT_BUS.register(new DrawBlockHighlightHandler());

View file

@ -3,7 +3,6 @@ package ee3.client.core.handlers;
import java.util.EnumSet; import java.util.EnumSet;
import java.util.logging.Level; import java.util.logging.Level;
import net.minecraft.src.EntityClientPlayerMP;
import net.minecraft.src.Item; import net.minecraft.src.Item;
import net.minecraft.src.ItemStack; import net.minecraft.src.ItemStack;
import net.minecraft.src.KeyBinding; import net.minecraft.src.KeyBinding;

View file

@ -80,7 +80,7 @@ public class EquivalentExchange3 {
TickRegistry.registerTickHandler(new VersionCheckTickHandler(), Side.CLIENT); TickRegistry.registerTickHandler(new VersionCheckTickHandler(), Side.CLIENT);
// Initialize the Render Tick Handler (Client only) // Initialize the Render Tick Handler (Client only)
TickRegistry.registerTickHandler(new RenderTickHandler(), Side.CLIENT); proxy.registerRenderTickHandler();
// Register the KeyBinding Handler (Client only) // Register the KeyBinding Handler (Client only)
proxy.registerKeyBindingHandler(); proxy.registerKeyBindingHandler();

View file

@ -27,6 +27,8 @@ public class CommonProxy implements IGuiHandler {
public void registerKeyBindingHandler() {} public void registerKeyBindingHandler() {}
public void registerRenderTickHandler() {}
public void registerDrawBlockHighlightHandler() {} public void registerDrawBlockHighlightHandler() {}
public void setKeyBinding(String name, int value) {} public void setKeyBinding(String name, int value) {}

View file

@ -1,6 +1,5 @@
package ee3.common.item; package ee3.common.item;
import net.minecraft.src.EntityClientPlayerMP;
import net.minecraft.src.EntityPlayer; import net.minecraft.src.EntityPlayer;
import net.minecraft.src.EnumRarity; import net.minecraft.src.EnumRarity;
import net.minecraft.src.ItemStack; import net.minecraft.src.ItemStack;

View file

@ -12,7 +12,6 @@ import ee3.common.lib.GuiIds;
import ee3.common.lib.Strings; import ee3.common.lib.Strings;
import ee3.common.network.PacketKeyPressed; import ee3.common.network.PacketKeyPressed;
import ee3.common.network.PacketTypeHandler; import ee3.common.network.PacketTypeHandler;
import net.minecraft.src.EntityClientPlayerMP;
import net.minecraft.src.EntityPlayer; import net.minecraft.src.EntityPlayer;
import net.minecraft.src.EnumRarity; import net.minecraft.src.EnumRarity;
import net.minecraft.src.ItemStack; import net.minecraft.src.ItemStack;

View file

@ -4,5 +4,5 @@
<comment>Version lookup for Equivalent Exchange 3. Format is "Current Version Number|URL to update page"</comment> <comment>Version lookup for Equivalent Exchange 3. Format is "Current Version Number|URL to update page"</comment>
<entry key="Minecraft 1.4.2">pre1a|http://goo.gl/Ria2V</entry> <entry key="Minecraft 1.4.2">pre1a|http://goo.gl/Ria2V</entry>
<entry key="Minecraft 1.4.4">pre1b|http://goo.gl/Ria2V</entry> <entry key="Minecraft 1.4.4">pre1b|http://goo.gl/Ria2V</entry>
<entry key="Minecraft 1.4.5">pre1c|http://goo.gl/Ria2V</entry> <entry key="Minecraft 1.4.5">pre1d|http://goo.gl/Ria2V</entry>
</properties> </properties>