Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package thecraft.mod.common;
- import net.minecraft.entity.EntityLiving;
- import net.minecraft.entity.SharedMonsterAttributes;
- import net.minecraft.entity.item.EntityItem;
- import net.minecraft.entity.monster.EntityMob;
- import net.minecraft.item.Item;
- import net.minecraft.util.ResourceLocation;
- import net.minecraft.world.World;
- public class Mobdropewilitesworld extends EntityMob
- {
- public Mobdropewilitesworld(World world)
- {
- super(world);
- }
- public void applyEntityAttributes()
- {
- super.applyEntityAttributes();
- this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(37.5D);
- this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(8D);
- this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(2D);
- }
- public Item getDropItem()
- {
- return Item.getItemFromBlock(ewifaction.ewilitesworld);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment