Commits
Travis Watkins authored dbb5e6e3cd3
8 8 | this.J = new WorldGenEnder(Blocks.WHITESTONE); |
9 9 | } |
10 10 | |
11 11 | protected void a(BiomeBase biomebase) { |
12 12 | this.a(); |
13 13 | if (this.b.nextInt(5) == 0) { |
14 14 | int i = this.c + this.b.nextInt(16) + 8; |
15 15 | int j = this.d + this.b.nextInt(16) + 8; |
16 16 | int k = this.a.i(i, j); |
17 17 | |
18 - | this.J.a(this.a, this.b, i, k, j); |
18 + | this.J.generate(this.a, this.b, i, k, j); |
19 19 | } |
20 20 | |
21 21 | if (this.c == 0 && this.d == 0) { |
22 22 | EntityEnderDragon entityenderdragon = new EntityEnderDragon(this.a); |
23 23 | |
24 24 | entityenderdragon.setPositionRotation(0.0D, 128.0D, 0.0D, this.b.nextFloat() * 360.0F, 0.0F); |
25 25 | this.a.addEntity(entityenderdragon, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.CHUNK_GEN); // CraftBukkit - add SpawnReason |
26 26 | } |
27 27 | } |
28 28 | } |