Class ArrayFilterBlock
java.lang.Object
com.sk89q.worldedit.math.BlockVector3
com.fastasyncworldedit.core.extent.filter.block.FilterBlock
com.fastasyncworldedit.core.extent.filter.block.AbstractExtentFilterBlock
com.fastasyncworldedit.core.extent.filter.block.ArrayFilterBlock
- All Implemented Interfaces:
TileEntityBlock
,Extent
,InputExtent
,OutputExtent
,NbtValued
@Deprecated(forRemoval=true,
since="2.3.0")
public class ArrayFilterBlock
extends AbstractExtentFilterBlock
Deprecated, for removal: This API element is subject to removal in a future version.
Unused internally
-
Field Summary
Fields inherited from class com.sk89q.worldedit.math.BlockVector3
ONE, UNIT_MINUS_X, UNIT_MINUS_Y, UNIT_MINUS_Z, UNIT_X, UNIT_Y, UNIT_Z, ZERO
-
Constructor Summary
ConstructorsConstructorDescriptionArrayFilterBlock
(Extent extent, char[] blocks, byte[] heights, int width, int length, int yOffset) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetBiome()
Deprecated, for removal: This API element is subject to removal in a future version.getBlock()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Get the object's NBT data (tile entity data).int
Deprecated, for removal: This API element is subject to removal in a future version.int
getX()
Deprecated, for removal: This API element is subject to removal in a future version.Get the X coordinate.int
getY()
Deprecated, for removal: This API element is subject to removal in a future version.Get the Y coordinate.int
getZ()
Deprecated, for removal: This API element is subject to removal in a future version.Get the Z coordinate.void
init
(int x, int z, int index) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.<T extends BlockStateHolder<T>>
booleansetBlock
(int x, int y, int z, T block) Deprecated, for removal: This API element is subject to removal in a future version.void
setBlock
(BlockState state) Deprecated, for removal: This API element is subject to removal in a future version.void
setFullBlock
(BaseBlock block) Deprecated, for removal: This API element is subject to removal in a future version.void
setNbtData
(CompoundTag nbtData) Deprecated, for removal: This API element is subject to removal in a future version.Set the object's NBT data (tile entity data).void
setOrdinal
(int ordinal) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.fastasyncworldedit.core.extent.filter.block.AbstractExtentFilterBlock
getExtent
Methods inherited from class com.fastasyncworldedit.core.extent.filter.block.FilterBlock
getBiome, getBiome, getBlock, getBlock, getBlockAbove, getBlockBelow, getBlockEast, getBlockNorth, getBlockRelativeY, getBlockSouth, getBlockWest, getChunkX, getChunkZ, getFullBlock, getFullBlock, getLocalX, getLocalY, getLocalZ, getMaximumPoint, getMinimumPoint, getNbtData, getOrdinal, getOrdinalBelow, getStateAbove, getStateRelativeY, hasNbtData, setBiome, setBiome, setBlock, setFullBlock, setOrdinal, setTile
Methods inherited from class com.sk89q.worldedit.math.BlockVector3
abs, add, add, add, at, at, ceil, checkLongPackable, clampY, containedWithin, cross, distance, distanceSq, divide, divide, divide, dot, equals, equals, floor, fromLongPackedForm, getBlockX, getBlockY, getBlockZ, getMaximum, getMinimum, getOrdinalChar, hashCode, isLongPackable, length, lengthSq, multiply, multiply, multiply, multiply, mutX, mutX, mutY, mutY, mutZ, mutZ, normalize, plus, round, setComponents, setComponents, shl, shl, shr, shr, sortByCoordsYzx, subtract, subtract, subtract, toBlockVector2, toImmutable, toLongPackedForm, toParserString, toPitch, toString, toVector3, toYaw, transform2D, withX, withY, withZ
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.extent.Extent
addCaves, addOre, addOres, addPostProcessor, addProcessor, addSchems, apply, apply, cancel, center, commit, contains, contains, countBlocks, countBlocks, createEntity, createEntity, disableHistory, disableQueue, enableHistory, enableQueue, generate, getBlockDistribution, getBlockDistributionWithData, getEntities, getEntities, 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.world.NbtValued
getNbt, getNbtReference, setNbt, setNbtReference
Methods inherited from interface com.sk89q.worldedit.extent.OutputExtent
fullySupports3DBiomes, setBiome, setBlock, setBlockLight, setBlockLight, setHeightMap, setSkyLight, setSkyLight
Methods inherited from interface com.sk89q.worldedit.blocks.TileEntityBlock
getNbtId
-
Constructor Details
-
ArrayFilterBlock
public ArrayFilterBlock(Extent extent, char[] blocks, byte[] heights, int width, int length, int yOffset) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
init
public void init(int x, int z, int index) Deprecated, for removal: This API element is subject to removal in a future version. -
getOrdinal
public int getOrdinal()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getOrdinal
in classFilterBlock
-
setOrdinal
public void setOrdinal(int ordinal) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setOrdinal
in classFilterBlock
-
getBlock
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getBlock
in classFilterBlock
-
getFullBlock
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getFullBlock
in classFilterBlock
-
setFullBlock
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setFullBlock
in classFilterBlock
-
getNbtData
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:NbtValued
Get the object's NBT data (tile entity data). The returned tag, if modified in any way, should be sent toNbtValued.setNbtData(CompoundTag)
so that the instance knows of the changes. Making changes without callingNbtValued.setNbtData(CompoundTag)
could have unintended consequences.NbtValued.hasNbtData()
must return true if and only if method does not return null.- Specified by:
getNbtData
in interfaceNbtValued
- Specified by:
getNbtData
in classFilterBlock
- Returns:
- compound tag, or null
-
setNbtData
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:NbtValued
Set the object's NBT data (tile entity data).- Specified by:
setNbtData
in interfaceNbtValued
- Specified by:
setNbtData
in classFilterBlock
- Parameters:
nbtData
- NBT data, or null if no data
-
getX
public int getX()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:BlockVector3
Get the X coordinate.- Specified by:
getX
in classFilterBlock
- Returns:
- the x coordinate
-
getY
public int getY()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:BlockVector3
Get the Y coordinate.- Specified by:
getY
in classFilterBlock
- Returns:
- the y coordinate
-
getZ
public int getZ()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:BlockVector3
Get the Z coordinate.- Specified by:
getZ
in classFilterBlock
- Returns:
- the z coordinate
-
setBlock
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setBlock
in classFilterBlock
-
setBlock
public <T extends BlockStateHolder<T>> boolean setBlock(int x, int y, int z, T block) throws WorldEditException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
WorldEditException
-
setBiome
Deprecated, for removal: This API element is subject to removal in a future version. -
setBiome
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setBiome
in classFilterBlock
-
getBiome
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getBiome
in classFilterBlock
-