Package com.sk89q.worldedit.blocks
Class SkullBlock
java.lang.Object
com.sk89q.worldedit.world.block.BaseBlock
com.sk89q.worldedit.blocks.LegacyBaseBlockWrapper
com.sk89q.worldedit.blocks.SkullBlock
- All Implemented Interfaces:
- Filter,- TileEntityBlock,- Pattern,- BlockStateHolder<BaseBlock>,- NbtValued
Deprecated, for removal: This API element is subject to removal in a future version.
WorldEdit does not handle interpreting NBT,
         deprecated for removal without replacement
A skull block.
- 
Constructor SummaryConstructorsConstructorDescriptionSkullBlock(BlockState state) Deprecated, for removal: This API element is subject to removal in a future version.Construct the skull block with a default type of skelton.SkullBlock(BlockState blockState, String owner) Deprecated, for removal: This API element is subject to removal in a future version.Construct the skull block with a given rotation and owner.
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.getNbtId()Deprecated, for removal: This API element is subject to removal in a future version.Return the name of the title entity ID.getOwner()Deprecated, for removal: This API element is subject to removal in a future version.Get the skull's owner.booleanDeprecated.voidsetNbtData(CompoundTag rootTag) Deprecated.voidDeprecated, for removal: This API element is subject to removal in a future version.Set the skull's owner.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- 
SkullBlockDeprecated, for removal: This API element is subject to removal in a future version.Construct the skull block with a default type of skelton.- Parameters:
- state- BlockState to set
 
- 
SkullBlockDeprecated, for removal: This API element is subject to removal in a future version.Construct the skull block with a given rotation and owner. The type is assumed to be player unless owner is null or empty.- Parameters:
- blockState- BlockState to set
- owner- name of player
 
 
- 
- 
Method Details- 
setOwnerDeprecated, for removal: This API element is subject to removal in a future version.Set the skull's owner. Automatically sets type to player if not empty or null.- Parameters:
- owner- player name to set the skull to
 
- 
getOwnerDeprecated, for removal: This API element is subject to removal in a future version.Get the skull's owner. Returns null if unset.- Returns:
- player name or null
 
- 
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, for removal: This API element is subject to removal in a future version.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
 
 
-