예제 #1
0
 @Override
 protected void applyEntityAttributes() {
   super.applyEntityAttributes();
   this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setAttribute(100.0D);
   this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setAttribute(0.56D);
   this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setAttribute(10.0D);
 }
예제 #2
0
 @Override
 public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound) {
   super.readEntityFromNBT(par1NBTTagCompound);
 }
예제 #3
0
 @Override
 public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound) {
   super.writeEntityToNBT(par1NBTTagCompound);
 }
예제 #4
0
 @Override
 public void onLivingUpdate() {
   super.onLivingUpdate();
 }
예제 #5
0
 @Override
 protected void entityInit() {
   super.entityInit();
   this.dataWatcher.addObject(16, new Integer(100));
 }