Java Code Examples for net.minecraft.world.Explosion#doExplosionB()

The following examples show how to use net.minecraft.world.Explosion#doExplosionB() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: EntitySpecialArrow.java    From Artifacts with MIT License 5 votes vote down vote up
public void hitEffect(Entity entityHit) {
	switch (this.effect.ID) {
		case 1:
			Explosion explosion = new Explosion(this.worldObj, this, this.posX, this.posY, this.posZ, 2F);
			explosion.doExplosionA();
			explosion.doExplosionB(true);
			break;
	}
}
 
Example 2
Source File: EntitySpecialArrow.java    From Artifacts with MIT License 5 votes vote down vote up
public void missEffect(int x, int y, int z) {
	switch (this.effect.ID) {
		case 1:
			Explosion explosion = new Explosion(this.worldObj, this, this.posX, this.posY, this.posZ, 2F);
			explosion.doExplosionA();
			explosion.doExplosionB(true);
			setDead();
			break;
	}
}