有人可以帮我解决我的1.8.9 Minecraft代码吗?这是用于mob渲染的ClientProxy.java。
package com.goldenpie6.BobMod;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.entity.Entity;
import net.minecraftforge.fml.client.registry.IRenderFactory;
import net.minecraftforge.fml.client.registry.RenderingRegistry;
public class ClientProxy extends CommonProxy
{
private Class<? extends Entity> Bob;
private Class<Entity> c;
@Override
public void registerRendering()
{
RenderingRegistry.registerEntityRenderingHandler(c, new IRenderFactory<Entity>()
{
@Override
public Render<? super Entity> createRenderFor(RenderManager manager)
{
return null;
}
}
}
}
我的代码不起作用,我只需要帮助制作一个暴徒,因为我的朋友让我为他制作这个mod。