コード例 #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);
   }
 }