Package org.spout.vanilla.data.tool

Examples of org.spout.vanilla.data.tool.ToolType


    if (getOwner().getPhysics().getPosition().getDistance(position) > 6) { // TODO: Actually get block reach from somewhere instead of just using 6
      return false;
    }
    VanillaBlockMaterial block = (VanillaBlockMaterial) position.getBlock().getMaterial();
    float modifier = 1f, multiplicator = 1.5f;
    ToolType type = null;
    MiningTool mining = null;

    if (tool instanceof MiningTool) {
      mining = (MiningTool) tool;
      type = mining.getToolType();
View Full Code Here

TOP

Related Classes of org.spout.vanilla.data.tool.ToolType

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.