Skip to content

Instantly share code, notes, and snippets.

Created June 6, 2014 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/e9ee27fe2393c561e0af to your computer and use it in GitHub Desktop.
Save anonymous/e9ee27fe2393c561e0af to your computer and use it in GitHub Desktop.
package Renderer.TileEntity;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
public class RenderBTable extends TileEntitySpecialRenderer {
@Override
public void renderTileEntityAt(TileEntity var1, double var2, double var4,
double var6, float var8) {
}}
package proxy;
import Blocks.TileEntityBTable;
import Renderer.TileEntity.RenderBTable;
import cpw.mods.fml.client.registry.ClientRegistry;
public class ClientProxy extends CommonProxy{
Client Proxy
public void registerProxies() {
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBTable.class, new RenderBTable());
}
public void initRenderes(){
}
}
Main Class
public void init(FMLInitializationEvent event) {
GameRegistry.registerTileEntity(TileEntityBTable.class, "BTable");
proxy.registerProxies();
proxy.initRenderes();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment