Package com.sk89q.craftbook.mechanics.items.CommandItemAction

Examples of com.sk89q.craftbook.mechanics.items.CommandItemAction.ActionType


        List<CommandItemAction> actionList = new ArrayList<CommandItemAction>();

        if(config.getKeys(path + ".actions") != null)
            for(String ac : config.getKeys(path + ".actions")) {

                ActionType acType = ActionType.valueOf(config.getString(path + ".actions." + ac + ".type"));
                String acValue = config.getString(path + ".actions." + ac + ".value");
                ActionRunStage acStage = ActionRunStage.valueOf(config.getString(path + ".actions." + ac + ".run-stage"));

                actionList.add(new CommandItemAction(ac, acType, acValue, acStage));
            }
View Full Code Here

TOP

Related Classes of com.sk89q.craftbook.mechanics.items.CommandItemAction.ActionType

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.