Package com.sk89q.craftbook.mechanics.items

Examples of com.sk89q.craftbook.mechanics.items.CommandItemDefinition


     * @return The parsed string. (Can be the same, and should be if nothing found)
     */
    public String parseItemSyntax(String item) {

        if(CommandItems.INSTANCE != null)  {
            CommandItemDefinition def = CommandItems.INSTANCE.getDefinitionByName(item);
            if(def != null) {
                return ItemSyntax.getStringFromItem(def.getItem());
            }
        }
        return item;
    }
View Full Code Here

TOP

Related Classes of com.sk89q.craftbook.mechanics.items.CommandItemDefinition

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.