Guest User

Untitled

a guest
Jan 8th, 2022
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1. package com.solegendary.ageofcraft.units;
  2.  
  3. import com.solegendary.ageofcraft.registrars.EntityRegistrar;
  4. import net.minecraftforge.event.entity.EntityAttributeCreationEvent;
  5. import net.minecraftforge.eventbus.api.SubscribeEvent;
  6.  
  7. public class UnitCommonModEvents {
  8.  
  9.     @SubscribeEvent
  10.     public static void registerAttributes(EntityAttributeCreationEvent evt) {
  11.         evt.put(EntityRegistrar.VILLAGER_UNIT.get(), VillagerUnit.createAttributes().build());
  12.     }
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment