Package com.sk89q.craftbook.mechanics.items.CommandItemDefinition

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


                ItemStack stack = (ItemStack) context.getSessionData("item");
                List<ItemStack> consumables = (List<ItemStack>) context.getSessionData("consumables");

                List<String> commands = (List<String>) context.getSessionData("commands");
                String permNode = (String) context.getSessionData("permission-node");
                CommandType type = (CommandType) context.getSessionData("run-as");
                ClickType clickType = (ClickType) context.getSessionData("click-type");
                int delay = (Integer) context.getSessionData("delay");
                List<String> delayedCommands = new ArrayList<String>();
                if(delay > 0)
                    delayedCommands = (List<String>) context.getSessionData("delayed-commands");
View Full Code Here

TOP

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

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.