Last_Dovahkiin

EntityHandler file

Oct 29th, 2019
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. package com.lastdovahkiin.thanksgivingmod.handlers;
  2.  
  3. import com.lastdovahkiin.thanksgivingmod.ThanksgivingMod;
  4. import com.lastdovahkiin.thanksgivingmod.entity.EntityTurkey;
  5.  
  6. import net.minecraftforge.event.RegistryEvent;
  7. import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
  8. import net.minecraftforge.fml.common.registry.EntityEntry;
  9.  
  10. public class EntityHandler
  11. {
  12. public static final EntityEntry TURKEY = new EntityEntry(EntityTurkey.class, ThanksgivingMod.MODID + ":turkey");
  13. @SubscribeEvent
  14. public static void registerEntities(RegistryEvent.Register<EntityEntry> e) {
  15. e.getRegistry().registerAll(TURKEY);
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment