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
ConstructorsModifierConstructorDescriptionprotectedLegacyBaseBlockWrapper(BlockState blockState) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionLazyReference<org.enginehub.linbus.tree.LinCompoundTag> Deprecated.Get the object's NBT data (tile entity data).voidsetNbtReference(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, getAsString, getBlockType, getInternalBlockTypeId, getInternalId, getInternalPropertiesId, getMaterial, getNbtId, getOrdinal, getOrdinalChar, getState, getState, getState, getStates, hashCode, toBaseBlock, toBaseBlock, toBlockState, toImmutableState, toString, with, with, withPropertyIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sk89q.worldedit.world.block.BlockStateHolder
applyBlock, toBaseBlock, toBaseBlock, toBaseBlock, toBaseBlockMethods inherited from interface com.fastasyncworldedit.core.queue.Filter
applyChunk, finish, finishChunk, joinMethods inherited from interface com.sk89q.worldedit.world.NbtValued
getNbt, getNbtData, hasNbtData, setNbt, setNbtDataMethods 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:NbtValuedGet 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:
getNbtReferencein interfaceNbtValued- Overrides:
getNbtReferencein classBaseBlock- Returns:
- compound tag, or null
-
setNbtReference
public void setNbtReference(@Nullable LazyReference<org.enginehub.linbus.tree.LinCompoundTag> nbtData) Deprecated.Description copied from interface:NbtValuedSet the object's NBT data (tile entity data).- Specified by:
setNbtReferencein interfaceNbtValued- Overrides:
setNbtReferencein classBaseBlock- Parameters:
nbtData- NBT data, or null if no data
-