package com.infinityraider.agricraft.proxy; import com.infinityraider.agricraft.handler.ItemToolTipHandler; import com.infinityraider.agricraft.handler.SoundHandler; import com.infinityraider.agricraft.handler.TextureStitchHandler; import com.infinityraider.agricraft.utility.CustomWoodTypeRegistry; import com.infinityraider.agricraft.utility.ModelErrorSuppressor; import com.infinityraider.infinitylib.proxy.base.IClientProxyBase; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) @SuppressWarnings("unused") public class ClientProxy implements IClientProxyBase, IProxy { @Override public void registerEventHandlers() { IProxy.super.registerEventHandlers(); registerEventHandler(ItemToolTipHandler.getInstance()); registerEventHandler(SoundHandler.getInstance()); registerEventHandler(TextureStitchHandler.getInstance()); } @Override public void initConfiguration(FMLPreInitializationEvent event) { registerEventHandler(new ModelErrorSuppressor()); } @Override public void initCustomWoodTypes() { CustomWoodTypeRegistry.initClient(); } }