-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathClientProxy.java
More file actions
32 lines (23 loc) · 840 Bytes
/
Copy pathClientProxy.java
File metadata and controls
32 lines (23 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package UselessMod.proxies;
import java.io.File;
import UselessMod.base;
import UselessMod.Auxiliares.Renders.RenderEntityThrowable;
import UselessMod.Configuracion.Datos;
import UselessMod.Items.BombAmbar.BombAmbar;
import UselessMod.Items.BombAmbar.EntityBomb;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.registry.EntityRegistry;
import net.minecraft.item.Item;
import net.minecraft.src.ModLoader;
import net.minecraftforge.client.IItemRenderer;
import net.minecraftforge.client.MinecraftForgeClient;
public class ClientProxy extends CommonProxy {
@Override
public void registerRenderThings(){
RenderingRegistry.registerEntityRenderingHandler(EntityBomb.class, new RenderEntityThrowable(base.Bomba));
}
@Override
public int addArmors(String s) {
return ModLoader.addArmor(s);
}
}