BlockState.asItem

Returns an ItemStack representing this block in item form, whatever Minecraft deems that to be
If it cannot find an item for this block,
it will return nil
overload 1:
BlockState:asItem()
Method Property Fluent Description Representation
Return Value either an ItemStack or nil
a a