Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.solegendary.ageofcraft.units;
- import com.solegendary.ageofcraft.registrars.EntityRegistrar;
- import net.minecraftforge.event.entity.EntityAttributeCreationEvent;
- import net.minecraftforge.eventbus.api.SubscribeEvent;
- public class UnitCommonModEvents {
- @SubscribeEvent
- public static void registerAttributes(EntityAttributeCreationEvent evt) {
- evt.put(EntityRegistrar.VILLAGER_UNIT.get(), VillagerUnit.createAttributes().build());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment