Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- +
- + public void d() {
- + if (!this.world.isStatic) {
- + if (this.ay()) {
- + this.damageEntity(DamageSource.DROWN, 1);
- + }
- +
- + --this.b;
- + if (this.b <= 0) {
- + this.b = 100;
- + this.a = 0.5F + (float) this.random.nextGaussian() * 3.0F;
- + }
- +
- + if (this.E() != null && this.E().locY + (double) this.E().x() > this.locY + (double) this.x() + (double) this.a) {
- + this.motY += (0.30000001192092896D - this.motY) * 0.30000001192092896D;
- + }
- + }
- +
- + if (this.random.nextInt(24) == 0) {
- + this.world.makeSound(this.locX + 0.5D, this.locY + 0.5D, this.locZ + 0.5D, "fire.fire", 1.0F + this.random.nextFloat(), this.random.nextFloat() * 0.7F + 0.3F);
- + }
- +
- + if (!this.onGround && this.motY < 0.0D) {
- + this.motY *= 0.6D;
- + }
- +
- + for (int i = 0; i < 2; ++i) {
- + this.world.a("largesmoke", this.locX + (this.random.nextDouble() - 0.5D) * (double) this.length, this.locY + this.random.nextDouble() * (double) this.width, this.locZ + (this.random.nextDoub
- + }
- +
- + super.d();
- + }
- +
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement