I know. But I wrote the second line and added a @SideOnly(Side.CLIENT) to the first one. Everything works fine. I have my animations, the server is fine. (Actually I already had registered my tile entity)
thanks man, it works now ! (i just needed to edit some lines :
this:
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityAdamantiteChest.class, new RenderAdamantiteChest());
to
this:
GameRegistry.registerTileEntity(TileEntityAdamantiteChest.class, new ResourceLocation(Reference.MOD_ID + ":adamantite_chest"));
I created a modded tile entity (a chest) and when I load my game, everything is working fine. The chest is working , even in <LAN>. But when I launch my modded forge server, it crashes :
Description: Exception in server tick loop
net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer
Do anyone knows how to fix this ?
*I can put my mod source if you want