Depends on what specifically you're trying to do. If you just want to display an image on the screen, you should probably make a GUI or overlay. If you're going for more of a hologram thing, you would indeed want to make an entity, and just set its rotation to always match the nearest player.
...I think I'd recommend an overlay then. You can have the attack apply a potion effect or something that causes the overlay to appear. (Or to change, if you want to get fancy with variables and have some sort of animated texture.) Is that the basic idea?
Okay, so, like, an image that follows the player. You would want to make a custom entity model in blockbench that consists of a flat surface, make sure the flat side is facing north, and then for the entity's update tick trigger, check if a player exists in a 32 block radius, and if this is true, use the 'make entity look at' function to make the entity look at the nearest player's x/y/z. Because the custom model has yaw disabled by default, it will rotate in the direction of the player.
Depends on what specifically you're trying to do. If you just want to display an image on the screen, you should probably make a GUI or overlay. If you're going for more of a hologram thing, you would indeed want to make an entity, and just set its rotation to always match the nearest player.
i need it to be an attack
...I think I'd recommend an overlay then. You can have the attack apply a potion effect or something that causes the overlay to appear. (Or to change, if you want to get fancy with variables and have some sort of animated texture.) Is that the basic idea?
no i need it to apear on the world not just the screen
like a nextbot
plz answer
Okay, so, like, an image that follows the player. You would want to make a custom entity model in blockbench that consists of a flat surface, make sure the flat side is facing north, and then for the entity's update tick trigger, check if a player exists in a 32 block radius, and if this is true, use the 'make entity look at' function to make the entity look at the nearest player's x/y/z. Because the custom model has yaw disabled by default, it will rotate in the direction of the player.