Package com.mojang.minecraft.level.tile

Examples of com.mojang.minecraft.level.tile.Tile$SoundType


         this.walkDist = (float)((double)this.walkDist + (double)MathHelper.sqrt(var18 * var18 + var17 * var17) * 0.6D);
         if(this.makeStepSound) {
            int var19 = this.level.getTile((int)this.x, (int)(this.y - 0.2F - this.heightOffset), (int)this.z);
            if(this.walkDist > (float)this.nextStep && var19 > 0) {
               ++this.nextStep;
               Tile$SoundType var20;
               if((var20 = Block.blocks[var19].stepsound) != Tile$SoundType.none) {
                  this.playSound("step." + var20.name, var20.getVolume() * 0.75F, var20.getPitch());
               }
            }
         }

         this.ySlideOffset *= 0.4F;
View Full Code Here

TOP

Related Classes of com.mojang.minecraft.level.tile.Tile$SoundType

Copyright © 2018 www.massapicom. 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.