Thanks to your advice I changed the structure of my project now in the "ItemSpada1.java" class, I only care to store the coordinates. I thought I would use "RenderGameOverlayEvent.Post" but I still do not see any line. What am I doing wrong?
Source code:
https://github.com/JdiJack/TutorialMod/blob/master/src/main/java/it/petitogennaro/tutorial_mod/MyEventHandler.java
I thank you for the clarification. I want to draw more contour lines of a block going to the sky. Now, however, I have no idea where to place my drawlines ();
Hi, I'm a new form of forge, I'm having trouble drawing a vertical line in the world, in the ItemSpada1.java class I have 2 methods to draw a line from the click block. The line is never drawn, what am I doing wrong?
Source code:
https://github.com/JdiJack/TutorialMod/blob/master/src/main/java/it/petitogennaro/tutorial_mod/items/ItemSpada1.java
the final effect must be similar to this:
[SOLUTION]
at the bottom of the topic