예제 #1
0
 @Override
 public void spawnBallParticles(Spellcast cast, RayTraceResult mop) {
   for (int i = 0; i < 8; ++i) {
     cast.spawnRandomParticle(
         EnumParticleTypes.WATER_SPLASH, mop.hitVec.xCoord, mop.hitVec.yCoord, mop.hitVec.zCoord);
   }
 }
예제 #2
0
 @Override
 public void spawnBallParticles(Spellcast cast, MovingObjectPosition mop) {
   for (int i = 0; i < 8; ++i) {
     cast.spawnRandomParticle(
         EnumParticleTypes.WATER_SPLASH, mop.hitVec.xCoord, mop.hitVec.yCoord, mop.hitVec.zCoord);
   }
 }