Schematic direction and coords

Discussion in 'Programming Help' started by DavideBlade, May 10, 2016.

  1. DavideBlade

    DavideBlade New Member

    Hello, i have created a plugin that paste a schematic in a location when a player use a specific command.
    The problem are the coords because the schematic can be pasted in any direction in all world.
    Plugin should check if the specific coords are the propriety of a player or not. But this is impossible without knowing the direction of the schematic. So how i can paste a schematic every time in the same direction?

    Another thing. How i can get the two external corners of the schematic which can be pasted in negative or in positive coords? And how can I get the coordinates of all blocks pasted for check if these coords are the propriety of the player?


    Sorry for bad english but i'm italian.