• 1

    posted a message on Executing command when Player is outside of a specified SQUARE area.

    I think what YMBrothers was trying to say is, you screwed up your example.

    Quote from Robified >>

    To explain how this works for everyone else who might see it:

    x, y, and z arguments should be the lowest bottom corner of the area (towards the negative x and negative z). The reason for this, is because the dx, dy, and dz arguments are the number of blocks from that point. It isn't the number of blocks you want to protect.

    If you wanted to protect a 10x10x10 block area going from these coordinates:

    x=10,y=20,z=-50 <----- This is the "point" you refer to in italics

    Your dx, dy, and dz would be:

    dx=20,dy=30,dz=-40 (negative numbers get increased)

    And NOT:

    dx=10,dy=10,dz=10 <----- This WOULD be the "number of blocks from that point", in your own words, in the first paragraph, and then contradicted in your example.

    This is misleading.


    You can remember it as: d stands for "distance from" NOT "opposite point of a cuboid"

    Posted in: Commands, Command Blocks and Functions
  • To post a comment, please .