Topic category: Help with modding (Java Edition)
Hello! I have been trying to create a mob that could both do melee and ranged attacks, probably depending on how far the attack target is. However, as I have been trying to accomplish that(without coding and only using the interface), the entity could only do one kind of attack, even though I had both ranged attack checked and the “do melee attack” block. Is there any way to get my mob doing both without really getting into coding? Or if not, could you please help me out with the code, I am quite new to this huge world of modding. Thank you in advance!