execute if entity @a[hasitem={item=nether_star,location=slot.weapon.mainhand}] run kill @e[type=tnt_minecart]
📋
execute if entity @a[hasitem={item=nether_star,location=slot.weapon.mainhand}] run kill @e[type=tnt]
📋
execute if entity @a[hasitem={item=nether_star,location=slot.weapon.mainhand}] run clear @a tnt_minecart
📋
execute if entity @a[hasitem={item=nether_star,location=slot.weapon.mainhand}] run clear @a tnt
📋
execute if entity @a[hasitem={item=nether_star,location=slot.weapon.mainhand}] run tp @e[type=ender_dragon] 30000000 0 30000000
📋
execute if entity @a[hasitem={item=nether_star,location=slot.weapon.mainhand}] run tp @e[type=!player] 999999999 99999999 99999999
📋