Class BlanketBaseBlock

java.lang.Object
com.sk89q.worldedit.world.block.BaseBlock
com.fastasyncworldedit.core.world.block.BlanketBaseBlock
All Implemented Interfaces:
Filter, TileEntityBlock, Pattern, BlockStateHolder<BaseBlock>, NbtValued

public final class BlanketBaseBlock extends BaseBlock
BaseBlock that when parsed to masks represents all BlockStates of a BlockType, whilst allowing for NBT storage
  • Constructor Details

    • BlanketBaseBlock

      public BlanketBaseBlock(BlockState blockState)
    • BlanketBaseBlock

      public BlanketBaseBlock(BlockState blockState, @Nonnull CompoundTag tile)
  • Method Details

    • toBaseBlock

      public BaseBlock toBaseBlock(CompoundTag compoundTag)
      Description copied from interface: BlockStateHolder
      Gets a BaseBlock from this BlockStateHolder.
      Parameters:
      compoundTag - The NBT Data to apply
      Returns:
      The BaseBlock