Esempio n. 1
0
  /** Called to update the entity's position/logic. */
  public void onUpdate() {
    super.onUpdate();
    this.setFire(10);
    this.item = new ItemStack(AetherItems.Dart, 1, 0);

    for (int var1 = 0; var1 < 2; ++var1) {
      double var2 = this.rand.nextGaussian() * 0.02D;
      double var4 = this.rand.nextGaussian() * 0.02D;
      double var6 = this.rand.nextGaussian() * 0.02D;
      this.worldObj.spawnParticle("flame", this.posX, this.posY, this.posZ, var2, var4, var6);
    }
  }
Esempio n. 2
0
 public void entityInit() {
   super.entityInit();
   this.setFire(10);
 }