use of com.mraof.minestuck.event.ClientEventHandler in project Minestuck by mraof.
the class ClientProxy method preInit.
@Override
public void preInit() {
RenderingRegistry.registerEntityRenderingHandler(EntityNakagator.class, RenderEntityMinestuck.getFactory(new ModelNakagator(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntitySalamander.class, RenderEntityMinestuck.getFactory(new ModelSalamander(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntityIguana.class, RenderEntityMinestuck.getFactory(new ModelIguana(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntityTurtle.class, RenderEntityMinestuck.getFactory(new ModelTurtle(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntityImp.class, RenderEntityMinestuck.getFactory(new ModelImp(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntityOgre.class, RenderEntityMinestuck.getFactory(new ModelOgre(), 2.8F));
RenderingRegistry.registerEntityRenderingHandler(EntityBasilisk.class, RenderEntityMinestuck.getFactory(new ModelBasilisk(), 2.8F));
RenderingRegistry.registerEntityRenderingHandler(EntityLich.class, RenderEntityMinestuck.getFactory(new ModelLich(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntityGiclops.class, RenderEntityMinestuck.getFactory(new ModelGiclops(), 7.6F));
RenderingRegistry.registerEntityRenderingHandler(EntityBishop.class, RenderEntityMinestuck.getFactory(new ModelBishop(), 1.8F));
RenderingRegistry.registerEntityRenderingHandler(EntityRook.class, RenderEntityMinestuck.getFactory(new ModelRook(), 2.5F));
RenderingRegistry.registerEntityRenderingHandler(EntityUnderlingPart.class, new IRenderFactory<EntityUnderlingPart>() {
@Override
public Render<EntityUnderlingPart> createRenderFor(RenderManager manager) {
return new RenderShadow(manager, 2.8F);
}
});
RenderingRegistry.registerEntityRenderingHandler(EntityBigPart.class, new IRenderFactory<EntityBigPart>() {
@Override
public Render<EntityBigPart> createRenderFor(RenderManager manager) {
return new RenderShadow(manager, 0F);
}
});
RenderingRegistry.registerEntityRenderingHandler(EntityPawn.class, new IRenderFactory<EntityPawn>() {
@Override
public Render<EntityPawn> createRenderFor(RenderManager manager) {
return new RenderPawn(manager, new ModelBiped(), 0.5F);
}
});
RenderingRegistry.registerEntityRenderingHandler(EntityGrist.class, new IRenderFactory<EntityGrist>() {
@Override
public Render<EntityGrist> createRenderFor(RenderManager manager) {
return new RenderGrist(manager);
}
});
RenderingRegistry.registerEntityRenderingHandler(EntityVitalityGel.class, new IRenderFactory<EntityVitalityGel>() {
@Override
public Render<EntityVitalityGel> createRenderFor(RenderManager manager) {
return new RenderVitalityGel(manager);
}
});
RenderingRegistry.registerEntityRenderingHandler(EntityDecoy.class, new IRenderFactory<EntityDecoy>() {
@Override
public Render<EntityDecoy> createRenderFor(RenderManager manager) {
return new RenderDecoy(manager);
}
});
RenderingRegistry.registerEntityRenderingHandler(EntityMetalBoat.class, new IRenderFactory<EntityBoat>() {
@Override
public Render<EntityBoat> createRenderFor(RenderManager manager) {
return new RenderMetalBoat(manager);
}
});
RenderingRegistry.registerEntityRenderingHandler(EntityCrewPoster.class, new IRenderFactory<EntityCrewPoster>() {
@Override
public Render<EntityCrewPoster> createRenderFor(RenderManager manager) {
return new RenderHangingArt<>(manager, "midnight_poster");
}
});
RenderingRegistry.registerEntityRenderingHandler(EntitySbahjPoster.class, new IRenderFactory<EntitySbahjPoster>() {
@Override
public Render<EntitySbahjPoster> createRenderFor(RenderManager manager) {
return new RenderHangingArt<>(manager, "sbahj_poster");
}
});
MinecraftForge.EVENT_BUS.register(new MinestuckKeyHandler());
MinecraftForge.EVENT_BUS.register(new ClientEventHandler());
MinecraftForge.EVENT_BUS.register(MinestuckModelManager.class);
}
Aggregations