Package com.forgeessentials.util.AreaSelector

Examples of com.forgeessentials.util.AreaSelector.Point


            {
                OutputHandler.chatError(player, "Invalid selection detected. Please check your selection.");
                return;
            }
            int radius = -1;
            Point effectPosition = null;

            try
            {
                radius = Integer.parseInt(args[0]);
            }
            catch (Exception e)
            {
                error(player);
                radius = -1;
            }

            if (args.length == 1)
            {
                effectPosition = new Point((int) player.posX - 1, (int) player.posY, (int) player.posZ);
            }
            else
            {
                int x;
                int z;

                try
                {
                    x = Integer.parseInt(args[1]);
                    z = Integer.parseInt(args[2]);

                    effectPosition = new Point(x, 0, z);
                }
                catch (Exception e)
                {
                    error(player);
                }
View Full Code Here


        effectMode = mode;

        changed = 0;
        isComplete = false;

        currentPos = new Point(effectOrigin.x - effectRadius, 0, effectOrigin.z - effectRadius);
    }
View Full Code Here

            }

            if (isComplete || currentBlocksChanged >= ConfigWorldControl.blocksPerTick)
            {
                changed += currentBlocksChanged;
                currentPos = new Point(x, 0, z);
                continueFlag = false;
            }
        }
    }
View Full Code Here

            if (isComplete || currentTickChanged >= ConfigWorldControl.blocksPerTick)
            {
                // Stop running this tick.
                changed += currentTickChanged;
                current = new Point(x, y, z);
                continueFlag = false;
            }
        }
    }
View Full Code Here

        return true;
    }

    private boolean isApplicable(int x, int y, int z)
    {
        Point p = new Point(x, y, z);
        if (applicable == null)
        {
            return true;
        }
View Full Code Here

            if (isComplete || currentTickChanged >= ConfigWorldControl.blocksPerTick)
            {
                // Stop running this tick.
                changed += currentTickChanged;
                current = new Point(x, y, z);
                continueFlag = false;
            }
        }
    }
View Full Code Here

        return true;
    }

    private boolean isApplicable(int x, int y, int z)
    {
        Point p = new Point(x, y, z);
        if (applicable == null)
        {
            return true;
        }
View Full Code Here

TOP

Related Classes of com.forgeessentials.util.AreaSelector.Point

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.