package com.yolp900.itsjustacharm.client.render;
import com.yolp900.itsjustacharm.common.tileEntities.TileEntityConstructionTable;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.fml.client.registry.ClientRegistry;
public class TESRHandler {
public static void registerTESRs() {
registerTESR(TileEntityConstructionTable.class, new TESRConstructionTable());
}
@SuppressWarnings("unchecked")
private static void registerTESR(Class<? extends TileEntity> classTile, TileEntitySpecialRenderer TESR) {
ClientRegistry.bindTileEntitySpecialRenderer(classTile, TESR);
}
}