Started by
Pikman1210
on
Topic category: Help with Minecraft modding (Java Edition)
How can I make an ENDERPEARL (needs to be an enderpearl) get thrown to where the player is looking when a keybind is pressed (ex. K) and the player is holding a specific item
Please add an image of the procedure too, just telling me stuff I dont know doesn't really help
so first, if you are good with commands, do some search, if not, make a Custom Ender Pearl, it is really easy, there should be tons of tutorials for it, also remember, this section is called "Help With Modding", not "Make me a Mod because I can't"
but if you really can't, make a ranged item with the same texture of the Ender Pearl, make it's durability 1 and make the bullet itself, when bullet hits block Trigger set location of event/target entity to X Y C, on your keybind, when Key Is Pressed shoot ranged item at X Y Z type:Your_Ender_Pearl
forgot the item thing, on Key Is Pressed before the Shoot make an If item in main hand of event/target entity = The_Item OR
item in off hand of Event/Target entity = The_Item
and to make it shoot where player is facing, since I am it sure the block makes it shoot where the player is looking at, use the Direction Section the Procedures provide
Not helpful, RexCerv. We need images.