SHARE
TWEET

RenderFactories

a guest Feb 19th, 2019 18 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package fr.lavapower.animemod.renders;
  2.  
  3. import fr.lavapower.animemod.entities.EntityKirito;
  4. import net.minecraft.client.renderer.entity.Render;
  5. import net.minecraft.client.renderer.entity.RenderManager;
  6. import net.minecraftforge.fml.client.registry.IRenderFactory;
  7.  
  8. public class RendersFactories
  9. {
  10.     public static class RenderFactoryEntityKirito implements IRenderFactory<EntityKirito>
  11.     {
  12.         public final static RenderFactoryEntityKirito INSTANCE = new RenderFactoryEntityKirito();
  13.    
  14.         @Override
  15.         public Render<EntityKirito> createRenderFor(RenderManager manager)
  16.         {
  17.             return new RenderKirito(manager);
  18.         }
  19.     }
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top