2021-03-16 09:00:00 +11:00
|
|
|
--- a/net/minecraft/world/entity/monster/EntityGhast.java
|
|
|
|
+++ b/net/minecraft/world/entity/monster/EntityGhast.java
|
2021-06-11 15:00:00 +10:00
|
|
|
@@ -318,6 +318,8 @@
|
2020-06-25 10:00:00 +10:00
|
|
|
|
2021-06-11 15:00:00 +10:00
|
|
|
EntityLargeFireball entitylargefireball = new EntityLargeFireball(world, this.ghast, d2, d3, d4, this.ghast.getPower());
|
2015-02-26 22:41:06 +00:00
|
|
|
|
|
|
|
+ // CraftBukkit - set bukkitYield when setting explosionpower
|
2021-06-11 15:00:00 +10:00
|
|
|
+ entitylargefireball.bukkitYield = entitylargefireball.explosionPower = this.ghast.getPower();
|
2019-12-11 09:00:00 +11:00
|
|
|
entitylargefireball.setPosition(this.ghast.locX() + vec3d.x * 4.0D, this.ghast.e(0.5D) + 0.5D, entitylargefireball.locZ() + vec3d.z * 4.0D);
|
|
|
|
world.addEntity(entitylargefireball);
|
2021-06-11 15:00:00 +10:00
|
|
|
this.chargeTime = -40;
|