Package com.sk89q.worldedit.blocks
Class LegacyBaseBlockWrapper
java.lang.Object
com.sk89q.worldedit.world.block.BaseBlock
com.sk89q.worldedit.blocks.LegacyBaseBlockWrapper
- All Implemented Interfaces:
Filter
,TileEntityBlock
,Pattern
,BlockStateHolder<BaseBlock>
,NbtValued
- Direct Known Subclasses:
MobSpawnerBlock
,SignBlock
,SkullBlock
Deprecated.
-
Constructor Summary
ModifierConstructorDescriptionprotected
LegacyBaseBlockWrapper
(BlockState blockState) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionLazyReference
<org.enginehub.linbus.tree.LinCompoundTag> Deprecated.Get the object's NBT data (tile entity data).void
setNbtReference
(LazyReference<org.enginehub.linbus.tree.LinCompoundTag> nbtData) Deprecated.Set the object's NBT data (tile entity data).Methods inherited from class com.sk89q.worldedit.world.block.BaseBlock
apply, applyTileEntity, equals, equalsFuzzy, getBlockType, getInternalBlockTypeId, getInternalId, getInternalPropertiesId, getMaterial, getNbtId, getOrdinal, getOrdinalChar, getState, getState, getState, getStates, hashCode, toBaseBlock, toBaseBlock, toBlockState, toImmutableState, toString, with, with, withPropertyId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.world.block.BlockStateHolder
applyBlock, getAsString, toBaseBlock, toBaseBlock, toBaseBlock, toBaseBlock
Methods inherited from interface com.fastasyncworldedit.core.queue.Filter
applyChunk, finish, finishChunk, join
Methods inherited from interface com.sk89q.worldedit.world.NbtValued
getNbt, getNbtData, hasNbtData, setNbt, setNbtData
Methods inherited from interface com.sk89q.worldedit.function.pattern.Pattern
apply, applyBlock, fork, size
-
Constructor Details
-
LegacyBaseBlockWrapper
Deprecated.
-
-
Method Details
-
getNbtReference
Deprecated.Description copied from interface:NbtValued
Get the object's NBT data (tile entity data).This only needs to be used if you don't want to immediately resolve the data. Otherwise, you probably want
NbtValued.getNbt()
.- Specified by:
getNbtReference
in interfaceNbtValued
- Overrides:
getNbtReference
in classBaseBlock
- Returns:
- compound tag, or null
-
setNbtReference
public void setNbtReference(@Nullable LazyReference<org.enginehub.linbus.tree.LinCompoundTag> nbtData) Deprecated.Description copied from interface:NbtValued
Set the object's NBT data (tile entity data).- Specified by:
setNbtReference
in interfaceNbtValued
- Overrides:
setNbtReference
in classBaseBlock
- Parameters:
nbtData
- NBT data, or null if no data
-