Started by Mr.Zinych on Sun, 07/03/2022 - 13:28 Topic category: Help with modding (Java Edition) He did it in MCreator How to do the same? (3:20) https://www.youtube.com/watch?v=M6maFjW0_NU&t=70s Jump to top This procedure will give an upward vector. But I still don't understand how to get the coordinates of the player and the block he hit at the same time. I roughly understand how a procedure should be created to choose where to fly, but without coordinates it obviously won't work. Jump to top Permalink Log in or register to post comments Jump to top Permalink Log in or register to post comments This procedure finds the coordinates of the player and the place where the bullet hit. Then he calculates (roughly) where to move the player. The problem is as follows: this procedure for ranged the subject and manipulation with the vector does not work (as if it does not exist at all) If you know how to invoke the procedure for the player - I will be grateful) Jump to top Permalink Log in or register to post comments OK, I figured out how to create it) Thank you for your attention Jump to top Permalink Log in or register to post comments Hello, can you please show how you did it? maybe even on youtube tutorial :D Jump to top Permalink Log in or register to post comments @MalejPrcek , https://youtu.be/ncgvCYAHT_E?si=24vk2kQqfYzbEVRu . This may help you, but the tutorial is in Russian. Jump to top Permalink Log in or register to post comments
This procedure will give an upward vector. But I still don't understand how to get the coordinates of the player and the block he hit at the same time. I roughly understand how a procedure should be created to choose where to fly, but without coordinates it obviously won't work. Jump to top Permalink Log in or register to post comments
This procedure finds the coordinates of the player and the place where the bullet hit. Then he calculates (roughly) where to move the player. The problem is as follows: this procedure for ranged the subject and manipulation with the vector does not work (as if it does not exist at all) If you know how to invoke the procedure for the player - I will be grateful) Jump to top Permalink Log in or register to post comments
OK, I figured out how to create it) Thank you for your attention Jump to top Permalink Log in or register to post comments
Hello, can you please show how you did it? maybe even on youtube tutorial :D Jump to top Permalink Log in or register to post comments
@MalejPrcek , https://youtu.be/ncgvCYAHT_E?si=24vk2kQqfYzbEVRu . This may help you, but the tutorial is in Russian. Jump to top Permalink Log in or register to post comments
This procedure will give an upward vector.
But I still don't understand how to get the coordinates of the player and the block he hit at the same time.
I roughly understand how a procedure should be created to choose where to fly, but without coordinates it obviously won't work.
This procedure finds the coordinates of the player and the place where the bullet hit. Then he calculates (roughly) where to move the player.
The problem is as follows: this procedure for ranged the subject and manipulation with the vector does not work (as if it does not exist at all)
If you know how to invoke the procedure for the player - I will be grateful)
OK, I figured out how to create it) Thank you for your attention
Hello, can you please show how you did it? maybe even on youtube tutorial :D
@MalejPrcek , https://youtu.be/ncgvCYAHT_E?si=24vk2kQqfYzbEVRu . This may help you, but the tutorial is in Russian.