Java 类net.minecraft.client.renderer.entity.RenderFallingBlock 实例源码

项目:ExPetrum    文件:ClientRegistry.java   
@Override
public void preInit(FMLPreInitializationEvent evt)
{
    IFunctionalRenderFactory.registerEntityRenderingHandler(EntityGravFallingBlock.class, RenderFallingBlock::new);
    IFunctionalRenderFactory.registerEntityRenderingHandler(EntityFallingTree.class, RenderFallingTree::new);
    IFunctionalRenderFactory.registerEntityRenderingHandler(EntityThrownWeapon.class, RenderThrownWeapon::new);
    RenderingRegistry.registerEntityRenderingHandler(Chicken.class, r -> new RenderAnimal(r, ModelChicken.instance = new ModelChicken(), 1F));
    this.initAttacksConditions();
}
项目:TaleCraft    文件:EntityMovingBlock.java   
@Override
public Render<EntityFallingBlock> createRenderFor(RenderManager manager) {
    return new RenderFallingBlock(manager);
}