Package com.bergerkiller.bukkit.tc.utils

Examples of com.bergerkiller.bukkit.tc.utils.AveragedItemParser


      // Obtain the item parsers for this type and amount, apply a possible multiplier
      ItemParser[] keyparsers = TrainCarts.plugin.getParsers(type, amount);
      if (multiIndex != -1) {
        // Convert to proper multiplied versions
        for (int i = 0; i < keyparsers.length; i++) {
          keyparsers[i] = new AveragedItemParser(keyparsers[i], multiplier);
        }
      }
      // Add the parsers
      parsers.addAll(Arrays.asList(keyparsers));
    }
View Full Code Here

TOP

Related Classes of com.bergerkiller.bukkit.tc.utils.AveragedItemParser

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.