mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Moved ArbitraryShape and WorldEditExpressionEnvironment to a new "shape" package.
This commit is contained in:
parent
8d685946c0
commit
f27d7e585d
@ -46,6 +46,8 @@
|
|||||||
import com.sk89q.worldedit.regions.CuboidRegion;
|
import com.sk89q.worldedit.regions.CuboidRegion;
|
||||||
import com.sk89q.worldedit.regions.Region;
|
import com.sk89q.worldedit.regions.Region;
|
||||||
import com.sk89q.worldedit.regions.RegionOperationException;
|
import com.sk89q.worldedit.regions.RegionOperationException;
|
||||||
|
import com.sk89q.worldedit.shape.ArbitraryShape;
|
||||||
|
import com.sk89q.worldedit.shape.WorldEditExpressionEnvironment;
|
||||||
import com.sk89q.worldedit.util.TreeGenerator;
|
import com.sk89q.worldedit.util.TreeGenerator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -17,8 +17,12 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.sk89q.worldedit;
|
package com.sk89q.worldedit.shape;
|
||||||
|
|
||||||
|
import com.sk89q.worldedit.BlockVector;
|
||||||
|
import com.sk89q.worldedit.EditSession;
|
||||||
|
import com.sk89q.worldedit.MaxChangedBlocksException;
|
||||||
|
import com.sk89q.worldedit.Vector;
|
||||||
import com.sk89q.worldedit.blocks.BaseBlock;
|
import com.sk89q.worldedit.blocks.BaseBlock;
|
||||||
import com.sk89q.worldedit.patterns.Pattern;
|
import com.sk89q.worldedit.patterns.Pattern;
|
||||||
import com.sk89q.worldedit.regions.Region;
|
import com.sk89q.worldedit.regions.Region;
|
@ -1,8 +1,11 @@
|
|||||||
package com.sk89q.worldedit;
|
package com.sk89q.worldedit.shape;
|
||||||
|
|
||||||
|
import com.sk89q.worldedit.BlockVector;
|
||||||
|
import com.sk89q.worldedit.EditSession;
|
||||||
|
import com.sk89q.worldedit.Vector;
|
||||||
import com.sk89q.worldedit.expression.runtime.ExpressionEnvironment;
|
import com.sk89q.worldedit.expression.runtime.ExpressionEnvironment;
|
||||||
|
|
||||||
class WorldEditExpressionEnvironment implements ExpressionEnvironment {
|
public class WorldEditExpressionEnvironment implements ExpressionEnvironment {
|
||||||
private final Vector unit;
|
private final Vector unit;
|
||||||
private final Vector zero2;
|
private final Vector zero2;
|
||||||
private Vector current = new Vector();
|
private Vector current = new Vector();
|
Loading…
Reference in New Issue
Block a user