use of com.fastasyncworldedit.core.regions.FuzzyRegion in project FastAsyncWorldEdit by IntellectualSites.
the class FuzzyRegionSelector method selectPrimary.
@Override
public boolean selectPrimary(BlockVector3 position, SelectorLimits limits) {
setWorld(getWorld());
new MaskTraverser(getMask()).reset(getExtent());
positions.clear();
positions.add(position);
this.region = new FuzzyRegion(getWorld(), getExtent(), getMask());
this.region.select(position);
return true;
}
use of com.fastasyncworldedit.core.regions.FuzzyRegion in project FastAsyncWorldEdit by IntellectualSites.
the class FuzzyRegionSelector method clear.
@Override
public void clear() {
positions.clear();
this.region = new FuzzyRegion(getWorld(), getExtent(), getMask());
}
Aggregations