Examples of spawnBreakParticles()


Examples of com.mojang.minecraft.level.tile.Block.spawnBreakParticles()

      if(block.stepsound != Tile$SoundType.none)
      {
        level.playSound("step." + block.stepsound.name, (float)x, (float)y, (float)z, (block.stepsound.getVolume() + 1.0F) / 2.0F, block.stepsound.getPitch() * 0.8F);
      }

      block.spawnBreakParticles(level, x, y, z, minecraft.particleManager);
    }

  }

  public void hitBlock(int x, int y, int z, int side)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.