1010import net .minecraft .client .renderer .MultiBufferSource ;
1111
1212public interface SphereRenderer {
13- static void entity (PoseStack ms , SpherePoints points , Color color , UV uv , LightUV light , OverlayUV overlay , VertexCallback callback ) {
14- points .buildQuads (uv , ms .last ().transform (callback ).withColor (color ).withLight (light ).withOverlay (overlay ));
13+ static void entity (PoseStack ms , float x , float y , float z , float s , SpherePoints points , Color color , UV uv , LightUV light , OverlayUV overlay , VertexCallback callback ) {
14+ points .buildQuads (x , y , z , s , uv , ms .last ().transform (callback ).withColor (color ).withLight (light ).withOverlay (overlay ));
1515 }
1616
17- static void entity (PoseStack ms , SpherePoints points , VertexCallback callback ) {
18- entity (ms , points , Color .WHITE , UV .FULL , LightUV .NONE , OverlayUV .NORMAL , callback );
17+ static void entity (PoseStack ms , float x , float y , float z , float s , SpherePoints points , VertexCallback callback ) {
18+ entity (ms , x , y , z , s , points , Color .WHITE , UV .FULL , LightUV .NONE , OverlayUV .NORMAL , callback );
1919 }
2020
21- static void quads (PoseStack ms , SpherePoints points , MultiBufferSource buffers , BufferSupplier type , boolean cull , Color color ) {
22- quads (ms , points , color , type .quads (buffers , cull ));
21+ static void quads (PoseStack ms , float x , float y , float z , float s , SpherePoints points , MultiBufferSource buffers , BufferSupplier type , boolean cull , Color color ) {
22+ quads (ms , x , y , z , s , points , color , type .quads (buffers , cull ));
2323 }
2424
25- static void quads (PoseStack ms , SpherePoints points , Color color , VertexCallback callback ) {
26- points .buildQuads (UV .FULL , ms .last ().transform (callback ).withColor (color ));
25+ static void quads (PoseStack ms , float x , float y , float z , float s , SpherePoints points , Color color , VertexCallback callback ) {
26+ points .buildQuads (x , y , z , s , UV .FULL , ms .last ().transform (callback ).withColor (color ));
2727 }
2828
29- static void lines (PoseStack ms , SpherePoints points , Color color , VertexCallback callback ) {
30- points .buildLines (ms .last ().transform (callback ).withColor (color ));
29+ static void lines (PoseStack ms , float x , float y , float z , float s , SpherePoints points , Color color , VertexCallback callback ) {
30+ points .buildLines (x , y , z , s , ms .last ().transform (callback ).withColor (color ));
3131 }
3232
33- static void lines (PoseStack ms , SpherePoints points , MultiBufferSource buffers , BufferSupplier type , Color color ) {
34- points .buildLines (ms .last ().transform (type .lines (buffers )).withColor (color ));
33+ static void lines (PoseStack ms , float x , float y , float z , float s , SpherePoints points , MultiBufferSource buffers , BufferSupplier type , Color color ) {
34+ points .buildLines (x , y , z , s , ms .last ().transform (type .lines (buffers )).withColor (color ));
3535 }
3636}
0 commit comments