1. NOTE: These forums are no longer used. Please use Discord instead.


Discussion in 'CraftScripts' started by xxOrpheus, Jan 18, 2015.

  1. xxOrpheus

    xxOrpheus New Member

    I'm trying to update an old script for creating hemispheres with WorldEdit.

    The script uses a RegionMask. The RegionMask is made over the top half of the sphere.
    From my understanding, a RegionMask should only allow modification within the region.
    Everything is fine, except the mask doesn't allow anything to be placed.
    When I check if a Vector is within the RegionMask, it says true, but no blocks are placed, even in the Vector I checked.
    When I remove sess.setMask(regionMask), the sphere is successfully created, but this is not what I want.

    Here's the code: http://pastebin.com/JbmDxL6n

    Please help :(
  2. sk89q

    sk89q Administrator Developer

    Are you using WE 6? I recommend using the new RegionMask if that's the case.
  3. xxOrpheus

    xxOrpheus New Member



    Is there a documentation or could you help me out? I would greatly appreciate it
  4. sk89q

    sk89q Administrator Developer

    You can find the new masks in the function.mask interface. Unfortunately, there isn't really much documentation outside the Javadocs at the moment.