Interface CapturingExtent
- All Superinterfaces:
BlockChangeCollector
,com.sk89q.worldedit.extent.Extent
,com.sk89q.worldedit.extent.InputExtent
,com.sk89q.worldedit.extent.OutputExtent
A extend used to capture changes.
-
Method Summary
Modifier and TypeMethodDescriptionchanges()
The collected changes@Nullable com.sk89q.worldedit.function.operation.Operation
commit()
@Nullable com.sk89q.worldedit.entity.Entity
createEntity
(com.sk89q.worldedit.util.Location location, com.sk89q.worldedit.entity.BaseEntity entity) com.sk89q.worldedit.world.biome.BiomeType
getBiome
(com.sk89q.worldedit.math.BlockVector2 position) com.sk89q.worldedit.world.block.BlockState
getBlock
(com.sk89q.worldedit.math.BlockVector3 position) List
<? extends com.sk89q.worldedit.entity.Entity> List
<? extends com.sk89q.worldedit.entity.Entity> getEntities
(com.sk89q.worldedit.regions.Region region) com.sk89q.worldedit.world.block.BaseBlock
getFullBlock
(com.sk89q.worldedit.math.BlockVector3 position) com.sk89q.worldedit.math.BlockVector3
com.sk89q.worldedit.math.BlockVector3
com.sk89q.worldedit.util.Location
location()
boolean
setBiome
(com.sk89q.worldedit.math.BlockVector2 position, com.sk89q.worldedit.world.biome.BiomeType biome) <T extends com.sk89q.worldedit.world.block.BlockStateHolder<T>>
booleansetBlock
(com.sk89q.worldedit.math.BlockVector3 position, T block) default boolean
setTile
(int x, int y, int z, com.sk89q.jnbt.CompoundTag tile) Methods inherited from interface de.eldoria.schematicbrush.rendering.BlockChangeCollector
location
Methods inherited from interface com.sk89q.worldedit.extent.Extent
addCaves, addOre, addOres, addPostProcessor, addProcessor, addSchems, apply, apply, cancel, center, contains, contains, countBlocks, countBlocks, createEntity, disableHistory, disableQueue, enableHistory, enableQueue, generate, getBlockDistribution, getBlockDistributionWithData, getHighestTerrainBlock, getHighestTerrainBlock, getMaxY, getMinY, getNearestSurfaceLayer, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, getNearestSurfaceTerrainBlock, isQueueEnabled, isWorld, lazyCopy, regenerateChunk, relight, relightBlock, relightSky, removeEntity, replaceBlocks, replaceBlocks, replaceBlocks, setBlocks, setBlocks, setBlocks, spawnResource
Methods inherited from interface com.sk89q.worldedit.extent.InputExtent
getBiome, getBiomeType, getBlock, getBrightness, getBrightness, getEmittedLight, getEmittedLight, getFullBlock, getHeightMap, getOpacity, getOpacity, getSkyLight, getSkyLight
Methods inherited from interface com.sk89q.worldedit.extent.OutputExtent
fullySupports3DBiomes, setBiome, setBiome, setBlock, setBlockLight, setBlockLight, setHeightMap, setSkyLight, setSkyLight
-
Method Details
-
location
com.sk89q.worldedit.util.Location location() -
getMinimumPoint
com.sk89q.worldedit.math.BlockVector3 getMinimumPoint()- Specified by:
getMinimumPoint
in interfacecom.sk89q.worldedit.extent.Extent
-
getMaximumPoint
com.sk89q.worldedit.math.BlockVector3 getMaximumPoint()- Specified by:
getMaximumPoint
in interfacecom.sk89q.worldedit.extent.Extent
-
getEntities
List<? extends com.sk89q.worldedit.entity.Entity> getEntities(com.sk89q.worldedit.regions.Region region) - Specified by:
getEntities
in interfacecom.sk89q.worldedit.extent.Extent
-
getEntities
List<? extends com.sk89q.worldedit.entity.Entity> getEntities()- Specified by:
getEntities
in interfacecom.sk89q.worldedit.extent.Extent
-
createEntity
@Nullable @Nullable 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
-
getBlock
com.sk89q.worldedit.world.block.BlockState getBlock(com.sk89q.worldedit.math.BlockVector3 position) - Specified by:
getBlock
in interfacecom.sk89q.worldedit.extent.InputExtent
-
getFullBlock
com.sk89q.worldedit.world.block.BaseBlock getFullBlock(com.sk89q.worldedit.math.BlockVector3 position) - Specified by:
getFullBlock
in interfacecom.sk89q.worldedit.extent.InputExtent
-
getBiome
com.sk89q.worldedit.world.biome.BiomeType getBiome(com.sk89q.worldedit.math.BlockVector2 position) - Specified by:
getBiome
in interfacecom.sk89q.worldedit.extent.InputExtent
-
setBlock
<T extends com.sk89q.worldedit.world.block.BlockStateHolder<T>> boolean setBlock(com.sk89q.worldedit.math.BlockVector3 position, T block) - Specified by:
setBlock
in interfacecom.sk89q.worldedit.extent.OutputExtent
-
setTile
default boolean setTile(int x, int y, int z, com.sk89q.jnbt.CompoundTag tile) - Specified by:
setTile
in interfacecom.sk89q.worldedit.extent.OutputExtent
-
setBiome
boolean setBiome(com.sk89q.worldedit.math.BlockVector2 position, com.sk89q.worldedit.world.biome.BiomeType biome) - Specified by:
setBiome
in interfacecom.sk89q.worldedit.extent.OutputExtent
-
commit
@Nullable @Nullable com.sk89q.worldedit.function.operation.Operation commit()- Specified by:
commit
in interfacecom.sk89q.worldedit.extent.Extent
- Specified by:
commit
in interfacecom.sk89q.worldedit.extent.OutputExtent
-
changes
Changes changes()Description copied from interface:BlockChangeCollector
The collected changes- Specified by:
changes
in interfaceBlockChangeCollector
- Returns:
- changes
-