Class ChiseledBlockEntity
-
- All Implemented Interfaces:
-
net.fabricmc.fabric.api.attachment.v1.AttachmentTarget,net.fabricmc.fabric.api.blockview.v2.RenderDataBlockEntity
public final class ChiseledBlockEntity extends BlockEntity
-
-
Field Summary
Fields Modifier and Type Field Description private final BlockStatecopiedStateprivate final IntegercornerCountprivate final BlockPosposprivate final BlockEntityType<?>typeprivate BlockStateblockState
-
Constructor Summary
Constructors Constructor Description ChiseledBlockEntity(BlockPos pos, BlockState blockState)
-
Method Summary
Modifier and Type Method Description final BlockStategetCopiedState()final IntegergetCornerCount()final BlockPosgetPos()final UnitsetCopiedState(BlockState state)Packet<ClientGamePacketListener>getUpdatePacket()CompoundTaggetUpdateTag(HolderLookup.Provider registries)-
Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getNameForReporting, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadWithComponents, preRemoveSideEffects, problemPath, removeComponentsFromTag, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setBlockState, setChanged, setComponents, setLevel, setRemoved, triggerEvent -
Methods inherited from class net.fabricmc.fabric.api.blockview.v2.RenderDataBlockEntity
getRenderData -
Methods inherited from class net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
getAttached, getAttachedOrCreate, getAttachedOrCreate, getAttachedOrElse, getAttachedOrGet, getAttachedOrSet, getAttachedOrThrow, hasAttached, modifyAttached, onAttachedSet, removeAttached, setAttached -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCopiedState
final BlockState getCopiedState()
-
getCornerCount
final Integer getCornerCount()
-
getPos
final BlockPos getPos()
-
setCopiedState
final Unit setCopiedState(BlockState state)
-
getUpdatePacket
Packet<ClientGamePacketListener> getUpdatePacket()
-
getUpdateTag
CompoundTag getUpdateTag(HolderLookup.Provider registries)
-
-
-
-