Package com.sk89q.worldedit.blocks
Class SignBlock
java.lang.Object
com.sk89q.worldedit.world.block.BaseBlock
com.sk89q.worldedit.blocks.LegacyBaseBlockWrapper
com.sk89q.worldedit.blocks.SignBlock
- All Implemented Interfaces:
- Filter,- TileEntityBlock,- Pattern,- BlockStateHolder<BaseBlock>,- NbtValued
Deprecated.
WorldEdit does not handle interpreting NBT,
     deprecated for removal without replacement
Represents a sign block.
- 
Constructor SummaryConstructorsConstructorDescriptionSignBlock(BlockState blockState, String[] text) Deprecated.Construct the sign with text.
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.getNbtId()Deprecated.Return the name of the title entity ID.String[]getText()Deprecated.Get the text.booleanDeprecated.voidsetNbtData(CompoundTag rootTag) Deprecated.voidDeprecated.Set the text.Methods inherited from class com.sk89q.worldedit.blocks.LegacyBaseBlockWrappergetNbtReference, setNbtReferenceMethods inherited from class com.sk89q.worldedit.world.block.BaseBlockapply, applyTileEntity, equals, equalsFuzzy, getAsString, getBlockType, getInternalBlockTypeId, getInternalId, getInternalPropertiesId, getMaterial, getOrdinal, getOrdinalChar, getState, getState, getState, getStates, hashCode, toBaseBlock, toBaseBlock, toBlockState, toImmutableState, toString, with, with, withPropertyIdMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sk89q.worldedit.world.block.BlockStateHolderapplyBlock, toBaseBlock, toBaseBlock, toBaseBlock, toBaseBlockMethods inherited from interface com.fastasyncworldedit.core.queue.FilterapplyChunk, finish, finishChunk, joinMethods inherited from interface com.sk89q.worldedit.function.pattern.Patternapply, applyBlock, fork, size
- 
Constructor Details- 
SignBlockDeprecated.Construct the sign with text.- Parameters:
- blockState- The block state
- text- lines of text
 
 
- 
- 
Method Details- 
getTextDeprecated.Get the text.- Returns:
- the text
 
- 
setTextDeprecated.Set the text.- Parameters:
- text- the text to set
 
- 
hasNbtDataDeprecated.Description copied from interface:NbtValuedReturns whether the block contains NBT data.NbtValued.getNbtData()must not return null if this method returns true.- Returns:
- true if there is NBT data
 
- 
getNbtIdDeprecated.Description copied from interface:TileEntityBlockReturn the name of the title entity ID.- Specified by:
- getNbtIdin interface- TileEntityBlock
- Overrides:
- getNbtIdin class- BaseBlock
- Returns:
- tile entity ID, non-null string
 
- 
getNbtDataDeprecated.Description copied from interface:NbtValuedGet 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.- Returns:
- compound tag, or null
 
- 
setNbtDataDeprecated.Description copied from interface:NbtValuedSet the object's NBT data (tile entity data).- Parameters:
- rootTag- NBT data, or null if no data
 
 
-