TextComponent - Block Name (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.10.1
Syntax
[the] component [custom] block name of %block%Description
Get/set/delete the custom name of a block. This will work on container blocks and skulls. Even though the custom name of any skull can be set, only a player head will retain its name when broken (Skeleton/creeper/etc skulls will not).
Examples
set {_name} to component block name of target block
set component block name of target block to mini message from "<rainbow>Mr Potato Head!"
delete component block name of target block