Wiki 9Minecraft Modular Diversity Wiki

Position

Position

Syntax

{
    "type": "position",
    "io-type": "input",
    "xMin": 0,
    "xMax": 0,
    "yMin": 0,
    "yMax": 0,
    "zMin": 0,
    "zMax": 0,
}

Parameters

  • xMin : float (optional)

    The minimum x-coordinate at which the recipe will work -infinity if not provided
  • xMax : float (optional)

    The maximum x-coordinate at which the recipe will work +infinity if not provided
  • yMin : float (optional)

    The minimum y-coordinate at which the recipe will work -infinity if not provided
  • yMax : float (optional)

    The maximum y-coordinate at which the recipe will work +infinity if not provided
  • zMin : float (optional)

    The minimum z-coordinate at which the recipe will work -infinity if not provided
  • zMax : float (optional)

    The maximum z-coordinate at which the recipe will work +infinity if not provided
  • distanceMin : float (optional)

    The minimum distance from the bounding box defined by the above parameters at which the recipe will work 0 if not provided
  • distanceMax : float (optional)

    The maximum distance from the bounding box defined by the above parameters at which the recipe will work +infinity if not provided

Notes

  • Does not need a hatch
  • The xyz parameters define a bounding box
  • The distance parameter determines how far away from the bounding box the recipe will function