Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.lastdovahkiin.thanksgivingmod.handlers;
- import com.lastdovahkiin.thanksgivingmod.ThanksgivingMod;
- import com.lastdovahkiin.thanksgivingmod.entity.EntityTurkey;
- import net.minecraftforge.event.RegistryEvent;
- import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
- import net.minecraftforge.fml.common.registry.EntityEntry;
- public class EntityHandler
- {
- public static final EntityEntry TURKEY = new EntityEntry(EntityTurkey.class, ThanksgivingMod.MODID + ":turkey");
- @SubscribeEvent
- public static void registerEntities(RegistryEvent.Register<EntityEntry> e) {
- e.getRegistry().registerAll(TURKEY);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment