Class 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
  • 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 class FilterBlock
    • setOrdinal

      public void setOrdinal(int ordinal)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setOrdinal in class FilterBlock
    • getBlock

      public BlockState getBlock()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getBlock in class FilterBlock
    • getFullBlock

      public BaseBlock getFullBlock()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getFullBlock in class FilterBlock
    • setFullBlock

      public void setFullBlock(BaseBlock block)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setFullBlock in class FilterBlock
    • getNbtData

      public CompoundTag 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 to NbtValued.setNbtData(CompoundTag) so that the instance knows of the changes. Making changes without calling NbtValued.setNbtData(CompoundTag) could have unintended consequences.

      NbtValued.hasNbtData() must return true if and only if method does not return null.

      Specified by:
      getNbtData in interface NbtValued
      Specified by:
      getNbtData in class FilterBlock
      Returns:
      compound tag, or null
    • setNbtData

      public void setNbtData(@Nullable CompoundTag nbtData)
      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 interface NbtValued
      Specified by:
      setNbtData in class FilterBlock
      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 class FilterBlock
      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 class FilterBlock
      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 class FilterBlock
      Returns:
      the z coordinate
    • setBlock

      public void setBlock(BlockState state)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setBlock in class FilterBlock
    • 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

      public boolean setBiome(int x, int y, int z, BiomeType biome)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setBiome

      public void setBiome(BiomeType biome)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setBiome in class FilterBlock
    • getBiome

      public BiomeType getBiome()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getBiome in class FilterBlock