Is there a way to use set target to see if a mob is infront of you by 5 blocks
like you left click there is a mob less that 5 blocks away then you target it
on left click:
if player is holding orange dye:
set {_loc1} to location below player's head
set {_loc2} to location 5 meters infront of the player's head
loop mobs between {_loc1} and {_loc2}:
damage loop-mob by 4
OK so when i do
create new shaped recipe with return orange dye named "&bFire Crystal" using blaze powder and blaze powder and blaze powder and blaze powder and emerald and blaze powder and blaze powder and blaze powder and blaze powder
it works but when i switch emerald with light gray dye it does not work.
Oops
Ok so i am trying to make it show my texture with custom model data (e.g. /give @s minecraft:iron_ingot{CustomModelData:1234567}) and then it gives you the texture but it is just gives the null block(the purple and black cube) it works if i just put the texture on an emerald or something without custom model data.