
# -> Get log
loot replace entity @s contents mine ~ ~ ~ netherite_axe[enchantments={silk_touch:1}]

# -> Store log name
data modify storage overly_realistic:temp_values temp_string_0 set value ""
data modify storage overly_realistic:temp_values temp_string_0 set string entity @s item.id 10

# -> Set block
function overly_realistic:players/stone_hatchet_strip/strip_log_set_block with storage overly_realistic:temp_values

# -> Remove temp entity
kill @s