Package com.plotsquared.core.listener
Class WEExtent
java.lang.Object
com.sk89q.worldedit.extent.AbstractDelegateExtent
com.plotsquared.core.listener.WEExtent
- All Implemented Interfaces:
com.sk89q.worldedit.extent.Extent
,com.sk89q.worldedit.extent.InputExtent
,com.sk89q.worldedit.extent.OutputExtent
public class WEExtent
extends com.sk89q.worldedit.extent.AbstractDelegateExtent
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.sk89q.worldedit.entity.Entity
createEntity(com.sk89q.worldedit.util.Location location, com.sk89q.worldedit.entity.BaseEntity entity)
com.sk89q.worldedit.world.block.BlockState
getBlock(com.sk89q.worldedit.math.BlockVector3 location)
com.sk89q.worldedit.world.block.BaseBlock
getFullBlock(com.sk89q.worldedit.math.BlockVector3 location)
boolean
setBiome(com.sk89q.worldedit.math.BlockVector2 position, com.sk89q.worldedit.world.biome.BiomeType biome)
boolean
setBlock(com.sk89q.worldedit.math.BlockVector3 location, com.sk89q.worldedit.world.block.BlockStateHolder block)
Methods inherited from class com.sk89q.worldedit.extent.AbstractDelegateExtent
commit, commitBefore, fullySupports3DBiomes, getBiome, getEntities, getEntities, getExtent, getMaximumPoint, getMinimumPoint, setBiome
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.extent.InputExtent
getBiome
-
Field Details
-
AIRSTATE
public static com.sk89q.worldedit.world.block.BlockState AIRSTATE -
AIRBASE
public static com.sk89q.worldedit.world.block.BaseBlock AIRBASE
-
-
Constructor Details
-
WEExtent
public WEExtent(Set<com.sk89q.worldedit.regions.CuboidRegion> mask, com.sk89q.worldedit.extent.Extent extent)
-
-
Method Details
-
setBlock
public boolean setBlock(com.sk89q.worldedit.math.BlockVector3 location, com.sk89q.worldedit.world.block.BlockStateHolder block) throws com.sk89q.worldedit.WorldEditException- Specified by:
setBlock
in interfacecom.sk89q.worldedit.extent.OutputExtent
- Overrides:
setBlock
in classcom.sk89q.worldedit.extent.AbstractDelegateExtent
- Throws:
com.sk89q.worldedit.WorldEditException
-
createEntity
public com.sk89q.worldedit.entity.Entity createEntity(com.sk89q.worldedit.util.Location location, com.sk89q.worldedit.entity.BaseEntity entity)- Specified by:
createEntity
in interfacecom.sk89q.worldedit.extent.Extent
- Overrides:
createEntity
in classcom.sk89q.worldedit.extent.AbstractDelegateExtent
-
setBiome
public boolean setBiome(com.sk89q.worldedit.math.BlockVector2 position, com.sk89q.worldedit.world.biome.BiomeType biome) -
getBlock
public com.sk89q.worldedit.world.block.BlockState getBlock(com.sk89q.worldedit.math.BlockVector3 location)- Specified by:
getBlock
in interfacecom.sk89q.worldedit.extent.InputExtent
- Overrides:
getBlock
in classcom.sk89q.worldedit.extent.AbstractDelegateExtent
-
getFullBlock
public com.sk89q.worldedit.world.block.BaseBlock getFullBlock(com.sk89q.worldedit.math.BlockVector3 location)- Specified by:
getFullBlock
in interfacecom.sk89q.worldedit.extent.InputExtent
- Overrides:
getFullBlock
in classcom.sk89q.worldedit.extent.AbstractDelegateExtent
-